mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Added several events for detailed info on the SSH2 key init directions
This commit is contained in:
parent
dbbb6cd6f0
commit
bcdbca4bb9
8 changed files with 178 additions and 18 deletions
|
@ -0,0 +1,12 @@
|
|||
# @TEST-EXEC: zeek -b -Cr $TRACES/ssh/reverse-ssh.pcap %INPUT >out
|
||||
# @TEST-EXEC: btest-diff out
|
||||
|
||||
@load base/protocols/ssh
|
||||
|
||||
event ssh2_ecc_init(c: connection, is_orig: bool) {
|
||||
## If a machine sends out the initial key material for the handshake, this should come from the client.
|
||||
## In most cases, this client is the machine that set up the TCP connection.
|
||||
if ( ! is_orig ) {
|
||||
print("Detected an ECC INIT not from the TCP client");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue