YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Redline_Strings
Finds Redline samples based on characteristic strings
- Auteur
- Sekoia.io
- Date
- 2022-09-07
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 78
Ce que détecte cette règle
Finds Redline samples based on characteristic strings
Famille de malware associée : RedLine.
Cibles : PE Windows.
Elle définit 31 motifs (31 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
infostealer-win-redline-strings.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Redline_Strings : FILE
{
meta:
= "Finds Redline samples based on characteristic strings"
= "Sekoia.io"
= "0c9fcb0e-ce8f-44f4-90b2-abafcdd6c02e"
= "2022-09-07"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_redline_strings.yar#L1-L47"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "44443e16b788231b3f256b4d1e91c458c33963d5737d69fc5850f6b0efa7726b"
= 75
= 78
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$gen01 = "ChromeGetRoamingName" ascii
$gen02 = "ChromeGetLocalName" ascii
$gen03 = "get_UserDomainName" ascii
$gen04 = "get_encrypted_key" ascii
$gen05 = "browserPaths" ascii
$gen06 = "GetBrowsers" ascii
$gen07 = "get_InstalledInputLanguages" ascii
$gen08 = "BCRYPT_INIT_AUTH_MODE_INFO_VERSION" ascii
$spe0 = "Profile_encrypted_value" wide
$spe1 = "[AString-ZaString-z\\d]{2String4}\\.[String\\w-]{String6}\\.[\\wString-]{2String7}" wide
$spe2 = "AFileSystemntivFileSystemirusPrFileSystemoduFileSystemct|AntiFileSystemSpyWFileSystemareProFileSystemduct|FireFileSystemwallProdFileSystemuct" wide
$spe3 = "OpHandlerenVPHandlerN ConHandlernect%DSK_23%Opera GXcookies" wide
$spe4 = "//settinString.Removeg[@name=\\PasswString.Removeord\\]/valuString.RemoveeROOT\\SecurityCenter" wide
$spe5 = "ROOT\\SecurityCenter2Web DataSteamPath" wide
$spe6 = "windows-1251, CommandLine:" wide
$spe7 = "OFileInfopeFileInfora GFileInfoX StabFileInfole" wide
$spe8 = "ApGenericpDaGenericta\\RGenericoamiGenericng\\" wide
$spe9 = "*wallet*" wide
$typ01 = "359A00EF6C789FD4C18644F56C5D3F97453FFF20" ascii
$typ02 = "F413CEA9BAA458730567FE47F57CC3C94DDF63C0" ascii
$typ03 = "A937C899247696B6565665BE3BD09607F49A2042" ascii
$typ04 = "D67333042BFFC20116BF01BC556566EC76C6F7E2" ascii
$typ05 = "4E3D7F188A5F5102BEC5B820632BBAEC26839E63" ascii
$typ06 = "FB10FF1AD09FE8F5CA3A85B06BC96596AF83B350" ascii
$typ07 = "77A9683FAF2EC9EC3DABC09D33C3BD04E8897D60" ascii
$typ08 = "A8F9B62160DF085B926D5ED70E2B0F6C95A25280" ascii
$typ09 = "718D1294A5C2D3F3D70E09F2F473155C4F567201" ascii
$typ10 = "2FBDC611D3D91C142C969071EA8A7D3D10FF6301" ascii
$typ11 = "2A19BFD7333718195216588A698752C517111B02" ascii
$typ12 = "EB7EF1973CDC295B7B08FE6D82B9ECDAD1106AF2" ascii
$typ13 = "04EC68A0FC7D9B6A255684F330C28A4DCAB91F13" ascii
condition:
uint16( 0 ) == 0x5A4D and ( 7 of ( $gen* ) or 3 of ( $spe* ) or 2 of ( $typ* ) )
}
Chaînes (31 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $gen01 | texte | "ChromeGetRoamingName" | ascii |
| $gen02 | texte | "ChromeGetLocalName" | ascii |
| $gen03 | texte | "get_UserDomainName" | ascii |
| $gen04 | texte | "get_encrypted_key" | ascii |
| $gen05 | texte | "browserPaths" | ascii |
| $gen06 | texte | "GetBrowsers" | ascii |
| $gen07 | texte | "get_InstalledInputLanguages" | ascii |
| $gen08 | texte | "BCRYPT_INIT_AUTH_MODE_INFO_VERSION" | ascii |
| $spe0 | texte | "Profile_encrypted_value" | wide |
| $spe1 | texte | "[AString-ZaString-z\\d]{2String4}\\.[String\\w-]{String6}\\.[\\wString-]{2String7}" | wide |
| $spe2 | texte | "AFileSystemntivFileSystemirusPrFileSystemoduFileSystemct|AntiFileSystemSpyWFileSystemareProFileSystemduct|FireFileSystemwallProdFileSystemuct" | wide |
| $spe3 | texte | "OpHandlerenVPHandlerN ConHandlernect%DSK_23%Opera GXcookies" | wide |
| $spe4 | texte | "//settinString.Removeg[@name=\\PasswString.Removeord\\]/valuString.RemoveeROOT\\SecurityCenter" | wide |
| $spe5 | texte | "ROOT\\SecurityCenter2Web DataSteamPath" | wide |
| $spe6 | texte | "windows-1251, CommandLine:" | wide |
| $spe7 | texte | "OFileInfopeFileInfora GFileInfoX StabFileInfole" | wide |
| $spe8 | texte | "ApGenericpDaGenericta\\RGenericoamiGenericng\\" | wide |
| $spe9 | texte | "*wallet*" | wide |
| $typ01 | texte | "359A00EF6C789FD4C18644F56C5D3F97453FFF20" | ascii |
| $typ02 | texte | "F413CEA9BAA458730567FE47F57CC3C94DDF63C0" | ascii |
| $typ03 | texte | "A937C899247696B6565665BE3BD09607F49A2042" | ascii |
| $typ04 | texte | "D67333042BFFC20116BF01BC556566EC76C6F7E2" | ascii |
| $typ05 | texte | "4E3D7F188A5F5102BEC5B820632BBAEC26839E63" | ascii |
| $typ06 | texte | "FB10FF1AD09FE8F5CA3A85B06BC96596AF83B350" | ascii |
| $typ07 | texte | "77A9683FAF2EC9EC3DABC09D33C3BD04E8897D60" | ascii |
| $typ08 | texte | "A8F9B62160DF085B926D5ED70E2B0F6C95A25280" | ascii |
| $typ09 | texte | "718D1294A5C2D3F3D70E09F2F473155C4F567201" | ascii |
| $typ10 | texte | "2FBDC611D3D91C142C969071EA8A7D3D10FF6301" | ascii |
| $typ11 | texte | "2A19BFD7333718195216588A698752C517111B02" | ascii |
| $typ12 | texte | "EB7EF1973CDC295B7B08FE6D82B9ECDAD1106AF2" | ascii |
| $typ13 | texte | "04EC68A0FC7D9B6A255684F330C28A4DCAB91F13" | ascii |
Condition
uint16( 0 ) == 0x5A4D and ( 7 of ( $gen* ) or 3 of ( $spe* ) or 2 of ( $typ* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 7 motifs de ( $gen* ) doivent être trouvés.
- Au moins 3 motifs de ( $spe* ) doivent être trouvés.
- Au moins 2 motifs de ( $typ* ) 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é.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
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: 0c9fcb0e-ce8f-44f4-90b2-abafcdd6c02e
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-08-27
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-12-24
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-12-24
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-11