Skip to main content
Mallory
Malware

DBatLoader

Tracked since Jan 17, 2026 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK19Techniques
IOCs30Tracked
Type
Loader
Capabilities
Initial accessPersistenceDefense evasionProcess injectionDLL sideloadingPrivilege escalationPost exploitation
Delivery
Phishing
Platforms
Windows

DBatLoader, also known as ModiLoader and NatsoLoader, is a Windows malware loader written in Delphi that is used to retrieve, decrypt, and execute additional payloads. It has been observed delivering commodity malware families including Warzone RAT, Remcos RAT, NetWire, and Formbook. Delivery commonly begins with phishing lures, including HTML or archive attachments that ultimately launch the loader, and DBatLoader has also been associated with abuse of public cloud and content-hosting services such as OneDrive, Google Drive, and Discord for staging later payloads.

The loader uses multilayer obfuscation and has been documented concealing encrypted second-stage content in resources, including steganographic storage within image data. It decodes payloads in memory and executes them directly, including through shellcode-based staging and process hollowing. Observed samples allocate memory with standard Windows APIs and reconstruct either DLL or executable second stages before transfer of execution.

DBatLoader also incorporates defense-evasion and persistence features. Reported behavior includes use of PowerShell to weaken Microsoft Defender coverage, establishment of autorun persistence in the current user context, and self-copying to user-accessible locations. Some samples abuse User Account Control bypass techniques based on mock trusted directories and relative-path DLL hijacking involving auto-elevated binaries, allowing elevated execution without a normal prompt. Persistence has also been achieved through malicious shortcut-based execution.

The malware is best characterized as a loader rather than the final intrusive payload. Its operational role is to bridge initial access and payload deployment, after which delivered malware may provide remote access, credential theft, or other post-compromise functionality. DBatLoader is part of a broader ecosystem of commodity malware distribution and is notable for flexible staging, in-memory execution, cloud-service abuse, and practical Windows-focused evasion techniques.

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
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1566PhishingEvidence4

FortiGuard Labs observed a python infostealer we call Emansrepo that is distributed via emails that include fake purchase orders and invoices.

T1566.001Spearphishing AttachmentEvidence3

The attacker just sends phishing emails with a malicious attachment. The attachment is a DBatLoader, which downloads and decrypts data for the payload.

Execution

5 techniques
T1059Command and Scripting InterpreterEvidence1

Opening the malicious attachment executes an HTML file with embedded JavaScript that is highly likely generated by an LLM. This script is designed to download and execute additional payloads

T1059.007JavaScriptEvidence1

Opening the malicious attachment executes an HTML file with embedded JavaScript that is highly likely generated by an LLM. This script is designed to download and execute additional payloads

T1204User ExecutionEvidence1

It creates a link element that points to the data of Purchase-Order.7z and uses the click() method to “download” Purchase-Order.7z.

T1204.002Malicious FileEvidence1

The attacker’s email sent to the user includes an attached .html file... By quick analyzing the content of the script, it will simulate downloading the file PO-2200934-KINQTE.rar

T1574.001DLLEvidence1

The auto-elevated 'easinvoker.exe' executable is vulnerable to the 'relative path DLL Hijack' variant of DLL Hijacking... uses it to load the malicious 'netutils.dll'.

Persistence

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence2

By using this file, DBatLoader creates an autorun registry key under 'HKCU\Software\Microsoft\Windows\CurrentVersion\Run' to survive a reboot.

Privilege Escalation

3 techniques
T1055.012Process HollowingEvidence1

After decrypting these bytes, the payload is executed using a technique known as Process Hollowing. Simply put, the code is injected through the following steps: The target process is created in a suspended state with CreateProcessA; The original process’ code section is removed with NtUnmapViewOfSection; New space is allocated in the process with VirtualAllocEx; The malicious code is written using WriteProcessMemory; Finally, the code is resumed with SetThreatContext and ResumeThread.

T1547.001Registry Run Keys / Startup FolderEvidence2

By using this file, DBatLoader creates an autorun registry key under 'HKCU\Software\Microsoft\Windows\CurrentVersion\Run' to survive a reboot.

T1548.002Bypass User Account ControlEvidence1

The first 'XdfiifagO.bat' batch file then leverages a well-known technique of bypassing Windows User Account Control (UAC) called the 'Mock Trusted Directories Method' to escalate privileges without displaying a UAC prompt.

Stealth

8 techniques
T1027Obfuscated Files or InformationEvidence1

it appears to contain scripts and a large blob of base64-encoded data... DBatLoader typically performs download obfuscated later stage payloads

T1027.003SteganographyEvidence1

DBatLoader's resource section contains a GIF image as the second stage encrypted payload.

T1036MasqueradingEvidence1

The ISO image contains a Windows executable (EXE) file for ModiLoader. The EXE file icon impersonates an Excel spreadsheet.

T1055.012Process HollowingEvidence1

After decrypting these bytes, the payload is executed using a technique known as Process Hollowing. Simply put, the code is injected through the following steps: The target process is created in a suspended state with CreateProcessA; The original process’ code section is removed with NtUnmapViewOfSection; New space is allocated in the process with VirtualAllocEx; The malicious code is written using WriteProcessMemory; Finally, the code is resumed with SetThreatContext and ResumeThread.

T1140Deobfuscate/Decode Files or InformationEvidence1

The encrypted byte from the resource section is added to the number 79... individual bytes are retrieved to decode the second stage DLL payload.

T1218System Binary Proxy ExecutionEvidence1

Therefore, the attacker copies 'easinvoker.exe' to the mock directory and uses it to load the malicious 'netutils.dll', which in turn executes the 'KDECO.bat' script.

T1574.001DLLEvidence1

The auto-elevated 'easinvoker.exe' executable is vulnerable to the 'relative path DLL Hijack' variant of DLL Hijacking... uses it to load the malicious 'netutils.dll'.

T1620Reflective Code LoadingEvidence1

Once the payload has been decoded, the F_Execution_main function is responsible for allocating the decoded payload into memory... through the use of the 'VirtualAlloc' API.

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence2

Looking at the decrypted file strings, we can see references to a few batch scripts that are usually created and executed by this malware to accomplish small tasks, like disabling Windows Defender.

Command and Control

2 techniques
T1071Application Layer ProtocolEvidence1

The ModiLoader EXE first generated a OneDrive URL using HTTP over TCP port 80. This redirected to an HTTPS version of the same URL over TCP port 443.

T1105Ingress Tool TransferEvidence6

DBatLoader ... is known for abusing cloud services, like Google Drive and Discord, to retrieve its second stage... Later, the second stage is downloaded from Discord, which is eventually decrypted and executed in memory.

Indicators of compromise

Observables

30 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

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

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