mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
SOCKS DPD fixes.
- Restricted the SOCKS 5 DPD signatures further. - Added protocol violations.
This commit is contained in:
parent
886cc7368f
commit
f59736cb17
4 changed files with 37 additions and 4 deletions
|
@ -194,14 +194,16 @@ signature dpd_socks4_reverse_server {
|
|||
|
||||
signature dpd_socks5_client {
|
||||
ip-proto == tcp
|
||||
payload /^\x05/
|
||||
# Watch for a few authentication methods to reduce false positives.
|
||||
payload /^\x05.[\x00\x01\x02]/
|
||||
tcp-state originator
|
||||
}
|
||||
|
||||
signature dpd_socks5_server {
|
||||
ip-proto == tcp
|
||||
requires-reverse-signature dpd_socks5_client
|
||||
payload /^\x05/
|
||||
# Watch for a single authentication method to be chosen by the server.
|
||||
payload /^\x05\x01[\x00\x01\x02]/
|
||||
tcp-state responder
|
||||
enable "socks"
|
||||
}
|
||||
|
|
|
@ -11,7 +11,6 @@ export {
|
|||
[1] = "GSSAPI",
|
||||
[2] = "Username/Password",
|
||||
[3] = "Challenge-Handshake Authentication Protocol",
|
||||
[4] = "Unassigned",
|
||||
[5] = "Challenge-Response Authentication Method",
|
||||
[6] = "Secure Sockets Layer",
|
||||
[7] = "NDS Authentication",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue