6. Suricata Rules¶
- 6.1. Rules Format
- 6.2. Meta Keywords
- 6.3. IP Keywords
- 6.4. TCP keywords
- 6.5. UDP keywords
- 6.6. ICMP keywords
- 6.7. Payload Keywords
- 6.7.1. content
- 6.7.2. nocase
- 6.7.3. depth
- 6.7.4. startswith
- 6.7.5. endswith
- 6.7.6. offset
- 6.7.7. distance
- 6.7.8. within
- 6.7.9. rawbytes
- 6.7.10. isdataat
- 6.7.11. bsize
- 6.7.12. dsize
- 6.7.13. byte_test
- 6.7.14. byte_math
- 6.7.15. byte_jump
- 6.7.16. byte_extract
- 6.7.17. rpc
- 6.7.18. replace
- 6.7.19. pcre (Perl Compatible Regular Expressions)
- 6.8. Changes from PCRE1 to PCRE2
- 6.9. Transformations
- 6.10. Prefiltering Keywords
- 6.11. Flow Keywords
- 6.12. Bypass Keyword
- 6.13. HTTP Keywords
- 6.13.1. HTTP Primer
- 6.13.2. http.method
- 6.13.3. http.uri and http.uri.raw
- 6.13.4. uricontent
- 6.13.5. urilen
- 6.13.6. http.protocol
- 6.13.7. http.request_line
- 6.13.8. http.header and http.header.raw
- 6.13.9. http.cookie
- 6.13.10. http.user_agent
- 6.13.11. http.accept
- 6.13.12. http.accept_enc
- 6.13.13. http.accept_lang
- 6.13.14. http.connection
- 6.13.15. http.content_type
- 6.13.16. http.content_len
- 6.13.17. http.referer
- 6.13.18. http.start
- 6.13.19. http.header_names
- 6.13.20. http.request_body
- 6.13.21. http.stat_code
- 6.13.22. http.stat_msg
- 6.13.23. http.response_line
- 6.13.24. http.response_body
- 6.13.25. http.server
- 6.13.26. http.location
- 6.13.27. http.host and http.host.raw
- 6.13.28. file.data
- 6.14. File Keywords
- 6.15. DNS Keywords
- 6.16. SSL/TLS Keywords
- 6.16.1. tls.cert_subject
- 6.16.2. tls.cert_issuer
- 6.16.3. tls.cert_serial
- 6.16.4. tls.cert_fingerprint
- 6.16.5. tls.sni
- 6.16.6. tls_cert_notbefore
- 6.16.7. tls_cert_notafter
- 6.16.8. tls_cert_expired
- 6.16.9. tls_cert_valid
- 6.16.10. tls.certs
- 6.16.11. tls.version
- 6.16.12. ssl_version
- 6.16.13. tls.fingerprint
- 6.16.14. tls.store
- 6.16.15. ssl_state
- 6.16.16. tls.random
- 6.16.17. tls.random_time
- 6.16.18. tls.random_bytes
- 6.17. SSH Keywords
- 6.18. JA3 Keywords
- 6.19. Modbus Keyword
- 6.20. DCERPC Keywords
- 6.21. DHCP keywords
- 6.22. DNP3 Keywords
- 6.23. ENIP/CIP Keywords
- 6.24. FTP/FTP-DATA Keywords
- 6.25. Kerberos Keywords
- 6.26. SMB Keywords
- 6.27. SNMP keywords
- 6.28. Base64 keywords
- 6.29. SIP Keywords
- 6.30. RFB Keywords
- 6.31. MQTT Keywords
- 6.31.1. mqtt.protocol_version
- 6.31.2. mqtt.type
- 6.31.3. mqtt.flags
- 6.31.4. mqtt.qos
- 6.31.5. mqtt.reason_code
- 6.31.6. mqtt.connack.session_present
- 6.31.7. mqtt.connect.clientid
- 6.31.8. mqtt.connect.flags
- 6.31.9. mqtt.connect.password
- 6.31.10. mqtt.connect.username
- 6.31.11. mqtt.connect.willmessage
- 6.31.12. mqtt.connect.willtopic
- 6.31.13. mqtt.publish.message
- 6.31.14. mqtt.publish.topic
- 6.31.15. mqtt.subscribe.topic
- 6.31.16. mqtt.unsubscribe.topic
- 6.31.17. Additional information
- 6.32. IKE Keywords
- 6.33. HTTP2 Keywords
- 6.34. Quic Keywords
- 6.35. Generic App Layer Keywords
- 6.36. Xbits Keyword
- 6.37. Thresholding Keywords
- 6.38. IP Reputation Keyword
- 6.39. IP Addresses Match
- 6.40. Config Rules
- 6.41. Datasets
- 6.42. Lua Scripting for Detection
- 6.43. Differences From Snort
- 6.43.1. Automatic Protocol Detection
- 6.43.2.
urilen
Keyword - 6.43.3.
http_uri
Buffer - 6.43.4.
http_header
Buffer - 6.43.5.
http_cookie
Buffer - 6.43.6. New HTTP keywords
- 6.43.7.
byte_extract
Keyword - 6.43.8.
byte_math
Keyword - 6.43.9.
isdataat
Keyword - 6.43.10. Relative PCRE
- 6.43.11.
tls*
Keywords - 6.43.12.
dns_query
Keyword - 6.43.13. IP Reputation and
iprep
Keyword - 6.43.14. Flowbits
- 6.43.15. flowbits:noalert;
- 6.43.16. Negated Content Match Special Case
- 6.43.17. File Extraction
- 6.43.18. Lua Scripting
- 6.43.19. Fast Pattern
- 6.43.20. Don’t Cross The Streams
- 6.43.21. Alerts
- 6.43.22. Buffer Reference Chart