NightClub
- Type
- Spyware
- Capabilities
- KeyloggingExfiltrationPersistenceDefense evasionReconnaissanceSpoofing
- Platforms
- Windows
NightClub is a modular Windows espionage malware framework associated with the Belarus-aligned threat actor MoustachedBouncer and active since at least 2014. It is a long-running surveillance platform used primarily against foreign diplomatic targets in Belarus. The malware has evolved across multiple generations from an early service-based implant into a plugin-driven framework with email-based command and control and specialized collection modules.
NightClub is written in C++ and uses SMTP and IMAP for command-and-control communications, with some variants also supporting DNS-based communications and exfiltration. Document theft is a core function, with collection focused on common office and PDF formats. Reported plugins and modules provide keylogging, screenshot capture, audio recording, active-window enumeration, removable-drive monitoring, and a DNS-tunneling backdoor. Screen capture functionality has been implemented through Windows graphics APIs, while audio capture has leveraged components such as the LAME encoder and mciSendStringW.
The malware uses multiple persistence and evasion techniques on Windows. Known variants establish persistence through Windows services and by modifying service-related Registry configuration, including ServiceDLL settings. Operators have used legitimate-looking service and executable names to blend into the host environment. NightClub has also staged captured files and keystrokes locally before exfiltration and has manipulated file timestamps to match legitimate Windows files as an anti-forensics measure.
Operationally, NightClub has been used as part of MoustachedBouncer’s broader cyber-espionage activity targeting embassy personnel and other foreign diplomatic entities. Later variants used modular orchestrator and agent components with external encrypted configuration, reflecting continued development and operational maturity. Overall, NightClub is best characterized as a stealthy surveillance backdoor designed for long-term collection on compromised Windows systems.
Associated vulnerabilities
1 CVE 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
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.
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
[NightClub](https://attack.mitre.org/software/S1090) can use multiple native APIs including `GetKeyState`, `GetForegroundWindow`, `GetWindowThreadProcessId`, and `GetKeyboardLayout`.(Citation: MoustachedBouncer ESET August 2023)
BlackCat has the ability to add the following registry key on compromised networks to maintain persistence: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Paramenters
Persistence
4 techniques
Persistence
[NightClub](https://attack.mitre.org/software/S1090) can modify the Registry to set the ServiceDLL for a service created by the malware for persistence.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) has created a Windows service named `WmdmPmSp` to establish persistence.(Citation: MoustachedBouncer ESET August 2023)
InvisiMole can collect data from the system, and can monitor changes in specified directories. NightClub can use a file monitor to steal specific files from targeted systems.
Agent Tesla can achieve persistence by modifying Registry key entries. Attor's dispatcher can modify the Run registry key. Kimsuky has also modified the registry entry for HKCU:\Software\Microsoft\Windows\CurrentVersion\Run registry key for persistence with the name WindowsSecurityCheck. PLAINTEE uses reg add to add a Registry Run key for persistence.
Privilege Escalation
3 techniques
Privilege Escalation
[NightClub](https://attack.mitre.org/software/S1090) has created a Windows service named `WmdmPmSp` to establish persistence.(Citation: MoustachedBouncer ESET August 2023)
InvisiMole can collect data from the system, and can monitor changes in specified directories. NightClub can use a file monitor to steal specific files from targeted systems.
Agent Tesla can achieve persistence by modifying Registry key entries. Attor's dispatcher can modify the Run registry key. Kimsuky has also modified the registry entry for HKCU:\Software\Microsoft\Windows\CurrentVersion\Run registry key for persistence with the name WindowsSecurityCheck. PLAINTEE uses reg add to add a Registry Run key for persistence.
Stealth
6 techniques
Stealth
[NightClub](https://attack.mitre.org/software/S1090) can obfuscate strings using the congruential generator `(LCG): staten+1 = (690069 × staten + 1) mod 232`.(Citation: MoustachedBouncer ESET August 2023)
During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.
[NightClub](https://attack.mitre.org/software/S1090) has created a service named `WmdmPmSp` to spoof a Windows Media service.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) has chosen file names to appear legitimate including EsetUpdate-0117583943.exe for its dropper.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) can modify the Creation, Access, and Write timestamps for malicious DLLs to match those of the genuine Windows DLL user32.dll.(Citation: MoustachedBouncer ESET August 2023)
BlackCat has the ability to add the following registry key on compromised networks to maintain persistence: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Paramenters
Defense Impairment
1 technique
Defense Impairment
[NightClub](https://attack.mitre.org/software/S1090) can modify the Registry to set the ServiceDLL for a service created by the malware for persistence.(Citation: MoustachedBouncer ESET August 2023)
Credential Access
2 techniques
Credential Access
[NightClub](https://attack.mitre.org/software/S1090) can use a plugin for keylogging.(Citation: MoustachedBouncer ESET August 2023)
MoustachedBouncer AitM-powered surveillance via Belarus ISPs ... How MoustachedBouncer uses AitM? ... Assessment: ISP level
Discovery
4 techniques
Discovery
[NightClub](https://attack.mitre.org/software/S1090) can use `GetForegroundWindow` to enumerate the active window.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) has the ability to use `GetWindowThreadProcessId` to identify the process behind a specified window.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) can use a file monitor to identify .lnk, .doc, .docx, .xls, .xslx, and .pdf files.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) has the ability to monitor removable drives.(Citation: MoustachedBouncer ESET August 2023)
Collection
8 techniques
Collection
[NightClub](https://attack.mitre.org/software/S1090) can use a file monitor to steal specific files from targeted systems.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) can use a plugin for keylogging.(Citation: MoustachedBouncer ESET August 2023)
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[NightClub](https://attack.mitre.org/software/S1090) has copied captured files and keystrokes to the `%TEMP%` directory of compromised hosts.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) can load a module to call `CreateCompatibleDC` and `GdipSaveImageToStream` for screen capture.(Citation: MoustachedBouncer ESET August 2023)
C&C by emails SMTP CSmtp library
[NightClub](https://attack.mitre.org/software/S1090) can load a module to leverage the LAME encoder and `mciSendStringW` to control and capture audio.(Citation: MoustachedBouncer ESET August 2023)
MoustachedBouncer AitM-powered surveillance via Belarus ISPs ... How MoustachedBouncer uses AitM? ... Assessment: ISP level
Command and Control
4 techniques
Command and Control
[NightClub](https://attack.mitre.org/software/S1090) can use emails for C2 communications.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) can use a DNS tunneling plugin to exfiltrate data by adding it to the subdomain portion of a DNS request.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) can load multiple additional plugins on an infected host.(Citation: MoustachedBouncer ESET August 2023)
[NightClub](https://attack.mitre.org/software/S1090) has used a non-standard encoding in DNS tunneling removing any `=` from the result of base64 encoding, and replacing `/` characters with `-s` and `+` characters with `-p`.(Citation: MoustachedBouncer ESET August 2023)
Exfiltration
2 techniques
Exfiltration
[NightClub](https://attack.mitre.org/software/S1090) can use SMTP and DNS for file exfiltration and C2.(Citation: MoustachedBouncer ESET August 2023)
Command and Control SMTP/IMAP, DNS and SMB ... C&C by emails SMTP ... DNS-tunneling backdoor
Observables
7 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.