Skip to content

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Win_Bluelight

The BLUELIGHT malware family. Leverages Microsoft OneDrive for network communications.

APT / threat actorBluelightVolexity threat-intelBSD 2-Clause LicenseCompiles with YARA-X
Author
threatintel@volexity.com
Date
2021-04-23
Modified
2025-02-18
Score / Quality
75 / 80

What this rule detects

The BLUELIGHT malware family. Leverages Microsoft OneDrive for network communications.

Associated malware family: Bluelight.

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

Summary generated from the rule's metadata and condition.

Rule source

apt-malware-win-bluelight.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Win_Bluelight : INKYPINE FILE MEMORY
{
	meta:
		description = "The BLUELIGHT malware family. Leverages Microsoft OneDrive for network communications."
		author = "threatintel@volexity.com"
		id = "5bfdc74b-592e-5f3d-9fb8-bbbbd0f6f0f6"
		date = "2021-04-23"
		modified = "2025-02-18"
		reference = "https://www.volexity.com/blog/2021/08/24/north-korean-bluelight-special-inkysquid-deploys-rokrat/"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2021/2021-08-17 - InkySquid Part 1/indicators/yara.yar#L78-L120"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "7c40019c1d4cef2ffdd1dd8f388aaba537440b1bffee41789c900122d075a86d"
		hash = "94b71ee0861cc7cfbbae53ad2e411a76f296fd5684edf6b25ebe79bf6a2a600a"
		hash = "485246b411ef5ea9e903397a5490d106946a8323aaf79e6041bdf94763a0c028"
		logic_hash = "45490dfc793bb95f153c0194989b25e0b2641fa9b9f6763d5733eab6483ffead"
		score = 75
		quality = 80
		tags = "INKYPINE, FILE, MEMORY"
		os = "win"
		os_arch = "all"
		scan_context = "file,memory"
		severity = "critical"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 5284
		version = 12

	strings:
		$pdb1 = "\\Development\\BACKDOOR\\ncov\\"
		$pdb2 = "Release\\bluelight.pdb" nocase ascii
		$pdb3 = "D:\\Development\\GOLD-BACKDOOR\\Release\\FirstBackdoor.pdb"
		$pdb4 = "GOLD-BACKDOOR\\Release\\"
		$msg0 = "https://ipinfo.io" fullword
		$msg1 = "country" fullword
		$msg5 = "\"UserName\":\"" fullword
		$msg7 = "\"ComName\":\"" fullword
		$msg8 = "\"OS\":\"" fullword
		$msg9 = "\"OnlineIP\":\"" fullword
		$msg10 = "\"LocalIP\":\"" fullword
		$msg11 = "\"Time\":\"" fullword
		$msg12 = "\"Compiled\":\"" fullword
		$msg13 = "\"Process Level\":\"" fullword
		$msg14 = "\"AntiVirus\":\"" fullword
		$msg15 = "\"VM\":\"" fullword

	condition:
		any of ( $pdb* ) or all of ( $msg* )
}

Strings (16 patterns)

IdentifierTypeValueModifiers
$pdb1text"\\Development\\BACKDOOR\\ncov\\"
$pdb2text"Release\\bluelight.pdb"nocase ascii
$pdb3text"D:\\Development\\GOLD-BACKDOOR\\Release\\FirstBackdoor.pdb"
$pdb4text"GOLD-BACKDOOR\\Release\\"
$msg0text"https://ipinfo.io"fullword
$msg1text"country"fullword
$msg5text"\"UserName\":\""fullword
$msg7text"\"ComName\":\""fullword
$msg8text"\"OS\":\""fullword
$msg9text"\"OnlineIP\":\""fullword
$msg10text"\"LocalIP\":\""fullword
$msg11text"\"Time\":\""fullword
$msg12text"\"Compiled\":\""fullword
$msg13text"\"Process Level\":\""fullword
$msg14text"\"AntiVirus\":\""fullword
$msg15text"\"VM\":\""fullword

Condition

any of ( $pdb* ) or all of ( $msg* )

In plain words (Heuristic)

  • All patterns in ( $msg* ) must match.
  • At least one pattern in ( $pdb* ) 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).

  • 7c40019c1d4cef2ffdd1dd8f388aaba537440b1bffee41789c900122d075a86d
  • 94b71ee0861cc7cfbbae53ad2e411a76f296fd5684edf6b25ebe79bf6a2a600a
  • 485246b411ef5ea9e903397a5490d106946a8323aaf79e6041bdf94763a0c028

Licence & attribution

Author: threatintel@volexity.com

Source repository: Volexity threat-intel @ 3a9d0b5245

Licence: BSD 2-Clause License (stated in the rule's own meta)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Copyright notice: Copyright 2022 by Volexity, Inc.

Original rule

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

Rule id: 5bfdc74b-592e-5f3d-9fb8-bbbbd0f6f0f6

Metadata

oswin
os_archall
scan_contextfile,memory
severitycritical
rule_id5284
version12

Tags:INKYPINEFILEMEMORY

More Bluelight rules