GOSAR
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
GOSAR is a Golang-based reimplementation of QUASAR, deployed by SADBRIDGE, with support for Windows and Linux.
Techniques & procedures
22 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
ResolveNewShellExecute opens pipes to a spawned cmd.exe process and sends commands to it.
Persistence
1 technique
Persistence
SADBRIDGE adds its service to the Svchost netsvcs registry key; GOSAR modifies TaskbarGlomLevel, Terminal Server settings, and can change RDP-related configuration.
Privilege Escalation
2 techniques
Privilege Escalation
SADBRIDGE employs PoolParty, APC queues, and token manipulation techniques for process injection.
SADBRIDGE uses APC injection to queue decrypted GOSAR shellcode into a newly created process thread; the GOSAR plugin component also queues APCs in suspended msiexec.exe.
Stealth
7 techniques
Stealth
SADBRIDGE stores encrypted stages with a .log extension; GOSAR encrypts plugins, collected logs, and keylogger/clipboard data.
Campaign samples were hosted on landing pages masquerading as Telegram or the Opera GX browser, and installers bundled legitimate applications with malicious DLLs.
SADBRIDGE employs PoolParty, APC queues, and token manipulation techniques for process injection.
SADBRIDGE uses APC injection to queue decrypted GOSAR shellcode into a newly created process thread; the GOSAR plugin component also queues APCs in suspended msiexec.exe.
SADBRIDGE decrypts configuration and stage files using byte operations, XOR, and LZNT1 decompression before mapping them into memory.
Hide Artifacts: Hidden Window
GOSAR reflectively loads embedded DLLs including plugins.dll, HiddenDesktop.dll, and Capture.dll; plugins downloaded from C2 are decrypted and reflectively executed.
Defense Impairment
2 techniques
Defense Impairment
SADBRIDGE adds its service to the Svchost netsvcs registry key; GOSAR modifies TaskbarGlomLevel, Terminal Server settings, and can change RDP-related configuration.
GOSAR creates an inbound firewall rule for ports 51756-51776, allowing all programs and IP addresses inbound under a Chinese Distributed Transaction Coordinator-themed name.
Credential Access
1 technique
Credential Access
GOSAR sets a global Windows hook with SetWindowsHookEx and WH_KEYBOARD_LL to intercept and record low-level keyboard events.
Discovery
2 techniques
Discovery
GOSAR provides ResolveGetProcesses to list running processes; SADBRIDGE checks for the Chinese AV process 360tray.exe.
Upon C2 connection, GOSAR sends system information, including IP address and installed antivirus and wallet information.
Lateral Movement
1 technique
Lateral Movement
ResolveDoInstallWrapper Setup a Hidden Remote Desktop Protocol ( HRDP )
Collection
4 techniques
Collection
GOSAR sets a global Windows hook with SetWindowsHookEx and WH_KEYBOARD_LL to intercept and record low-level keyboard events.
GOSAR's Capture.dll captures the victim desktop as JPEG images, while its HVNC component supports remote screen retrieval.
GOSAR checks clipboard availability using IsClipboardFormatAvailable and retrieves content using GetClipboardData.
GOSAR supports ResolveDoCompressFiles to compress files in ZIP format and ResolveDoExtractFile to extract ZIP archives.
Command and Control
4 techniques
Command and Control
The current version we have only processes a GET request to the URI /security.js , responding with the string callback();
GOSAR executes plugins that are downloaded from C2, encrypted on disk at C:\ProgramData\policy-err.log, then decrypted and loaded.
GOSAR creates an inbound firewall rule and HTTP listener on the first available port in the 51756-51776 range; it retains QUASAR's default C2 listening port 1080.
This new variant continues to use the same communication method as the original, based on TCP TLS.
Impact
1 technique
Impact
This function adds an entry to c:\Windows\System32\Drivers\etc\hosts the following 127.0.0.1 micrornetworks.com .
Observables
10 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.