Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Lcpdot

Detects LCPDot

MalwareLcpdotditekSHen 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 LCPDot

Associated malware family: Lcpdot.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-lcpdot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Lcpdot : FILE
{
	meta:
		description = "Detects LCPDot"
		author = "ditekSHen"
		id = "e4db3784-7fb0-58bd-997e-788f409445cd"
		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#L4318-L4337"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b0f77f17976c38a69c2ff0d84002f2db29a4d25873309259519115b5f2b210ff"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" fullword wide
		$s2 = "Cookie: SESSID=%s" fullword ascii
		$s3 = "Cookie=Enable" fullword ascii
		$s4 = "Cookie=Enable&CookieV=%d&Cookie_Time=32" fullword ascii
		$s5 = ".?AVTShellCodeRuner@@" fullword ascii
		$s6 = ".?AVTHashEncDecoder@@" fullword ascii
		$s7 = ".?AVTWebAddressList@@" fullword ascii
		$s8 = "WinMain.dll" fullword ascii
		$s9 = "HotPlugin" wide
		$o0 = { 4c 89 6c 24 08 4c 89 34 24 44 8d 77 01 44 8d 6f }
		$o1 = { 8b f0 e8 58 34 00 00 48 8b f8 48 85 c0 74 0c 48 }
		$o2 = { c7 44 24 30 47 49 46 38 c7 44 24 34 39 61 27 00 }

	condition:
		uint16( 0 ) == 0x5a4d and 6 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )
}

Strings (12 patterns)

IdentifierTypeValueModifiers
$s1text"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"fullword wide
$s2text"Cookie: SESSID=%s"fullword ascii
$s3text"Cookie=Enable"fullword ascii
$s4text"Cookie=Enable&CookieV=%d&Cookie_Time=32"fullword ascii
$s5text".?AVTShellCodeRuner@@"fullword ascii
$s6text".?AVTHashEncDecoder@@"fullword ascii
$s7text".?AVTWebAddressList@@"fullword ascii
$s8text"WinMain.dll"fullword ascii
$s9text"HotPlugin"wide
$o0hex{ 4c 89 6c 24 08 4c 89 34 24 44 8d 77 01 44 8d 6f }
$o1hex{ 8b f0 e8 58 34 00 00 48 8b f8 48 85 c0 74 0c 48 }
$o2hex{ c7 44 24 30 47 49 46 38 c7 44 24 34 39 61 27 00 }

Condition

uint16( 0 ) == 0x5a4d and 6 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $o* ) must match.
  • At least 6 patterns in ( $s* ) must match.
  • At least 3 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: e4db3784-7fb0-58bd-997e-788f409445cd

Tags:FILE