alert smtp any any -> any any (msg:"SMTP helo GP"; smtp.helo; content:"GP"; sid:1; rev:1;)
+alert smtp any any -> any any (msg:"SMTP mail_from"; smtp.mail_from; content:"<gurpartap@patriots.in>"; sid:2; rev:1;)
+
# signatures not matching
alert smtp any any -> any any (msg:"SMTP helo not triggering"; smtp.helo; content:"not there"; sid:10; rev:1;)
+alert smtp any any -> any any (msg:"SMTP not mail_from"; smtp.mail_from; content:"spammer"; sid:12; rev:1;)
count: 0
match:
event_type: alert
- alert.signature_id: 10
\ No newline at end of file
+ alert.signature_id: 10
+- filter:
+ count: 1
+ match:
+ event_type: alert
+ smtp.mail_from: "<gurpartap@patriots.in>"
+ alert.signature_id: 2
+- filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature_id: 12
\ No newline at end of file