IMAPLoader is Windows malware used by the Iranian-aligned threat actor Tortoiseshell, also tracked as Imperial Kitten, and by CURIUM. It uses the IMAP email protocol for command-and-control communication through dedicated attacker-controlled email accounts. IMAPLoader has also been used to exfiltrate data over IMAP and SMTPS.
IMAPLoader gathers information about compromised hosts through Windows Management Instrumentation queries. It establishes persistence by creating scheduled tasks, adapting task creation to the victim’s operating-system version. To conceal execution, it hides its console window using the GetConsoleWindow and ShowWindow APIs.
Observed delivery methods include strategic website compromise and drive-by infection. Tortoiseshell has also delivered IMAPLoader through malicious Microsoft Excel documents using AppDomainManager injection. Imperial Kitten has deployed the malware within an operational portfolio associated with attacks against transportation, logistics, and technology organizations.
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
TortoiseShell met à jour son IMAPLoader avec des techniques d’évasion supplémentaires.
Imperial Kitten uses several malware families, including custom implants; IMAPLoader and StandardKeyboard, which both use email for command and control (C2) communication.
CURIUM has created dedicated email accounts for use with tools such as IMAPLoader.
14 distinct techniques documented for this family, organized by ATT&CK tactic.
APT1 has created email accounts for later use in social engineering, phishing, and when registering domains. APT42 has created email accounts to use in spearphishing operations. Contagious Interview has created fake email accounts to correspond with social media accounts, fake LinkedIn personas, code repository accounts, and job announcements on development job board services.
CURIUM has used strategic website compromise to infect victims with malware such as IMAPLoader.
[IMAPLoader](https://attack.mitre.org/software/S1152) uses WMI queries to query system information on victim hosts.(Citation: PWC Yellow Liderc 2023)
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[IMAPLoader](https://attack.mitre.org/software/S1152) creates scheduled tasks for persistence based on the operating system version of the victim machine.(Citation: PWC Yellow Liderc 2023)
[IMAPLoader](https://attack.mitre.org/software/S1152) imports native Windows APIs such as `GetConsoleWindow` and `ShowWindow`.(Citation: PWC Yellow Liderc 2023)
[IMAPLoader](https://attack.mitre.org/software/S1152) is executed via the AppDomainManager injection technique.(Citation: PWC Yellow Liderc 2023)
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[IMAPLoader](https://attack.mitre.org/software/S1152) creates scheduled tasks for persistence based on the operating system version of the victim machine.(Citation: PWC Yellow Liderc 2023)
[IMAPLoader](https://attack.mitre.org/software/S1152) modifies Windows tasks on the victim machine to reference a retrieved PE file through a path modification.(Citation: PWC Yellow Liderc 2023)
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[IMAPLoader](https://attack.mitre.org/software/S1152) creates scheduled tasks for persistence based on the operating system version of the victim machine.(Citation: PWC Yellow Liderc 2023)
[IMAPLoader](https://attack.mitre.org/software/S1152) modifies Windows tasks on the victim machine to reference a retrieved PE file through a path modification.(Citation: PWC Yellow Liderc 2023)
[IMAPLoader](https://attack.mitre.org/software/S1152) hides the Windows Console window created by its execution by directly importing the `kernel32.dll` and `user32.dll` libraries `GetConsoleWindow` and `ShowWindow` APIs.(Citation: PWC Yellow Liderc 2023)
[IMAPLoader](https://attack.mitre.org/software/S1152) is executed via the AppDomainManager injection technique.(Citation: PWC Yellow Liderc 2023)
[IMAPLoader](https://attack.mitre.org/software/S1152) uses WMI queries to gather information about the victim machine.(Citation: PWC Yellow Liderc 2023)
[IMAPLoader](https://attack.mitre.org/software/S1152) uses the IMAP email protocol for command and control purposes.(Citation: PWC Yellow Liderc 2023)
[IMAPLoader](https://attack.mitre.org/software/S1152) is a loader used to retrieve follow-on payload encoded in email messages for execution on victim systems.(Citation: PWC Yellow Liderc 2023)
ADVSTORESHELL exfiltrates data over the same channel used for C2... Agrius exfiltrated staged data using tools such as Putty and WinSCP, communicating with command and control servers... numerous malware and groups sent victim data, files, credentials, or host information over existing C2 channels.
Cannon exfiltrates collected data over email via SMTP/S and POP3/S C2 channels... CURIUM has used IMAP and SMTPS for exfiltration via tools such as IMAPLoader... Kevin can send data from the victim host through a DNS C2 channel... NightClub can use SMTP and DNS for file exfiltration and C2.
12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.