Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Loader_Win_Abcloader

Detect ABCloader

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

What this rule detects

Detect ABCloader

Targets: Windows PE.

It defines 2 patterns (2 text, 0 hex, 0 regex). YARA modules used: pe, hash.

Summary generated from the rule's metadata and condition.

Rule source

Includes the imports needed to compile it on its own.

loader-win-abcloader.yarDetection Rule License 1.1
import "pe"
import "hash"

rule SEKOIA_Loader_Win_Abcloader : FILE
{
	meta:
		description = "Detect ABCloader"
		author = "Sekoia.io"
		id = "c286ce75-a041-478e-a567-4bf1d5e66c01"
		date = "2024-08-19"
		modified = "2024-12-19"
		reference = "https://nsfocusglobal.com/new-apt-group-actor240524-a-closer-look-at-its-cyber-tactics-against-azerbaijan-and-israel/"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_abcloader.yar#L4-L28"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "0d1dca5eaad49c2dbd979e1bf0b5f8d0"
		hash = "9a640889e82407b06c546fea15be668f"
		logic_hash = "64d171d31c2f03ac18dde61d5b57fba91448045404b0ff619fb8cd437a561b1f"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "qSii.LI4"
		$ = "Cabinet.dll"

	condition:
		uint16be( 0 ) == 0x4d5a and all of them or pe.imphash ( ) == "45c6b272631aa9e0c4b2ba675699b803" or hash.md5 ( pe.rich_signature.clear_data ) == "b33158757dc039859e272f4528e10e80"
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$text"qSii.LI4"
$text"Cabinet.dll"

Condition

uint16be( 0 ) == 0x4d5a and all of them or pe.imphash ( ) == "45c6b272631aa9e0c4b2ba675699b803" or hash.md5 ( pe.rich_signature.clear_data ) == "b33158757dc039859e272f4528e10e80"

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in the rule must match.
  • Uses the pe module.
  • Uses the hash module.
  • Compares a hash of the file or a part of it.
  • Checks the PE import hash (imphash).

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

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 0d1dca5eaad49c2dbd979e1bf0b5f8d0
  • 9a640889e82407b06c546fea15be668f

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: c286ce75-a041-478e-a567-4bf1d5e66c01

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE