Including a test for raw NTLM in SMB

This commit is contained in:
Seth Hall 2016-10-26 10:41:08 -04:00
parent 8276c250bd
commit a836ece4e6
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#@TEST-EXEC: bro -b -C -r $TRACES/smb/raw_ntlm_in_smb.pcap %INPUT
#@TEST-EXEC: btest-diff .stdout
@load base/protocols/ntlm
@load policy/protocols/smb
# Just verify that the session key is grabbed correctly from NTLM
# carried raw over SMB.
event ntlm_authenticate(c: connection, request: NTLM::Authenticate)
{
if ( request?$session_key )
print request$session_key;
}