Skip to content

Commit

Permalink
rule import
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig committed Mar 30, 2020
1 parent 5042a0d commit 33a9d97
Show file tree
Hide file tree
Showing 128 changed files with 1,536 additions and 362 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"apm-*-transaction*"
],
"language": "kuery",
"max_signals": 100,
"name": "Web Application Suspicious Activity: POST Request Declined",
"query": "http.response.status_code:403 and http.request.method:post",
"references": [
Expand All @@ -17,9 +16,9 @@
"rule_id": "a87a4e42-1d82-44bd-b0bf-d9b7f91fb89e",
"severity": "medium",
"tags": [
"Elastic",
"APM"
"APM",
"Elastic"
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"apm-*-transaction*"
],
"language": "kuery",
"max_signals": 100,
"name": "Web Application Suspicious Activity: Unauthorized Method",
"query": "http.response.status_code:405",
"references": [
Expand All @@ -17,9 +16,9 @@
"rule_id": "75ee75d8-c180-481c-ba88-ee50129a6aef",
"severity": "medium",
"tags": [
"Elastic",
"APM"
"APM",
"Elastic"
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Adversary Behavior - Detected - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:rules_engine_event",
"risk_score": 47,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Credential Dumping - Detected - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:cred_theft_event and endgame.metadata.type:detection",
"risk_score": 73,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Credential Dumping - Prevented - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:cred_theft_event and endgame.metadata.type:prevention",
"risk_score": 47,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Credential Manipulation - Detected - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:token_manipulation_event and endgame.metadata.type:detection",
"risk_score": 73,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Credential Manipulation - Prevented - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:token_manipulation_event and endgame.metadata.type:prevention",
"risk_score": 47,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Exploit - Detected - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:exploit_event and endgame.metadata.type:detection",
"risk_score": 73,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Exploit - Prevented - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:exploit_event and endgame.metadata.type:prevention",
"risk_score": 47,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Malware - Detected - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:file_classification_event and endgame.metadata.type:detection",
"risk_score": 99,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Malware - Prevented - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:file_classification_event and endgame.metadata.type:prevention",
"risk_score": 73,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Permission Theft - Detected - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:token_protection_event and endgame.metadata.type:detection",
"risk_score": 73,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Permission Theft - Prevented - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:token_protection_event and endgame.metadata.type:prevention",
"risk_score": 47,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Process Injection - Detected - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:kernel_shellcode_event and endgame.metadata.type:detection",
"risk_score": 73,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Process Injection - Prevented - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:kernel_shellcode_event and endgame.metadata.type:prevention",
"risk_score": 47,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Ransomware - Detected - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:ransomware_event and endgame.metadata.type:detection",
"risk_score": 99,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
],
"interval": "10m",
"language": "kuery",
"max_signals": 100,
"name": "Ransomware - Prevented - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:ransomware_event and endgame.metadata.type:prevention",
"risk_score": 73,
Expand All @@ -18,4 +17,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"winlogbeat-*"
],
"language": "kuery",
"max_signals": 100,
"name": "Adding Hidden File Attribute via Attrib",
"query": " event.action:\"Process Create (rule: ProcessCreate)\" and process.name:\"attrib.exe\" and process.args:\"+h\"",
"query": "event.action:\"Process Create (rule: ProcessCreate)\" and process.name:attrib.exe and process.args:+h",
"risk_score": 21,
"rule_id": "4630d948-40d4-4cef-ac69-4002e29bc3db",
"severity": "low",
Expand Down Expand Up @@ -48,4 +47,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"winlogbeat-*"
],
"language": "kuery",
"max_signals": 100,
"name": "Adobe Hijack Persistence",
"query": "file.path:(\"C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroCEF\\RdrCEF.exe\" or \"C:\\Program Files\\Adobe\\Acrobat Reader DC\\Reader\\AcroCEF\\RdrCEF.exe\") and event.action:\"File created (rule: FileCreate)\" and not process.name:msiexec.exe",
"risk_score": 21,
Expand Down Expand Up @@ -33,4 +32,4 @@
],
"type": "query",
"version": 2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"winlogbeat-*"
],
"language": "kuery",
"max_signals": 100,
"name": "Clearing Windows Event Logs",
"query": "event.action:\"Process Create (rule: ProcessCreate)\" and (process.name:\"wevtutil.exe\" and process.args:\"cl\") or (process.name:\"powershell.exe\" and process.args:\"Clear-EventLog\")",
"query": "event.action:\"Process Create (rule: ProcessCreate)\" and process.name:wevtutil.exe and process.args:cl or process.name:powershell.exe and process.args:Clear-EventLog",
"risk_score": 21,
"rule_id": "d331bbe2-6db4-4941-80a5-8270db72eb61",
"severity": "low",
Expand All @@ -33,4 +32,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"winlogbeat-*"
],
"language": "kuery",
"max_signals": 100,
"name": "Delete Volume USN Journal with Fsutil",
"query": "event.action:\"Process Create (rule: ProcessCreate)\" and process.name:\"fsutil.exe\" and process.args:(\"usn\" and \"deletejournal\")",
"query": "event.action:\"Process Create (rule: ProcessCreate)\" and process.name:fsutil.exe and process.args:(deletejournal and usn)",
"risk_score": 21,
"rule_id": "f675872f-6d85-40a3-b502-c0d2ef101e92",
"severity": "low",
Expand All @@ -33,4 +32,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"winlogbeat-*"
],
"language": "kuery",
"max_signals": 100,
"name": "Deleting Backup Catalogs with Wbadmin",
"query": "event.action:\"Process Create (rule: ProcessCreate)\" and process.name:\"wbadmin.exe\" and process.args:(\"delete\" and \"catalog\")",
"query": "event.action:\"Process Create (rule: ProcessCreate)\" and process.name:wbadmin.exe and process.args:(catalog and delete)",
"risk_score": 21,
"rule_id": "581add16-df76-42bb-af8e-c979bfb39a59",
"severity": "low",
Expand All @@ -33,4 +32,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"winlogbeat-*"
],
"language": "kuery",
"max_signals": 100,
"name": "Direct Outbound SMB Connection",
"query": " event.action:\"Network connection detected (rule: NetworkConnect)\" and destination.port:445 and not process.pid:4 and not destination.ip:(\"127.0.0.1\" or \"::1\")",
"query": "event.action:\"Network connection detected (rule: NetworkConnect)\" and destination.port:445 and not process.pid:4 and not destination.ip:(127.0.0.1 or \"::1\")",
"risk_score": 47,
"rule_id": "c82c7d8f-fb9e-4874-a4bd-fd9e3f9becf1",
"severity": "medium",
Expand All @@ -33,4 +32,4 @@
],
"type": "query",
"version": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"winlogbeat-*"
],
"language": "kuery",
"max_signals": 100,
"name": "Disable Windows Firewall Rules via Netsh",
"query": "event.action:\"Process Create (rule: ProcessCreate)\" and process.name:\"netsh.exe\" and process.args:(\"firewall\" and \"set\" and \"disable\") or process.args:(\"advfirewall\" and \"state\" and \"off\")",
"query": "event.action:\"Process Create (rule: ProcessCreate)\" and process.name:netsh.exe and process.args:(disable and firewall and set) or process.args:(advfirewall and off and state)",
"risk_score": 47,
"rule_id": "4b438734-3793-4fda-bd42-ceeada0be8f9",
"severity": "medium",
Expand All @@ -33,4 +32,4 @@
],
"type": "query",
"version": 1
}
}
Loading

0 comments on commit 33a9d97

Please sign in to comment.