Snort - the de facto standard for intrusion detection/prevention
next up previous contents
Next: Event Thresholding Up: ASN.1 Detection Previous: ASN.1 Keywords   Contents

ASN.1 Examples

The following rules use ASN.1 decoding options:

alert udp any any -> any 161 (msg:"Oversize SNMP Length"; \
    asn1: oversize_length, 10000, absolute_offset, 0;)
    
alert tcp any any -> any 80 (msg:"ASN1 Relative Foo"; content:"foo"; \
    asn1: bitstring_overflow, print, relative_offset, 0;)



Steven Sturges 2006-12-08