8. Suricata Rules
- 8.1. Rules Format
- 8.2. Meta Keywords
- 8.3. IP Keywords
- 8.4. TCP keywords
- 8.5. UDP keywords
- 8.6. ICMP keywords
- 8.7. Payload Keywords
- 8.7.1. content
- 8.7.2. nocase
- 8.7.3. depth
- 8.7.4. startswith
- 8.7.5. endswith
- 8.7.6. offset
- 8.7.7. distance
- 8.7.8. within
- 8.7.9. rawbytes
- 8.7.10. isdataat
- 8.7.11. absent
- 8.7.12. bsize
- 8.7.13. dsize
- 8.7.14. byte_test
- 8.7.15. byte_math
- 8.7.16. byte_jump
- 8.7.17. byte_extract
- 8.7.18. entropy
- 8.7.19. rpc
- 8.7.20. replace
- 8.7.21. pcre (Perl Compatible Regular Expressions)
- 8.8. Integer Keywords
- 8.9. Transformations
- 8.9.1. dotprefix
- 8.9.2. domain
- 8.9.3. tld
- 8.9.4. strip_whitespace
- 8.9.5. compress_whitespace
- 8.9.6. to_lowercase
- 8.9.7. to_md5
- 8.9.8. to_uppercase
- 8.9.9. to_sha1
- 8.9.10. to_sha256
- 8.9.11. pcrexform
- 8.9.12. url_decode
- 8.9.13. xor
- 8.9.14. header_lowercase
- 8.9.15. strip_pseudo_headers
- 8.9.16. from_base64
- 8.9.17. luaxform
- 8.10. Prefiltering Keywords
- 8.11. Flow Keywords
- 8.12. Bypass Keyword
- 8.13. HTTP Keywords
- 8.13.1. HTTP Primer
- 8.13.2. Normalization
- 8.13.3. file.name
- 8.13.4. http.accept
- 8.13.5. http.accept_enc
- 8.13.6. http.accept_lang
- 8.13.7. http.host
- 8.13.8. http.host.raw
- 8.13.9. http.method
- 8.13.10. http.referer
- 8.13.11. http.request_body
- 8.13.12. http.request_header
- 8.13.13. http.request_line
- 8.13.14. http.uri
- 8.13.15. http.uri.raw
- 8.13.16. http.user_agent
- 8.13.17. urilen
- 8.13.18. http.location
- 8.13.19. http.response_body
- 8.13.20. http.response_header
- 8.13.21. http.response_line
- 8.13.22. http.server
- 8.13.23. http.stat_code
- 8.13.24. http.stat_msg
- 8.13.25. file.data
- 8.13.26. http.connection
- 8.13.27. http.content_len
- 8.13.28. http.content_type
- 8.13.29. http.cookie
- 8.13.30. http.header
- 8.13.31. http.header.raw
- 8.13.32. http.header_names
- 8.13.33. http.protocol
- 8.13.34. http.start
- 8.14. File Keywords
- 8.15. DNS Keywords
- 8.16. mDNS Keywords
- 8.17. SSL/TLS Keywords
- 8.17.1. tls.cert_subject
- 8.17.2. tls.cert_issuer
- 8.17.3. tls.cert_serial
- 8.17.4. tls.cert_fingerprint
- 8.17.5. tls.sni
- 8.17.6. tls.subjectaltname
- 8.17.7. tls_cert_notbefore
- 8.17.8. tls_cert_notafter
- 8.17.9. tls_cert_expired
- 8.17.10. tls_cert_valid
- 8.17.11. tls.certs
- 8.17.12. tls.version
- 8.17.13. ssl_version
- 8.17.14. tls.fingerprint
- 8.17.15. tls.store
- 8.17.16. ssl_state
- 8.17.17. tls.random
- 8.17.18. tls.random_time
- 8.17.19. tls.random_bytes
- 8.17.20. tls.cert_chain_len
- 8.17.21. tls.alpn
- 8.18. SSH Keywords
- 8.19. JA3/JA4 Keywords
- 8.20. Modbus Keyword
- 8.21. DCERPC Keywords
- 8.22. DHCP keywords
- 8.23. DNP3 Keywords
- 8.24. ENIP/CIP Keywords
- 8.24.1. enip_command
- 8.24.2. cip_service
- 8.24.3. enip.status
- 8.24.4. enip.protocol_version
- 8.24.5. enip.cip_attribute
- 8.24.6. enip.cip_instance
- 8.24.7. enip.cip_class
- 8.24.8. enip.cip_extendedstatus
- 8.24.9. enip.revision
- 8.24.10. enip.identity_status
- 8.24.11. enip.state
- 8.24.12. enip.serial
- 8.24.13. enip.product_code
- 8.24.14. enip.device_type
- 8.24.15. enip.vendor_id
- 8.24.16. enip.product_name
- 8.24.17. enip.service_name
- 8.24.18. enip.capabilities
- 8.24.19. enip.cip_status
- 8.25. FTP/FTP-DATA Keywords
- 8.26. Kerberos Keywords
- 8.27. SMB Keywords
- 8.28. SNMP keywords
- 8.29. Base64 keywords
- 8.30. SIP Keywords
- 8.31. SDP Keywords
- 8.31.1. sdp.origin
- 8.31.2. sdp.session_name
- 8.31.3. sdp.session_info
- 8.31.4. sdp.uri
- 8.31.5. sdp.email
- 8.31.6. sdp.phone_number
- 8.31.7. sdp.connection_data
- 8.31.8. sdp.bandwidth
- 8.31.9. sdp.time
- 8.31.10. sdp.repeat_time
- 8.31.11. sdp.timezone
- 8.31.12. sdp.encryption_key
- 8.31.13. sdp.attribute
- 8.31.14. sdp.media.media
- 8.31.15. sdp.media.session_info
- 8.31.16. sdp.media.connection_data
- 8.31.17. sdp.media.encryption_key
- 8.32. RFB Keywords
- 8.33. MQTT Keywords
- 8.33.1. mqtt.protocol_version
- 8.33.2. mqtt.type
- 8.33.3. mqtt.flags
- 8.33.4. mqtt.qos
- 8.33.5. mqtt.reason_code
- 8.33.6. mqtt.connack.session_present
- 8.33.7. mqtt.connect.clientid
- 8.33.8. mqtt.connect.flags
- 8.33.9. mqtt.connect.password
- 8.33.10. mqtt.connect.protocol_string
- 8.33.11. mqtt.connect.username
- 8.33.12. mqtt.connect.willmessage
- 8.33.13. mqtt.connect.willtopic
- 8.33.14. mqtt.publish.message
- 8.33.15. mqtt.publish.topic
- 8.33.16. mqtt.subscribe.topic
- 8.33.17. mqtt.unsubscribe.topic
- 8.33.18. Additional information
- 8.34. IKE Keywords
- 8.35. HTTP2 Keywords
- 8.36. Quic Keywords
- 8.37. NFS Keywords
- 8.38. SMTP Keywords
- 8.39. WebSocket Keywords
- 8.40. Generic App Layer Keywords
- 8.41. Generic Decode Layer Keywords
- 8.42. Xbits Keyword
- 8.43. Alert Keywords
- 8.44. Thresholding Keywords
- 8.45. IP Reputation Keyword
- 8.46. IP Addresses Match
- 8.47. Config Rules
- 8.48. Datasets
- 8.49. Lua Scripting for Detection
- 8.50. Differences From Snort
- 8.50.1. Automatic Protocol Detection
- 8.50.2.
urilen
Keyword - 8.50.3.
http_uri
Buffer - 8.50.4.
http_header
Buffer - 8.50.5.
http_cookie
Buffer - 8.50.6. New HTTP keywords
- 8.50.7.
byte_extract
Keyword - 8.50.8.
byte_jump
Keyword - 8.50.9.
byte_math
Keyword - 8.50.10.
byte_test
Keyword - 8.50.11.
isdataat
Keyword - 8.50.12. Relative PCRE
- 8.50.13.
tls*
Keywords - 8.50.14.
dns_query
Keyword - 8.50.15. IP Reputation and
iprep
Keyword - 8.50.16. Flowbits
- 8.50.17. flowbits:noalert;
- 8.50.18. Negated Content Match Special Case
- 8.50.19. File Extraction
- 8.50.20. Lua Scripting
- 8.50.21. Fast Pattern
- 8.50.22. Don't Cross The Streams
- 8.50.23. Alerts
- 8.50.24. Buffer Reference Chart
- 8.51. Multiple Buffer Matching
- 8.52. Tag
- 8.53. VLAN Keywords
- 8.54. LDAP Keywords
- 8.54.1. LDAP Request and Response operations
- 8.54.2. ldap.request.operation
- 8.54.3. ldap.responses.operation
- 8.54.4. ldap.responses.count
- 8.54.5. ldap.request.dn
- 8.54.6. ldap.responses.dn
- 8.54.7. ldap.responses.result_code
- 8.54.8. ldap.responses.message
- 8.54.9. ldap.request.attribute_type
- 8.54.10. ldap.responses.attribute_type
- 8.55. PGSQL Keywords
- 8.56. Rule Types and Categorization
- 8.56.1. Signature Properties
- 8.56.2. Signature Types and Variable-like Keywords
- 8.56.3. Signatures per Type
- 8.56.4. Detailed Flowcharts
- 8.57. Email Keywords