YARA · Mandiant red team tool countermeasures
FIREEYE_RT_APT_Hacktool_MSIL_SHARPSTOMP_1
No description has been set in the source file - FireEye-RT
- Author
- FireEye
- Date
- 2020-12-02
- Modified
- 2020-12-09
- Score / Quality
- 75 / 71
What this rule detects
No description has been set in the source file - FireEye-RT
Targets: Windows PE.
It defines 9 patterns (9 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule FIREEYE_RT_APT_Hacktool_MSIL_SHARPSTOMP_1 : FILE
{
meta:
= "No description has been set in the source file - FireEye-RT"
= "FireEye"
= "4b4a54c8-9717-5fbb-8130-a49162bc6b07"
= "2020-12-02"
= "2020-12-02"
= "2020-12-09"
= "https://github.com/mandiant/red_team_tool_countermeasures/"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/SHARPSTOMP/production/yara/APT_HackTool_MSIL_SHARPSTOMP_1.yar#L4-L24"
= "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
= "83ed748cd94576700268d35666bf3e01"
= "af8aa0e87d8b6623a908fde5014f3849cd0ca20d5926c798be82ce4eab2668bb"
= 75
= 71
= "FILE"
= 3
strings:
$s0 = "mscoree.dll" fullword nocase
$s1 = "timestompfile" fullword nocase
$s2 = "sharpstomp" fullword nocase
$s3 = "GetLastWriteTime" fullword
$s4 = "SetLastWriteTime" fullword
$s5 = "GetCreationTime" fullword
$s6 = "SetCreationTime" fullword
$s7 = "GetLastAccessTime" fullword
$s8 = "SetLastAccessTime" fullword
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of them
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s0 | text | "mscoree.dll" | fullword nocase |
| $s1 | text | "timestompfile" | fullword nocase |
| $s2 | text | "sharpstomp" | fullword nocase |
| $s3 | text | "GetLastWriteTime" | fullword |
| $s4 | text | "SetLastWriteTime" | fullword |
| $s5 | text | "GetCreationTime" | fullword |
| $s6 | text | "SetCreationTime" | fullword |
| $s7 | text | "GetLastAccessTime" | fullword |
| $s8 | text | "SetLastAccessTime" | fullword |
Condition
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 83ed748cd94576700268d35666bf3e01
Licence & attribution
Author: FireEye
Source repository: Mandiant red team tool countermeasures @ 3561b71724
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright (c) 2023, MANDIANT
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 4b4a54c8-9717-5fbb-8130-a49162bc6b07
Metadata
| rev | 3 |
|---|
Tags:FILE
Related rules
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-08
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-08
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-11-27
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-12-02
- APT / threat actorMandiant red team tool countermeasures· FireEye· 2020-11-27