Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_WIN_BACKSPACE

BACKSPACE backdoor payload

MalwareBackspaceditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 75

What this rule detects

BACKSPACE backdoor payload

Associated malware family: Backspace.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-backspace.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_WIN_BACKSPACE : FILE
{
	meta:
		description = "BACKSPACE backdoor payload"
		author = "ditekSHen"
		id = "ff9b1c2e-66a1-5e09-8bc2-a7543161e518"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1227-L1247"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "3d366327c2272761349687b11e4d6baada5000936dc7f81665e0303f7d1e5121"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Software\\Microsoft\\PnpSetup" ascii wide
		$s2 = "Mutex_lnkword_little" ascii wide
		$s3 = "(Prxy%c-%s:%u)" fullword ascii
		$s4 = "(Prxy-No)" fullword ascii
		$s5 = "/index.htm" fullword ascii
		$s6 = "CONNECT %s:%d" ascii
		$s7 = "\\$NtRecDoc$" fullword ascii
		$s8 = "qazWSX123$%^" ascii
		$s9 = "Software\\Microsoft\\Core" ascii wide
		$s10 = "Mutex_lnkch" ascii wide
		$s11 = "Event__lnkch__" ascii wide
		$s12 = "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)" fullword ascii
		$s13 = "User-Agent: Mozilla/5.00 (compatible; MSIE 6.0; Win32)" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and 8 of them
}

Strings (13 patterns)

IdentifierTypeValueModifiers
$s1text"Software\\Microsoft\\PnpSetup"ascii wide
$s2text"Mutex_lnkword_little"ascii wide
$s3text"(Prxy%c-%s:%u)"fullword ascii
$s4text"(Prxy-No)"fullword ascii
$s5text"/index.htm"fullword ascii
$s6text"CONNECT %s:%d"ascii
$s7text"\\$NtRecDoc$"fullword ascii
$s8text"qazWSX123$%^"ascii
$s9text"Software\\Microsoft\\Core"ascii wide
$s10text"Mutex_lnkch"ascii wide
$s11text"Event__lnkch__"ascii wide
$s12text"User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)"fullword ascii
$s13text"User-Agent: Mozilla/5.00 (compatible; MSIE 6.0; Win32)"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and 8 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 8 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.

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: ff9b1c2e-66a1-5e09-8bc2-a7543161e518

Tags:FILE