BLUELIGHT
- Type
- Backdoor
- Capabilities
- Credential theftExfiltrationReconnaissanceDefense evasion
- Delivery
- Watering holeDrive byUSB
- Platforms
- Windows
BLUELIGHT is a Windows espionage backdoor associated with the North Korean state-backed threat group APT37, also known as InkySquid, ScarCruft, and Reaper. Publicly identified in 2021, it operates as a second-stage payload and uses legitimate cloud services for command-and-control and data exfiltration. Its delivery has included watering-hole attacks through the compromised South Korean news outlet Daily NK, involving exploitation of Internet Explorer vulnerabilities CVE-2020-1380 and CVE-2021-26411 and deployment of Cobalt Strike. ScarCruft has also used the BlankOverride worm to deliver BLUELIGHT through removable media in operations targeting African port infrastructure.
BLUELIGHT collects host reconnaissance information, including usernames, IP addresses, operating-system details, process filenames, security identifier authority levels, local time, installed antivirus products, and running virtual-machine tools. It can steal passwords stored in Internet Explorer, Microsoft Edge, Google Chrome, and Naver Whale. It also captures screenshots every 30 seconds during the first five minutes of its command-and-control loop, subsequently reducing the frequency to once every five minutes. Collected information is exfiltrated through its command-and-control channel, and the malware supports self-uninstallation.
BLUELIGHT supports multiple cloud providers for command-and-control. An analyzed variant authenticates using OAuth2 with embedded parameters and accesses attacker-controlled OneDrive storage through the Microsoft Graph API. It uploads initial host reconnaissance as JSON before entering a command-and-control loop running approximately every 30 seconds. Its use of legitimate cloud infrastructure allows malicious communications to blend with ordinary cloud-service traffic.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The first known usage was by the North Korea-linked Vedalia espionage group (aka APT37), which developed Bluelight, a second-stage payload that could communicate with several different cloud services for C&C purposes.
BLUELIGHT can harvest cookies from Internet Explorer, Edge, Chrome, and Naver Whale browsers.
...and finally to BLUELIGHT and FOOTWINE for full surveillance.
Techniques & procedures
33 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
ScarCruft déploie le ver BlankOverride (via supports amovibles, charge utile BLUELIGHT) contre des infrastructures portuaires en Afrique
North Korean APT37 / InkySquid Infects Victims Using Browser Exploits
The malware is distributed through a phishing attack... The phishing emails originated from the account of the former director of South Korea’s National Intelligence Service (NIS), who APT37 previously compromised.
Execution
6 techniques
Execution
Initial infection vectors involve malicious LNK files that launch PowerShell commands to deploy embedded payloads.
“execute various backdoor commands including… arbitrary command execution” / “FOOTWINE… sm Provides an interactive command shell…”
MITRE ATT&CK techniques... ScarCruft used malicious JavaScript for a watering-hole attack.
"GoGra ... uses the Microsoft Graph API to interact with a command-and-control (C&C) server hosted on Microsoft mail services..."; "Grager ... used the Graph API to communicate with a C&C server hosted on Microsoft OneDrive"; "Onedrivetools ... authenticates to Microsoft Graph API and downloads the second stage payload from OneDrive... fetching the new commands to execute from a file called cmd"
These malicious documents exploited an Internet Explorer 0-day vulnerability in the JScript engine, CVE-2022-41128.
"In the Ruby Jumper campaign, when a victim opens a malicious LNK file, it launches a PowerShell command..."
Privilege Escalation
1 technique
Privilege Escalation
The Python loader includes a script and shellcode, launching a multi-step XOR-decryption, process creation, etc., eventually resulting in the execution of the Dolphin payload in a newly created memory process.
Stealth
5 techniques
Stealth
The content repeatedly describes adversaries using Base64, XOR, RC4, AES, hexadecimal encoding, string encryption, code flattening, custom crypters, and other obfuscation methods to hide payloads, strings, configuration data, URLs, and scripts.
[BLUELIGHT](https://attack.mitre.org/software/S0657) has a XOR-encoded payload.(Citation: Volexity InkySquid BLUELIGHT August 2021)
The Python loader includes a script and shellcode, launching a multi-step XOR-decryption, process creation, etc., eventually resulting in the execution of the Dolphin payload in a newly created memory process.
[BLUELIGHT](https://attack.mitre.org/software/S0657) can uninstall itself.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) can check to see if the infected machine has VM tools running.(Citation: Volexity InkySquid BLUELIGHT August 2021)
Credential Access
3 techniques
Credential Access
[BLUELIGHT](https://attack.mitre.org/software/S0657) can harvest cookies from Internet Explorer, Edge, Chrome, and Naver Whale browsers.(Citation: Volexity InkySquid BLUELIGHT August 2021)
Agent Tesla can gather credentials from a number of browsers... APT33 has used a variety of publicly available tools like LaZagne to gather credentials... TrickBot can obtain passwords stored in files from web browsers such as Chrome, Firefox, Internet Explorer, and Microsoft Edge... SELECT action_url, username_value, password_value FROM logins; CryptUnprotectData
[BLUELIGHT](https://attack.mitre.org/software/S0657) can collect passwords stored in web browers, including Internet Explorer, Edge, Chrome, and Naver Whale.(Citation: Volexity InkySquid BLUELIGHT August 2021)
Discovery
8 techniques
Discovery
[BLUELIGHT](https://attack.mitre.org/software/S0657) can collect IP information from the victim’s machine.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) can collect the username on a compromised host.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) can collect process filenames and SID authority level.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) has collected the computer name and OS version from victim machines.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) can enumerate files and collect associated metadata.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) can collect the local time on a compromised host.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) can check to see if the infected machine has VM tools running.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) can collect a list of anti-virus products installed on a machine.(Citation: Volexity InkySquid BLUELIGHT August 2021)
Lateral Movement
1 technique
Lateral Movement
ScarCruft déploie le ver BlankOverride (via supports amovibles, charge utile BLUELIGHT) contre des infrastructures portuaires en Afrique
Collection
3 techniques
Collection
[BLUELIGHT](https://attack.mitre.org/software/S0657) has captured a screenshot of the display every 30 seconds for the first 5 minutes after initiating a C2 loop, and then once every five minutes thereafter.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) can zip files before exfiltration.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) has encoded data into a binary blob using XOR.(Citation: Volexity InkySquid BLUELIGHT August 2021)
Command and Control
5 techniques
Command and Control
Additionally it reports twice to the C2 server: before launching the exploit and after the exploit succeeds.
[BLUELIGHT](https://attack.mitre.org/software/S0657) can use HTTP/S for C2 using the Microsoft Graph API.(Citation: Volexity InkySquid BLUELIGHT August 2021)
The adversaries had communicated to both Dropbox and Pastebin. APT28 has used Google Drive for C2. APT37 leverages social networking sites and cloud platforms (AOL, Twitter, Yandex, Mediafire, pCloud, Dropbox, and Box) for C2.
[BLUELIGHT](https://attack.mitre.org/software/S0657) can use different cloud providers for its C2.(Citation: Volexity InkySquid BLUELIGHT August 2021)
[BLUELIGHT](https://attack.mitre.org/software/S0657) can download additional files onto the host.(Citation: Volexity InkySquid BLUELIGHT August 2021)
Exfiltration
1 technique
Exfiltration
[BLUELIGHT](https://attack.mitre.org/software/S0657) has exfiltrated data over its C2 channel.(Citation: Volexity InkySquid BLUELIGHT August 2021)
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
60 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.