this post was submitted on 19 Jun 2023
9 points (100.0% liked)

Selfhosted

39462 readers
1394 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

publication croisée depuis : https://lemmy.world/post/304143

Hi, I was recently watching a few David Bombal videos, in which he talks about various pentesting methods (Eg: this and this).

My question is: if you're not looking to actively learn about pentesting, what other benefits would such efforts offer for your homelab? Setting up automatic pentesting routines to check if your network has been hacked? Just fun?

I'm not trying to be a pentesting expert but it seems really cool, it's just that since I will likely not be using it daily for my job/at home, I will quickly lose motivation to keep doing it. What do you use pentesting for in your homelab?

Thanks!

top 5 comments
sorted by: hot top controversial new old
[–] possiblylinux127 2 points 1 year ago* (last edited 1 year ago) (1 children)

I pen test because my lab isnt't air gapped

[–] MigratingtoLemmy 1 points 1 year ago (1 children)

That is a good idea. Could you tell me more about how you automate pentesting your network?

[–] possiblylinux127 1 points 1 year ago (1 children)

I don't ready automate it but I usually start by running nmap scans to make sure there isn't any ports exposed that shouldn't be exposed. You'd be surprised how much more secure you systems will become once you lock it down.

Also check your SSL configs to make sure there aren't any config problems.

I also ran the automated scans that were built into nextcloud

[–] MigratingtoLemmy 1 points 1 year ago

Thanks for the tips!

[–] [email protected] 1 points 1 year ago

You don't need to get super in the weeds, but depending on what your self hosting. Are you hosting just in your lan? Or are you opening ports to the internet. How sensitive is the information on your computers? If anything your hosting is avail to the internet, it's A very good idea to learn and be able to test your networking at least to confirm only ports you want to be open are open, or firewalls configed proper, between vms, containers,etc. Pen testing tools are great for automating those things and can be invaluable in identifying weaknesses. You don't need to keep up with it. Use the tools to identify where your self hosted service could use changing, and then make the changes. Run the tests when major updates or you change servers or upgrades.