Skip to content

Commit

Permalink
[SIEM][Detection Engine] critical blocker, updates the pre-packaged r…
Browse files Browse the repository at this point in the history
…ules, removes dead ones, adds license file (#56090) (#56095)

## Summary

* Adds updated pre-packaged rules with more meta-data (from randomuserid)
* Deletes older rules not shipping (from randomuserid)
* Adds license file for rules (from randomuserid)

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11]~~(https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)
~~- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~~
~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~
~~- [ ] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios~~
~~- [ ] This was checked for [keyboard-only and screenreader accessibility]~~(https://developer.mozilla.org/enUS/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

- [x] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)
- [x] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)
  • Loading branch information
FrankHassanabad authored Jan 28, 2020
1 parent 82509cb commit afea563
Show file tree
Hide file tree
Showing 160 changed files with 2,055 additions and 1,880 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
"Security scans and tests may result in these errors. Misconfigured or buggy applications may produce large numbers of these errors. If the source is unexpected, or the user is unauthorized, or the request is unusual, these may be suspicious or malicious activity."
],
"index": [
"apm-*-transaction*",
"auditbeat-*",
"endgame-*",
"filebeat-*",
"packetbeat-*",
"winlogbeat-*"
"apm-*-transaction*"
],
"language": "kuery",
"max_signals": 33,
"name": "Web Application Suspicious Activity: POST Request Declined",
"query": "http.response.status_code:403 and http.request.method:post",
"references": ["https://en.wikipedia.org/wiki/HTTP_403"],
"risk_score": 50,
"references": [
"https://en.wikipedia.org/wiki/HTTP_403"
],
"risk_score": 47,
"rule_id": "a87a4e42-1d82-44bd-b0bf-d9b7f91fb89e",
"severity": "low",
"tags": ["Elastic", "apm"],
"severity": "medium",
"tags": [
"Elastic",
"APM"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
"Security scans and tests may result in these errors. Misconfigured or buggy applications may produce large numbers of these errors. If the source is unexpected, or the user is unauthorized, or the request is unusual, these may be suspicious or malicious activity."
],
"index": [
"apm-*-transaction*",
"auditbeat-*",
"endgame-*",
"filebeat-*",
"packetbeat-*",
"winlogbeat-*"
"apm-*-transaction*"
],
"language": "kuery",
"max_signals": 33,
"name": "Web Application Suspicious Activity: Unauthorized Method",
"query": "http.response.status_code:405",
"references": ["https://en.wikipedia.org/wiki/HTTP_405"],
"risk_score": 50,
"references": [
"https://en.wikipedia.org/wiki/HTTP_405"
],
"risk_score": 47,
"rule_id": "75ee75d8-c180-481c-ba88-ee50129a6aef",
"severity": "low",
"tags": ["Elastic", "apm"],
"severity": "medium",
"tags": [
"Elastic",
"APM"
],
"type": "query",
"version": 1
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
This product bundles rules based on https://github.com/BlueTeamLabs/sentinel-attack
which is available under a "MIT" license. The files based on this license are:

- windows_defense_evasion_via_filter_manager.json
- windows_process_discovery_via_tasklist_command.json
- windows_priv_escalation_via_accessibility_features.json
- windows_persistence_via_application_shimming.json
- windows_execution_via_trusted_developer_utilities.json
- windows_execution_via_net_com_assemblies.json
- windows_execution_via_connection_manager.json

MIT License

Copyright (c) 2019 Edoardo Gerosa, Olaf Hartong

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Adversary behavior detected.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"name": "Adversary Behavior - Detected - Elastic Endpoint",
"query": "event.kind:alert and event.module:endgame and event.action:rules_engine_event",
"risk_score": 47,
"rule_id": "77a3c3df-8ec4-4da4-b758-878f551dee69",
"severity": "medium",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Credential dumping detected.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"name": "Cred 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,
"rule_id": "571afc56-5ed9-465d-a2a9-045f099f6e7e",
"severity": "high",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Credential dumping prevented.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"name": "Cred 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,
"rule_id": "db8c33a8-03cd-4988-9e2c-d0a4863adb13",
"severity": "medium",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Credential manipulation detected.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"name": "Cred 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,
"rule_id": "c0be5f31-e180-48ed-aa08-96b36899d48f",
"severity": "high",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"description": "Elastic Endpoint Security Alert - Credential manipulation prevented.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"name": "Cred 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,
"rule_id": "c9e38e64-3f4c-4bf3-ad48-0e61a60ea1fa",
"severity": "medium",
"tags": [
"Elastic"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Exploit detected.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"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,
"rule_id": "2003cdc8-8d83-4aa5-b132-1f9a8eb48514",
"severity": "high",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Exploit prevented.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"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,
"rule_id": "2863ffeb-bf77-44dd-b7a5-93ef94b72036",
"severity": "medium",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Malware detected.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"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,
"rule_id": "0a97b20f-4144-49ea-be32-b540ecc445de",
"severity": "critical",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Malware prevented.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"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,
"rule_id": "3b382770-efbb-44f4-beed-f5e0a051b895",
"severity": "high",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Permission theft detected.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"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,
"rule_id": "c3167e1b-f73c-41be-b60b-87f4df707fe3",
"severity": "high",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Permission theft prevented.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"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,
"rule_id": "453f659e-0429-40b1-bfdb-b6957286e04b",
"severity": "medium",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Process injection detected.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"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,
"rule_id": "80c52164-c82a-402c-9964-852533d58be1",
"severity": "high",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Process injection prevented.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"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,
"rule_id": "990838aa-a953-4f3e-b3cb-6ddf7584de9e",
"severity": "medium",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"description": "Elastic Endpoint Security Alert - Ransomware detected.",
"index": [
"endgame-*"
],
"language": "kuery",
"max_signals": 33,
"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,
"rule_id": "8cb4f625-7743-4dfb-ae1b-ad92be9df7bd",
"severity": "critical",
"tags": [
"Elastic",
"Endpoint"
],
"type": "query",
"version": 1
}
Loading

0 comments on commit afea563

Please sign in to comment.