Skip to main content
Mallory
Malware7 associated actors2 associated CVEs

Hancitor

Tracked since Dec 5, 2025 · Updated 19 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns2Associated
Actors7Associated
ATT&CK55Techniques
IOCs275Tracked
Type
Loader
Capabilities
PersistenceDefense evasion
Delivery
PhishingMalspamLure
Platforms
Windows
Also known asChanitor

Hancitor, also known as Chanitor, is a Windows malware loader and downloader used to deliver and execute additional malicious payloads, including information stealers, remote access trojans, banking malware, and ransomware. It has distributed Pony and Vawtrak and has been used by Cuba ransomware operators to deploy ransomware on compromised systems.

Hancitor is distributed through phishing emails containing malicious links or attachments. Campaigns have used invoice, billing, receipt, contract, and HelloFax-themed lures to persuade recipients to open malicious Microsoft Word documents and enable macros. Document-based infection chains decode embedded shellcode, allocate executable memory, and use Windows callback APIs to transfer execution within the Word process. The shellcode can recover and decrypt an embedded executable from the document before writing the payload to disk. Delivery components have supported both 32-bit and 64-bit Windows environments.

Hancitor has used PowerShell for command execution and Registry-based autostart mechanisms for persistence. Its delivery chains have also decoded Base64-encoded links, extracted executables from ZIP archives, and deleted files through VBA. Its principal role is staging subsequent malware; credential theft and ransomware extortion performed by delivered payloads are distinct from the loader's own functionality.

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

2 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-2020-1472via cisa advisoriesExploited in the wildZerologonUsed a tool to exploit CVE-2020-1472 (also known as “ZeroLogon”) to gain Domain Administrative privileges. This tool and its intrusion attempts have been reportedly related to Hancitor and Qbot.View vulnerability →Source ↗
CVE-2017-11882via paloalto researchcenter historicExploited in the wildRemote Code Execution in Microsoft Office Equation Editorcampaigns on January 24, 2018 and January 25, 2018 used a different document format, Rich Text Format (RTF), that leveraged an exploit (CVE-2017-11882) to launch shellcode which executed a PowerShell command used to download the standard binary | Over the past two years, the Hancitor malware family has been a fairly regular nuisance... In this post, I’ll be diving into the technical inner-workings of their latest malware packer.View vulnerability →Source ↗
Threat actors

Associated threat actors

7 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Cuba

The actors distributed Cuba ransomware on compromised systems through Hancitor—a loader known for dropping or executing stealers, such as Remote Access Trojans (RATs) and other types of ransomware.

via cisa advisoriescisa.gov
WIZARD SPIDER

"1873433027": "TA511/Hancitor - Stats uniques -> ips/hostnames: 36 publickeys: 29"

via github webgithub.com
Threat Group-3390

"1873433027": "TA511/Hancitor - Stats uniques -> ips/hostnames: 36 publickeys: 29"

via github webgithub.com
TA511

"1873433027": "TA511/Hancitor - Stats uniques -> ips/hostnames: 36 publickeys: 29"

via github webgithub.com
Moskalvzapoe

Also known as Chanitor, Hancitor is malware used by a threat actor designated as MAN1, Moskalvzapoe or TA511. Hancitor establishes initial access on a vulnerable Windows host and sends additional malware.

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
MAN1

Also known as Chanitor, Hancitor is malware used by a threat actor designated as MAN1, Moskalvzapoe or TA511. Hancitor establishes initial access on a vulnerable Windows host and sends additional malware.

via palo alto networks unit 42 blogunit42.paloaltonetworks.com

+1 more in the app. View in Mallory

MITRE ATT&CK

Techniques & procedures

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

Initial Access

3 techniques
T1566PhishingEvidence21

The eSentire Threat Intelligence team is tracking a recently identified campaign delivering Hancitor malware through malicious “HelloFax” emails.

T1566.001Spearphishing AttachmentEvidence14

