wafrift-detect 0.2.13

WAF detection from response headers and body, response fingerprint drift analysis.
Documentation
[[waf]]
name = "ModSecurity"
vendor = "SpiderLabs"
confidence_threshold = 0.3
evasions = ["SqlCommentInsertion", "WhitespaceInsertion", "CaseAlternation", "DoubleUrlEncode", "ContentTypeSwitch"]
source = "WAFW00F:modsecurity"
[[waf.signature]]
  body_regex = "This error was generated by Mod.?Security"
  weight = 0.4
[[waf.signature]]
  body_regex = "rules of the mod.security.module"
  weight = 0.4
[[waf.signature]]
  body_regex = "mod.security.rules triggered"
  weight = 0.4
[[waf.signature]]
  body_regex = "Protected by Mod.?Security"
  weight = 0.4
[[waf.signature]]
  body_regex = "/modsecurity[\\-_]errorpage/"
  weight = 0.4
[[waf.signature]]
  body_regex = "modsecurity iis"
  weight = 0.4
[[waf.signature]]
  status_code = 403
  weight = 0.2
[[waf.signature]]
  status_code = 406
  weight = 0.2
[[waf.signature]]
  header_name = "server"
  header_regex = "mod_security"
  weight = 0.6
[[waf.signature]]
  body_regex = "mod_security"
  weight = 0.5
[[waf.signature]]
  body_regex = "modsecurity"
  weight = 0.5
[[waf.signature]]
  body_regex = "not acceptable"
  weight = 0.4
[[waf.signature]]
  body_regex = "owasp"
  weight = 0.3
[[waf.signature]]
  body_regex = "crs"
  weight = 0.3