Sample captures, TLS
TLS ClientHello with SNI
A TLS 1.3 ClientHello for login.badexample.net.
- Packets
- 8
- Duration
- 0.084 s
- Size
- 679 bytes
- Protocols
- TCP, TLS
- License
- CC0
What it shows
A client opens a TLS connection and sends its ClientHello with the server name login.badexample.net. The capture ends there.
Suricata reads the name with tls.sni. Snort 3 rules match it in the raw bytes of the handshake.
Rules for this capture
Suricata 8 and 7
Try these rulesalert tls any any -> any any (msg:"TLS to login.badexample.net"; tls.sni; content:"login.badexample.net"; bsize:20; sid:1000001; rev:1;)
Snort 3
Try these rulesalert tcp any any -> any 443 (msg:"TLS to login.badexample.net"; flow:established,to_server; content:"|16 03|", depth 2; content:"login.badexample.net"; sid:1000001; rev:1;)
Packets
| No. | Time | Source | Destination | Protocol | Info |
|---|---|---|---|---|---|
| 1 | 0.000 | 192.0.2.10:50102 | 198.51.100.20:443 | TCP | SYN |
| 2 | 0.012 | 198.51.100.20:443 | 192.0.2.10:50102 | TCP | SYN ACK |
| 3 | 0.024 | 192.0.2.10:50102 | 198.51.100.20:443 | TCP | ACK |
| 4 | 0.036 | 192.0.2.10:50102 | 198.51.100.20:443 | TCP | PSH ACK, TLS ClientHello |
| 5 | 0.048 | 198.51.100.20:443 | 192.0.2.10:50102 | TCP | ACK |
| 6 | 0.060 | 192.0.2.10:50102 | 198.51.100.20:443 | TCP | FIN ACK |
| 7 | 0.072 | 198.51.100.20:443 | 192.0.2.10:50102 | TCP | FIN ACK |
| 8 | 0.084 | 192.0.2.10:50102 | 198.51.100.20:443 | TCP | ACK |
More TLS samples
- TLS 1.2 handshake with a certificate: A full TLS 1.2 handshake: the server's certificate for login.badexample.net is in the clear.