Sample captures, Scans, tunnels and evasion
HTTP request in 8-byte TCP segments
An HTTP request sent 8 bytes per packet.
- Packets
- 22
- Duration
- 0.084 s
- Size
- 1.7 KB
- Protocols
- TCP, HTTP
- License
- CC0
What it shows
The client sends GET /admin/config.php?action=export eight bytes at a time, so the request is spread over a dozen packets.
Rules on the reassembled stream or on HTTP buffers fire. A rule that needs the match inside one packet, here with dsize, doesn't.
Rules for this capture
Suricata 8 and 7
Try these rulesalert http any any -> any any (msg:"config.php export"; flow:established,to_server; http.uri; content:"/admin/config.php"; sid:1000001; rev:1;) alert tcp any any -> any 80 (msg:"config.php in one large packet"; flow:established,to_server; dsize:>40; content:"config.php"; sid:1000002; rev:1;)
Rule 1000002 stays silent on purpose. Run the rules to see the tester's note on why.
Snort 3
Try these rulesalert http any any -> any any (msg:"config.php export"; flow:established,to_server; http_uri; content:"/admin/config.php"; sid:1000001; rev:1;) alert tcp any any -> any 80 (msg:"config.php in one large packet"; flow:established,to_server; dsize:>40; content:"config.php"; sid:1000002; rev:1;)
Rule 1000002 stays silent on purpose. Run the rules to see the tester's note on why.
Packets
| No. | Time | Source | Destination | Protocol | Info |
|---|---|---|---|---|---|
| 1 | 0.000 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | SYN |
| 2 | 0.004 | 198.51.100.20:80 | 203.0.113.50:54100 | TCP | SYN ACK |
| 3 | 0.008 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | ACK |
| 4 | 0.012 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, GET /adm |
| 5 | 0.016 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, in/confi |
| 6 | 0.020 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, g.php?ac |
| 7 | 0.024 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, tion=exp |
| 8 | 0.028 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, ort HTTP |
| 9 | 0.032 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, /1.1 |
| 10 | 0.036 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, st: intr |
| 11 | 0.040 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, anet.exa |
| 12 | 0.044 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, mple.com |
| 13 | 0.048 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, 8 bytes |
| 14 | 0.052 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, gent: Mo |
| 15 | 0.056 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, zilla/5. |
| 16 | 0.060 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | PSH ACK, 5 bytes |
| 17 | 0.064 | 198.51.100.20:80 | 203.0.113.50:54100 | TCP | ACK |
| 18 | 0.068 | 198.51.100.20:80 | 203.0.113.50:54100 | TCP | PSH ACK, HTTP/1.1 403 Forbidden |
| 19 | 0.072 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | ACK |
| 20 | 0.076 | 203.0.113.50:54100 | 198.51.100.20:80 | TCP | FIN ACK |
| 21 | 0.080 | 198.51.100.20:80 | 203.0.113.50:54100 | TCP | FIN ACK |
| 22 | 0.084 | 203.0.113.50:54100 | 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 IP fragments: An HTTP request split into 24-byte IP fragments.
- 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.