forked from elastic/detection-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from eric-forte-elastic/sync-rules-9140253731
Sync rules from Elastic Security
- Loading branch information
Showing
3 changed files
with
158 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
{} | ||
{ | ||
"794d2fc0-ecd0-4963-99da-fd587666b80d": { | ||
"rule_name": "DAC Demo Dev Rule 1", | ||
"sha256": "5e437732d012988436e8b9ed87b71d748d29ba7c1c847c06670824d6d9684518", | ||
"type": "eql", | ||
"version": 1 | ||
}, | ||
"e8e3af2a-11b8-4ab7-9ca1-c6db621ea89d": { | ||
"rule_name": "DAC Demo Dev Rule 2", | ||
"sha256": "e32fa9b058f94183eda08bb88473f9fe48661d06e83be3255e6aaae3b13f6ce2", | ||
"type": "eql", | ||
"version": 1 | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
custom_rules/rules/command_and_control_dac_demo_dev_rule_1.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
[metadata] | ||
creation_date = "2024/05/18" | ||
maturity = "production" | ||
updated_date = "2024/05/18" | ||
|
||
[rule] | ||
actions = [] | ||
author = ["DAC User"] | ||
description = "Test Rule" | ||
enabled = true | ||
exceptions_list = [] | ||
false_positives = [] | ||
filters = [] | ||
from = "now-540s" | ||
index = ["logs*"] | ||
interval = "5m" | ||
language = "eql" | ||
license = "Elastic License v2" | ||
max_signals = 100 | ||
name = "DAC Demo Dev Rule 1" | ||
note = "Test Note" | ||
references = ["https://dac-reference.readthedocs.io/en/latest/"] | ||
risk_score = 47 | ||
risk_score_mapping = [] | ||
rule_id = "794d2fc0-ecd0-4963-99da-fd587666b80d" | ||
setup = "Test Setup" | ||
severity = "medium" | ||
severity_mapping = [] | ||
tags = [ | ||
"OS: Linux", | ||
"Use Case: Threat Detection", | ||
"Tactic: Command and Control", | ||
"Data Source: Elastic Defend", | ||
] | ||
timestamp_override = "event.ingested" | ||
to = "now" | ||
type = "eql" | ||
|
||
query = ''' | ||
process where host.os.type == "linux" and process.name == "updated" | ||
''' | ||
|
||
|
||
[[rule.related_integrations]] | ||
package = "endpoint" | ||
version = "^8.2.0" | ||
|
||
[[rule.required_fields]] | ||
ecs = true | ||
name = "host.os.type" | ||
type = "keyword" | ||
|
||
[[rule.required_fields]] | ||
ecs = true | ||
name = "process.name" | ||
type = "keyword" | ||
|
||
[[rule.threat]] | ||
framework = "MITRE ATT&CK" | ||
[[rule.threat.technique]] | ||
id = "T1572" | ||
name = "Protocol Tunneling" | ||
reference = "https://attack.mitre.org/techniques/T1572/" | ||
subtechnique = [] | ||
|
||
|
||
[rule.threat.tactic] | ||
id = "TA0011" | ||
name = "Command and Control" | ||
reference = "https://attack.mitre.org/tactics/TA0011/" | ||
|
||
[rule.meta] | ||
from = "4m" | ||
kibana_siem_app_url = "" | ||
|
69 changes: 69 additions & 0 deletions
69
custom_rules/rules/command_and_control_dac_demo_dev_rule_2.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
[metadata] | ||
creation_date = "2024/05/18" | ||
maturity = "production" | ||
updated_date = "2024/05/18" | ||
|
||
[rule] | ||
actions = [] | ||
author = ["DAC User"] | ||
description = "Test Rule" | ||
enabled = true | ||
exceptions_list = [] | ||
false_positives = [] | ||
from = "now-9m" | ||
index = ["logs*"] | ||
interval = "5m" | ||
language = "eql" | ||
license = "Elastic License v2" | ||
max_signals = 100 | ||
name = "DAC Demo Dev Rule 2" | ||
note = "Test Note" | ||
references = ["https://dac-reference.readthedocs.io/en/latest/"] | ||
risk_score = 47 | ||
risk_score_mapping = [] | ||
rule_id = "e8e3af2a-11b8-4ab7-9ca1-c6db621ea89d" | ||
setup = "Test Setup" | ||
severity = "medium" | ||
severity_mapping = [] | ||
tags = [ | ||
"OS: Linux", | ||
"Use Case: Threat Detection", | ||
"Tactic: Command and Control", | ||
"Data Source: Elastic Defend", | ||
] | ||
timestamp_override = "event.ingested" | ||
to = "now" | ||
type = "eql" | ||
|
||
query = ''' | ||
process where host.os.type == "linux" and process.name == "updated" | ||
''' | ||
|
||
|
||
[[rule.related_integrations]] | ||
package = "endpoint" | ||
version = "^8.2.0" | ||
|
||
[[rule.required_fields]] | ||
ecs = true | ||
name = "host.os.type" | ||
type = "keyword" | ||
|
||
[[rule.required_fields]] | ||
ecs = true | ||
name = "process.name" | ||
type = "keyword" | ||
|
||
[[rule.threat]] | ||
framework = "MITRE ATT&CK" | ||
[[rule.threat.technique]] | ||
id = "T1572" | ||
name = "Protocol Tunneling" | ||
reference = "https://attack.mitre.org/techniques/T1572/" | ||
|
||
|
||
[rule.threat.tactic] | ||
id = "TA0011" | ||
name = "Command and Control" | ||
reference = "https://attack.mitre.org/tactics/TA0011/" | ||
|