Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_TOOL_LTM_Ladon

Detect Ladon tool that assists in lateral movement across a network

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

What this rule detects

Detect Ladon tool that assists in lateral movement across a network

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

indicator-tool-ltm-ladon.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_TOOL_LTM_Ladon : FILE
{
	meta:
		description = "Detect Ladon tool that assists in lateral movement across a network"
		author = "ditekSHen"
		id = "227e63ce-8383-5bb1-870e-6c4e767b402f"
		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#L1162-L1178"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "f31276bcbcae672966cfddc9af4f5b507d7244360b421de7fe1e811fb954fb7d"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$d1 = "Ladon.VncSharp.dll" fullword ascii
		$d2 = "Ladon.Renci.SshNet.dll" fullword ascii
		$s1 = "Ladon." ascii
		$s2 = "nowPos" fullword ascii
		$s3 = "Scan" fullword ascii
		$s4 = "QLZ_STREAMING_BUFFER" fullword ascii
		$s5 = "sizeDecompressed" fullword ascii
		$s6 = "UpdateByte" fullword ascii
		$s7 = "kNumBitPriceShiftBits" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( all of ( $d* ) or all of ( $s* ) or ( 1 of ( $d* ) and 5 of ( $s* ) ) )
}

Strings (9 patterns)

IdentifierTypeValueModifiers
$d1text"Ladon.VncSharp.dll"fullword ascii
$d2text"Ladon.Renci.SshNet.dll"fullword ascii
$s1text"Ladon."ascii
$s2text"nowPos"fullword ascii
$s3text"Scan"fullword ascii
$s4text"QLZ_STREAMING_BUFFER"fullword ascii
$s5text"sizeDecompressed"fullword ascii
$s6text"UpdateByte"fullword ascii
$s7text"kNumBitPriceShiftBits"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and ( all of ( $d* ) or all of ( $s* ) or ( 1 of ( $d* ) and 5 of ( $s* ) ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $d* ) must match.
  • All patterns in ( $s* ) must match.
  • At least 1 patterns in ( $d* ) must match.
  • At least 5 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: 227e63ce-8383-5bb1-870e-6c4e767b402f

Tags:FILE