YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_PY_Bluelight_Loader
Python Loader used to execute the BLUELIGHT malware family.
- Author
- threatintel@volexity.com
- Date
- 2021-06-22
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Python Loader used to execute the BLUELIGHT malware family.
Associated malware family: Bluelight.
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_PY_Bluelight_Loader : INKYSQUID
{
meta:
= "Python Loader used to execute the BLUELIGHT malware family."
= "threatintel@volexity.com"
= "f8da3e40-c3b0-5b7f-8ece-81874993d8cd"
= "2021-06-22"
= "2023-12-05"
= "https://www.volexity.com/blog/2021/08/24/north-korean-bluelight-special-inkysquid-deploys-rokrat/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_inkysquid.yar#L39-L58"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "80269413be6ad51b8b19631b2f5559c9572842e789bbce031babe6e879d2e120"
= "e7e18a6d648b1383706439ba923335ac4396f6b5d2a3dc8f30f63ded7df29eda"
= 75
= 85
= "INKYSQUID"
= "See license at https://github.com/volexity/threat-intel/LICENSE.txt"
strings:
$s1 = "\"\".join(chr(ord(" ascii
$s2 = "import ctypes " ascii
$s3 = "ctypes.CFUNCTYPE(ctypes.c_int)" ascii
$s4 = "ctypes.memmove" ascii
$s5 = "python ended" ascii
condition:
all of them
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "\"\".join(chr(ord(" | ascii |
| $s2 | text | "import ctypes " | ascii |
| $s3 | text | "ctypes.CFUNCTYPE(ctypes.c_int)" | ascii |
| $s4 | text | "ctypes.memmove" | ascii |
| $s5 | text | "python ended" | ascii |
Condition
all of themIn plain words (Heuristic)
- 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 80269413be6ad51b8b19631b2f5559c9572842e789bbce031babe6e879d2e120
Licence & attribution
Author: threatintel@volexity.com
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: BSD 2-Clause License (stated in the rule's own meta)
“See license at https://github.com/volexity/threat-intel/LICENSE.txt”
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: f8da3e40-c3b0-5b7f-8ece-81874993d8cd
Tags:INKYSQUID
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-04-23
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2021-06-22
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2021-04-23
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / threat actorSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-06-23
- Hack toolSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-05-25
- WebshellSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-03-01