Sample captures, Scans, tunnels and evasion

HTTP download with VLAN tags

The HTTP download with 802.1Q VLAN 100 tags, as captured on a trunk port.

Packets
10
Duration
0.108 s
Size
1.1 KB
Protocols
802.1Q, TCP, HTTP
License
CC0

What it shows

The HTTP download with every frame tagged for VLAN 100, as a capture from a trunk or SPAN port often is.

Both engines decode the tags before inspecting the packets, so the same rules fire as on the untagged download.

Rules for this capture

Suricata 8 and 7

Try these rules
alert http any any -> any any (msg:"Windows executable downloaded over HTTP"; flow:established,to_client; file.data; content:"MZ"; startswith; sid:1000001; rev:1;)
alert http any any -> any any (msg:"curl User-Agent"; flow:established,to_server; http.user_agent; content:"curl/"; startswith; sid:1000002; rev:1;)
alert http any any -> any any (msg:"Windows executable downloaded over HTTP"; flow:established,to_client; file_data; content:"MZ", depth 2; sid:1000001; rev:1;)
alert http any any -> any any (msg:"curl User-Agent"; flow:established,to_server; http_header:field user-agent; content:"curl/", depth 5; sid:1000002; rev:1;)

Packets

No.TimeSourceDestinationVLANProtocolInfo
10.000192.0.2.10:51514198.51.100.20:80100TCPSYN
20.012198.51.100.20:80192.0.2.10:51514100TCPSYN ACK
30.024192.0.2.10:51514198.51.100.20:80100TCPACK
40.036192.0.2.10:51514198.51.100.20:80100TCPPSH ACK, GET /download/update.exe HTTP/1.1
50.048198.51.100.20:80192.0.2.10:51514100TCPACK
60.060198.51.100.20:80192.0.2.10:51514100TCPPSH ACK, HTTP/1.1 200 OK
70.072192.0.2.10:51514198.51.100.20:80100TCPACK
80.084192.0.2.10:51514198.51.100.20:80100TCPFIN ACK
90.096198.51.100.20:80192.0.2.10:51514100TCPFIN ACK
100.108192.0.2.10:51514198.51.100.20:80100TCPACK

More Scans, tunnels and evasion samples