b4c84e8a40
* Update Tags * Bump updated date separately to be easy to revert if needed * Update resource_development_ml_linux_anomalous_compiler_activity.toml * Apply changes from the discussion * Update persistence_init_d_file_creation.toml * Update defense_evasion_timestomp_sysmon.toml * Update defense_evasion_application_removed_from_blocklist_in_google_workspace.toml * Update missing Tactic tags * Update unit tests to match new tags * Add missing IG tags * Delete okta_threat_detected_by_okta_threatinsight.toml * Update command_and_control_google_drive_malicious_file_download.toml * Update persistence_rc_script_creation.toml * Mass bump * Update persistence_shell_activity_by_web_server.toml * . --------- Co-authored-by: Mika Ayenson <Mika.ayenson@elastic.co> Co-authored-by: Mika Ayenson <Mikaayenson@users.noreply.github.com>
64 lines
2.1 KiB
TOML
64 lines
2.1 KiB
TOML
[metadata]
|
|
creation_date = "2023/04/26"
|
|
integration = ["endpoint"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2023/04/26"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies the execution of the mimipenguin exploit script which is linux adaptation of Windows tool mimikatz.
|
|
Mimipenguin exploit script is used to dump clear text passwords from a currently logged-in user. The tool exploits
|
|
a known vulnerability CVE-2018-20781. Malicious actors can exploit the cleartext credentials in memory by
|
|
dumping the process and extracting lines that have a high probability of containing cleartext passwords.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["logs-endpoint.events.*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Potential Linux Credential Dumping via Proc Filesystem"
|
|
references = [
|
|
"https://github.com/huntergregal/mimipenguin",
|
|
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20781"
|
|
]
|
|
risk_score = 47
|
|
rule_id = "ef100a2e-ecd4-4f72-9d1e-2f779ff3c311"
|
|
severity = "medium"
|
|
tags = ["Domain: Endpoint", "OS: Linux", "Use Case: Threat Detection", "Tactic: Credential Access", "Use Case: Vulnerability"]
|
|
type = "eql"
|
|
query = '''
|
|
sequence by process.parent.name,host.name with maxspan=1m
|
|
[process where host.os.type == "linux" and process.name == "ps" and event.action == "exec"
|
|
and process.args in ("-eo", "pid", "command") ]
|
|
|
|
[process where host.os.type == "linux" and process.name == "strings" and event.action == "exec"
|
|
and process.args : "/tmp/*" ]
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1003"
|
|
name = "OS Credential Dumping"
|
|
reference = "https://attack.mitre.org/techniques/T1003/"
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1003.007"
|
|
name = "Proc Filesystem"
|
|
reference = "https://attack.mitre.org/techniques/T1003/007/"
|
|
|
|
[[rule.threat.technique]]
|
|
id = "T1212"
|
|
name = "Exploitation for Credential Access"
|
|
reference = "https://attack.mitre.org/techniques/T1212/"
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0006"
|
|
name = "Credential Access"
|
|
reference = "https://attack.mitre.org/tactics/TA0006/"
|
|
|