INCIDENT MAP

Browse / Misinformation and External Harm / AML.CS0042

SesameOp: Novel backdoor uses OpenAI Assistants API for command and control

AML.CS0042 · 2025-07-01 case study

Class
Misinformation and External Harm (grouped automatically from the text)
Technique
Other techniques
Target
OpenAI Assistants API (Incident)

How it worked

  1. Command and Control · AI Service API

    The threat actor abused the OpenAI Assistants API to relay commands to the SesameOp malware, which executed them on the victim system, and sent the results back to the threat actor via the same channel. Both commands and results are encrypted.

    SesameOp cleaned up its tracks by deleting the Assistants and Messages it created and used for communication.

Summary

The Microsoft Incident Response - Detection and Response Team (DART) investigated a compromised system where a threat actor utilized SesameOp, a backdoor implant that abuses the OpenAI Assistants API as a covert command and control channel, for espionage activities. The SesameOp malware used the OpenAI API to fetch and execute the threat actor's commands and to exfiltrate encrypted results from the victim system.

The threat actor had maintained a presence on the compromised system for several months. They had control of multiple internal web shells which executed commands from malicious processes that relied on compromised Visual Studio utilities. Investigation of other Visual Studio utilities led to the discovery of the novel SesameOp backdoor.

References

Source: MITRE ATLAS case studies, used under Apache 2.0.