Cheap or free periodical externals scans
from sznowicki@lemmy.world to selfhosted@lemmy.world on 12 Feb 18:52
https://lemmy.world/post/43058220

Can someone recommend some self-hosted or not, tool that I could schedule for periodical scans of all I host and is exposed to public internet?

I think I did all by the book now, including crowdsec and/or fail2ban, but recently for example I got an email from German CERT that my n8n is out of date and has some CVEs. All of them were not exploitable in my case but that got me thinking that if CERT can do it, maybe there are some services or tools that I could use and get alerts sooner if something is vulnerable in my infrastructure.

Any recommendations welcomed! Ideally self hosted and FOSS of course.

#selfhosted

threaded - newest

irmadlad@lemmy.world on 12 Feb 19:12 next collapse

Are you just wanting to scan certs? LetsEncrypted partnered with RedSift to offload their cert expiration checks. It’s free: iam.redsift.cloud/signup?product=cert-letsencrypt. Uptime Kuma will also track your certs too.

Brkdncr@lemmy.world on 12 Feb 19:38 next collapse

OpenVAS is a vulnerability scanner that appears to be open source.

Metasploit is another that I think is free and might be open source.

joshcodes@programming.dev on 12 Feb 20:09 collapse

OpenVAS is a vulnerability scanner. Metasploit is a penetration testing framework.

First one does what OP wants. Second one less so, and is more hands on.

See dirbuster for automated dumb searching of web directories, gives you response codes to tell you if a page is accessible to the outside world. See nuclei which I haven’t used myself but seems to get good reviews for automated vuln scanning from the command line - has nice output and seems simple to use.

They’re both easy to use and install on something like Kali Linux.

redlemace@lemmy.world on 12 Feb 19:40 next collapse

There are variouse alternatives to see what ports are open. Usually they autyo scan just the ip you come from, to avoid being used to scan a potential target.

If you want more, just use Greenbone. Run it twice. Once from another IP just to know how the world sees you. One time internal network and add accounts to greenbone allowing it to login and check further.

If you run linux, then Lynis is awesome to verify your config

irmadlad@lemmy.world on 12 Feb 19:57 collapse

If you run linux, then Lynis is awesome to verify your config

+1 for Lynis if you are scanning for vulnerabilities. Some of the recommendations won’t really apply to a homelab, but it is pretty comprehensive. A great way to harden your server(s).

moonpiedumplings@programming.dev on 12 Feb 20:17 collapse

Instead of trying to automatically scan your environment, it’s probably better to figure out how to automatically update applications first. CVE’s eventually get patched.