Sample captures, Scans, tunnels and evasion

HTTP request in IP fragments

An HTTP request split into 24-byte IP fragments.

Packets
14
Duration
0.156 s
Size
1.1 KB
Protocols
IPv4 fragments, TCP, HTTP
License
CC0

What it shows

The request GET /cgi-bin/admin.cgi?cmd=id leaves the client as one TCP segment cut into 24-byte IPv4 fragments, so no single packet holds the URI.

Both engines reassemble the fragments before inspecting them, so rules on the URI still fire. fragbits matches the fragments themselves.

Rules for this capture

Suricata 8 and 7

Try these rules
alert http any any -> any any (msg:"admin.cgi with a command"; flow:established,to_server; http.uri; content:"/cgi-bin/admin.cgi?cmd="; sid:1000001; rev:1;)
alert ip any any -> any any (msg:"IP fragment with more to follow"; fragbits:M; sid:1000002; rev:1;)
alert http any any -> any any (msg:"admin.cgi with a command"; flow:established,to_server; http_uri; content:"/cgi-bin/admin.cgi?cmd="; sid:1000001; rev:1;)
alert ip any any -> any any (msg:"IP fragment with more to follow"; fragbits:M; sid:1000002; rev:1;)

Packets

No.TimeSourceDestinationProtocolInfo
10.000203.0.113.50:54012198.51.100.20:80TCPSYN
20.012198.51.100.20:80203.0.113.50:54012TCPSYN ACK
30.024203.0.113.50:54012198.51.100.20:80TCPACK
40.036203.0.113.50198.51.100.20IPv4Fragment at byte 0, more follow
50.048203.0.113.50198.51.100.20IPv4Fragment at byte 24, more follow
60.060203.0.113.50198.51.100.20IPv4Fragment at byte 48, more follow
70.072203.0.113.50198.51.100.20IPv4Fragment at byte 72, more follow
80.084203.0.113.50198.51.100.20IPv4Fragment at byte 96, last
90.096198.51.100.20:80203.0.113.50:54012TCPACK
100.108198.51.100.20:80203.0.113.50:54012TCPPSH ACK, HTTP/1.1 200 OK
110.120203.0.113.50:54012198.51.100.20:80TCPACK
120.132203.0.113.50:54012198.51.100.20:80TCPFIN ACK
130.144198.51.100.20:80203.0.113.50:54012TCPFIN ACK
140.156203.0.113.50:54012198.51.100.20:80TCPACK

More Scans, tunnels and evasion samples