The original plan had Suricata running as an OPNsense plugin, watching the analysis network for what samples try to do. Then the isolation design made that pointless, and the replacement is better anyway.

Why the firewall can’t see it

The analysis VMs sit on vmbr1, a Proxmox bridge with no physical port. A sample’s traffic never leaves that bridge, so it never reaches the analysis network cable, let alone OPNsense. An IDS on the firewall would watch an empty wire.

Capture on the host instead

The Proxmox host can watch vmbr1 even though it has no address on it:

tcpdump -i vmbr1 -w /tank/pcaps/<sha256>-$(date +%F).pcap

That’s a good vantage point for forensics. The capture happens outside the VMs, so nothing running inside them can tamper with it or hide from it.

Then run Suricata offline

Suricata will happily read a capture file instead of a live interface:

suricata -r capture.pcap -l ./out/ -S my-rules.rules

This turns the lab into a detection-engineering loop:

  1. Detonate a sample with REMnux faking the internet.
  2. Capture everything on vmbr1.
  3. Write a Suricata rule for what it did, such as a C2 check-in or a mining-pool login.
  4. Re-run the capture to prove the rule fires, and run it against clean traffic to prove it doesn’t fire there.

The same loop works on packet captures exported from the second sensor, so one workflow covers both honeypots.

YARA for the files

Network rules catch behaviour; YARA rules catch the files. Every sample I analyse should end with at least one of each, tested against the sample and against a clean set. Rules that only ever match the one file you wrote them for don’t teach much.

References