Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_TOOL_ANT_Invizzzible

Detect InviZzzible

Suspicious / huntingditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-09-25
Score / Quality
75 / 73

What this rule detects

Detect InviZzzible

Targets: Windows PE.

It defines 27 patterns (26 text, 0 hex, 1 regex).

Summary generated from the rule's metadata and condition.

Rule source

indicator-tool-ant-invizzzible.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_TOOL_ANT_Invizzzible : FILE
{
	meta:
		description = "Detect InviZzzible"
		author = "ditekSHen"
		id = "23533d1c-e0d8-51c8-ac18-60c845bff197"
		date = "2020-11-06"
		modified = "2024-09-25"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1025-L1059"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "bd84015f9fdc160a6ed9010c5a5905fcf13987b1fdec6fdd9535e315dc3617e8"
		score = 75
		quality = 73
		tags = "FILE"

	strings:
		$s1 = "\\\\.\\pipe\\task_sched_se" fullword wide
		$s2 = "\\\\\\.\\NPF_NdisWanIp" fullword wide
		$s3 = /--action --(dtt|mra|user-input|cfg|dan|evt|pid|exc|wmi|tsh)/ fullword wide
		$s4 = "cuckoo_%lu.ini" fullword wide
		$s5 = "sandbox evasion" wide nocase
		$s6 = "UnbalancedStack" fullword ascii
		$s7 = "process_with_long_name" fullword ascii
		$s8 = "DelaysAccumulation" fullword ascii
		$s9 = "PidReuse" fullword ascii
		$s10 = "DeadAnalyzer" fullword ascii
		$s11 = "SleepDummyPatch" fullword ascii
		$s12 = "AudioDeviceAbsence" fullword ascii
		$s14 = "\\\\.\\PhysicalDrive%u" fullword ascii
		$s15 = "\"countermeasures\":" ascii
		$s16 = "_%.02u%.02u%.02u_%.02u%.02u%.02u.html" ascii
		$f1 = ".?AVHyperV@SandboxEvasion@@" ascii
		$f2 = ".?AVJoebox@SandboxEvasion@@" ascii
		$f3 = ".?AVKVM@SandboxEvasion@@" ascii
		$f4 = ".?AVMisc@SandboxEvasion@@" ascii
		$f5 = ".?AVParallels@SandboxEvasion@@" ascii
		$f6 = ".?AVQEMU@SandboxEvasion@@" ascii
		$f7 = ".?AVSandboxie@SandboxEvasion@@" ascii
		$f8 = ".?AVVBOX@SandboxEvasion@@" ascii
		$f9 = ".?AVVirtualPC@SandboxEvasion@@" ascii
		$f10 = ".?AVVMWare@SandboxEvasion@@" ascii
		$f11 = ".?AVWine@SandboxEvasion@@" ascii
		$f12 = ".?AVXen@SandboxEvasion@@" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or 4 of ( $f* ) or ( 2 of ( $f* ) and 2 of ( $s* ) ) )
}

Strings (27 patterns)

IdentifierTypeValueModifiers
$s1text"\\\\.\\pipe\\task_sched_se"fullword wide
$s2text"\\\\\\.\\NPF_NdisWanIp"fullword wide
$s3regex/--action --(dtt|mra|user-input|cfg|dan|evt|pid|exc|wmi|tsh)/fullword wide
$s4text"cuckoo_%lu.ini"fullword wide
$s5text"sandbox evasion"wide nocase
$s6text"UnbalancedStack"fullword ascii
$s7text"process_with_long_name"fullword ascii
$s8text"DelaysAccumulation"fullword ascii
$s9text"PidReuse"fullword ascii
$s10text"DeadAnalyzer"fullword ascii
$s11text"SleepDummyPatch"fullword ascii
$s12text"AudioDeviceAbsence"fullword ascii
$s14text"\\\\.\\PhysicalDrive%u"fullword ascii
$s15text"\"countermeasures\":"ascii
$s16text"_%.02u%.02u%.02u_%.02u%.02u%.02u.html"ascii
$f1text".?AVHyperV@SandboxEvasion@@"ascii
$f2text".?AVJoebox@SandboxEvasion@@"ascii
$f3text".?AVKVM@SandboxEvasion@@"ascii
$f4text".?AVMisc@SandboxEvasion@@"ascii
$f5text".?AVParallels@SandboxEvasion@@"ascii
$f6text".?AVQEMU@SandboxEvasion@@"ascii
$f7text".?AVSandboxie@SandboxEvasion@@"ascii
$f8text".?AVVBOX@SandboxEvasion@@"ascii
$f9text".?AVVirtualPC@SandboxEvasion@@"ascii
$f10text".?AVVMWare@SandboxEvasion@@"ascii
$f11text".?AVWine@SandboxEvasion@@"ascii
$f12text".?AVXen@SandboxEvasion@@"ascii

Condition

uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or 4 of ( $f* ) or ( 2 of ( $f* ) and 2 of ( $s* ) ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 6 patterns in ( $s* ) must match.
  • At least 4 patterns in ( $f* ) must match.
  • At least 2 patterns in ( $f* ) must match.
  • At least 2 patterns in ( $s* ) 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: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

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

Rule id: 23533d1c-e0d8-51c8-ac18-60c845bff197

Tags:FILE