zeek/scripts/base/protocols/ssl/dpd.sig
Johanna Amann b510b0d8d1 Spicy TLS analyzer: basic functionality working
It compiles, it creates some log - but it is not anywhere near on par
with the old SSL analyzer.
2023-04-05 15:39:54 +01:00

22 lines
619 B
Standard ML

signature dpd_tls_server {
ip-proto == tcp
# SSL3 / TLS Server hello.
payload /^(\x15\x03[\x00\x01\x02\x03]....)?\x16\x03[\x00\x01\x02\x03]..\x02...((\x03[\x00\x01\x02\x03\x04])|(\x7F[\x00-\x50])).*/
tcp-state responder
enable "tls"
}
signature dpd_tls_client {
ip-proto == tcp
# SSL3 / TLS Client hello.
payload /^\x16\x03[\x00\x01\x02\x03]..\x01...\x03[\x00\x01\x02\x03].*/
tcp-state originator
enable "tls"
}
# signature dpd_dtls_client {
# ip-proto == udp
# # Client hello.
# payload /^\x16\xfe[\xff\xfd]\x00\x00\x00\x00\x00\x00\x00...\x01...........\xfe[\xff\xfd].*/
# enable "dtls"
# }