Microsoft Detects “SesameOp” Backdoor Using OpenAI’s API for Covert Command-and-Control

Microsoft security researchers have identified a new backdoor malware that leverages OpenAI’s Assistants API as a command-and-control (C2) channel, allowing attackers to stealthily manage compromised systems.

Microsoft Security News 2 min read

Microsoft Detects “SesameOp” Backdoor Using OpenAI’s API for Covert Command-and-Control

Microsoft security researchers have identified a new backdoor malware that leverages OpenAI’s Assistants API as a command-and-control (C2) channel, allowing attackers to stealthily manage compromised systems.

Discovery and Background

The malware — dubbed SesameOp — was discovered by Microsoft’s Detection and Response Team (DART) during a July 2025 cyberattack investigation.

The attackers used SesameOp to maintain persistent, remote access for months while blending into legitimate cloud traffic — avoiding the typical network signatures associated with dedicated C2 infrastructure.

“Instead of relying on traditional servers, the threat actor behind this backdoor abuses OpenAI as a C2 channel,” Microsoft Incident Response noted.

How SesameOp Works

  • 🧠 C2 via OpenAI API:
    SesameOp uses the OpenAI Assistants API as a relay mechanism to fetch compressed and encrypted commands, which it decrypts and executes locally.
  • 🔐 Encrypted Exfiltration:
    Harvested information is encrypted using symmetric + asymmetric algorithms before being transmitted back through the same API channel.
  • 🧩 Complex Deployment Chain:
    The malware uses a heavily obfuscated loader and a .NET-based backdoor injected into Microsoft Visual Studio utilities via AppDomainManager.
  • 🕵️ Persistence:
    Achieved through internal web shells and strategically placed malicious processes, designed for long-term espionage.

Microsoft + OpenAI Collaboration

Microsoft confirmed that the malware did not exploit any OpenAI vulnerability. Instead, it misused legitimate features of the Assistants API (slated for deprecation in August 2026).

After discovery, Microsoft and OpenAI jointly investigated the abuse, identified the threat actor’s account, and disabled the malicious API key used in the operation.

Espionage Focus

The attackers’ main objective was long-term persistence and data exfiltration for espionage operations, not rapid ransomware-style disruption.
This aligns with state-level or advanced persistent threat (APT) tactics that favor stealth and longevity.

Microsoft Recommendations

To mitigate risks from SesameOp and similar API-abusing malware:

  • 🔍 Audit firewall and proxy logs for unexpected connections to cloud services.
  • 🔒 Enable tamper protection and EDR in block mode.
  • 🧰 Restrict external API access on critical systems.
  • 🧠 Monitor for unauthorized OpenAI or cloud API tokens.
  • 🚫 Segment development and production networks to prevent cross-environment persistence.

Alcaeus Services Insight

SesameOp underscores a growing trend: threat actors weaponizing trusted AI and SaaS platforms to hide malicious C2 communications.

At Alcaeus Services, we help enterprises:

  • Detect abuse of legitimate APIs within network telemetry.
  • Implement zero-trust monitoring for cloud service calls.
  • Build AI-aware threat detection into SOC pipelines.

As AI platforms expand, defenders must adapt — not every trusted endpoint is safe anymore.

Blog

Microsoft 5 min read

Keys, Tenants and Trust: two Microsoft cloud incidents that call for action this week

Two Microsoft cloud services were hit in November 2026, and each needs a different response. In Azure API Management (APIM) Classic, attackers exploited a flaw to steal stored secrets, and Norway's security agency says those secrets should be treated as exposed. In Entra Connect Health, attackers accessed tenant metadata and administrator email addresses, but Microsoft says passwords and authentication tokens were not exposed.

Security 5 min read

Ransomware group lists Nvidia on its leak site, but offers no proof

On 18 November 2026, the ransomware group The Gentlemen added Nvidia to its dark web leak site and set a countdown to 28 November. The listing contains no sample files, screenshots or data inventory. Nvidia says it is investigating an incident that may have affected a third-party partner, and that it has found no indication that its own systems or networks were affected. The claim is unverified.

Security 4 min read

Patch Splunk, and retire any internet-facing SonicWall Gen 6 firewall

On 18 November 2026, Splunk patched nearly 140 vulnerabilities in Enterprise, Enterprise Security and SOAR, including several critical flaws, with no active exploitation reported. SonicWall told customers to retire Gen 6 firewalls from the internet edge, as they no longer receive patches for any severity. Patch Splunk and replace Gen 6 devices.