YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_Screenconnect_Exploitation_Artefacts_Feb24
Detects post exploitation indicators observed by HuntressLabs in relation to the ConnectWise ScreenConnect (versions prior to 23.9.8) vulnerability that allows an Authentication Bypass
- Autor
- Florian Roth
- Datum
- 2024-02-23
- Geändert
- 2024-04-24
- Score / Qualität
- 75 / 83
Was diese Regel erkennt
Detects post exploitation indicators observed by HuntressLabs in relation to the ConnectWise ScreenConnect (versions prior to 23.9.8) vulnerability that allows an Authentication Bypass
Sie definiert 28 Muster (28 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_SUSP_Screenconnect_Exploitation_Artefacts_Feb24 : SCRIPT
{
meta:
= "Detects post exploitation indicators observed by HuntressLabs in relation to the ConnectWise ScreenConnect (versions prior to 23.9.8) vulnerability that allows an Authentication Bypass"
= "Florian Roth"
= "079f4153-8bc7-574f-b6fa-af5536b842ab"
= "2024-02-23"
= "2024-04-24"
= "https://www.huntress.com/blog/slashandgrab-screen-connect-post-exploitation-in-the-wild-cve-2024-1709-cve-2024-1708"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_connectwise_screenconnect_vuln_feb24.yar#L62-L103"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6f0d5f878847da1afb0d7b83e84bd337cfa67c36da2cbb33af712ed4ffad490a"
= 75
= 83
= "SCRIPT"
strings:
$x01 = "-c foreach ($disk in Get-WmiObject Win32_Logicaldisk){Add-MpPreference -ExclusionPath $disk.deviceid}"
$x02 = ".msi c:\\mpyutd.msi"
$x03 = "/MyUserName_$env:UserName"
$x04 = " -OutFile C:\\Windows\\Help\\"
$x05 = "/Create /TN \\\\Microsoft\\\\Windows\\\\Wininet\\\\UserCache_"
$x06 = "$e = $r + \"ssh.exe\""
$x07 = "Start-Process -f $e -a $args -PassThru -WindowStyle Hidden).Id"
$x08 = "-R 9595:localhost:3389 -p 443 -N -oStrictHostKeyChecking=no "
$x09 = "chromeremotedesktophost.msi', $env:ProgramData+"
$x10 = "9595; iwr -UseBasicParsing "
$x11 = "curl https://cmctt.]com/pub/media/wysiwyg/"
$x12 = ":8080/servicetest2.dll"
$x13 = "/msappdata.msi c:\\mpyutd.msi"
$x14 = "/svchost.exe -OutFile "
$x15 = "curl http://minish.wiki.gd"
$x16 = " -Headers @{'ngrok-skip-browser-warning'='true'} -OutFile "
$x17 = "rundll32.exe' -Headers @"
$x18 = "/nssm.exe' -Headers @"
$x19 = "c:\\programdata\\update.dat UpdateSystem"
$x20 = "::size -eq 4){\\\"TVqQAA" ascii wide
$x21 = "::size -eq 4){\"TVqQAA" ascii wide
$x22 = "-nop -c [System.Reflection.Assembly]::Load(([WmiClass]'root\\cimv2:System_"
$xp0 = "/add default test@2021! /domain"
$xp1 = "/add default1 test@2021! /domain"
$xp2 = "oldadmin Pass8080!!"
$xp3 = "temp 123123qwE /add "
$xp4 = "oldadmin \"Pass8080!!\""
$xp5 = "nssm set xmrig AppDirectory "
condition:
1 of ( $x* )
}
Strings (28 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x01 | Text | "-c foreach ($disk in Get-WmiObject Win32_Logicaldisk){Add-MpPreference -ExclusionPath $disk.deviceid}" | |
| $x02 | Text | ".msi c:\\mpyutd.msi" | |
| $x03 | Text | "/MyUserName_$env:UserName" | |
| $x04 | Text | " -OutFile C:\\Windows\\Help\\" | |
| $x05 | Text | "/Create /TN \\\\Microsoft\\\\Windows\\\\Wininet\\\\UserCache_" | |
| $x06 | Text | "$e = $r + \"ssh.exe\"" | |
| $x07 | Text | "Start-Process -f $e -a $args -PassThru -WindowStyle Hidden).Id" | |
| $x08 | Text | "-R 9595:localhost:3389 -p 443 -N -oStrictHostKeyChecking=no " | |
| $x09 | Text | "chromeremotedesktophost.msi', $env:ProgramData+" | |
| $x10 | Text | "9595; iwr -UseBasicParsing " | |
| $x11 | Text | "curl https://cmctt.]com/pub/media/wysiwyg/" | |
| $x12 | Text | ":8080/servicetest2.dll" | |
| $x13 | Text | "/msappdata.msi c:\\mpyutd.msi" | |
| $x14 | Text | "/svchost.exe -OutFile " | |
| $x15 | Text | "curl http://minish.wiki.gd" | |
| $x16 | Text | " -Headers @{'ngrok-skip-browser-warning'='true'} -OutFile " | |
| $x17 | Text | "rundll32.exe' -Headers @" | |
| $x18 | Text | "/nssm.exe' -Headers @" | |
| $x19 | Text | "c:\\programdata\\update.dat UpdateSystem" | |
| $x20 | Text | "::size -eq 4){\\\"TVqQAA" | ascii wide |
| $x21 | Text | "::size -eq 4){\"TVqQAA" | ascii wide |
| $x22 | Text | "-nop -c [System.Reflection.Assembly]::Load(([WmiClass]'root\\cimv2:System_" | |
| $xp0 | Text | "/add default test@2021! /domain" | |
| $xp1 | Text | "/add default1 test@2021! /domain" | |
| $xp2 | Text | "oldadmin Pass8080!!" | |
| $xp3 | Text | "temp 123123qwE /add " | |
| $xp4 | Text | "oldadmin \"Pass8080!!\"" | |
| $xp5 | Text | "nssm set xmrig AppDirectory " |
Bedingung
1 of ( $x* )In Worten (Heuristik)
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Lizenz & Namensnennung
Autor: Florian Roth
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 079f4153-8bc7-574f-b6fa-af5536b842ab
Tags:SCRIPT
Verwandte Regeln
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-15
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-15
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-11-09
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23