Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Crown

Detects Crown Tech Support Scam

MalwareCrownditekSHen 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

Detects Crown Tech Support Scam

Associated malware family: Crown.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-crown.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Crown : FILE
{
	meta:
		description = "Detects Crown Tech Support Scam"
		author = "ditekSHen"
		id = "ac4551d0-a574-5287-9b37-899c736db792"
		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#L8191-L8211"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "eeb36993c93d76ed118643ee417f15e1768015f72464dbabca7ae001f64a0aef"
		score = 75
		quality = 75
		tags = "FILE"
		snort_sid = "920251-920261"

	strings:
		$d1 = "//prodownload.live" ascii
		$c1 = "&uid=" ascii
		$c2 = "&ver=" ascii
		$c3 = "&mcid=" ascii
		$c4 = ".php?uid=" ascii
		$c5 = ".php?ip=" ascii
		$s1 = "Operating System Support ID:" ascii
		$s2 = "taskkill /IM explorer.exe -f" ascii nocase
		$s3 = "/C taskkill /IM Taskmgr.exe -f" ascii nocase
		$s4 = "FastSuport" fullword ascii
		$s5 = "Support Override!" fullword wide
		$s6 = "Support Assistance Override Activated!" fullword wide

	condition:
		uint16( 0 ) == 0x5a4d and ( all of ( $c* ) or 4 of ( $s* ) or ( 1 of ( $d* ) and ( 3 of ( $c* ) or 2 of ( $s* ) ) ) )
}

Strings (12 patterns)

IdentifierTypeValueModifiers
$d1text"//prodownload.live"ascii
$c1text"&uid="ascii
$c2text"&ver="ascii
$c3text"&mcid="ascii
$c4text".php?uid="ascii
$c5text".php?ip="ascii
$s1text"Operating System Support ID:"ascii
$s2text"taskkill /IM explorer.exe -f"ascii nocase
$s3text"/C taskkill /IM Taskmgr.exe -f"ascii nocase
$s4text"FastSuport"fullword ascii
$s5text"Support Override!"fullword wide
$s6text"Support Assistance Override Activated!"fullword wide

Condition

uint16( 0 ) == 0x5a4d and ( all of ( $c* ) or 4 of ( $s* ) or ( 1 of ( $d* ) and ( 3 of ( $c* ) or 2 of ( $s* ) ) ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $c* ) must match.
  • At least 4 patterns in ( $s* ) must match.
  • At least 1 patterns in ( $d* ) must match.
  • At least 3 patterns in ( $c* ) 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: ac4551d0-a574-5287-9b37-899c736db792

Metadata

snort_sid920251-920261

Tags:FILE