Skip to main content
Mallory
Malware5 associated CVEs

Black Kingdom

Tracked since Nov 25, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns5Associated
Actors0Associated
ATT&CK37Techniques
IOCs18Tracked
Type
Ransomware
Capabilities
ExfiltrationLateral movementDefense evasionExtortion
Delivery
Landing page
Platforms
Windows

Black Kingdom, also known as DEMON and DemonWare, is a Windows ransomware family first observed in 2019 and notably reused in 2021 opportunistic attacks against unpatched on-premises Microsoft Exchange servers vulnerable to ProxyLogon, including CVE-2021-27065. After server compromise, operators deployed ASPX webshells for remote command execution, then used PowerShell to download the ransomware and WMI to launch it. Observed tradecraft also included functionality to copy and execute the payload on other systems across the network.

The malware is a relatively unsophisticated Python-based ransomware packaged with PyInstaller, but it remains destructive. It encrypts files across local and reachable drives, attempts to stop SQL-related services to improve access to database files, deletes Windows event logs to hinder response, and can disable mouse and keyboard input while presenting a full-screen ransom interface with a countdown timer. Black Kingdom does not reliably check whether files were already encrypted, allowing repeated encryption and additional damage. It appends random suffixes to encrypted files rather than using a fixed extension and drops ransom notes to instruct victims on payment and contact.

Black Kingdom generates an encryption key and victim identifier and attempts to upload them to Mega. If that upload fails, it falls back to a hardcoded embedded key, a design weakness that has been noted as a potential recovery opportunity in some cases. The ransom messaging has included extortion claims involving alleged data theft and demanded payment in cryptocurrency. Reporting has linked Black Kingdom activity to exploitation of exposed enterprise infrastructure, including Microsoft Exchange and previously Pulse Secure systems, but public attribution to a specific established threat actor remains unconfirmed. The malware has been associated with attacks on internet-facing enterprise servers rather than a narrowly defined vertical, with observed victims including organizations in multiple countries.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

5 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2021-27065via sophos threat researchExploited in the wildMicrosoft Exchange Server Post-Authentication Arbitrary File Write in ProxyLogonThe threat actor exploited the on-premises versions of Microsoft Exchange Server, abusing the remote code execution (RCE) vulnerability also known as ProxyLogon (CVE-2021-27065). | another ransomware gang has also started to target vulnerable Exchange servers with another ransomware, called Black KingDom... Sophos telemetry began detecting the ransomware on Thursday March 18 as it targeted Exchange servers that remain unpatched against the ProxyLogon vulnerabilitiesView vulnerability →Source ↗
CVE-2021-26855via sophos threat researchProxyLogon SSRF in Microsoft Exchange Serveranother ransomware gang has also started to target vulnerable Exchange servers with another ransomware, called Black KingDom... Sophos telemetry began detecting the ransomware on Thursday March 18 as it targeted Exchange servers that remain unpatched against the ProxyLogon vulnerabilitiesView vulnerability →Source ↗
CVE-2019-11510via securelistUnauthenticated Arbitrary File Read in Pulse Connect SecureBlack Kingdom is not a new player: it was observed in action following other vulnerability exploitations in 2020, such as CVE-2019-11510. Date CVE Product affected June 2020 CVE-2019-11510 Pulse Secure | Black Kingdom ransomware appeared on the scene back in 2019, but we observed some activity again in 2021. The ransomware was used by an unknown adversary for exploiting a Microsoft Exchange vulnerability (CVE-2021-27065).View vulnerability →Source ↗
CVE-2021-26858via securelistPost-authentication arbitrary file write in Microsoft Exchange ServerBlack Kingdom ransomware appeared on the scene back in 2019, but we observed some activity again in 2021. The ransomware was used by an unknown adversary for exploiting a Microsoft Exchange vulnerability (CVE-2021-27065).View vulnerability →Source ↗
CVE-2021-26857via securelistMicrosoft Exchange Unified Messaging Insecure Deserialization RCEBlack Kingdom ransomware appeared on the scene back in 2019, but we observed some activity again in 2021. The ransomware was used by an unknown adversary for exploiting a Microsoft Exchange vulnerability (CVE-2021-27065).View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence5

The threat actor exploited the on-premises versions of Microsoft Exchange Server, abusing the remote code execution (RCE) vulnerability also known as ProxyLogon (CVE-2021-27065).

Execution

4 techniques
T1047Windows Management InstrumentationEvidence3

The script executes the ransomware by invoking Win32_Process via WMI, (the Windows Management Interface).

T1059Command and Scripting InterpreterEvidence1

Appendix II – MITRE ATT&CK Mapping ... Execution T1059 Command and Scripting Interpreter

T1059.001PowerShellEvidence3

Following the deployment of the webshell, the attackers initiate the attack by issuing a PowerShell command... This script downloads the ransomware payload

T1106Native APIEvidence1

Appendix II – MITRE ATT&CK Mapping ... Execution T1106 Native API

Persistence

3 techniques
T1505.003Web ShellEvidence4

sha256 62615438CF8F7DE6600D16A493C28BBBD3B052CCC4F9414DFE1CF031681E226F ChackPassPL.aspx webshell - not publicly released; sha256 800E036CF9DA316193BECABC6ACE688634709CD898AE81893E80B635DCAA06D0 ChackIdIO.aspx webshell - not publicly released

T1546.011Application ShimmingEvidence1

Appendix II – MITRE ATT&CK Mapping ... Persistence T1546.011 Application Shimming

T1547.001Registry Run Keys / Startup FolderEvidence1

Appendix II – MITRE ATT&CK Mapping ... Persistence T1547.001 Registry Run Keys / Startup Folder

Privilege Escalation

4 techniques
T1055Process InjectionEvidence1

