Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Loader_Amadey_Clipper_Plugin

Finds Amadey's clipper plugin based on characteristic strings

MalwareAmadeySEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-05-16
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Finds Amadey's clipper plugin based on characteristic strings

Associated malware family: Amadey.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

loader-amadey-clipper-plugin.yarDetection Rule License 1.1
rule SEKOIA_Loader_Amadey_Clipper_Plugin : FILE
{
	meta:
		description = "Finds Amadey's clipper plugin based on characteristic strings"
		author = "Sekoia.io"
		id = "487b6657-8834-45ee-8fd4-03df9c0dd7be"
		date = "2023-05-16"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_amadey_clipper_plugin.yar#L1-L21"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "6f5a2fa9c687f0fb2423ca97540d0173551dd04b31d092e4d47d6d7d22dfb965"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "CLIPPERDLL.dll" ascii
		$str02 = "??4CClipperDLL@@QAEAAV0@$$QAV0@@Z" ascii
		$str03 = "??4CClipperDLL@@QAEAAV0@ABV0@@Z" ascii
		$str04 = "Main" ascii fullword
		$str05 = "OpenClipboard" ascii
		$str06 = "GetClipboardData" ascii
		$str07 = "D:\\Mktmp\\Amadey\\ClipperDLL\\Release\\CLIPPERDLL.pdb" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 5 of them
}

Strings (7 patterns)

IdentifierTypeValueModifiers
$str01text"CLIPPERDLL.dll"ascii
$str02text"??4CClipperDLL@@QAEAAV0@$$QAV0@@Z"ascii
$str03text"??4CClipperDLL@@QAEAAV0@ABV0@@Z"ascii
$str04text"Main"ascii fullword
$str05text"OpenClipboard"ascii
$str06text"GetClipboardData"ascii
$str07text"D:\\Mktmp\\Amadey\\ClipperDLL\\Release\\CLIPPERDLL.pdb"ascii

Condition

uint16( 0 ) == 0x5A4D and 5 of them

In plain words (Heuristic)

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

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

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

Rule id: 487b6657-8834-45ee-8fd4-03df9c0dd7be

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE

More Amadey rules