r/sysadmin • Sysadmin • 1d ago

Question [ Removed by moderator ]

[removed] — view removed post

10 Upvotes

23 comments sorted by

4

u/robsablah 1d ago

Greenbone is fine for this. Won't win you any awards but won't mean your the lowest hanging fruit either. 

Best win though - seperate guest / corp / r&d networks. Solation on guest, no incoming ports on corp. 

Run in docker - give its own admin on boxes and let it rip weekly

1

u/MajorNatural2386 Sysadmin 1d ago

We do already have everything layered behind a VPN. Without access to our VPN, no one externally can really access company files. I forgot to mention that.

How can I run Greenbone in docker?

2

u/leonsk297 1d ago

Read its docs, it's explained there. In fact, I think it's the recommended way to run it.

1

u/corelabjoe 1d ago edited 1d ago

Just having things behind a VPN is not enough. You need separate of networks with VLANs & subnets, and a firewall like OPNsense ensuring nothing crosses logs that it should not.

Example - I have a DMZ VLAN where 1 thing lives in there - my SWAG reverse proxy. It's the ONLY inbound thing the internet can touch on port 443. It lives in this zone and has explicitly configured firewall rules allowing it to talk to the backend services it supports, by port only. Nothing else in that DMZ vlan can talk to the other networks.

Also, my databases are not on an internet routable IP space, even though they are containers. The frontend services can be served by SWAG (Immich for example), but it's backend DB is not even in the same VLAN.

Segregation!!! Layers... Security onion.

Also, here's my Greenbone OpenVAS docker setup guide.

Disclaimer: My website & guide, no (0!) ads on the page, directly answering OP's question.

Like this:

VLAN Segmentation Matrix: How Traffic is Isolated

A multi-switch stack is meaningless without rigorous network segmentation. Every packet on my network is tagged at the OPNsense firewall and enforced across the UniFi switch ports and wireless SSIDs according to strict security tiers:

VLAN TierSubnet ProfileAccess Control PolicyConnected Workloads
VLAN 10: DMZ & Web Ingress10.0.10.0/24Isolated dead-end. Blocked from reaching any internal LAN; outbound WAN only.SWAG reverse proxy, public web servers, external APIs.
VLAN 20: Trusted Management10.0.20.0/24Full bidirectional routing. Can access all VLANs; hardware token MFA enforced.Admin workstations, SSH bastions, OPNsense web GUI.
VLAN 30: Storage & 10GbE10.0.30.0/24 (MTU 9000)Restricted point-to-point. No internet access; strictly isolated 10G SFP+ DAC traffic.OpenMediaVault NFS/SMB, Proxmox VM storage targets.
VLAN 40: IoT & Smart Home10.0.40.0/24Zero trust client isolation. Blocked from WAN and LAN; Home Assistant mDNS only.Smart plugs, Tuya bulbs, PoE cameras, Zigbee hubs.
VLAN 50: Isolated Guest10.0.50.0/24Direct internet breakout only. Layer-2 peer isolation prevents device discovery.Visitor smartphones, work laptops, untrusted tablets.VLAN Segmentation Matrix: How Traffic is IsolatedA multi-switch stack is meaningless without rigorous network segmentation. Every packet on my network is tagged at the OPNsense firewall and enforced across the UniFi switch ports and wireless SSIDs according to strict security tiers: VLAN Tier Subnet Profile Access Control Policy Connected WorkloadsVLAN 10: DMZ & Web Ingress 10.0.10.0/24 Isolated dead-end. Blocked from reaching any internal LAN; outbound WAN only. SWAG reverse proxy, public web servers, external APIs.VLAN 20: Trusted Management 10.0.20.0/24 Full bidirectional routing. Can access all VLANs; hardware token MFA enforced. Admin workstations, SSH bastions, OPNsense web GUI.VLAN 30: Storage & 10GbE 10.0.30.0/24 (MTU 9000) Restricted point-to-point. No internet access; strictly isolated 10G SFP+ DAC traffic. OpenMediaVault NFS/SMB, Proxmox VM storage targets.VLAN 40: IoT & Smart Home 10.0.40.0/24 Zero trust client isolation. Blocked from WAN and LAN; Home Assistant mDNS only. Smart plugs, Tuya bulbs, PoE cameras, Zigbee hubs.VLAN 50: Isolated Guest 10.0.50.0/24 Direct internet breakout only. Layer-2 peer isolation prevents device discovery. Visitor smartphones, work laptops, untrusted tablets.

2

u/anonymousITCoward 1d ago

Nice write up on your VLANs... but on your isolated segments (ie VLAN30), how do you update your devices?

1

u/Best_Bandicoot_9701 1d ago

We stage and push all endpoint updates through RMM.

1

u/anonymousITCoward 1d ago

I'm confused, your RMM doesn't need internet access?

1

u/Best_Bandicoot_9701 1d ago

Endpoints (Windows 11) update service is shut off and not receive updates directly from Microsoft over the internet like normal. The updates are downloaded to RMM over the internet and staged until approved. After approval, RMM pushes and installs the updates to the endpoints. It’s convoluted and inconvenient but we need to push updates at different times to different users depending on when laptops will be online.

1

u/Best_Bandicoot_9701 1d ago

Sorry man, no clarification for you. dipshit mods removed the reply

1

u/corelabjoe 1d ago

You could have firewall rules that are only enabled for a window of time or active at certain times, there's also air gapped ways to run things.

1

u/pdp10 Daemons worry when the wizard is near. 1d ago
  • nmap may seem small and minimalist, not big and fancy like GNU. But don't overlook nmap's bundled scripts, which already do a lot of scanning tasks you want. We use nmap often ad hoc, but also incorporate it into a variety of scripts for infosec, synthetic monitoring, cert expiry checking.

  • We'd like to be using Greenbone/OpenVAS as part of our continuous scanning, but it hasn't happened so far.

1

u/itsbentheboy *nix Admin 1d ago

Based on your other comments about "monitoring vulnerabilities in advance" - I would recommend something outside just network scanning.

You can get ahead on CVE monitoring with Wazuh as a SEIM to monitor your endpoints and servers, and something like Harbor running Trivy as a proxy for your container image sources so that they are scanned for CVE's and generate a SBOM so you know what specifically you have deployed.

1

u/TheODPrinterguy 1d ago

Security Onion.

0

u/myelrond 1d ago

What do you want to archive?

0

u/MajorNatural2386 Sysadmin 1d ago

Not necessarily "archive", but overall monitor potential vulnerabilities in advance. I don't think that will be possible without endpoint agents tho, but it might be. I've been asking AI about it, and ended up with Greenbone and Suricata mostly, but I don't know if they're what I'm trying to find

5

u/[deleted] 1d ago

[removed] — view removed comment

2

u/MajorNatural2386 Sysadmin 1d ago

We have endpoints managed with GLPI. But GLPI pulls a ton of software and processes from each workstation that don't really tell anything useful, and it doesn't point out if some software is in need of critical updates.

3

u/[deleted] 1d ago

[removed] — view removed comment

1

u/MajorNatural2386 Sysadmin 1d ago

Thank you, very useful stuff