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 rulesalert 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;)
Snort 3
Try these rulesalert 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. | Time | Source | Destination | Protocol | Info |
|---|---|---|---|---|---|
| 1 | 0.000 | 203.0.113.50:54012 | 198.51.100.20:80 | TCP | SYN |
| 2 | 0.012 | 198.51.100.20:80 | 203.0.113.50:54012 | TCP | SYN ACK |
| 3 | 0.024 | 203.0.113.50:54012 | 198.51.100.20:80 | TCP | ACK |
| 4 | 0.036 | 203.0.113.50 | 198.51.100.20 | IPv4 | Fragment at byte 0, more follow |
| 5 | 0.048 | 203.0.113.50 | 198.51.100.20 | IPv4 | Fragment at byte 24, more follow |
| 6 | 0.060 | 203.0.113.50 | 198.51.100.20 | IPv4 | Fragment at byte 48, more follow |
| 7 | 0.072 | 203.0.113.50 | 198.51.100.20 | IPv4 | Fragment at byte 72, more follow |
| 8 | 0.084 | 203.0.113.50 | 198.51.100.20 | IPv4 | Fragment at byte 96, last |
| 9 | 0.096 | 198.51.100.20:80 | 203.0.113.50:54012 | TCP | ACK |
| 10 | 0.108 | 198.51.100.20:80 | 203.0.113.50:54012 | TCP | PSH ACK, HTTP/1.1 200 OK |
| 11 | 0.120 | 203.0.113.50:54012 | 198.51.100.20:80 | TCP | ACK |
| 12 | 0.132 | 203.0.113.50:54012 | 198.51.100.20:80 | TCP | FIN ACK |
| 13 | 0.144 | 198.51.100.20:80 | 203.0.113.50:54012 | TCP | FIN ACK |
| 14 | 0.156 | 203.0.113.50:54012 | 198.51.100.20:80 | TCP | ACK |
More Scans, tunnels and evasion samples
- TCP SYN scan: One host sends SYNs to 40 ports in 40 milliseconds; three answer.
- Commands tunneled in ICMP echo: Four pings whose payloads carry commands, and replies that carry the output.
- HTTP request in 8-byte TCP segments: An HTTP request sent 8 bytes per packet.
- HTTP download over IPv6: The HTTP download between two IPv6 addresses.
- HTTP download with VLAN tags: The HTTP download with 802.1Q VLAN 100 tags, as captured on a trunk port.