ModiLoader
- Type
- Loader
- Capabilities
- PersistenceDefense evasionProcess injection
- Delivery
- PhishingMalspamLure
- Platforms
- Windows
ModiLoader, also known as DBatLoader, is a multistage Windows malware loader used to download and execute additional malicious payloads. Delivered payloads include FormBook, Agent Tesla, Remcos RAT, and Warzone RAT. It is distributed through phishing and malspam campaigns, including purchase-order lures with ISO attachments containing executables disguised as business documents.
Analyzed variants are written in Delphi and use encrypted embedded resources, runtime decoding, and in-memory execution to conceal and launch subsequent stages. ModiLoader can retrieve encoded or encrypted payloads from remote infrastructure, including legitimate cloud-hosting services such as Microsoft OneDrive. Observed implementations use digital signatures for defense evasion, establish persistence through per-user startup registry entries, and inject payloads into legitimate Windows processes. Credential theft and remote-control functionality depend on the malware it deploys rather than being inherent capabilities of the loader.
ModiLoader has been used by multiple cybercriminal operators, including the activity cluster known as DDGroup. In May 2024, nine phishing campaigns targeted small and medium-sized businesses in Poland, Romania, and Italy, delivering Remcos, Agent Tesla, and FormBook. Those campaigns used compromised email accounts and servers for distribution and data collection, with ModiLoader replacing AceCryptor as the delivery tool.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
To give an overview, here is a list of all observed tools and malware types the actor has been using in recent years: ModiLoader / DBatLoader
Techniques & procedures
21 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
These messages often spoof companies sending invoices or purchase orders... The email contains an ISO image presented as a purchase order.
添付ファイルの場合は不正なファイルが展開・実行すると感染を引き起こします。不正なファイルの形式としては、実行ファイル(exe)、ドキュメント(docx、xlsxなど)、その他のファイル(js、lnkなど)と、これらのファイルを内包した圧縮ファイル(zip、7-zip、rarなど)やISOイメージなど、様々な種類の形式を確認しています。
URLリンクを開いた場合は添付ファイルの場合と同様の不正なファイルがダウンロードされます。
Execution
6 techniques
Execution
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
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
最終的に実行ファイルもしくはドキュメントを起点として情報窃取型マルウェアに感染することがわかります。実行ファイル自体が情報窃取型マルウェア本体である場合と、実行ファイルがGuLoader...と呼ばれるダウンローダである場合があります。
URLリンクを開いた場合は添付ファイルの場合と同様の不正なファイルがダウンロードされます。
添付ファイルの場合は不正なファイルが展開・実行すると感染を引き起こします。
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
Persistence
By using this file, DBatLoader creates an autorun registry key under 'HKCU\Software\Microsoft\Windows\CurrentVersion\Run' to survive a reboot.
Privilege Escalation
2 techniques
Privilege Escalation
By using this file, DBatLoader creates an autorun registry key under 'HKCU\Software\Microsoft\Windows\CurrentVersion\Run' to survive a reboot.
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
7 techniques
Stealth
DBatLoader's resource section contains a GIF image as the second stage encrypted payload.
The ISO image contains a Windows executable (EXE) file for ModiLoader. The EXE file icon impersonates an Excel spreadsheet.
The encrypted byte from the resource section is added to the number 79... individual bytes are retrieved to decode the second stage DLL payload.
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.
The infected Windows host also checked its location using geoplugin.net, which is a legitimate service.
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'.
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
Defense Impairment
The script 'KDECO.bat' includes PowerShell commands that exclude the 'C:\Users' directory from being scanned by Microsoft Defender.
Discovery
1 technique
Discovery
The infected Windows host also checked its location using geoplugin.net, which is a legitimate service.
Command and Control
3 techniques
Command and Control
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.
the code from here is responsible for decoding Url and checking the Internet connection by trying to connect to the decoded Url is https://www.microsoft.com .
後者はGuLoaderが情報窃取型マルウェアをダウンロードして感染を引き起こします。...情報窃取型マルウェアがダウンロードされて感染する、または、GuLoaderを経由して多段階で情報窃取型マルウェアがダウンロードされて感染します。
Observables
30 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.