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
- Auteur
- Florian Roth
- Date
- 2024-02-23
- Modifiée
- 2024-04-24
- Score / Qualité
- 75 / 83
Ce que détecte cette règle
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
Elle définit 28 motifs (28 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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* )
}
Chaînes (28 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x01 | texte | "-c foreach ($disk in Get-WmiObject Win32_Logicaldisk){Add-MpPreference -ExclusionPath $disk.deviceid}" | |
| $x02 | texte | ".msi c:\\mpyutd.msi" | |
| $x03 | texte | "/MyUserName_$env:UserName" | |
| $x04 | texte | " -OutFile C:\\Windows\\Help\\" | |
| $x05 | texte | "/Create /TN \\\\Microsoft\\\\Windows\\\\Wininet\\\\UserCache_" | |
| $x06 | texte | "$e = $r + \"ssh.exe\"" | |
| $x07 | texte | "Start-Process -f $e -a $args -PassThru -WindowStyle Hidden).Id" | |
| $x08 | texte | "-R 9595:localhost:3389 -p 443 -N -oStrictHostKeyChecking=no " | |
| $x09 | texte | "chromeremotedesktophost.msi', $env:ProgramData+" | |
| $x10 | texte | "9595; iwr -UseBasicParsing " | |
| $x11 | texte | "curl https://cmctt.]com/pub/media/wysiwyg/" | |
| $x12 | texte | ":8080/servicetest2.dll" | |
| $x13 | texte | "/msappdata.msi c:\\mpyutd.msi" | |
| $x14 | texte | "/svchost.exe -OutFile " | |
| $x15 | texte | "curl http://minish.wiki.gd" | |
| $x16 | texte | " -Headers @{'ngrok-skip-browser-warning'='true'} -OutFile " | |
| $x17 | texte | "rundll32.exe' -Headers @" | |
| $x18 | texte | "/nssm.exe' -Headers @" | |
| $x19 | texte | "c:\\programdata\\update.dat UpdateSystem" | |
| $x20 | texte | "::size -eq 4){\\\"TVqQAA" | ascii wide |
| $x21 | texte | "::size -eq 4){\"TVqQAA" | ascii wide |
| $x22 | texte | "-nop -c [System.Reflection.Assembly]::Load(([WmiClass]'root\\cimv2:System_" | |
| $xp0 | texte | "/add default test@2021! /domain" | |
| $xp1 | texte | "/add default1 test@2021! /domain" | |
| $xp2 | texte | "oldadmin Pass8080!!" | |
| $xp3 | texte | "temp 123123qwE /add " | |
| $xp4 | texte | "oldadmin \"Pass8080!!\"" | |
| $xp5 | texte | "nssm set xmrig AppDirectory " |
Condition
1 of ( $x* )En clair (Heuristique)
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Licence et attribution
Auteur : Florian Roth
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 079f4153-8bc7-574f-b6fa-af5536b842ab
Tags:SCRIPT
Règles liées
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-15
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-15
- APT / acteurSignature 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
- Suspect / chasseSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23