Email Attack Delivered Fileless MoDi RAT via Clipboard-Pasted PowerShell
Malware Intelligence · 1 source · Updated 4mo ago · First seen Aug 14, 2026

A malicious email campaign delivered the MoDi RAT through a multi-stage, largely fileless infection chain that relied on VBScript, PowerShell, Registry-stored payloads, and process injection. The attack began with an email attachment that triggered HTTP 302 redirects to a OneDrive-hosted ZIP archive, then established persistence with a Scheduled Task and stored payload components in the Windows Registry rather than on disk. Sophos reported that some artifacts contained French-language strings and that some of the targeted organizations were French firms.
The intrusion used an unusual evasion technique in which a VBS script opened PowerShell and pasted commands into the console through the clipboard and SendKeys, reducing the visibility of command-line activity to security tools. PowerShell then extracted and reflectively loaded a .NET decoder from the Registry, unpacked an injector and the final payload, and injected the RAT into msbuild.exe without writing the malware to disk. Sophos said AMSI telemetry helped detect and block the attack, while noting that AMSI-based protections are available only on newer Windows platforms including Windows 10 and Windows Server 2016/2019.
How do I know if I’m affected?
Start a thread with Mallory to assess this story against your environment.
Sign in to start a thread with MalloryWhy it matters
Impact assessment
This campaign affects Windows environments exposed to malicious email attachments, particularly organizations with users who can execute VBScript, PowerShell, and Scheduled Tasks. The impact is high for targeted victims because the chain delivers a remote access Trojan through a largely fileless workflow that reduces endpoint visibility and can enable persistent unauthorized access.
The exposure appears targeted rather than indiscriminate, with reporting indicating some French firms were among the victims and French-language artifacts present in the tooling. There is confirmed real-world exploitation in the wild, but the story does not describe mass compromise or destructive outcomes; the primary risk is covert access, follow-on intrusion, and operational and reputational harm.
Supporting facts
- Malware family: MoDi RAT
- Initial access: malicious email attachment
- Targeting indicators: French-language strings in artifacts; some targeted organizations were French firms
- Persistence: Scheduled Task plus Registry-stored payload components
- Evasion: fileless execution, reflective loading, process injection, clipboard-pasted PowerShell
- Known incidents: Sophos analyzed active attack telemetry and reported blocking the intrusion
- Platform exposure note: older Windows systems without AMSI-era protections may have reduced visibility into this technique


