|
| 1 | +[metadata] |
| 2 | +creation_date = "2024/07/19" |
| 3 | +integration = ["endpoint", "windows", "system","sentinel_one_cloud_funnel", "m365_defender"] |
| 4 | +maturity = "production" |
| 5 | +updated_date = "2024/07/19" |
| 6 | + |
| 7 | +[rule] |
| 8 | +author = ["Elastic"] |
| 9 | +description = """ |
| 10 | +Identifies a potential Windows Server Update Services (WSUS) abuse to execute psexec to enable for lateral movement. |
| 11 | +WSUS is limited to executing Microsoft signed binaries, which limits the executables that can be used to tools published |
| 12 | +by Microsoft. |
| 13 | +""" |
| 14 | +from = "now-9m" |
| 15 | +index = ["logs-endpoint.events.process-*", "logs-windows.sysmon_operational-*", "endgame-*", "logs-sentinel_one_cloud_funnel.*", "logs-m365_defender.event-*", "logs-system.security-*"] |
| 16 | +language = "eql" |
| 17 | +license = "Elastic License v2" |
| 18 | +name = "Potential WSUS Abuse for Lateral Movement" |
| 19 | +references = ["https://www.thehacker.recipes/a-d/movement/mitm-and-coerced-authentications/wsus-spoofing"] |
| 20 | +risk_score = 47 |
| 21 | +rule_id = "8e2485b6-a74f-411b-bf7f-38b819f3a846" |
| 22 | +severity = "medium" |
| 23 | +tags = [ |
| 24 | + "Domain: Endpoint", |
| 25 | + "OS: Windows", |
| 26 | + "Use Case: Threat Detection", |
| 27 | + "Tactic: Lateral Movement", |
| 28 | + "Data Source: Elastic Endgame", |
| 29 | + "Data Source: Elastic Defend", |
| 30 | + "Data Source: Sysmon", |
| 31 | + "Data Source: SentinelOne", |
| 32 | + "Data Source: Microsoft Defender for Endpoint" |
| 33 | +] |
| 34 | +timestamp_override = "event.ingested" |
| 35 | +type = "eql" |
| 36 | + |
| 37 | +query = ''' |
| 38 | +process where host.os.type == "windows" and event.type == "start" and process.parent.name : "wuauclt.exe" and |
| 39 | +process.executable : "?:\\Windows\\SoftwareDistribution\\Download\\Install\\*" and |
| 40 | +(process.name : "psexec64.exe" or ?process.pe.original_file_name : "psexec.c") |
| 41 | +''' |
| 42 | + |
| 43 | + |
| 44 | +[[rule.threat]] |
| 45 | +framework = "MITRE ATT&CK" |
| 46 | +[[rule.threat.technique]] |
| 47 | +id = "T1210" |
| 48 | +name = "Exploitation of Remote Services" |
| 49 | +reference = "https://attack.mitre.org/techniques/T1210/" |
| 50 | + |
| 51 | + |
| 52 | +[rule.threat.tactic] |
| 53 | +id = "TA0008" |
| 54 | +name = "Lateral Movement" |
| 55 | +reference = "https://attack.mitre.org/tactics/TA0008/" |
| 56 | + |
0 commit comments