Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Irontiger_Chrome_Stealer

Detect the chrome_stealer malware

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-03-01
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detect the chrome_stealer malware

Targets: Windows PE.

It defines 15 patterns (15 text, 0 hex, 0 regex). YARA modules used: pe.

Summary generated from the rule's metadata and condition.

Rule source

Includes the imports needed to compile it on its own.

infostealer-win-irontiger-chrome-stealer.yarDetection Rule License 1.1
import "pe"

rule SEKOIA_Infostealer_Win_Irontiger_Chrome_Stealer : FILE
{
	meta:
		description = "Detect the chrome_stealer malware"
		author = "Sekoia.io"
		id = "8c5c3ed0-e1ea-4079-b330-ace8724bff2a"
		date = "2023-03-01"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_irontiger_chrome_stealer.yar#L3-L32"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "dfddebf9623661508e993541106d4dcbb2270b311b2902567bd309810aff58dd"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "passwords.txt"
		$ = "CryptUnprotectData: 0x%08x"
		$ = "cookies.txt"
		$ = "decrypt to %s"
		$ = ".\\chromedb_tmp" wide ascii
		$ = "SELECT ORIGIN_URL,USERNAME_VALUE,PASSWORD_VALUE FROM LOGINS;"
		$ = "decrypt successful!"
		$ = "url: %s"
		$ = "user: %s"
		$ = "pass: %s"
		$ = "aes key:"
		$ = "\\Google\\Chrome\\User Data\\Default\\Login Data" wide
		$ = "password file %s" wide
		$ = "cookies file %s" wide
		$ = "keyfile: %s" wide

	condition:
		( uint16( 0 ) == 0x5A4D and all of them ) or pe.imphash ( ) == "e862f5a6671f9dbd6f53d3d557e568f0"
}

Strings (15 patterns)

IdentifierTypeValueModifiers
$text"passwords.txt"
$text"CryptUnprotectData: 0x%08x"
$text"cookies.txt"
$text"decrypt to %s"
$text".\\chromedb_tmp"wide ascii
$text"SELECT ORIGIN_URL,USERNAME_VALUE,PASSWORD_VALUE FROM LOGINS;"
$text"decrypt successful!"
$text"url: %s"
$text"user: %s"
$text"pass: %s"
$text"aes key:"
$text"\\Google\\Chrome\\User Data\\Default\\Login Data"wide
$text"password file %s"wide
$text"cookies file %s"wide
$text"keyfile: %s"wide

Condition

( uint16( 0 ) == 0x5A4D and all of them ) or pe.imphash ( ) == "e862f5a6671f9dbd6f53d3d557e568f0"

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in the rule must match.
  • Uses the pe module.
  • Checks the PE import hash (imphash).

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

Licence & attribution

Author: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

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

Rule id: 8c5c3ed0-e1ea-4079-b330-ace8724bff2a

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE