SesameOp is a .NET-based Windows backdoor that abuses the OpenAI Assistants API as a covert command-and-control channel. Microsoft’s Detection and Response Team discovered it during an incident-response investigation in July 2025 and publicly disclosed it in November 2025. The associated intrusion maintained access for several months and was assessed as intended to support long-term espionage.
The malware comprises a heavily obfuscated loader and a backdoor component. It uses .NET AppDomainManager injection to execute within legitimate host processes, including Microsoft Visual Studio utilities, supporting persistence and defense evasion. The backdoor retrieves encrypted, compressed instructions through the Assistants API, executes attacker-supplied code using a Microsoft JScript engine, and returns encrypted execution results through the same service. Its communications combine symmetric and asymmetric encryption with compression, while legitimate HTTPS API traffic conceals the command channel from reputation-based network defenses.
SesameOp uses assistant metadata and messages to coordinate tasking and return results, rather than invoking AI models or model-execution features. This activity abuses legitimate API functionality rather than exploiting an OpenAI vulnerability or misconfiguration. Microsoft and OpenAI jointly investigated the operation, and OpenAI disabled the associated account and API key.
12 distinct techniques documented for this family, organized by ATT&CK tactic.
The loader uses .NET AppDomainManager injection to persist within otherwise legitimate host processes such as developer tools.
The malware establishes persistence through internal web shells and "strategically placed" malicious processes designed for long-term espionage operations.
The attack chain observed by DART researchers involved a heavily obfuscated loader and a .NET-based backdoor deployed through .NET AppDomainManager injection into multiple Microsoft Visual Studio utilities.
The attack chain observed by DART researchers involved a heavily obfuscated loader and a .NET-based backdoor...
The attack chain observed by DART researchers involved a heavily obfuscated loader and a .NET-based backdoor deployed through .NET AppDomainManager injection into multiple Microsoft Visual Studio utilities.
The loader uses .NET AppDomainManager injection to persist within otherwise legitimate host processes such as developer tools.
Once active, the backdoor fetches encrypted, compressed commands hidden in AI-assistant metadata from the OpenAI API, executes them locally, and returns results using the same legitimate HTTPS traffic.
«Пересекается с T1071 (Application Layer Protocol), поскольку трафик идёт поверх стандартных HTTP/HTTPS.»
The developer saw a single response. The kernel saw 64 execve events, multiple outbound HTTPS connections, and a process tree several levels deep.
In July 2025, Microsoft DART documented SesameOp (ATLAS AML.CS0042): malware that used the OpenAI Assistants API as an encrypted command-and-control channel.
«T1102 (Web Service) — использование легитимных веб-сервисов для канала управления.»
The SesameOp backdoor uses the OpenAI Assistants API as a storage and relay mechanism to fetch compressed and encrypted commands, which the malware decrypts and executes on infected systems.
Results from these commands are likewise compressed, encrypted and sent back via the same legitimate API channel
The information harvested in the attacks is encrypted using a combination of symmetric and asymmetric encryption and transmitted back through the same API channel.
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.