e8c39d19a7
* initial commit with eggshell mitre mapping added * adding updated rules * [Rule Tuning] MITRE for GCP rules I've added Mitre references for the 4 GCP rules missing. Changed 3 of the rules from "Impact" to "Defense Evasion" based on the technique used and it's matched tactic. * [Rule Tuning] Endgame Rule name updates for Mitre Updated Endgame rule names for those with Mitre tactics to match the tactics. * Update rules/integrations/aws/persistence_redshift_instance_creation.toml Co-authored-by: Jonhnathan <jonhnathancesar@gmail.com> * Update rules/integrations/aws/exfiltration_rds_snapshot_restored.toml Co-authored-by: Jonhnathan <jonhnathancesar@gmail.com> * adding 10 updated rules for google_workspace, ml and o365 * adding 22 rule updates for mitre att&ck mappings * adding 24 rule updates related mainly to ML rules * adding 3 rules related to detection via ML * adding adjustments * adding adjustments with solutions to recent pytest errors * removed tabs from tags * adjusted mappings and added techniques * adjusted endgame rule mappings per review * adjusted names to match different tactics * added execution and defense evasion tag * adjustments to address errors from merging with main * added newlines to rules missing them at the end of the file Co-authored-by: imays11 <59296946+imays11@users.noreply.github.com> Co-authored-by: Jonhnathan <jonhnathancesar@gmail.com>
56 lines
1.9 KiB
TOML
56 lines
1.9 KiB
TOML
[metadata]
|
|
creation_date = "2020/02/18"
|
|
maturity = "production"
|
|
updated_date = "2022/07/18"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
A netcat process is engaging in network activity on a Linux host. Netcat is often used as a persistence mechanism by
|
|
exporting a reverse shell or by serving a shell on a listening port. Netcat is also sometimes used for data
|
|
exfiltration.
|
|
"""
|
|
false_positives = [
|
|
"""
|
|
Netcat is a dual-use tool that can be used for benign or malicious activity. Netcat is included in some Linux
|
|
distributions so its presence is not necessarily suspicious. Some normal use of this program, while uncommon, may
|
|
originate from scripts, automation tools, and frameworks.
|
|
""",
|
|
]
|
|
from = "now-9m"
|
|
index = ["auditbeat-*", "logs-endpoint.events.*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Netcat Network Activity"
|
|
references = [
|
|
"http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet",
|
|
"https://www.sans.org/security-resources/sec560/netcat_cheat_sheet_v1.pdf",
|
|
"https://en.wikipedia.org/wiki/Netcat",
|
|
]
|
|
risk_score = 47
|
|
rule_id = "adb961e0-cb74-42a0-af9e-29fc41f88f5f"
|
|
severity = "medium"
|
|
tags = ["Elastic", "Host", "Linux", "Threat Detection", "Execution"]
|
|
type = "eql"
|
|
|
|
query = '''
|
|
sequence by process.entity_id
|
|
[process where (process.name == "nc" or process.name == "ncat" or process.name == "netcat" or
|
|
process.name == "netcat.openbsd" or process.name == "netcat.traditional") and
|
|
event.type == "start"]
|
|
[network where (process.name == "nc" or process.name == "ncat" or process.name == "netcat" or
|
|
process.name == "netcat.openbsd" or process.name == "netcat.traditional")]
|
|
'''
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1059"
|
|
name = "Command and Scripting Interpreter"
|
|
reference = "https://attack.mitre.org/techniques/T1059/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0002"
|
|
name = "Execution"
|
|
reference = "https://attack.mitre.org/tactics/TA0002/" |