Skip to content

YARA · Mandiant red team tool countermeasures

FIREEYE_RT_Credtheft_MSIL_Titospecial_1

This rule looks for .NET PE files that have the strings of various method names in the TitoSpecial code.

GenericMandiant red team tool countermeasuresBSD 2-Clause LicenseCompiles with YARA-X
Author
FireEye
Date
2020-12-08
Modified
2020-12-09
Score / Quality
75 / 75

What this rule detects

This rule looks for .NET PE files that have the strings of various method names in the TitoSpecial code.

Targets: Windows PE.

It defines 13 patterns (13 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

credtheft-msil-titospecial-1.yarBSD 2-Clause License
rule FIREEYE_RT_Credtheft_MSIL_Titospecial_1 : FILE
{
	meta:
		description = "This rule looks for .NET PE files that have the strings of various method names in the TitoSpecial code."
		author = "FireEye"
		id = "932bb013-03de-5cf7-89e9-b3232151d303"
		date = "2020-12-08"
		modified = "2020-12-09"
		reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
		source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/TITOSPECIAL/production/yara/CredTheft_MSIL_TitoSpecial_1.yar#L4-L27"
		license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
		hash = "4bf96a7040a683bd34c618431e571e26"
		logic_hash = "4ac9a5ede4aea5d73545b459eb635f87ce08ba521afa48b76d2cfa94f1379226"
		score = 75
		quality = 75
		tags = "FILE"
		rev = 4

	strings:
		$str1 = "Minidump" ascii wide
		$str2 = "dumpType" ascii wide
		$str3 = "WriteProcessMemory" ascii wide
		$str4 = "bInheritHandle" ascii wide
		$str5 = "GetProcessById" ascii wide
		$str6 = "SafeHandle" ascii wide
		$str7 = "BeginInvoke" ascii wide
		$str8 = "EndInvoke" ascii wide
		$str9 = "ConsoleApplication1" ascii wide
		$str10 = "getOSInfo" ascii wide
		$str11 = "OpenProcess" ascii wide
		$str12 = "LoadLibrary" ascii wide
		$str13 = "GetProcAddress" ascii wide

	condition:
		( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of ( $str* )
}

Strings (13 patterns)

IdentifierTypeValueModifiers
$str1text"Minidump"ascii wide
$str2text"dumpType"ascii wide
$str3text"WriteProcessMemory"ascii wide
$str4text"bInheritHandle"ascii wide
$str5text"GetProcessById"ascii wide
$str6text"SafeHandle"ascii wide
$str7text"BeginInvoke"ascii wide
$str8text"EndInvoke"ascii wide
$str9text"ConsoleApplication1"ascii wide
$str10text"getOSInfo"ascii wide
$str11text"OpenProcess"ascii wide
$str12text"LoadLibrary"ascii wide
$str13text"GetProcAddress"ascii wide

Condition

( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of ( $str* )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $str* ) 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.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 4bf96a7040a683bd34c618431e571e26

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

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 932bb013-03de-5cf7-89e9-b3232151d303

Metadata

rev4

Tags:FILE