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.subject
- 6.16.14. tls.issuerdn
- 6.16.15. tls.fingerprint
- 6.16.16. tls.store
- 6.16.17. ssl_state
- 6.17. SSH Keywords
- 6.18. JA3 Keywords
- 6.19. Modbus Keyword
- 6.20. DCERPC Keywords
- 6.21. DNP3 Keywords
- 6.22. ENIP/CIP Keywords
- 6.23. FTP/FTP-DATA Keywords
- 6.24. Kerberos Keywords
- 6.25. SNMP keywords
- 6.26. Base64 keywords
- 6.27. SIP Keywords
- 6.28. RFB Keywords
- 6.29. MQTT Keywords
- 6.29.1. mqtt.protocol_version
- 6.29.2. mqtt.type
- 6.29.3. mqtt.flags
- 6.29.4. mqtt.qos
- 6.29.5. mqtt.reason_code
- 6.29.6. mqtt.connack.session_present
- 6.29.7. mqtt.connect.clientid
- 6.29.8. mqtt.connect.flags
- 6.29.9. mqtt.connect.password
- 6.29.10. mqtt.connect.username
- 6.29.11. mqtt.connect.willmessage
- 6.29.12. mqtt.connect.willtopic
- 6.29.13. mqtt.publish.message
- 6.29.14. mqtt.publish.topic
- 6.29.15. mqtt.subscribe.topic
- 6.29.16. mqtt.unsubscribe.topic
- 6.29.17. Additional information
- 6.30. IKE Keywords
- 6.31. HTTP2 Keywords
- 6.32. Quic Keywords
- 6.33. Generic App Layer Keywords
- 6.34. Xbits Keyword
- 6.35. Thresholding Keywords
- 6.36. IP Reputation Keyword
- 6.37. Config Rules
- 6.38. Datasets
- 6.39. Lua Scripting for Detection
- 6.40. Differences From Snort
- 6.40.1. Automatic Protocol Detection
- 6.40.2.
urilenKeyword - 6.40.3.
http_uriBuffer - 6.40.4.
http_headerBuffer - 6.40.5.
http_cookieBuffer - 6.40.6. New HTTP keywords
- 6.40.7.
byte_extractKeyword - 6.40.8.
isdataatKeyword - 6.40.9. Relative PCRE
- 6.40.10.
tls*Keywords - 6.40.11.
dns_queryKeyword - 6.40.12. IP Reputation and
iprepKeyword - 6.40.13. Flowbits
- 6.40.14. flowbits:noalert;
- 6.40.15. Negated Content Match Special Case
- 6.40.16. File Extraction
- 6.40.17. Lua Scripting
- 6.40.18. Fast Pattern
- 6.40.19. Don’t Cross The Streams
- 6.40.20. Alerts
- 6.40.21. Buffer Reference Chart