Skip to main content
Mallory
MalwareUsed by 1 actor

NightClub

NightClub is a modular malware framework/backdoor used by the cyberespionage group MoustachedBouncer since at least 2014. ESET reported that MoustachedBouncer has targeted foreign embassies in Belarus and assessed with medium confidence that the group is aligned with Belarusian interests. NightClub uses email protocols for command and control, specifically SMTP and IMAP, and can also use SMTP and DNS for file exfiltration and C2. Reported NightClub capabilities include monitoring removable drives, enumerating the active window via GetForegroundWindow, screen capture through a module using CreateCompatibleDC and GdipSaveImageToStream, and audio capture through a module leveraging the LAME encoder and mciSendStringW. It has copied captured files and keystrokes to the %TEMP% directory of compromised hosts.

For persistence and defense evasion, NightClub has modified the Registry to set the ServiceDLL for a created service and has created a service named WmdmPmSp to spoof a Windows Media service. It can also modify the creation, access, and write timestamps of malicious DLLs to match those of the legitimate Windows DLL user32.dll. NightClub has used legitimate-looking filenames, including EsetUpdate-0117583943.exe for a dropper. ESET reported that a 2014 NightClub dropper wrote a DLL to %SystemRoot%\System32\creh.dll and persisted via the WmdmPmSp service. A 2017 version used plugins stored as DLLs under %APPDATA%\NvmFilter\ with a single export named Starts. Versions observed in 2020-2022 used an external JSON configuration file at %APPDATA%\Microsoft\def\Gfr45.cfg, an orchestrator named svhvost.exe, a module agent named schvost.exe, and persistence via a service named vAwast; plugin DLLs were disguised with a .ini extension. NightClub also included a DNS-tunneling backdoor plugin, ParametersParserer.dll, which exchanged commands and exfiltrated data via DNS TXT records using modified base64 encoding and domains ending in 11.1.1.cid and 12.1.1.cid. Reported exfiltration accounts included attacker-controlled Seznam.cz accounts in 2014 and Mail.ru accounts in 2017.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
MoustachedBouncer

Since 2014, the group has been operating a malware framework that we have named NightClub. It uses the SMTP and IMAP (email) protocols for C&C communications.

via eset welivesecurity blogwelivesecurity.com
MITRE ATT&CK

Techniques & procedures

27 distinct techniques documented for this family, organized by ATT&CK tactic.

Execution

2 techniques
T1106Native APIEvidence1
TacticExecution
T1574.011Services Registry Permissions WeaknessEvidence1

NightClub can modify the Registry to set the ServiceDLL for a service created by the malware for persistence.

Persistence

4 techniques
T1112Modify RegistryEvidence4

The content repeatedly describes threat actors and malware modifying, creating, deleting, or storing data in Windows Registry keys and values for persistence, configuration storage, defense evasion, credential access, privilege escalation, and execution.

T1543.003Windows ServiceEvidence3

Catchamas creates three Registry keys to establish persistence by adding a Windows Service; TEARDROP modified the Registry to create a Windows service for itself; NightClub set the ServiceDLL for a service created by the malware.

T1546Event Triggered ExecutionEvidence1

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.

T1547.001Registry Run Keys / Startup FolderEvidence1

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.

T1543.003Windows ServiceEvidence3

Catchamas creates three Registry keys to establish persistence by adding a Windows Service; TEARDROP modified the Registry to create a Windows service for itself; NightClub set the ServiceDLL for a service created by the malware.

T1546Event Triggered ExecutionEvidence1

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.

T1547.001Registry Run Keys / Startup FolderEvidence1

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
T1027Obfuscated Files or InformationEvidence3
TacticStealth

The content repeatedly describes malware and threat actors using obfuscated code, encrypted strings, Base64/XOR/RC4/AES encoding, VMProtect/ConfuserEx/SmartAssembly, stack strings, control-flow flattening, opaque predicates, and hidden payloads to evade analysis and detection.

