YARA · Mandiant red team tool countermeasures
FIREEYE_RT_Hacktool_MSIL_Sharpivot_3
This rule looks for .NET PE files that have the strings of various method names in the SharPivot code.
- Auteur
- FireEye
- Date
- 2020-12-08
- Modifiée
- 2020-12-10
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
This rule looks for .NET PE files that have the strings of various method names in the SharPivot code.
Cibles : PE Windows.
Elle définit 17 motifs (17 texte, 0 hex, 0 regex).
YARA-X indique : warning[duplicate_pattern_value]: duplicate pattern value
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
rule FIREEYE_RT_Hacktool_MSIL_Sharpivot_3 : FILE
{
meta:
= "This rule looks for .NET PE files that have the strings of various method names in the SharPivot code."
= "FireEye"
= "616333fc-4075-5f04-823a-1164717a2b87"
= "2020-12-08"
= "2020-12-10"
= "https://github.com/mandiant/red_team_tool_countermeasures/"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/SHARPIVOT/production/yara/HackTool_MSIL_SharPivot_3.yar#L4-L31"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "e4efa759d425e2f26fbc29943a30f5bd"
= "ecf13e47e409efd68b508735a84be6a1627f5b0c0cea6b90434fc9ba5b1d8cf5"
= 75
= 75
= "FILE"
= 3
strings:
$msil = "_CorExeMain" ascii wide
$str1 = "SharPivot" ascii wide
$str2 = "ParseArgs" ascii wide
$str3 = "GenRandomString" ascii wide
$str4 = "ScheduledTaskExists" ascii wide
$str5 = "ServiceExists" ascii wide
$str6 = "lpPassword" ascii wide
$str7 = "execute" ascii wide
$str8 = "WinRM" ascii wide
$str9 = "SchtaskMod" ascii wide
$str10 = "PoisonHandler" ascii wide
$str11 = "SCShell" ascii wide
$str12 = "SchtaskMod" ascii wide
$str13 = "ServiceHijack" ascii wide
$str14 = "commandArg" ascii wide
$str15 = "payloadPath" ascii wide
$str16 = "Schtask" ascii wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and $msil and all of ( $str* )
}
Chaînes (17 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $msil | texte | "_CorExeMain" | ascii wide |
| $str1 | texte | "SharPivot" | ascii wide |
| $str2 | texte | "ParseArgs" | ascii wide |
| $str3 | texte | "GenRandomString" | ascii wide |
| $str4 | texte | "ScheduledTaskExists" | ascii wide |
| $str5 | texte | "ServiceExists" | ascii wide |
| $str6 | texte | "lpPassword" | ascii wide |
| $str7 | texte | "execute" | ascii wide |
| $str8 | texte | "WinRM" | ascii wide |
| $str9 | texte | "SchtaskMod" | ascii wide |
| $str10 | texte | "PoisonHandler" | ascii wide |
| $str11 | texte | "SCShell" | ascii wide |
| $str12 | texte | "SchtaskMod" | ascii wide |
| $str13 | texte | "ServiceHijack" | ascii wide |
| $str14 | texte | "commandArg" | ascii wide |
| $str15 | texte | "payloadPath" | ascii wide |
| $str16 | texte | "Schtask" | ascii wide |
Condition
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and $msil and all of ( $str* )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $str* ) doivent être trouvés.
- Le motif $msil doit être présent.
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é.
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- e4efa759d425e2f26fbc29943a30f5bd
Licence et attribution
Auteur : FireEye
Dépôt source : Mandiant red team tool countermeasures @ 3561b71724
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright (c) 2023, MANDIANT
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: 616333fc-4075-5f04-823a-1164717a2b87
Métadonnées
| rev | 3 |
|---|
Tags:FILE
Règles liées
- Outil offensifMandiant red team tool countermeasures· FireEye· 2020-12-08
- Outil offensifMandiant red team tool countermeasures· FireEye· 2020-12-08
- Outil offensifMandiant red team tool countermeasures· FireEye· 2020-11-25
- Outil offensifMandiant red team tool countermeasures· FireEye· 2020-12-08
- Outil offensifMandiant red team tool countermeasures· FireEye· 2020-12-01
- Outil offensifMandiant red team tool countermeasures· FireEye· 2020-12-01
- Outil offensifMandiant red team tool countermeasures· FireEye· 2020-11-25
- Outil offensifMandiant red team tool countermeasures· FireEye· 2020-11-25