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.
- Autor
- FireEye
- Datum
- 2020-12-08
- Geändert
- 2020-12-10
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
This rule looks for .NET PE files that have the strings of various method names in the SharPivot code.
Ziele: Windows-PE.
Sie definiert 17 Muster (17 Text, 0 Hex, 0 Regex).
YARA-X meldet: warning[duplicate_pattern_value]: duplicate pattern value
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
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* )
}
Strings (17 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $msil | Text | "_CorExeMain" | ascii wide |
| $str1 | Text | "SharPivot" | ascii wide |
| $str2 | Text | "ParseArgs" | ascii wide |
| $str3 | Text | "GenRandomString" | ascii wide |
| $str4 | Text | "ScheduledTaskExists" | ascii wide |
| $str5 | Text | "ServiceExists" | ascii wide |
| $str6 | Text | "lpPassword" | ascii wide |
| $str7 | Text | "execute" | ascii wide |
| $str8 | Text | "WinRM" | ascii wide |
| $str9 | Text | "SchtaskMod" | ascii wide |
| $str10 | Text | "PoisonHandler" | ascii wide |
| $str11 | Text | "SCShell" | ascii wide |
| $str12 | Text | "SchtaskMod" | ascii wide |
| $str13 | Text | "ServiceHijack" | ascii wide |
| $str14 | Text | "commandArg" | ascii wide |
| $str15 | Text | "payloadPath" | ascii wide |
| $str16 | Text | "Schtask" | ascii wide |
Bedingung
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and $msil and all of ( $str* )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Alle Muster aus ( $str* ) müssen treffen.
- Muster $msil muss vorhanden sein.
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.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- e4efa759d425e2f26fbc29943a30f5bd
Lizenz & Namensnennung
Autor: FireEye
Quell-Repository: Mandiant red team tool countermeasures @ 3561b71724
Lizenz: BSD 2-Clause License (Repository-Lizenz)
Copyright-Hinweis: Copyright (c) 2023, MANDIANT
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 616333fc-4075-5f04-823a-1164717a2b87
Metadaten
| rev | 3 |
|---|
Tags:FILE
Verwandte Regeln
- HacktoolMandiant red team tool countermeasures· FireEye· 2020-12-08
- HacktoolMandiant red team tool countermeasures· FireEye· 2020-12-08
- HacktoolMandiant red team tool countermeasures· FireEye· 2020-11-25
- HacktoolMandiant red team tool countermeasures· FireEye· 2020-12-08
- HacktoolMandiant red team tool countermeasures· FireEye· 2020-12-01
- HacktoolMandiant red team tool countermeasures· FireEye· 2020-12-01
- HacktoolMandiant red team tool countermeasures· FireEye· 2020-11-25
- HacktoolMandiant red team tool countermeasures· FireEye· 2020-11-25