YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Biopass_Dropper
Detects Go BioPass dropper
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Go BioPass dropper
Famille de malware associée : Biopass.
Cibles : PE Windows.
Elle définit 16 motifs (16 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 DITEKSHEN_MALWARE_Win_Biopass_Dropper : FILE
{
meta:
= "Detects Go BioPass dropper"
= "ditekSHen"
= "56037c79-59f7-587c-8f54-c9618e871f34"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7088-L7111"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "06f3b3ee38349ddcf9be7cbb7627d60fa673962409dde6e4badd112841a3ed19"
= 75
= 75
= "FILE"
strings:
$go = "Go build ID:" ascii
$s1 = "main.NetWorkStatus" ascii
$s2 = "main.NoErrorRunFunction" ascii
$s3 = "main.FileExist" ascii
$s4 = "main.execute" ascii
$s5 = "main.PsGenerator" ascii
$s6 = "main.downFile" ascii
$s7 = "main.Unzip" ascii
$url1 = "https://flashdownloadserver.oss-cn-hongkong.aliyuncs.com/res/" ascii
$x1 = "SCHTASKS /Run /TN SYSTEM_CDAEMON" ascii
$x2 = "SCHTASKS /Run /TN SYSTEM_SETTINGS" ascii
$x3 = "SCHTASKS /Run /TN SYSTEM_TEST && SCHTASKS /DELETE /F /TN SYSTEM_TEST" ascii
$x4 = ".exe /install /quiet /norestart" ascii
$x5 = "exec(''import urllib.request;exec(urllib.request.urlopen(urllib.request.Request(\\''http" ascii
$x6 = "powershell.exe -Command $" ascii
$x7 = ".Path ='-----BEGIN RSA TESTING KEY-----" ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or 5 of ( $x* ) or ( 1 of ( $url* ) and ( $go ) ) or 9 of them )
}
Chaînes (16 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $go | texte | "Go build ID:" | ascii |
| $s1 | texte | "main.NetWorkStatus" | ascii |
| $s2 | texte | "main.NoErrorRunFunction" | ascii |
| $s3 | texte | "main.FileExist" | ascii |
| $s4 | texte | "main.execute" | ascii |
| $s5 | texte | "main.PsGenerator" | ascii |
| $s6 | texte | "main.downFile" | ascii |
| $s7 | texte | "main.Unzip" | ascii |
| $url1 | texte | "https://flashdownloadserver.oss-cn-hongkong.aliyuncs.com/res/" | ascii |
| $x1 | texte | "SCHTASKS /Run /TN SYSTEM_CDAEMON" | ascii |
| $x2 | texte | "SCHTASKS /Run /TN SYSTEM_SETTINGS" | ascii |
| $x3 | texte | "SCHTASKS /Run /TN SYSTEM_TEST && SCHTASKS /DELETE /F /TN SYSTEM_TEST" | ascii |
| $x4 | texte | ".exe /install /quiet /norestart" | ascii |
| $x5 | texte | "exec(''import urllib.request;exec(urllib.request.urlopen(urllib.request.Request(\\''http" | ascii |
| $x6 | texte | "powershell.exe -Command $" | ascii |
| $x7 | texte | ".Path ='-----BEGIN RSA TESTING KEY-----" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or 5 of ( $x* ) or ( 1 of ( $url* ) and ( $go ) ) or 9 of them )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $s* ) doivent être trouvés.
- Au moins 5 motifs de ( $x* ) doivent être trouvés.
- Au moins 1 motifs de ( $url* ) doivent être trouvés.
- Au moins 9 motifs de la règle 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é.
Références
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: 56037c79-59f7-587c-8f54-c9618e871f34
Tags:FILE
Règles liées
- Suspect / chasseditekSHen detection· ditekSHen· 2021-01-21
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06