Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Apt_Kimsuky_Vbs

VBS files used by Kimsuky

APT / threat actorKimsukySEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2024-09-23
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

VBS files used by Kimsuky

Associated malware family: Kimsuky.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-kimsuky-vbs.yarDetection Rule License 1.1
rule SEKOIA_Apt_Kimsuky_Vbs : FILE
{
	meta:
		description = "VBS files used by Kimsuky"
		author = "Sekoia.io"
		id = "3f92dbda-2ddb-4fa3-a587-743f65ced9e4"
		date = "2024-09-23"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_kimsuky_vbs.yar#L1-L23"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "12386be22ca82fce98a83a5a19e632bc"
		hash = "7b5783d42240651af78ebf7e01b31fe8"
		hash = "ff7d68e5fb253664ce64c85457b28041"
		hash = "622358469e5e24114dd0eb03da815576"
		hash = "edbb2aa40408e2a7936067ace38b445b"
		hash = "73ed9b012785dc3b3ee33aa52700cfe4"
		logic_hash = "b4a05a50c8223198082f6f6aa7309cc19b019738fb99e37c6f2140b8ef7cecc9"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = ")):Next:Execute " ascii
		$ = "=\"\":" ascii
		$ = "\":for "

	condition:
		all of them and filesize < 10KB
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$text")):Next:Execute "ascii
$text"=\"\":"ascii
$text"\":for "

Condition

all of them and filesize < 10KB

In plain words (Heuristic)

  • The file must be smaller than 10KB (a cheap guard that skips large files).
  • All 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

Sample hashes

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

  • 12386be22ca82fce98a83a5a19e632bc
  • 7b5783d42240651af78ebf7e01b31fe8
  • ff7d68e5fb253664ce64c85457b28041
  • 622358469e5e24114dd0eb03da815576
  • edbb2aa40408e2a7936067ace38b445b
  • 73ed9b012785dc3b3ee33aa52700cfe4

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: 3f92dbda-2ddb-4fa3-a587-743f65ced9e4

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE

More Kimsuky rules