[Hancitor](https://attack.mitre.org/software/S0499) has been delivered via phishing emails with malicious attachments.(Citation: FireEye Hancitor)

T1566.002Spearphishing LinkEvidence12

[Hancitor](https://attack.mitre.org/software/S0499) has been delivered via phishing emails which contained malicious links.(Citation: Threatpost Hancitor)

Execution

16 techniques
T1053Scheduled Task/JobEvidence1

After execution of the initial access malware, many threat actors deploy persistence mechanisms, such as the creation of scheduled tasks... Scheduled tasks were the most common persistence method observed in our intrusions.

T1059Command and Scripting InterpreterEvidence5

Visual Basic can directly execute Microsoft Windows API calls, which allows it perform a number of interesting functions -- exactly what this VB code is doing.

T1059.001PowerShellEvidence9

[Hancitor](https://attack.mitre.org/software/S0499) has used PowerShell to execute commands.(Citation: FireEye Hancitor)

T1059.003Windows Command ShellEvidence2

If the file is a DLL, the malware launches its start export function by calling CreateProcessA with a formatted rundll32.exe command as the command line.

T1059.005Visual BasicEvidence16

When the document macro is executed, it will inject malicious code into a svchost.exe process.

T1059.006PythonEvidence1

The last approach is to extract the config using python script, the biggest advantage of this method is that once we have our script, it can basically work on any other Hancitor sample.

T1059.007JavaScriptEvidence1

The content repeatedly mentions malicious macros in Word/Excel documents, such as "enable macros," "embedded macros," and "macro-enabled documents."

T1072Software Deployment ToolsEvidence1

Cuba ransomware actors use Hancitor as a tool to spread malicious files throughout a victim’s network.

T1106Native APIEvidence6

[Hancitor](https://attack.mitre.org/software/S0499) has used <code>CallWindowProc</code> and <code>EnumResourceTypesA</code> to interpret and execute shellcode.(Citation: FireEye Hancitor)

T1129Shared ModulesEvidence5

The payload in question is base64-encoded and embedded within a form in the VBProject as a value of the ‘Text’ field on the ‘choline’ TextBox.

T1203Exploitation for Client ExecutionEvidence1

campaigns on January 24, 2018 and January 25, 2018 used a different document format, Rich Text Format (RTF), that leveraged an exploit (CVE-2017-11882) to launch shellcode which executed a PowerShell command

T1204User ExecutionEvidence6

has attempted to get victims to launch malicious Microsoft Word attachments delivered via spearphishing emails... has required user execution of a malicious MSI installer... has been executed through user installation of an executable disguised as a flash installer.

T1204.001Malicious LinkEvidence3

[Hancitor](https://attack.mitre.org/software/S0499) has relied upon users clicking on a malicious link delivered through phishing.(Citation: Threatpost Hancitor)

T1204.002Malicious FileEvidence18

[Hancitor](https://attack.mitre.org/software/S0499) has used malicious Microsoft Word documents, sent via email, which prompted the victim to enable macros.(Citation: FireEye Hancitor)

T1559.001Component Object ModelEvidence1

Word documents from the distribution servers used the DDE attack method. In this case, Hancitor was completely separated from the Word document and downloaded as a separate malware binary.

T1574Hijack Execution FlowEvidence1

Smokeloader first creates a new copy of ntdll.dll as a temporary file ... and then loads it using LdrLoadDll. Following this, it resolves all the functions it requires for its own usage and invokes them from the new copy of ntdll in its memory.

Persistence

4 techniques
T1053Scheduled Task/JobEvidence1

After execution of the initial access malware, many threat actors deploy persistence mechanisms, such as the creation of scheduled tasks... Scheduled tasks were the most common persistence method observed in our intrusions.

T1112Modify RegistryEvidence1

Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.

T1543Create or Modify System ProcessEvidence1

To inject into svchost , the malware first creates a suspended svchost process...

T1547.001Registry Run Keys / Startup FolderEvidence11

[Hancitor](https://attack.mitre.org/software/S0499) has added Registry Run keys to establish persistence.(Citation: FireEye Hancitor)

Privilege Escalation

8 techniques
T1053Scheduled Task/JobEvidence1

After execution of the initial access malware, many threat actors deploy persistence mechanisms, such as the creation of scheduled tasks... Scheduled tasks were the most common persistence method observed in our intrusions.

T1055Process InjectionEvidence7

When the document macro is executed, it will inject malicious code into a svchost.exe process.

T1055.001Dynamic-link Library InjectionEvidence1

On the beachhead system, the malicious Hancitor DLL injected into the svchost.exe process. The code was injected into multiple instances of svchost.exe.

T1055.003Thread Execution HijackingEvidence1

The malware properly sets up the injected thread’s context by setting the image base address from PEB (through the context’s EBX register) to the injected base address and the thread’s entry point (through the context’s EAX register) to the injected entry point. Finally, it launches the executable by calling ResumeThread

T1055.012Process HollowingEvidence2

Next, the malware injects the downloaded executable into an svchost.exe process. To do this, it first creates the process in a suspended state using CreateProcessA ... writes the payload ... sets up the injected thread’s context ... Finally, it launches the executable by calling ResumeThread

T1068Exploitation for Privilege EscalationEvidence1

Used a tool to exploit CVE-2020-1472 (also known as “ZeroLogon”) to gain Domain Administrative privileges.

T1543Create or Modify System ProcessEvidence1

To inject into svchost , the malware first creates a suspended svchost process...

T1547.001Registry Run Keys / Startup FolderEvidence11

[Hancitor](https://attack.mitre.org/software/S0499) has added Registry Run keys to establish persistence.(Citation: FireEye Hancitor)

Stealth

19 techniques
T1027Obfuscated Files or InformationEvidence12

[Hancitor](https://attack.mitre.org/software/S0499) has used Base64 to encode malicious links.(Citation: Threatpost Hancitor)

T1027.002Software PackingEvidence1

Step 1: Unpacking HANCITOR’s first executable stage is a packed DLL... First, we can set breakpoints on VirtualAlloc and VirtualProtect as those two API calls are typically used by packers to allocate memory for the unpacked executable and change the memory’s protection to executable prior to launching.

T1027.009Embedded PayloadsEvidence1

This black box represents a VBA object embedded in the document, and once interacted by the victim or the VBA macros, the object is automatically dropped to the file system.

T1027.015CompressionEvidence3

[Hancitor](https://attack.mitre.org/software/S0499) has delivered compressed payloads in ZIP files to victims.(Citation: FireEye Hancitor)

T1036MasqueradingEvidence3

The Google feedproxy URL leads to a malicious page on a compromised webite designed to send the initial malicious file and redirect the browser to DocuSign's website... This process makes it appear as if the file was offered by DocuSign, when it was actually sent through a malicious web page.

T1036.003Rename Legitimate UtilitiesEvidence1

This function executes the VBA Name statement to rename the zoro.kl file in the Temp folder to zoro.doc and move it to the user template folder.

T1055Process InjectionEvidence7

When the document macro is executed, it will inject malicious code into a svchost.exe process.

T1055.001Dynamic-link Library InjectionEvidence1

On the beachhead system, the malicious Hancitor DLL injected into the svchost.exe process. The code was injected into multiple instances of svchost.exe.

T1055.003Thread Execution HijackingEvidence1

The malware properly sets up the injected thread’s context by setting the image base address from PEB (through the context’s EBX register) to the injected base address and the thread’s entry point (through the context’s EAX register) to the injected entry point. Finally, it launches the executable by calling ResumeThread

T1055.012Process HollowingEvidence2

Next, the malware injects the downloaded executable into an svchost.exe process. To do this, it first creates the process in a suspended state using CreateProcessA ... writes the payload ... sets up the injected thread’s context ... Finally, it launches the executable by calling ResumeThread

T1070Indicator RemovalEvidence1

It then waits for a few seconds before deleting the original file... The Vawtrak dropper Trojan then deletes itself from the target system.

T1070.004File DeletionEvidence9

[Hancitor](https://attack.mitre.org/software/S0499) has deleted files using the VBA <code>kill</code> function.(Citation: FireEye Hancitor)

T1140Deobfuscate/Decode Files or InformationEvidence15

[Hancitor](https://attack.mitre.org/software/S0499) has decoded Base64 encoded URLs to insert a recipient’s name into the filename of the Word document. [Hancitor](https://attack.mitre.org/software/S0499) has also extracted executables from ZIP files.(Citation: Threatpost Hancitor)(Citation: FireEye Hancitor)

T1218.011Rundll32Evidence3

Finally, the code calls the Shell VBA function to execute the following command. rundll32.exe <user template path>\gelforr.dap, BNJAFSRSQIX

T1218.012VerclsidEvidence3

[Hancitor](https://attack.mitre.org/software/S0499) has used verclsid.exe to download and execute a malicious script.(Citation: Red Canary Verclsid.exe)

T1497Virtualization/Sandbox EvasionEvidence4

[Hancitor](https://attack.mitre.org/software/S0499) has used a macro to check that an ActiveDocument shape object in the lure message is present. If this object is not found, the macro will exit without downloading additional payloads.(Citation: FireEye Hancitor)

T1497.001System ChecksEvidence4

The block.txt file appears to track IP addresses that should be blocked. Many IP addresses in the block.txt file resolved to Amazon AWS servers. We suspect this list maybe used to block analysis on automated systems run by security vendors and researchers, by not serving content to IP addresses known to be analyzing malware.

T1574Hijack Execution FlowEvidence1

Smokeloader first creates a new copy of ntdll.dll as a temporary file ... and then loads it using LdrLoadDll. Following this, it resolves all the functions it requires for its own usage and invokes them from the new copy of ntdll in its memory.

T1620Reflective Code LoadingEvidence2

Thus, the module is not written to the disk, and no files or persistence mechanisms are created for it.

Defense Impairment

1 technique
T1112Modify RegistryEvidence1

Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.

Discovery

9 techniques
T1016System Network Configuration DiscoveryEvidence3

Check external IP with api[.]ipify[.]org

T1018Remote System DiscoveryEvidence1

The threat actors then began port scanning for SMB and a few backup systems such as Synology, Veeam and Backup Exec.

T1033System Owner/User DiscoveryEvidence3

It also retrieves the process ID of an explorer.exe process and calls LookupAccountSidA to get the current user’s account name and domain name.

T1057Process DiscoveryEvidence1

rather than calling GetUserName, it enumerates through running processes searching for explorer.exe

T1082System Information DiscoveryEvidence4

this particular sample will do. Get OS version Get adapter address Get Windows directory Get volume information Check external IP with api[.]ipify[.]org

T1083File and Directory DiscoveryEvidence1

Ultimately, this Search call recursively searches for the zoro.kl file that is dropped earlier and sets the global variable nccx to the file path.

T1482Domain Trust DiscoveryEvidence1

The malware then calls DsEnumerateDomainTrustsA to enumerate and retrieve all NETBIOS and DNS domain names.

T1497Virtualization/Sandbox EvasionEvidence4

[Hancitor](https://attack.mitre.org/software/S0499) has used a macro to check that an ActiveDocument shape object in the lure message is present. If this object is not found, the macro will exit without downloading additional payloads.(Citation: FireEye Hancitor)

T1497.001System ChecksEvidence4

The block.txt file appears to track IP addresses that should be blocked. Many IP addresses in the block.txt file resolved to Amazon AWS servers. We suspect this list maybe used to block analysis on automated systems run by security vendors and researchers, by not serving content to IP addresses known to be analyzing malware.

Lateral Movement

2 techniques
T1072Software Deployment ToolsEvidence1

Cuba ransomware actors use Hancitor as a tool to spread malicious files throughout a victim’s network.

T1534Internal SpearphishingEvidence1

In some cases, we also see Send-Safe spambot malware, which turns the infected Windows host into a spambot pushing more Hancitor emails.

Collection

1 technique
T1560Archive Collected DataEvidence3

Examples in the content include 'DropBook can unarchive data downloaded from the C2 to obtain the payload and persistence modules,' 'Molerats decompresses ZIP files once on the victim machine,' and 'Rocke has extracted tar.gz files after downloading them from a C2 server.'

Command and Control

5 techniques
T1001Data ObfuscationEvidence1

The response comes in the form of a Base64-encoded string... If the response is valid, HANCITOR decodes the string using Base64 and XORs the result with the character ‘z’.

T1071Application Layer ProtocolEvidence12

The svchost.exe process will then reach out to the Hancitor Command and Control infrastructure to download a secondary payload.

T1071.001Web ProtocolsEvidence6

Before this update, the Hancitor command-and-control (C&C) check-in ... used a pipe-separated POST data format... The updated Hancitor submits similar information to the C&C, but in a different format.

T1105Ingress Tool TransferEvidence21

[Hancitor](https://attack.mitre.org/software/S0499) has the ability to download additional files from C2.(Citation: Threatpost Hancitor)

T1132Data EncodingEvidence1

Started with a Microsoft Word document Extracted base64 encoded shellcode Extracted encoded payload

Indicators of compromise

Observables

275 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

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

View more in app →
+80 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 matching275Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors7Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities2CVEs 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 mapping55Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.