Appendix II – MITRE ATT&CK Mapping ... Privilege Escalation T1055 Process Injection

T1134Access Token ManipulationEvidence1

Appendix II – MITRE ATT&CK Mapping ... Privilege Escalation T1134 Access Token Manipulation

T1546.011Application ShimmingEvidence1

Appendix II – MITRE ATT&CK Mapping ... Persistence T1546.011 Application Shimming

T1547.001Registry Run Keys / Startup FolderEvidence1

Appendix II – MITRE ATT&CK Mapping ... Persistence T1547.001 Registry Run Keys / Startup Folder

Stealth

7 techniques
T1027Obfuscated Files or InformationEvidence1

Appendix II – MITRE ATT&CK Mapping ... Defense Evasion T1027 Obfuscated Files or Information

T1036MasqueradingEvidence1

Appendix II – MITRE ATT&CK Mapping ... Defense Evasion T1036 Masquerading

T1055Process InjectionEvidence1

Appendix II – MITRE ATT&CK Mapping ... Privilege Escalation T1055 Process Injection

T1070.004File DeletionEvidence1

Once done, Black Kingdom will delete the PowerShell history in the system.

T1134Access Token ManipulationEvidence1

Appendix II – MITRE ATT&CK Mapping ... Privilege Escalation T1134 Access Token Manipulation

T1140Deobfuscate/Decode Files or InformationEvidence1

Appendix II – MITRE ATT&CK Mapping ... Defense Evasion T1140 Deobfuscate/Decode Files or Information

T1497Virtualization/Sandbox EvasionEvidence1

Appendix II – MITRE ATT&CK Mapping ... Defense Evasion T1497 Virtualization/Sandbox Evasion

Defense Impairment

2 techniques
T1685Disable or Modify ToolsEvidence1

Appendix II – MITRE ATT&CK Mapping ... Defense Evasion T1562.001 Disable or Modify Tools

T1685.005Clear Windows Event LogsEvidence3

To further complicate and hinder incident response, the ransomware deletes the Windows Event logs

Credential Access

1 technique
T1056Input CaptureEvidence1

Black Kingdom changes the desktop background to a note that the system is infected while it encrypts files, disabling the mouse and keyboard with pyHook as it does so.

Discovery

8 techniques
T1012Query RegistryEvidence1

Appendix II – MITRE ATT&CK Mapping ... Discovery T1012 Query Registry

T1016System Network Configuration DiscoveryEvidence1

Appendix II – MITRE ATT&CK Mapping ... Discovery T1016 System Network Configuration Discovery

T1018Remote System DiscoveryEvidence1

Appendix II – MITRE ATT&CK Mapping ... Discovery T1018 Remote System Discovery

T1057Process DiscoveryEvidence1

Appendix II – MITRE ATT&CK Mapping ... Discovery T1057 Process Discovery

T1082System Information DiscoveryEvidence1

Appendix II – MITRE ATT&CK Mapping ... Discovery T1082 System Information Discovery

T1083File and Directory DiscoveryEvidence1

Black Kingdom allows reading a file in the same directory called target.txt, which will be used by the ransomware to recursively collect files for the collected directories specified in that file and then encrypt them. Black Kingdom will also enumerate various drive letters and encrypt them.

T1497Virtualization/Sandbox EvasionEvidence1

Appendix II – MITRE ATT&CK Mapping ... Defense Evasion T1497 Virtualization/Sandbox Evasion

T1518.001Security Software DiscoveryEvidence1

Appendix II – MITRE ATT&CK Mapping ... Discovery T1518.001 Security Software Discovery

Lateral Movement

2 techniques
T1021Remote ServicesEvidence1

The script includes the ability to upload the ransomware to other computers on the network and execute it.

T1570Lateral Tool TransferEvidence1

The script includes the ability to upload the ransomware to other computers on the network and execute it.

Collection

4 techniques
T1005Data from Local SystemEvidence1

Appendix II – MITRE ATT&CK Mapping ... Collection T1005 Data from Local System

T1056Input CaptureEvidence1

Black Kingdom changes the desktop background to a note that the system is infected while it encrypts files, disabling the mouse and keyboard with pyHook as it does so.

T1114Email CollectionEvidence1

Appendix II – MITRE ATT&CK Mapping ... Collection T1114 Email Collection

T1560Archive Collected DataEvidence1

Appendix II – MITRE ATT&CK Mapping ... Collection T1560 Archive Collected Data

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence1

url hxxp://yuuuuu44[.]com/vpn-service/$(f1)/crunchyroll-vpn Where $(f1) is a randomly-generated 16-alphabetic character string

T1105Ingress Tool TransferEvidence4

file_path_name c:\Windows\System32\(16 random alphabet characters).exe webshell drops ransomware to the %SYSTEM%

T1573Encrypted ChannelEvidence1

Appendix II – MITRE ATT&CK Mapping ... Command and Control T1573 Encrypted Channel

Exfiltration

1 technique
T1567.002Exfiltration to Cloud StorageEvidence1

The code contains credentials for sending the generated key to the third-party service hxxp://mega.io.

Impact

3 techniques
T1486Data Encrypted for ImpactEvidence4

The file system behavior of the file encryption function is straightforward: Read (original) > Overwrite (encrypted) > Rename

T1489Service StopEvidence3

It attempts to stop services running on the machine with SQL in the service name, effectively terminating databases, presumably so they may be encrypted as well

T1490Inhibit System RecoveryEvidence1

Once the system is encrypted (or after 20 minutes of work), the ransomware runs this subroutine that disables the mouse and keyboard, and draws a full screen window on top of the desktop.

Indicators of compromise

Observables

18 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+5 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

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 matching18Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities5CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping37Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.