|
| 1 | +[metadata] |
| 2 | +creation_date = "2024/03/27" |
| 3 | +integration = ["endpoint", "windows"] |
| 4 | +maturity = "production" |
| 5 | +updated_date = "2024/03/27" |
| 6 | +min_stack_comments = "New fields added: required_fields, related_integrations, setup" |
| 7 | +min_stack_version = "8.3.0" |
| 8 | + |
| 9 | + |
| 10 | +[rule] |
| 11 | +author = ["Elastic"] |
| 12 | +description = """ |
| 13 | +Identifies suspicious processes being spawned by the ScreenConnect client processes. This activity may indicate execution |
| 14 | +abusing unauthorized access to the ScreenConnect remote access software. |
| 15 | +""" |
| 16 | +from = "now-9m" |
| 17 | +index = ["logs-endpoint.events.*", "winlogbeat-*", "logs-windows.sysmon_operational-*", "logs-system.security*", "endgame-*"] |
| 18 | +language = "eql" |
| 19 | +license = "Elastic License v2" |
| 20 | +name = "Suspicious ScreenConnect Client Child Process" |
| 21 | +references = ["https://www.huntress.com/blog/slashandgrab-screen-connect-post-exploitation-in-the-wild-cve-2024-1709-cve-2024-1708"] |
| 22 | +risk_score = 47 |
| 23 | +rule_id = "78de1aeb-5225-4067-b8cc-f4a1de8a8546" |
| 24 | +severity = "medium" |
| 25 | +tags = [ |
| 26 | + "Domain: Endpoint", |
| 27 | + "OS: Windows", |
| 28 | + "Use Case: Threat Detection", |
| 29 | + "Tactic: Command and Control", |
| 30 | + "Resources: Investigation Guide", |
| 31 | + "Data Source: Elastic Endgame", |
| 32 | + "Data Source: Elastic Defend", |
| 33 | + "Data Source: Sysmon" |
| 34 | +] |
| 35 | +timestamp_override = "event.ingested" |
| 36 | +type = "eql" |
| 37 | + |
| 38 | +query = ''' |
| 39 | +process where host.os.type == "windows" and event.type == "start" and |
| 40 | + process.parent.name : |
| 41 | + ("ScreenConnect.ClientService.exe", |
| 42 | + "ScreenConnect.WindowsClient.exe", |
| 43 | + "ScreenConnect.WindowsBackstageShell.exe", |
| 44 | + "ScreenConnect.WindowsFileManager.exe") and |
| 45 | + ( |
| 46 | + (process.name : "powershell.exe" and |
| 47 | + process.args : ("-enc", "-ec", "-e", "*downloadstring*", "*Reflection.Assembly*", "*http*")) or |
| 48 | + (process.name : "cmd.exe" and process.args : "/c") or |
| 49 | + (process.name : "net.exe" and process.args : "/add") or |
| 50 | + (process.name : "schtasks.exe" and process.args : ("/create", "-create")) or |
| 51 | + (process.name : "sc.exe" and process.args : "create") or |
| 52 | + (process.name : "rundll32.exe" and not process.args : "url.dll,FileProtocolHandler") or |
| 53 | + (process.name : "msiexec.exe" and process.args : ("/i", "-i") and |
| 54 | + process.args : ("/q", "/quiet", "/qn", "-q", "-quiet", "-qn", "-Q+")) or |
| 55 | + process.name : ("mshta.exe", "certutil.exe", "bistadmin.exe", "certreq.exe", "wscript.exe", "cscript.exe", "curl.exe", |
| 56 | + "ssh.exe", "scp.exe", "wevtutil.exe", "wget.exe", "wmic.exe") |
| 57 | + ) |
| 58 | +''' |
| 59 | + |
| 60 | + |
| 61 | +[[rule.threat]] |
| 62 | +framework = "MITRE ATT&CK" |
| 63 | +[[rule.threat.technique]] |
| 64 | +id = "T1219" |
| 65 | +name = "Remote Access Software" |
| 66 | +reference = "https://attack.mitre.org/techniques/T1219/" |
| 67 | + |
| 68 | + |
| 69 | +[rule.threat.tactic] |
| 70 | +id = "TA0011" |
| 71 | +name = "Command and Control" |
| 72 | +reference = "https://attack.mitre.org/tactics/TA0011/" |
| 73 | + |
0 commit comments