BlackMould
- Type
- Webshell
- Capabilities
- ExfiltrationPersistencePost exploitationReconnaissance
- Platforms
- Windows
BlackMould is a native Windows web shell for Microsoft Internet Information Services (IIS), based on China Chopper and used by the China-based threat actor GALLIUM, also tracked as Red Dev 4. Microsoft publicly identified and named it in December 2019 during investigations into GALLIUM intrusions targeting telecommunications providers, particularly in Southeast Asia, Europe, and Africa.
BlackMould enables remote command execution through the Windows command shell and uses HTTP POST requests for command-and-control communications. Its capabilities include enumerating local drives, finding files and directories, copying files, modifying file attributes, collecting and exfiltrating local data, and downloading or dropping additional files onto compromised systems. GALLIUM uses web shells such as BlackMould to maintain access after initial compromise and deploy second-stage malware. The group's associated intrusion activity includes exploitation of unpatched internet-facing application servers, followed by web-shell deployment and further post-exploitation activity.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Red Dev 4 - Background: BlackMould, Poison Ivy, SoftEther VPN, Gh0st RAT, China Chopper
Red Dev 4 - Background: BlackMould, Poison Ivy, SoftEther VPN, Gh0st RAT, China Chopper
Techniques & procedures
10 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
This tool can be used by the attackers for a variety of purposes and tasks including enumerating local drives, performing basic file operations, setting file attributes, exfiltrating and dropping files, and running malicious commands on compromised devices.
[BlackMould](https://attack.mitre.org/software/S0564) can run cmd.exe with parameters.(Citation: Microsoft GALLIUM December 2019)
Persistence
1 technique
Persistence
GALLIUM relies on web shells to gain persistence within a target's network and to drop their second stage malware payloads... In addition to standard China Chopper, GALLIUM has been observed using a native web shell for servers running Microsoft IIS that is based on the China Chopper web shell, a web shell Microsoft dubbed BlackMould.
Discovery
4 techniques
Discovery
The content repeatedly describes malware and threat actors collecting OS version, computer name, architecture, CPU, memory, disk, language, and other host details; examples include use of commands such as ver, systeminfo, hostname, uname -m, sw_vers -productVersion, and fsutil.
[BlackMould](https://attack.mitre.org/software/S0564) has the ability to find files on the targeted system.(Citation: Microsoft GALLIUM December 2019)
Numerous entries mention enumerating drives, logical disks, disk type, free space, or volume information; examples include 'Babuk can enumerate disk volumes,' 'Cuba can enumerate local drives,' and 'TAINTEDSCRIBE can use DriveList to retrieve drive information.'
[BlackMould](https://attack.mitre.org/software/S0564) can enumerate local drives on a compromised host.(Citation: Microsoft GALLIUM December 2019)
Collection
1 technique
Collection
[BlackMould](https://attack.mitre.org/software/S0564) can copy files on a compromised host.(Citation: Microsoft GALLIUM December 2019)
Command and Control
2 techniques
Command and Control
[BlackMould](https://attack.mitre.org/software/S0564) can send commands to C2 in the body of HTTP POST requests.(Citation: Microsoft GALLIUM December 2019)
[BlackMould](https://attack.mitre.org/software/S0564) has the ability to download files to the victim's machine.(Citation: Microsoft GALLIUM December 2019)
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.