T1036MasqueradingEvidence2
TacticStealth

During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.

T1036.004Masquerade Task or ServiceEvidence1
TacticStealth
T1036.005Match Legitimate Resource Name or LocationEvidence1
TacticStealth
T1070.006TimestompEvidence2
TacticStealth

APT28 has performed timestomping on victim files. APT29 has used timestomping to alter the Standard Information timestamps on their web shells to match other files in the same directory. APT32 has used scheduled task raw XML with a backdated timestamp... APT38 has modified data timestamps to mimic files that are in the same folder on a compromised host.

T1574.011Services Registry Permissions WeaknessEvidence1

NightClub can modify the Registry to set the ServiceDLL for a service created by the malware for persistence.

T1112Modify RegistryEvidence4

The content repeatedly describes threat actors and malware modifying, creating, deleting, or storing data in Windows Registry keys and values for persistence, configuration storage, defense evasion, credential access, privilege escalation, and execution.

T1056.001KeyloggingEvidence1

Discovery

4 techniques
T1010Application Window DiscoveryEvidence2
TacticDiscovery

Multiple malware families are described as identifying/enumerating open windows or capturing foreground window titles (e.g., via EnumWindows, GetForegroundWindow, GetWindowText) to understand user activity and provide context for keylogging/screencapture.

T1057Process DiscoveryEvidence2
TacticDiscovery

The content repeatedly describes malware and threat actors obtaining lists of running processes, using utilities such as tasklist, ps, WMI, Get-Process, CreateToolhelp32Snapshot, EnumProcesses, and similar APIs/commands to enumerate active processes on victim systems.

T1083File and Directory DiscoveryEvidence3
TacticDiscovery

BADNEWS crawls the victim's local drives and collects documents with selected extensions; Machete searches the file system for files of interest; Rover searches for files on local drives based on a predefined list of file extensions.

T1120Peripheral Device DiscoveryEvidence3
TacticDiscovery

The content repeatedly describes malware and threat actors identifying, monitoring, or enumerating connected peripheral devices such as USB mass storage, Bluetooth devices, printers, smart card readers, cameras, Apple devices, VGA/display devices, and removable drives.

Collection

6 techniques
T1005Data from Local SystemEvidence3

The content repeatedly describes threat actors and malware collecting, stealing, identifying, copying, or staging files, documents, credentials, logs, databases, and other information from compromised hosts or local systems.

T1056.001KeyloggingEvidence1
T1074Data StagedEvidence1

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.

T1074.001Local Data StagingEvidence1
T1113Screen CaptureEvidence2

"Agent Tesla can capture screenshots of the victim’s desktop"; "AppleSeed can take screenshots on a compromised host"; "APT28 has used tools to take screenshots from victims"; "Cobalt Strike's Beacon payload is capable of capturing screenshots"; "PowerSploit's Get-TimedScreenshot Exfiltration module can take screenshots at regular intervals"; "Hydraq includes a component based on the code of VNC that can stream a live feed of the desktop"

T1123Audio CaptureEvidence1
T1071.003Mail ProtocolsEvidence1
T1071.004DNSEvidence1
T1105Ingress Tool TransferEvidence1
T1132.002Non-Standard EncodingEvidence1

Exfiltration

2 techniques
T1041Exfiltration Over C2 ChannelEvidence3

ADVSTORESHELL exfiltrates data over the same channel used for C2... Agrius exfiltrated staged data using tools such as Putty and WinSCP, communicating with command and control servers... numerous malware and groups sent victim data, files, credentials, or host information over existing C2 channels.

T1048Exfiltration Over Alternative ProtocolEvidence2

Cannon exfiltrates collected data over email via SMTP/S and POP3/S C2 channels... CURIUM has used IMAP and SMTPS for exfiltration via tools such as IMAPLoader... Kevin can send data from the victim host through a DNS C2 channel... NightClub can use SMTP and DNS for file exfiltration and C2.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution1

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping27

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.