Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_APT_UA_Hermetic_Wiper_Artefacts_Feb22_1

Detects artefacts found in Hermetic Wiper malware related intrusions

APT / threat actorHermeticwiperSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth (Nextron Systems)
Date
2022-02-25
Modified
2023-12-05
Score / Quality
75 / 85

What this rule detects

Detects artefacts found in Hermetic Wiper malware related intrusions

Associated malware family: Hermeticwiper.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-ua-hermetic-wiper-artefacts-feb22-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_UA_Hermetic_Wiper_Artefacts_Feb22_1
{
	meta:
		description = "Detects artefacts found in Hermetic Wiper malware related intrusions"
		author = "Florian Roth (Nextron Systems)"
		id = "77f793c1-b02c-59c3-b3e4-75758f5b3b8d"
		date = "2022-02-25"
		modified = "2023-12-05"
		reference = "https://symantec-enterprise-blogs.security.com/blogs/threat-intelligence/ukraine-wiper-malware-russia"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_ua_hermetic_wiper.yar#L40-L70"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "5e917618a5172c68b4b32ba9e63402c2a98ccb027276b317ec169a4fef219de1"
		score = 75
		quality = 85
		tags = ""

	strings:
		$sx1 = "/c powershell -c \"rundll32 C:\\windows\\system32\\comsvcs.dll MiniDump" ascii wide
		$sx2 = "appdata\\local\\microsoft\\windows\\winupd.log" ascii wide
		$sx3 = "AppData\\Local\\Microsoft\\Windows\\Winupd.log" ascii wide
		$sx4 = "CSIDL_SYSTEM_DRIVE\\temp\\sys.tmp1" ascii wide
		$sx5 = "\\policydefinitions\\postgresql.exe" ascii wide
		$sx6 = "powershell -v 2 -exec bypass -File text.ps1" ascii wide
		$sx7 = "powershell -exec bypass gp.ps1" ascii wide
		$sx8 = "powershell -exec bypass -File link.ps1" ascii wide
		$sx9 = " 1> \\\\127.0.0.1\\ADMIN$\\__16" ascii wide
		$sa1 = "(New-Object System.Net.WebClient).DownloadFile(" ascii wide
		$sa2 = "CSIDL_SYSTEM_DRIVE\\temp\\" ascii wide
		$sa3 = "1> \\\\127.0.0.1\\ADMIN$" ascii wide
		$fp1 = "<html" ascii

	condition:
		1 of ( $sx* ) or all of ( $sa* ) and not 1 of ( $fp* )
}

Strings (13 patterns)

IdentifierTypeValueModifiers
$sx1text"/c powershell -c \"rundll32 C:\\windows\\system32\\comsvcs.dll MiniDump"ascii wide
$sx2text"appdata\\local\\microsoft\\windows\\winupd.log"ascii wide
$sx3text"AppData\\Local\\Microsoft\\Windows\\Winupd.log"ascii wide
$sx4text"CSIDL_SYSTEM_DRIVE\\temp\\sys.tmp1"ascii wide
$sx5text"\\policydefinitions\\postgresql.exe"ascii wide
$sx6text"powershell -v 2 -exec bypass -File text.ps1"ascii wide
$sx7text"powershell -exec bypass gp.ps1"ascii wide
$sx8text"powershell -exec bypass -File link.ps1"ascii wide
$sx9text" 1> \\\\127.0.0.1\\ADMIN$\\__16"ascii wide
$sa1text"(New-Object System.Net.WebClient).DownloadFile("ascii wide
$sa2text"CSIDL_SYSTEM_DRIVE\\temp\\"ascii wide
$sa3text"1> \\\\127.0.0.1\\ADMIN$"ascii wide
$fp1text"<html"ascii

Condition

1 of ( $sx* ) or all of ( $sa* ) and not 1 of ( $fp* )

In plain words (Heuristic)

  • All patterns in ( $sa* ) must match.
  • At least 1 patterns in ( $sx* ) must match.
  • At least 1 patterns in ( $fp* ) 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

Licence & attribution

Author: Florian Roth (Nextron Systems)

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 77f793c1-b02c-59c3-b3e4-75758f5b3b8d

More Hermeticwiper rules