Microsoft Malware Protection Center
Defending against ARTEX with Microsoft Perception
In a matter of weeks, ARTEX went from an open-source GitHub project to a working attack tool. Built for autonomous AI penetration testing, the framework can plan and execute an attack loop with little human intervention: a planner agent chooses the next move, worker agents run tools like nmap, curl and Impacket, and the operation continues at machine speed. That rapid evolution has caught the attention of Microsoft Threat Intelligence. Our October report on Storm-0940 examined the actor’s use of ARTEX, and our in-product Microsoft Defender Threat Intelligence report is tracking its abuse by cybercriminals targeting the financial sector.
Microsoft Perception is a multi-agent system that drives security outcomes, and it puts that intelligence to work. Through playbooks, Perception brings agents together to carry out security workflows. With the Protect against a threat playbook, you can pick the Defender article from the drop-down, and four Perception agents work the threat end to end. Threat Intelligence breaks down the article, then Recon checks whether you’re exposed, Detection Authoring builds the detections, and Posture Prioritization ranks what to fix first. With ARTEX the attacker moves at machine speed, and having a single action that goes from threat intelligence to detections and fixes, and can rerun on every new report, is hugely valuable.
Microsoft threat intelligence is built in with Perception, but it isn’t the only intelligence you can use. As threats like ARTEX evolve, Perception can also act on third-party sources. For this post, we ran the same playbook against two sources: our in-product Microsoft Defender Activity Profile covering ARTEX abuse targeting the financial sector and a Wiz Research article covering ARTEX activity targeting IT and software vendors.
A good threat article tells you what the attacker does. It can’t tell you whether you’re exposed or what to fix first and closing that gap is usually days of analyst work. With only the article as input, we evaluated how far Perception could take the analysis, from understanding the threat to identifying exposure and recommended actions.
Everything ran in Microsoft’s internal simulation environment, built to reflect a typical enterprise setup. Because it is simulated, the findings below do not represent a real production deployment.
Protect against a threat playbookFrom Microsoft Perception, we launched the Protect against a threat playbook, which takes one input: a threat article. Pick one from the Microsoft Defender drop-down or paste in a URL. The Threat Intelligence Agent goes first, analyzing the article to identify the threat actors, indicators, vulnerabilities, malware, tactics, and techniques behind the attack. From there, the Recon, Detection Authoring and Posture Prioritization Agents use its report to analyze the security posture and answer three questions: Am I exposed? Can I detect it? And what should I fix first? The result is a set of end-to-end recommendations for protecting your environment against the threat.
Running it on Microsoft Defender threat intelligenceWe started with the Defender Activity Profile, ARTEX abuse expands as cybercriminals target financial sector, picked straight from the drop-down.
Figure 1. Launching the Protect against a threat playbook in Perception. The Defender Activity Profile is picked as the only input, and the four agents that will run are listed before the session starts.The Threat Intelligence Agent identified the actor as Storm-3358, a financially motivated cluster based in Cambodia that has been going after financial-sector organizations, mostly in Southeast Asia, using ARTEX alongside conventional automation. It mapped 11 MITRE ATT&CK techniques. ARTEX scanned internet-facing web apps at machine speed and exploited anonymous file upload and SSRF bugs. Its agents then pulled down web shells and RATs with curl and netcat, and the same automation ran password sprays, API enumeration, database dumps and exfiltration. It pulled out the eight campaign IPs from the article. The report also came with two hunting queries ready to run, one for new files pulled down with curl and one that checks the campaign IPs across 30 days of network logs.
Figure 2. The completed session for the Defender article. All four agents finished, with the Threat Intelligence report open.ARTEX uses familiar techniques. What it adds is speed, and an agent scanning at machine speed can find an anonymous upload endpoint long before a person working through a list would. That is why the Recon Agent went looking for what ARTEX’s scanners would hit first: public web apps and APIs that could expose the upload and SSRF entry points. It found 183 internet-facing candidate resources in our demo tenant. From configuration data alone it couldn’t confirm whether any had an upload or SSRF flaw, and it said so. But the shortlist was still worth examining. Four Function Apps accept anonymous HTTP calls, including one with a route named upload-screenshot. An API Management service has an uploadFile operation across three APIs that don’t require a subscription. And three storage accounts have public containers named financials and staging. With so many potential starting points, it skipped attack-path modeling.
The Detection Authoring Agent proposed nine detections covering all 11 techniques. It rated three as ready to deploy: a web server spawning shells, executable files being written to web roots, and a password spray followed by a successful sign-in. ARTEX drives commonly used tools, so these detections focus on the resulting behavior rather than ARTEX itself. The other six needed tuning. Because the demo tenant had no baseline for measuring noise, those ratings are estimates. Each proposal also shows which existing detections provide similar coverage, so you can see where they overlap before adding more.
The Posture Prioritization Agent ranked seven risks and called the demo tenant exposed. At the top were four internet-facing API Management operations that Defender flagged for allowing anonymous access. Next came nine web and Function Apps with no platform authentication, nine internet-reachable VMs with high or critical CVEs with known exploits, and 23 storage accounts that allow public or shared-key access.
Figure 3. The Microsoft Defender run at a glance, one column per agent. Results reflect this tenant’s configuration, not the source of the intel. Running it on third-party research from WizWe ran the Protect against a threat playbook again, this time using the Wiz article as input.
Figure 4. Starting the same playbook from the Wiz article. The URL is the only input.The Threat Intelligence Agent mapped the campaign to MITRE ATT&CK, from source-map and OpenAPI scraping through password spraying, OAuth callback tampering and alg:none JWT forgery, to cross-tenant probing. It also identified five campaign IPs and 20 user agents. Wiz notes that many of those user agents are noisy on their own, so the agent’s hunting guidance focuses instead on behavioral patterns, such as failed sign-ins about a second apart across hundreds of users.
Figure 5. The completed session for the Wiz article. All four agents finished, with the Threat Intelligence report open.The Recon Agent found seven public workloads with managed identities in our demo tenant. It assumed each one was compromised, then followed its identity to determine what an attacker could reach. One path came out high impact, two medium, four low. The analysis was based entirely on configuration data. Nothing was exploited, a limitation the report explicitly calls out.
The Detection Authoring Agent proposed eight detections covering 12 of the 13 techniques it tracked, from Entra and Okta spray bursts to the source-map-to-API chain. The agent replayed all eight against 14 days of demo-tenant data and found zero hits. In a quiet tenant, that result primarily shows that the queries run without generating obvious noise rather than proving they are ready to deploy, so they still require review before being enabled.
The Posture Prioritization Agent ranked 19 risks and called the demo tenant significantly exposed. At the top were risks that closely matched the attacker’s path: Function Apps reachable from the internet, VMs behind broad network rules, Function Apps missing app authentication and public storage settings.
Figure 6. The Wiz run at a glance, one column per agent. Results reflect this tenant’s configuration, not the source of the intel. Two articles, one playbookTwo articles on two different ARTEX actors, one from Microsoft and one from Wiz. Each run produced an exposure verdict with evidence, detections to review and a ranked list of fixes, all tied back to the behavior described in the article. The numbers aren’t a scorecard. Each run reflects how the underlying tenant is configured, not where the intelligence came from. Different tenants, different actors, yet both runs put internet-facing Function Apps without app authentication near the top of the fix list.
Keep it currentCampaigns like this change frequently. When Wiz or any other entity publishes new ARTEX behavior, run Protect against a threat on the new article. Do it for every ARTEX report you trust, whether it comes from Microsoft, Wiz or your own team, and plug the holes each one turns up before the attacker finds them.
Try itMicrosoft Perception is now generally available to Microsoft Defender customers. Open Perception in the Defender portal, start Protect against a threat and paste in the article you care about. Learn more here, and get started today.
The post Defending against ARTEX with Microsoft Perception appeared first on Microsoft Security Blog.
What defenders need to know about ARTEX, the agentic AI framework threat actors abuse
- ARTEX: Publicly available AI-powered offensive security framework
- AI agent architecture
- Capabilities
- Identifying ARTEX network activity
- Identifying ARTEX system activity
- Mitigation and protection guidance
- Microsoft Defender detections
- Hunting
- MITRE ATT&CK techniques
Since its release in July 2026, the AI-powered penetration testing framework ARTEX has been abused by many threat actors to accelerate their existing workflows related to network reconnaissance, credential attacks, and web application exploitation. As of November 2026, Microsoft Threat Intelligence has observed both state-sponsored and financially motivated threat actors such as Storm-0940, Storm-3358, Onyx Sleet, Pearl Sleet, Crystal Typhoon, and Salt Typhoon integrating ARTEX into their tooling.
In the past few weeks, we’ve reported several distinct campaigns that abused ARTEX to search public repositories for exposed secrets, enable supply chain compromise, and scan internet-facing systems for exploitation. These campaigns illustrate how threat actors use ARTEX to automate various stages of the attack chain. Threat actors define scope and targets for ARTEX, which then uses AI agents to set verifiable goals, define tactical steps for each stage of the operation, use tools to attack targets, create graphs to track discovered systems and results of actions, and report back to the threat actor. Depending on the threat actor’s configuration and the target’s defenses, ARTEX can advance from reconnaissance to persistent, privileged access to a target organization in a matter of minutes.
ARTEX does not introduce new attack techniques; it uses common, pre-existing penetration testing tools and techniques. ARTEX does sometimes transmit distinctive characteristics associated with its integrated penetration testing tools. However, threat actors using ARTEX can and do vary network indicators like source IP address or user agent string, especially to bypass static or simple signature-based detection and blocking. The most reliable and durable signal of ARTEX activity is behavioral: ARTEX sends a wide variety of requests in a brief time and retries variations on the same technique or moves on to next-stage actions at machine speed.
In this blog, we’re sharing a detailed breakdown of ARTEX, including its architecture and capabilities, as well as guidance for identifying related network and system activity. Microsoft disrupts and contains threats posed by ARTEX-enabled attacks across the Microsoft Defender suite of products. Defenders can further reduce and mitigate the effectiveness of ARTEX and similar AI agentic attacks by following Microsoft’s recommendations outlined in this report to reduce internet-facing exposure, secure credentials and secrets, and limit lateral movement paths in their environment. Additionally, Microsoft recommends customers to enable automatic attack disruption in Microsoft Defender XDR to contain and isolate affected devices during an attack.
To help defenders keep pace with machine-speed attacks, Microsoft Perception coordinates red, blue, and green team agents that find exploitable weaknesses, investigate threats, and remediate risks, with security teams approving critical actions. As threat actors increasingly adopt AI, we’re publishing this information to equip defenders with insights that can help protect systems, secrets, identities, and networks from AI-assisted attacks.
ARTEX: Publicly available AI-powered offensive security frameworkARTEX (“AI 自主渗透测试系统,” or AI autonomous penetration testing system) is an AI-driven penetration testing platform. A Go-based backend coordinates multiple large language model (LLM) agents that can take an attack from reconnaissance and attack surface discovery through exploitation, verification, and reporting, with little or no human involvement. ARTEX includes an embedded Next.js web interface and uses PostgreSQL for storage.
ARTEX is primarily a web application penetration testing tool. Its built-in guidance, skills, and findings categories center on vulnerabilities in HTTP applications and APIs, including SQL injection, server-side template injection, XML external entity (XXE) injection, file upload flaws, authentication bypass, and insecure direct object references (IDOR).
ARTEX agents also perform general network reconnaissance and credential attacks. After agents gain initial access to a system or network, they can pivot through interactive shells. By default, ARTEX does not take any measures to obfuscate its malicious activity.
In July 2026, GitHub user Autumn-27 published ARTEX as open-source code with a Chinese-language interface. While the original developer removed the source code in October 2026, other developers who had forked the project continue to publish their own versions of ARTEX in many other languages. In November 2026, the China-based cybersecurity company ThreatBook (微步在线) claimed ownership of ARTEX and began offering commercial access to “ARTEX Pro”, in addition to CyberStrikeAI Enterprise Edition and other AI-powered penetration testing frameworks.
AI agent architectureARTEX uses multiple AI agents for different functions. The threat actor defines the target scope, and a goals model breaks the engagement into objectives that can be verified. A planner agent continuously reviews a knowledge graph containing discovered assets and findings, then issues short attack directions called “intents.” Worker agents claim those intents and carry them out with a real shell and offensive tools. They write new assets, facts, and confirmed vulnerabilities back to the graph. Each update wakes the planner agent, which decides what to do next. The cycle continues until the goals are met or the task reaches its time or step limit. A reporter agent then documents each confirmed finding with reproduction steps and a proof of concept.
ARTEX AI agent architectureThe threat actor can configure ARTEX to power its agents with virtually any large language model, including frontier models, open-weight models, or models that the threat actor has abliterated (modified to remove built-in guardrails) or otherwise manually tuned. For that reason, ARTEX activity is not necessarily constrained by any single provider’s safety controls or visible in any single provider’s telemetry.
An optional pool function allows ARTEX to switch to different models when one fails for any reason (for example, quota exhausted, invalid key, rate-limited, or erroring). The function includes a configurable priority order and cooldown, so a long campaign can continue across multiple providers or keys.
CapabilitiesARTEX agents call tools to act on intents. While threat actors and agents can add arbitrary tools, ARTEX includes a set of pre-configured tools that define its core capabilities: network reconnaissance, web application mapping, web shell upload, and web browser-based attacks.
- nmap — A network discovery and port-scanning tool that identifies systems, exposed services, and often their versions, rather than simply testing one connection
- nc (netcat) — A general-purpose network utility for opening TCP or UDP connections, listening on ports, and moving raw data between systems
- telnet — A basic interactive TCP client useful for manually probing text-based services
- whois — A registration-data lookup tool that retrieves information about domain names or IP address allocations
- dig — A DNS diagnostic tool
- curl — A command-line HTTP and protocol client suited to crafting requests and inspecting responses, including headers, authentication, and APIs
- wget — A web download utility
- Playwright + Chromium — A browser-automation stack that drives a real Chromium browser, with all elements of the HTTP exchange exposed for manipulation
- node — A JavaScript runtime
- python3 — A general-purpose scripting runtime
- git — A tool for retrieving and inspecting code repositories and their history
- ripgrep — A fast recursive text-search tool for finding strings or patterns
- jq — A command-line JSON processor that filters and transforms structured output from APIs and other tools
Threat actors also commonly add exploitation frameworks and credential attack tools to extend the capabilities of ARTEX agents:
- sqlmap — A specialized web-application testing tool that detects and assesses SQL injection in application inputs
- hydra — A parallelized credential-testing tool supporting many network login protocols and configurable username/password combinations
- medusa — A modular, parallel network-login tester distinguished by its service-specific authentication modules
- ncrack — A network authentication testing tool from the Nmap ecosystem, focused on high-speed testing of supported remote services
- nuclei — A template-driven vulnerability scanner that checks targets for defined exposures, misconfigurations, and known issues across multiple protocols
- nikto — A web-server scanner focused on potentially dangerous files, outdated components, and common server misconfigurations
- gobuster — A wordlist-based discovery tool that enumerates web paths, DNS subdomains, or virtual hosts with a relatively focused command-line workflow
- ffuf — A flexible web fuzzer that substitutes candidate values into chosen parts of a request, such as paths, parameters, headers, or hostnames
- Msfconsole (Metasploit) — An exploitation framework and its interactive console, combining exploit modules, payloads, and post-exploitation workflows in one environment.
- john (John the Ripper) — An offline password-auditing tool notable for broad hash-format support and adaptable cracking modes
- hashcat — An offline password-recovery tool distinguished by GPU-accelerated candidate generation and hash testing
ARTEX agents can perform a wide range of actions, depending on the available tools and goals that the threat actor sets. Microsoft Threat Intelligence has observed ARTEX agents exhibiting the following capabilities as of November 2026:
- Network reconnaissance
- Port and service scanning
- DNS enumeration
- HTTP probing and content scraping
- Importing assets from separate asset-scanning platforms
- Web application reconnaissance
- Retrieval of JavaScript bundles, source maps, runtime configuration files, and API documentation to extract routes
- Headless-browser crawling, including with a simulated signed-in state
- Enumeration of REST, WebSocket, and server-sent events (SSE) endpoints
- Web application exploitation
- Exploitation of known vulnerabilities in exposed software
- Authentication bypass (for example, unsigned tokens and manipulated OAuth callbacks)
- SQL injection
- Server-side template injection
- XML external entity (XXE) injection
- File upload flaws
- Insecure direct object references (IDOR)
- Credential attacks
- Weak-password testing
- Password spraying
- Brute force guessing
- Abuse of account-recovery flows
- Persistence
- Web shell upload
- Credential access
- Reading secrets from configuration files, .env files, private keys, and /etc/shadow
- Dumping databases
- Kerberoasting
- Lateral movement
- Credential reuse
- Cloud identity abuse
- Authentication with stolen or captured credentials
- Cloud permission mapping
- Microsoft Graph reconnaissance
- Adding application credentials for persistence
- Assigning privileged roles for privilege escalation
- Reading cloud keys and tokens, including from cloud secret management stores
While ARTEX does not invent new attack techniques, it can combine the adaptable attack chain of a human threat actor with the speed and precision of malicious software. Therefore, the challenge of identifying network activity from AI-driven tools like ARTEX is differentiating it from both human- and software-driven activity.
Defenders can detect three types of evidence that may suggest AI-driven activity:
- The most durable signal of AI-driven activity is the pattern formed by the bursts of machine speed activity. ARTEX agents, sometimes working in parallel, continually adapt and retry a given tactic until they succeed or run out of time. ARTEX agents quickly and exhaustively iterate through different methods of access, exploitation, or abuse. A human threat actor takes time to move from one stage of the attack chain to the next. In contrast, after successfully compromising a system or credentials, the framework then dispatches additional agents to move on to the next stage of the activity at machine speed. While ARTEX is a popular tool, other AI-driven offensive security frameworks also generate similar patterns of behavior.
- Automated penetration testing tools, including the ones that ARTEX agents call, can produce a characteristically large volume of anomalous traffic from a single source in a short time. ARTEX does not obfuscate its malicious activity; a large number of these traffic bursts occurring at intervals is consistent with automated targeting.
- A small amount of traffic might have user agent strings, network protocol options, or other default values strongly associated with ARTEX or the tools it calls. However, threat actors and ARTEX agents frequently change these values, particularly when evading static rules that block such values. The following table shows two such user agent strings specific to ARTEX:
Defensive honeypots, decoys, tarpits, and fake wins can pull autonomous AI attacks away from legitimate targets. Honeypots and decoy surfaces such as Microsoft Sentinel Deception give the agent attractive but worthless targets to pursue. Tarpits consume the agent’s time and budget. Fake wins present convincing evidence that the agent’s objective is complete, which can cause it to stop on a false success. Honeytokens can provide early warnings of AI compute hijacking. In Microsoft’s testing, these controls helped reduce the attack traffic reaching real assets and produced high-confidence, attribution-quality signal.
Identifying ARTEX system activityAfter gaining initial access to a system, ARTEX agents often use well-known risky utilities (for example, certutil, curl, wget, netcat) on the system to launch web shells, install remote access trojans (RATs), or take other action to achieve persistence. Because ARTEX does not take any measures to obfuscate its malicious activity, existing methods for detecting compromise will likely capture ARTEX activity:
- Web server processes (such as w3wp.exe, php-fpm, httpd or apache2, or Java application servers) starting sh, bash, cmd.exe, or PowerShell
- New or modified script files (.php, .jsp, .jspx, .asp, .aspx, or .ashx) in web-accessible or upload directories; this includes files written by a database server process after its logging settings were changed to point a log file at a web directory
- Several short-lived web shells with incrementing names, each running a different command, as ARTEX agents correct errors until a web shell runs cleanly
- Rapid reads of /etc/shadow, .env and configuration files, private keys, and cloud credential files, and bursts of database extraction
- Reverse shells and outbound requests from the server to webhook or file-sharing services used to deliver scripts and return command output
- Two or three attack chains active at once, and renewed attempts through new paths after containment
Microsoft recommends the following mitigations to reduce the impact of this threat. Check the recommendations card for the deployment status of monitored mitigations.
ARTEX doesn’t introduce new attack techniques. It runs common penetration testing tools and tries one approach after another at machine speed. The mitigations that matter most close exposure before scanning finds it, slow down bursts of requests, protect credentials and application secrets, and contain a compromise automatically.
Reduce internet-facing exposure- Find and fix exposed assets first by using Microsoft Defender External Attack Surface Management discovery to inventory the internet-facing hosts, websites, and services you own, including ones you didn’t know about. Then prioritize fixes with Microsoft Defender Vulnerability Management, which shows internet-exposed resources that lead to sensitive data or privileged identities. ARTEX agents start with port scans and web path enumeration and act on whatever they find.
- Block and slow down attacks on web applications and APIs. After tuning in detection mode, switch Web Application Firewall on Application Gateway to prevention mode so that SQL injection and other common web attacks are blocked, not only logged. Add rate limiting on Application Gateway or rate limiting on Azure Front Door to cap how many requests one client can send in a short time, and turn on bot protection to block or log requests from known malicious IP addresses. For APIs in Azure API Management, follow Mitigate OWASP API security top 10 threats to enforce authentication, object-level authorization, and rate limits. ARTEX agents send hundreds of requests to learn which paths a server allows and harvest API documentation to find internal routes, then test them for injection, authentication bypass, and access-control flaws.
- Map what an exposed asset or stolen credential could reach before an agent does. Use attack paths in Microsoft Security Exposure Management and attack path analysis in Defender for Cloud to find defensive choke points, where paths to critical assets converge, and explore the blast radius of each one. Classify your critical assets so the paths are complete, and query the enterprise exposure graph in advanced hunting to explore the same connections. During an incident, blast radius analysis in the incident graph shows the paths an attacker could take from a compromised entity to a critical asset. ARTEX agents record the assets and vulnerabilities they discover in a graph, so mapping your own graph first shows where they would go next.
- Test the paths that matter most, within Microsoft’s rules. Microsoft recommends regular red team operations to complement vulnerability scanning. Agree on the scope and constraints with resource owners and fix all critical findings. Testing of Azure resources must follow the penetration testing rules of engagement, which encourage testing your security monitoring and detection, prohibit automated testing that generates excessive traffic, and prohibit using secrets that aren’t your own, including publicly leaked ones. Agentic tools like ARTEX scan public code repositories for secrets, so decide before testing how testers will handle credentials that belong to someone else.
- Organizations can incorporate Microsoft Perception’s Recon Agent to map relationships between Azure resources, Microsoft Entra ID identities, and permissions to identify potential lateral movement paths, privilege escalation opportunities, and high-value assets accessible following an initial compromise. Recon Agent’s Identify attack paths playbook searches for potential attack paths within an Azure subscription, while the Assess identity risks playbook investigates whether a managed identity could provide a path to critical assets. The Protect against a threat playbook correlates identified exposures with relevant threat intelligence. Because Perception’s Recon Agent performs read-only analysis rather than active exploitation, organizations should complement its findings with authorized penetration testing to validate viable attack paths.
- Run endpoint protection on every internet-facing server and keep it blocking. Use Defender for Endpoint on Linux and the Defender for Servers plan so that the endpoint detections and hunting queries in this report cover the servers that ARTEX agents exploit, including Linux servers. Turn on tamper protection, use EDR in block mode on Windows devices that run a non-Microsoft antivirus product, and turn on the Block Webshell creation for Servers attack surface reduction rule on Exchange servers.
- Restrict outbound connections from web servers. Allow only the destinations each server needs, for example with Azure Firewall threat intelligence-based filtering, and create indicators for IPs, URLs, and domains in Defender for Endpoint to block known-bad destinations. ARTEX agents have used curl and netcat to download remote access trojans, and curl with rotating webhook.site URLs to deliver scripts and return command output.
- Apply Conditional Access to every user and workload identity. Create policies that require multifactor authentication (MFA) for all users, enforce phishing-resistant MFA for administrators, and block legacy authentication. Consider wider adoption of phishing-resistant passwordless authentication deployment to all users. Configure risk policies in Microsoft Entra ID Protection to require MFA or block access for medium-risk and high-risk sign-ins; sign-ins from known threat actor infrastructure, including infrastructure behind ARTEX activity, raise Verified threat actor IP detections at high risk.
- For service principals, use Conditional Access for workload identities to block sign-ins from unexpected locations or with elevated risk; workload identity risk detections flag leaked credentials and suspicious sign-ins, including credentials found in public code on GitHub.
- Ban weak passwords and slow down guessing. Turn on Microsoft Entra Password Protection with a custom banned password list, extend it to on-premises Active Directory, and review smart lockout settings. In one Storm-0940 campaign that used ARTEX, Microsoft recorded more than 151,000 failed sign-ins, peaking at 2,900 failures per minute.
- Keep application secrets out of code and replace any that leak. Use application management policies to limit which kinds of secrets and certificates apps can use and to enforce rotation, and move workloads to managed identities where possible. Turn on secret scanning and push protection for Azure DevOps repositories and secrets scanning in Defender for Cloud for virtual machines and cloud deployments and invalidate and replace any secret found in code or configuration files, including .env files. In one case that Microsoft observed, an AI agent went from searching GitHub for client secrets to taking data from Azure Key Vault in five minutes.
- Govern app registration, consent, and privileged roles by restricting app registration to the users who need it, configuring user consent so that users can’t grant broad permissions to unverified apps, and using app governance in Microsoft Defender for Cloud Apps to see which apps can reach your data. Use Privileged Identity Management for time-bound role activation, and monitor application credential changes and role assignments as described in the Microsoft Entra security operations guide for applications. During Storm-0940 activity, ARTEX agents added credentials to applications, and an application assigned itself the Global Administrator role.
- Limit what a stolen credential or token can reach. Follow best practices for Azure RBAC to limit each service principal to the resources and operations its application needs, and grant managed identities only the access they need so that a token taken from the Azure Instance Metadata Service through an XXE or SSRF flaw can’t reach other resources. ARTEX agents map the permissions of the credentials they capture and have used an XXE flaw to query a cloud metadata service for role credentials, and in one investigation AI agents used a compromised OAuth application to run scripts on Azure virtual machines.
- Harden and monitor the services that hold secrets and data. Follow Secure your Azure Key Vault; for storage accounts, prevent Shared Key authorization and remediate anonymous read access to blob data; disable basic authentication for App Service publishing; and disable local authentication so that Foundry Tools accept only Microsoft Entra ID authentication. Then turn on Defender for Key Vault, Defender for Storage, Defender for Resource Manager, Defender for App Service, Defender for open-source relational databases, and AI threat protection for the workloads you run. ARTEX agents have run commands through cloud administration interfaces such as Kudu when they had credentials for them, and AI agents have focused on credentials for AI services.
- Detect credential theft on domain controllers. Install Microsoft Defender for Identity sensors on all domain controllers. Its alerts, listed in the Detections section, cover the Active Directory credential theft and reconnaissance that ARTEX agents run in compromised domains.
- Remove reusable passwords and standing access. Use group managed service accounts, whose passwords Windows manages automatically, so that service accounts don’t rely on passwords that people choose and rarely change. Use Windows LAPS to rotate each device’s local administrator password so that one captured password doesn’t work across many devices and use just-in-time machine access in Defender for Cloud to keep management ports such as RDP and SSH closed until they’re needed. ARTEX agents reuse captured credentials to move laterally over SSH and WinRM.
- Enable automatic attack disruption to contain compromised assets that an attacker is using and limit lateral movement early, as well as automated investigation and response, which investigates and remediates alerts automatically. In multiple ARTEX-driven Storm-0940 intrusions, privileged access came less than three hours after initial targeting.
Microsoft Defender customers can refer to the list of applicable detections below. Microsoft Defender coordinates detection, prevention, investigation, and response across endpoints, identities, email, apps to provide integrated protection against attacks like the threat discussed in this blog.
Microsoft Defender AntivirusMicrosoft Defender Antivirus detects threat components as the following:
- Behavior:Win64/ArtexAI
The following alerts might indicate threat activity associated with this threat. These alerts, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
Execution
- Process launched in the background
- Suspicious file dropped and launched
- Suspicious file or content ingress
- Hidden file executed
- Suspicious process executed by network service
- Suspicious piped command launched
- Suspicious process launched by service
- Suspicious process launched from a world-writable directory
- Suspicious script launched
- Suspicious shell execution from PHP application
- Suspicious shell command execution
Persistence
- Possible Web Server compromise activity
- Suspicious cron job creation
Defense evasion
- Executable permission added to file or directory
- Obfuscation or deobfuscation activity
- Possible time based evasion
- Suspicious decoding of encoded content into script
- Suspicious file and directory permission modification
- Suspicious file or information obfuscation detected
- Suspicious path deletion
Credential access
- Suspicious access of sensitive files
Discovery
- Suspicious port scan activity
Collection
- Enumeration of files with sensitive data
- Suspicious file copy operations
- Suspicious process collected data from local system
Lateral movement
- Remote Desktop session
Command and control
- Possible reverse shell
- Suspicious connection to remote service
- Suspicious curl behavior
The following alerts might indicate threat activity associated with this threat. These alerts, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
- Possible Kerberoasting attack
- Possible Kerberoasting attack following a suspicious LDAP query
- Possible Kerberoasting attack using a stealthy LDAP search
- Possible Kerberoasting LDAP reconnaissance
- Possible SPN enumeration via LDAP
- DCSync attack (replication of directory services)
- Suspected brute-force attack (Kerberos, NTLM)
- Suspected brute-force attack on Lightweight Directory Access Protocol (LDAP) authentication
- Suspected password spray attack (Kerberos, NTLM)
- Suspected password spray attack on Lightweight Directory Access Protocol (LDAP) authentication
- Suspected account enumeration (Kerberos, NTLM, AD FS)
- Suspicious LDAP query targeting sensitive attributes
- Discovery tool was observed
- Malicious sign in from a randomized user agent
- Possible service principal account secret leak
- Possibly compromised service principal account signed in
- Suspicious service principal sign-in following credential addition
- Suspicious Entra Graph API query observed
Organizations that use classic Defender for Identity alerts see Suspected Kerberos SPN exposure, Suspected DCSync attack (replication of directory services), Account Enumeration reconnaissance (LDAP), and Security principal reconnaissance (LDAP) instead. See Defender for Identity XDR security alerts and Defender for Identity classic security alerts.
Microsoft Entra ID ProtectionThe following risk detections might indicate that an account was targeted or compromised by ARTEX-driven activity. These detections, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
- Verified threat actor IP
- Password spray
- Microsoft Entra threat intelligence
- Malicious IP address
- Anonymous IP address
- Atypical travel
- Unfamiliar sign-in properties
- Leaked credentials
The following workload identity risk detections can indicate that an application identity is compromised:
- Leaked Credentials
- Suspicious Sign-ins
- Anomalous service principal activity
- Microsoft Entra threat intelligence
- Suspicious application
- Malicious application
The following alerts might indicate threat activity associated with this threat. These alerts, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
- Multiple Service Principal Sign-ins from Single IP
- Potentially compromised OAuth application identified through attack activity analysis
- Graph API activity from a Microsoft threat intelligence IP address
- Application self-assigned Global Administrator role
- Account compromised following a password-spray attack
- Anomalous OAuth device code authentication activity
- Suspicious sign-in from verified nation-state threat actor infrastructure
- Malicious sign-in from known threat actor IP address
The following alerts might indicate threat activity associated with this threat. These alerts, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
- Suspicious addition of app role assignments to service principal
- Suspicious addition of application role assignments by service principal to itself
- High-privilege application roles assigned to a service principal
- Suspicious OAuth app registration
- Suspicious mail access activity by OAuth application following role assignment
- Suspicious OAuth application created from a risky user context performing graph SharePoint enumeration
- OAuth application activity from an uncommonly visited ISP
- Activities from suspicious user agents
- Activity from a password-spray associated IP address
- Successful logon from a suspicious IP address
- Multiple failed user log on attempts to an app
The following app governance threat detection alerts might also indicate that an application’s credentials are being abused:
- Application initiating multiple failed KeyVault read activity with no success
- OAuth App using unusual user agent
- Suspicious enumeration activities performed using Microsoft Graph PowerShell
- Dormant OAuth App predominantly using MS Graph or Exchange Web Services recently seen to be accessing ARM workloads
- App accessed from unusual location made anomalous Graph calls post certificate update
- Anomalous SharePoint activity by app that just updated or added new credentials
- Anomalous OneDrive activity by app that just updated or added new credentials
- Unused app newly accessing APIs
Microsoft Defender for Cloud Apps behaviors
Note that some Microsoft Defender for Cloud Apps alerts are transitioning to behaviors, and policies that generate behaviors are now disabled by default, and don’t send alerts.
Access behaviors in the Defender portal Advanced hunting page and use behaviors by querying behavior tables and creating custom detection rules that include behavior data.
The following behavior might also indicate threat activity associated with this threat. This behavior, however, can be triggered by unrelated threat activity and is not monitored in the status cards provided with this report:
- Multiple failed login attempts
In advanced hunting, this behavior has the ActionType MultipleFailedLoginAttempts in the BehaviorInfo and BehaviorEntities tables.
Microsoft Defender for CloudMicrosoft Defender for Key Vault alerts with the following titles might indicate that stolen credentials are being used to read secrets. These alerts, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
- Suspicious secret listing and query in a key vault
- High volume of operations in a key vault
- Unusual operation pattern in a key vault
- Unusual application accessed a key vault
- Unusual user-application pair accessed a key vault
- User accessed high volume of key vaults
- Unusual access denied – User accessing high volume of key vaults denied
- Access from a suspicious IP address to a key vault
- Access from a TOR exit node to a key vault
- Unusual access to the key vault from a suspicious IP (Non-Microsoft or external)
Microsoft Defender for Storage alerts with the following titles might indicate discovery of, or data taken from, Azure Storage. These alerts, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
- Publicly accessible storage containers successfully discovered
- Access from an unusual location to a sensitive blob container
- Unusual amount of data extracted from a storage account
- Access from a suspicious application
Microsoft Defender for Resource Manager alerts with the following titles might indicate Azure management operations from threat actor infrastructure. These alerts, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
- Azure Resource Manager operation from suspicious IP address
- Azure Resource Manager operation from suspicious proxy IP address
- Suspicious Azure role assignment detected (Preview)
Microsoft Defender for Databases alerts with the following titles might indicate SQL injection or brute force attempts against databases. These alerts, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
- Potential SQL injection
- A possible vulnerability to SQL Injection
- Suspected brute force attack
- Suspected successful brute force attack
- Login from a suspicious IP
AI threat protection alerts with the following titles might indicate that stolen keys or credentials are being used against AI services. These alerts, however, can be triggered by unrelated threat activity and are not monitored in the status cards provided with this report:
- Suspicious user agent detected
- Access from suspicious IP
- Access from a Tor IP
- Access anomaly in AI resource
- Suspicious invocation of a high-risk ‘Initial Access’ operation by a service principal detected (AI resources)
- Suspected wallet attack – volume anomaly
The following analytics rules from Microsoft Sentinel solutions might also indicate ARTEX-driven activity. These rules, however, can be triggered by unrelated threat activity:
- Password spray attack against Microsoft Entra ID application (Microsoft Entra ID solution)
- Malformed user agent
- Abnormal Deny Rate for Source IP (Azure Firewall solution)
- Abnormal Port to Protocol (Azure Firewall solution)
Microsoft Security Copilot is embedded in Microsoft Defender and provides security teams with AI-powered capabilities to summarize incidents, analyze files and scripts, summarize identities, use guided responses, and generate device summaries, hunting queries, and incident reports.
Security Copilot is also available as a standalone experience where customers can perform specific security-related tasks, such as incident investigation, user analysis, and vulnerability impact assessment. In addition, Security Copilot offers developer scenarios that allow customers to build, test, publish, and integrate AI agents and plugins to meet unique security needs.
Threat intelligence reportsMicrosoft Defender XDR customers can use the following threat analytics reports in the Defender portal (requires license for at least one Defender XDR product) to get the most up-to-date information about the activity and techniques discussed in this blog. These reports provide intelligence, protection information, and recommended actions to prevent, mitigate, or respond to associated threats found in customer environments.
Microsoft Security Copilot customers can also use the Microsoft Security Copilot integration in Microsoft Defender Threat Intelligence, either in the Security Copilot standalone portal or in the embedded experience in the Microsoft Defender portal to get more information about this threat threat.
Hunting Audit logs and investigation dataDetecting and investigating ARTEX activity depends on logs that some organizations don’t collect by default. An empty result from a hunting query isn’t proof that no access occurred if the underlying logs aren’t collected.
- Microsoft Entra logs. Use Microsoft Entra diagnostic settings to send audit logs and sign-in logs to a Log Analytics workspace. Service principal sign-ins are recorded separately from interactive user sign-ins, so include them.
- Microsoft Graph requests. Microsoft Graph activity logs record the requests that applications and users send to Microsoft Graph, including the user agent, which helps scope reconnaissance with stolen application credentials.
- Web server logs. Collect IIS logs with Azure Monitor and turn on App Service diagnostic logs so that request bursts and user agents are available for hunting.
- Web application firewall activity. Web Application Firewall logs on Application Gateway include access and firewall logs for allowed and blocked requests.
The following prompts may be used in Perception, utilizing red team, blue team, and green team agents within the Microsoft Defender XDR portal.
Focus an investigation on ARTEX-driven activity
Investigate recent Defender XDR evidence of automated intrusion activity consistent with an agentic AI penetration testing framework such as ARTEX. Look for bursts of web requests, scanning, or failed sign-ins from one source; web server processes that run shell commands or download tools such as curl, wget, or netcat; new script files in web folders; reads of credential and secret files; and service principal sign-ins followed by credential changes, privileged role assignments, Microsoft Graph or Azure Resource Manager enumeration, or Key Vault and Storage access. Return prioritized findings with verdict, affected entities, timeline, supporting alerts and incidents, and evidence- based next steps. Separate confirmed evidence from assumptions.Focus triage on ARTEX-driven activity
Find and summarize recent Defender XDR alerts and incidents in which activity from the same source moves from one attack stage to the next within minutes, such as web application exploitation followed by web shell activity, credential access, or cloud identity abuse. Prioritize activity with user agents that contain artex-enrich or norma. Return affected entities, timeline, supporting alerts and incidents, verdict, and evidence-based next steps.
Find and summarize recent Defender XDR alerts and incidents in which activity from the same source moves from one attack stage to the next within minutes, such as web application exploitation followed by web shell activity, credential access, or cloud identity abuse. Prioritize activity with user agents that contain artex-enrich or norma. Return affected entities, timeline, supporting alerts and incidents, verdict, and evidence-based next steps. Microsoft Defender XDRMicrosoft Defender XDR customers can run the following advanced hunting queries to find related activity in their networks. The first three queries require Microsoft Defender for Endpoint on the Windows and Linux servers that host internet-facing applications. The service principal query uses the EntraIdSpnSignInEvents table, which requires Microsoft Entra ID P2.
Web server processes running bursts of shell commands
Find web and application server processes that start shells or download tools many times within five minutes. ARTEX agents run commands through web shells and retry at machine speed and have used curl and netcat to download remote access trojans. Tune the threshold, set to 10 distinct commands by default, and exclude build or automation servers that run shells under Java or Node.js.
// Shells and download tools started by web or application server processes let WebServerProcesses = dynamic(["w3wp.exe", "httpd", "apache2", "nginx", "lighttpd", "java", "node"]); let ShellsAndTools = dynamic(["sh", "bash", "dash", "zsh", "cmd.exe", "powershell.exe", "pwsh", "pwsh.exe", "curl", "wget", "nc", "ncat", "certutil.exe", "python3", "perl"]); DeviceProcessEvents | where InitiatingProcessFileName in~ (WebServerProcesses) or InitiatingProcessFileName startswith "php" | where FileName in~ (ShellsAndTools) | summarize DistinctCommands = dcount(ProcessCommandLine), Tools = make_set(FileName, 20), SampleCommands = make_set(ProcessCommandLine, 25), FirstSeen = min(Timestamp), LastSeen = max(Timestamp) by DeviceId, DeviceName, InitiatingProcessFileName, bin(Timestamp, 5m) | where DistinctCommands >= 10 | order by DistinctCommands descScript files written to web folders by web or database server processes
Find script files, such as .php, .jsp, and .aspx files, that web or database server processes create or change, including several files in a short time. ARTEX agents upload web shells with incrementing names and have written web shells through database log files. Content management system updates also write script files, so review the file names and folders.
// Script files created or changed by web server or database server processes let ScriptExtensions = dynamic(["php", "phtml", "jsp", "jspx", "asp", "aspx", "ashx", "asmx"]); let WebServerProcesses = dynamic(["w3wp.exe", "httpd", "apache2", "nginx", "lighttpd", "java", "node"]); let DatabaseProcesses = dynamic(["mysqld", "mariadbd", "postgres", "sqlservr", "sqlservr.exe"]); DeviceFileEvents | where ActionType in ("FileCreated", "FileModified", "FileRenamed") | extend Extension = tolower(extract(@"\.([^.]+)$", 1, FileName)) | where Extension in (ScriptExtensions) | where InitiatingProcessFileName in~ (WebServerProcesses) or InitiatingProcessFileName in~ (DatabaseProcesses) or InitiatingProcessFileName startswith "php" | summarize Files = dcount(FileName), FileNames = make_set(FileName, 25), Folders = make_set(FolderPath, 10), DatabaseWrites = countif(InitiatingProcessFileName in~ (DatabaseProcesses)) by DeviceId, DeviceName, InitiatingProcessFileName, bin(Timestamp, 10m) | where DatabaseWrites > 0 or Files >= 3 | order by DatabaseWrites desc, Files descCommands that read several kinds of credential and secret files
Find devices where commands reference three or more kinds of credential and secret files within 10 minutes, such as /etc/shadow, .env files, private keys, and cloud credential files. ARTEX agents read these files in rapid succession after they gain a foothold.
// Commands that reference three or more kinds of credential and secret files let SecretFiles = dynamic(["/etc/shadow", ".env", "id_rsa", "id_ecdsa", "id_ed25519", ".aws/credentials", ".azure/", ".kube/config", ".git-credentials", ".pgpass", ".my.cnf", "wp-config.php", "web.config", "appsettings.json"]); DeviceProcessEvents | where ProcessCommandLine has_any ("shadow", "env", "id_rsa", "id_ecdsa", "id_ed25519", "credentials", "azure", "kube", "pgpass", "cnf", "config", "appsettings") | extend SecretFile = SecretFiles | mv-expand SecretFile to typeof(string) | where ProcessCommandLine contains SecretFile | summarize SecretFileTypes = dcount(SecretFile), SecretFilesSeen = make_set(SecretFile), SampleCommands = make_set(ProcessCommandLine, 20), FirstSeen = min(Timestamp) by DeviceId, DeviceName, AccountName, bin(Timestamp, 10m) | where SecretFileTypes >= 3 | order by SecretFileTypes descService principal sign-ins for several applications from one IP address
Find IP addresses that attempt service principal sign-ins for three or more applications in an hour with both failures and successes, or that send the default ARTEX user agents. Agentic tools have used leaked application credentials across many applications and tenants. Error codes 7000215 and 7000222, an invalid or an expired client secret, show attempts with a credential for the application. When a success follows those failures from the same address, investigate right away.
// Service principal sign-ins for several applications from one IP address EntraIdSpnSignInEvents | where IsManagedIdentity == false | summarize ServicePrincipals = dcount(ServicePrincipalId), SucceededFor = dcountif(ServicePrincipalId, ErrorCode == 0), FailedSignIns = countif(ErrorCode != 0), InvalidOrExpiredSecret = countif(ErrorCode in (7000215, 7000222)), ArtexUserAgent = countif(UserAgent has_any ("artex", "norma")), Applications = make_set(ServicePrincipalName, 20), Resources = make_set(ResourceDisplayName, 20), UserAgents = make_set(UserAgent, 10), FirstSeen = min(Timestamp), LastSeen = max(Timestamp) by IPAddress, bin(Timestamp, 1h) | where (ServicePrincipals >= 3 and SucceededFor >= 1 and FailedSignIns >= 1) or ArtexUserAgent > 0 | order by ServicePrincipals desc Microsoft SentinelThese queries require Microsoft Entra ID audit logs, and IIS logs, App Service HTTP logs, or Application Gateway access logs in the workspace.
Machine-speed web request bursts and default ARTEX user agents
Find client IP addresses that request 100 or more distinct paths with 50 or more client errors in one minute, or that send the default ARTEX user agents, artex-enrich and norma. The query also flags the default user agents of tools that ARTEX runs, such as curl, Wget, Python HTTP clients, headless Chromium, and Nmap. Those are common in legitimate automation, so don’t alert on them alone.
// Requests per client IP per minute, with default ARTEX and tool user agents flagged union isfuzzy=true (W3CIISLog | project TimeGenerated, LogSource = "IIS", ClientIP = cIP, Path = csUriStem, Status = tostring(scStatus), UserAgent = csUserAgent, Target = Computer), (AppServiceHTTPLogs | project TimeGenerated, LogSource = "App Service", ClientIP = CIp, Path = CsUriStem, Status = tostring(ScStatus), UserAgent, Target = CsHost), (AGWAccessLogs | project TimeGenerated, LogSource = "Application Gateway", ClientIP = ClientIp, Path = RequestUri, Status = tostring(HttpStatus), UserAgent, Target = Host) | extend AgentType = case( UserAgent has_any ("artex", "norma"), "ARTEX default", UserAgent matches regex @"^(curl|Wget|python-requests|Python-urllib|Go-http-client)/", "Tool default", UserAgent has_any ("HeadlessChrome", "Nmap"), "Tool default", "Other") | summarize Requests = count(), DistinctPaths = dcount(Path), ClientErrors = countif(Status startswith "4"), ArtexAgentRequests = countif(AgentType == "ARTEX default"), ToolAgentRequests = countif(AgentType == "Tool default"), UserAgents = make_set(UserAgent, 10), Targets = make_set(Target, 10) by ClientIP, LogSource, bin(TimeGenerated, 1m) | where ArtexAgentRequests > 0 or (DistinctPaths >= 100 and ClientErrors >= 50) | order by ArtexAgentRequests desc, DistinctPaths descApplication credential changes and role assignments by the same identity
Find users or applications that both add or change application credentials and assign directory roles or application permissions within an hour. During Storm-0940 activity, ARTEX agents added credentials to applications, and an application assigned itself the Global Administrator role.
// Credential changes and role assignments made by the same identity within an hour AuditLogs | where Result =~ "success" | where OperationName in ("Add service principal credentials", "Add member to role", "Add app role assignment to service principal") or OperationName contains "Certificates and secrets management" | extend Stage = iff(OperationName has_any ("credentials", "Certificates"), "Credential", "Role") | extend ActorUpn = tostring(InitiatedBy.user.userPrincipalName), ActorServicePrincipalId = tostring(InitiatedBy.app.servicePrincipalId), ActorAppId = tostring(InitiatedBy.app.appId), TargetName = tostring(TargetResources[0].displayName) | extend Actor = coalesce(ActorUpn, ActorServicePrincipalId, ActorAppId) | summarize Stages = make_set(Stage), Operations = make_set(OperationName), Targets = make_set(TargetName, 20), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by Actor, ActorAppId, bin(TimeGenerated, 1h) | where array_length(Stages) == 2 | order by FirstSeen desc MITRE ATT&CK techniquesThis tool has exhibited use of the following attack techniques. For standard industry documentation about these techniques, refer to the MITRE ATT&CK framework.
Resource Development
- T1588.007 Obtain Capabilities: Artificial Intelligence | Threat actors obtain ARTEX from public repositories or forks and pair it with commercial or self-hosted LLMs.
- T1588.002 Obtain Capabilities: Tool | ARTEX agents install offensive tools at runtime or write equivalent scripts.
Reconnaissance
- T1595.001 Active Scanning: Scanning IP Blocks | ARTEX runs nmap for port and service scanning.
- T1595.002 Active Scanning: Vulnerability Scanning | ARTEX agents probe web applications and APIs for injection, authentication, and access-control weaknesses.
- T1595.003 Active Scanning: Wordlist Scanning | ARTEX agents enumerate directories, endpoints, and file names, sending hundreds of requests to learn which ones the server allows.
- T1594 Search Victim-Owned Websites | ARTEX agents harvest JavaScript bundles, source maps, runtime configuration, and API documentation from target applications to discover internal API routes, and ARTEX’s enrichment component collects page titles from discovered sites.
Initial Access
- T1190 Exploit Public-Facing Application | ARTEX agents exploit injection, file upload, authentication, and access-control flaws in internet-facing applications.
- T1078 Valid Accounts | ARTEX reuses credentials that it captures, or that the operator supplies, against applications, hosts, and services.
- T1078.004 Valid Accounts: Cloud Accounts | ARTEX agents authenticated to Microsoft 365 tenants with stolen application credentials that Storm-0940 supplied.
- T1199 Trusted Relationship | ARTEX agents reached downstream tenants through an already-consented third-party application whose credentials Storm-0940 had stolen.
Execution
- T1059 Command and Scripting Interpreter | ARTEX runs shell, Python, and PowerShell commands on compromised servers through command injection, web shells, and remote shells.
- T1651 Cloud Administration Command | ARTEX agents have run commands through cloud administration interfaces, such as Kudu, when they had credentials for them.
Persistence
- T1505.003 Server Software Component: Web Shell | ARTEX uploads web shells, or writes them through database logging, and then sends commands to them.
- T1098.001 Account Manipulation: Additional Cloud Credentials | ARTEX agents added credentials to applications to maintain access during Storm-0940 activity.
Privilege Escalation
- T1098.003 Account Manipulation: Additional Cloud Roles | ARTEX agents assigned privileged roles during Storm-0940 activity, including an application assigning itself the Global Administrator role.
Credential Access
- T1110.001 Brute Force: Password Guessing | ARTEX tests weak passwords and brute forces sign-in forms.
- T1110.003 Brute Force: Password Spraying | Storm-0940 used ARTEX to accelerate password spraying against Microsoft 365, and other actors have used it to spray identity providers.
- T1552.001 Unsecured Credentials: Credentials In Files | ARTEX reads .env files, configuration files, and keys after gaining a foothold.
- T1003.008 OS Credential Dumping: /etc/passwd and /etc/shadow | ARTEX reads /etc/shadow on compromised Linux servers.
- T1552.005 Unsecured Credentials: Cloud Instance Metadata API | ARTEX agents have used an XXE flaw to query a cloud metadata service for role credentials.
- T1558.003 Steal or Forge Kerberos Tickets: Kerberoasting | ARTEX agents run Kerberoasting scripts in compromised domains.
- T1003.006 OS Credential Dumping: DCSync | ARTEX agents run DCSync scripts to obtain domain credentials.
Discovery
- T1087.004 Account Discovery: Cloud Account | ARTEX agents performed Microsoft Graph and directory reconnaissance during Storm-0940 activity.
- T1087.002 Account Discovery: Domain Account | ARTEX agents enumerate Active Directory objects, including privileged groups.
- T1580 Cloud Infrastructure Discovery | ARTEX agents map the permissions of stolen cloud credentials and enumerate cloud resources.
Lateral Movement
- T1021 Remote Services | ARTEX agents capture credentials for other reachable systems and move laterally through remote services such as Secure Shell (SSH) and WinRM.
Collection
- T1213.006 Data from Information Repositories: Databases | ARTEX extracts database contents through SQL injection, such as with sqlmap, or with database clients.
- T1530 Data from Cloud Storage | ARTEX agents perform mass reads from cloud storage with stolen credentials.
Command and Control
- T1090 Proxy | ARTEX can send target traffic through a configured outbound proxy. Threat actors have rotated through virtual private network (VPN), proxy, and Tor infrastructure when blocked.
- T1102.002 Web Service: Bidirectional Communication | ARTEX agents have used curl with rotating webhook.site URLs to deliver scripts to a compromised server and return command output.
- AI-driven, large-scale nation-state campaign using ARTEX enables supply chain compromise. Microsoft
- ARTEX abuse expands as cybercriminals target financial sector. Microsoft
- Threat actors use agentic AI tooling to find and abuse exposed secrets. Microsoft
- AI, Scripts, Operator: Inside the ConnectWise Attack. Huntress
- ARTEX in the Wild: Storm-0940 Expands Targeting of IT and Software Vendors. Wiz
- ARTEX and Friends: Enter Agentic Offensive Frameworks. Google Threat Intelligence Group
- VAPOR PANDA Uses AI-Driven ARTEX to Scale a Global Espionage Campaign. CrowdStrike
- Unknown Threat Actor Uses AI-Driven ARTEX to Target South Korean Finance. CrowdStrike
For the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
The post What defenders need to know about ARTEX, the agentic AI framework threat actors abuse appeared first on Microsoft Security Blog.
Microsoft named a Leader in the 2026 Gartner® Magic Quadrant™ for Email Security
We’re honored to share that Microsoft has once again been named a Leader in the 2026 Gartner® Magic Quadrant™ for Email Security.
AI is changing the threat landscape and this is shifting how organizations think about their existing security strategy. In response, we’ve invested in two areas over the past year: using AI to protect people and the agents that now read their email and making protection measurable so customers can verify that it works.
AI is changing both sides of the inboxThe first area of investment starts with a simple reality: AI now reads email alongside people, attackers are using AI to target both, and defense must use AI to stay ahead. Picture an ordinary vendor email: a meeting recap, a few action items, and a friendly sign-off. Hidden in white text on a white background is prompt injection: an instruction telling an AI assistant to gather financial documents and send them to an outside address. The employee isn’t the target; their AI agent is. People can be persuaded by messages that exploit fear, trust, or urgency, but agents don’t need persuading. Once an agent acts on an instruction, pulling the message back won’t undo it. This is why Microsoft Defender stops malicious messages before delivery and keeps reevaluating delivered mail as new intelligence comes in.
This summer, we introduced prompt injection protection for email in Defender to detect and quarantine messages carrying hidden malicious AI instructions before they reach Microsoft Copilot or other agents. In Defender, analysts can also see what an agent would see: the ‘Show concealed text’ button on the ‘Email Entity’ page reveals hidden content in the email preview, so they can inspect the instructions an agent could encounter. These attacks don’t show up often, yet. Over a four-week timeframe, we caught almost 10,000 prompt injection attempts, around 330 a day, out of the billions of emails Defender scans every day. The hard part is spotting those few without tripping over legitimate mail, so we don’t lean on a single model. Heuristics clear out the bulk first. What’s left goes to a fine-tuned small language model, and only the messages that still look suspicious reach a large language model for the final call. Saving the heaviest analysis for the smallest set of messages is what keeps false positives low and business email moving.
AI is also reshaping the attacks aimed at people. The phishing emails that worry us most are the ones that look completely normal. No malicious link, no infected attachment, just a plausible request written with perfect grammar and the right context. Generative AI makes those messages cheap to produce and endlessly variable. To meet that shift, we rebuilt how Microsoft Defender makes decisions rather than simply adding another filter. That decision-making now operates at scale, screening 5.2 billion emails a day on average1. The redesigned detection stack combines multiple machine learning models and LLM-based classifiers, with an ensemble model weighing their outputs to determine the final verdict. It also uses natural language processing signals, including message topic, to judge what a message is asking for and not only what it contains. That helps Defender catch attacks more accurately.
While detection helps with the message in front of you, defenders also need to see how it connects to the rest of an attack. Microsoft Perception extends that help beyond the message, connecting an email investigation to the broader exposure and response picture. Blue team agents investigate threats and improve detections, red team agents identify paths to compromise, and green team agents prioritize actions to close security gaps, while people retain control of critical decisions. The Integrated Security Operations Center (ISOC) in Microsoft Defender, launched in September, provides a shared foundation for people and AI agents to investigate and respond to the full attack—not just an isolated email. By bringing security information and event management (SIEM) and extended detection and response (XDR) together, it connects email signals with endpoint, identity, cloud, and third-party data, giving AI-assisted security operations broader context.
Proof over promises: Making protection measurableBut using AI to defend only matters if customers can verify that it works. The second investment area is one the whole industry has struggled with: how do you know your email security is actually working? Detection claims are easy to make and hard to verify, so we publish the data.
Since July 2025, we’ve released quarterly email security benchmarking reports built on real-world threats, not synthetic tests. They compare environments protected by Microsoft Defender alone with those that add a secure email gateway in front of it or an integrated cloud email security (ICES) layer behind it. We believe transparency strengthens the whole market, and an industry that measures itself in the open improves faster.
While benchmarking shows how protection performs across organizations, the Protection & Posture Insights report shows how it performs in yours. This on-demand, tenant-specific report helps security leaders understand which threats target their organization, how well Microsoft Defender stops them, and where configuration can be strengthened. Recent updates show URL clicks checked and malicious-site attempts blocked across email, Microsoft Teams, Office apps, and Microsoft Copilot, and also highlight allow lists and overrides that may be letting threats through. Together, benchmarking and tenant-specific insights give leaders evidence to evaluate protection and identify opportunities to strengthen it.
We’re grateful to our customers, partners, and the analyst community for their trust, and to the teams turning insight into protection. Our engineers start with customer problems, while our researchers draw on more than 165 trillion signals a day across Microsoft to anticipate emerging threats and build protections before real-world examples appear2. This recognition from Gartner is a milestone for us, not the finish line. Our focus remains on protecting people and agents and giving customers evidence they can use to evaluate their defenses.
Learn more- Explore the latest Microsoft Defender email security benchmarking results.
- Are you a regular user of Microsoft Defender for email security? Share your insights on Gartner Peer Insights™.
Gartner, Magic Quadrant for Email Security, By Max Taggett, Franz Hinner, Deepak Mishra, 23 November 2026
Gartner, Magic Quadrant, Peer Insights are trademarks of Gartner, Inc., and/or its affiliates.
Gartner does not endorse any company, vendor, product or service depicted in its publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner publications consist of the opinions of Gartner’s business and technology insights organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this publication, including any warranties of merchantability or fitness for a particular purpose.
1,2 Microsoft Digital Defense Report 2026.
The post Microsoft named a Leader in the 2026 Gartner® Magic Quadrant™ for Email Security appeared first on Microsoft Security Blog.
Microsoft named a Leader in the 2026 Gartner® Magic Quadrant™ for SIEM
We’re honored that Microsoft has once again been recognized as a Leader in the 2026 Gartner® Magic Quadrant™ for Security Information and Event Management (SIEM).
As security environments grow more complex and attackers move faster, organizations need more than the ability to collect and analyze data. They need comprehensive visibility, context to understand what is happening, and the ability to act before an attack causes further damage.
Explore Microsoft Sentinel SIEM capabilities Comprehensive SIEM across the digital estateMicrosoft Sentinel is our cloud-native SIEM, bringing together security data, advanced analytics, automation, and threat intelligence to help organizations protect their digital estate.
With more than 500 connectors across Microsoft and third-party solutions, Microsoft Sentinel brings together signals from across complex, multicloud environments. Its rich library of out-of-the-box detections, informed by Microsoft’s threat intelligence and organizational context, helps defenders identify sophisticated threats without building every detection from scratch.
Microsoft Sentinel supports the core capabilities security teams depend on, from scalable security data management and advanced detection to threat hunting, investigation, and response. The Microsoft Sentinel data lake centralizes historical and real-time security data across platforms and clouds for cost-effective retention and advanced analytics at scale. Security operations center (SOC) optimization and cost management help teams improve coverage, identify detection gaps, and make informed decisions about the data they collect and retain.
Reimagining security operations for the agentic eraOn September 23, 2026, Microsoft introduced the Integrated Security Operations Center (ISOC) in Microsoft Defender, reimagining security operations for the agentic era. As threats grow more sophisticated and security environments more complex, traditional approaches built on disconnected tools and workflows can no longer keep pace. ISOC brings security operations and threat protection together, creating a unified foundation where people and AI agents can see, understand, and act across the environment.
Through deep integration with Microsoft Sentinel, ISOC combines the full breadth of SIEM capabilities with extended detection and response (XDR), threat intelligence, posture management, and response. By connecting signals from Microsoft and third-party environments with rich security context and coordinated action, ISOC enables security teams to move beyond fragmented investigations toward faster, more proactive protection. Rather than operating as separate tools, the security stack works as one system, providing the foundation for agentic security.
Attack disruption demonstrates what this integrated approach makes possible. Microsoft Defender correlates signals across Microsoft and third-party environments with threat intelligence to identify high-confidence attacks in progress and automatically contain compromised users and devices before threats spread. This includes ransomware, business email compromise, and adversary-in-the-middle attacks. Across customers, ransomware attacks are disrupted in just 30 seconds on average.
Together, these capabilities demonstrate how Microsoft is moving security operations beyond detection and response toward an integrated, agentic approach that helps organizations anticipate, investigate, and stop threats faster.
A shared foundation for people and agentsAI is becoming part of how security teams work every day. Microsoft Sentinel combines advanced analytics, machine learning, and automation to help analysts use natural language to hunt for threats, generate response playbooks, support alert triage, analyze complex signals, and accelerate investigations. These capabilities reduce manual work and give defenders more time to focus on the threats and decisions that matter most.
By enabling SIEM and native protection to operate as one system, ISOC gives people and AI agents a shared foundation to see, understand, and act across the environment. Agents bring speed and scale to continuous security operations, while people provide expertise, judgment, and accountability.
Together, they can move beyond traditional, linear workflows toward continuous detection, investigation, and attack disruption. As agents take on more security operations workflows, comprehensive data, and rich context, the ability to act becomes even more important to helping organizations stop threats faster and deliver better security outcomes.
Looking aheadThe future of SIEM is about more than managing security data. It’s about ensuring your SIEM is a core building block of the agentic SOC, bringing together security data, intelligence, AI, and native protection so people and agents can understand threats sooner, act faster, and stop attacks before they spread.
We’ll continue investing in the comprehensive SIEM capabilities customers rely on while advancing integrated, agentic security operations in Microsoft Defender. We’re grateful for the Gartner recognition and for the customers, partners, and security community whose feedback continues to shape Microsoft Sentinel.
Learn more- Explore Microsoft Sentinel.
- Learn about the Integrated Security Operations Center in Microsoft Defender.
To learn more about Microsoft Security solutions, visit our website. Bookmark the Security blog to keep up with our expert coverage on security matters. Also, follow us on LinkedIn (Microsoft Security) and X (@MSFTSecurity) for the latest news and updates on cybersecurity.
The post Microsoft named a Leader in the 2026 Gartner® Magic Quadrant™ for SIEM appeared first on Microsoft Security Blog.
Security for the agentic era, powered by Microsoft Perception
- A new cyber stack, built to fight AI with AI
- Delivering agentic security at Microsoft Ignite
- Secure your foundations
- Defend with agents
- Secure agentic insiders
- Changing how security work gets done
- Explore what's new
A year ago, finding a serious, exploitable vulnerability was slow and expensive work done by elite security researchers. That’s no longer true. Over the past 12 months, frontier AI models have become remarkably good at discovering and exploiting software vulnerabilities, and similar levels of capability are quickly becoming available in open weights models with limited cyber guardrails. Attacks that once required specialized resources are now within reach of almost anyone.
We saw what that looks like in a single week this fall when PHP disclosed two critical remote code execution (RCE) vulnerabilities, flaws that let an attacker take control of a server with a single request over the internet.1 At the time of disclosure, tens of millions of internet-facing PHP services were running affected versions. Nearly two weeks later, about 29 million services remained vulnerable. Behind those servers are banks, healthcare providers, energy companies, and much of the infrastructure the internet runs on. And that same day brought five other major disclosures across the industry.
Explore coordinated agents and shared intelligence with Microsoft PerceptionTurning a flaw like the PHP one into a working attack once took a specialist team months. Within roughly a day of PHP2Shell’s disclosure, security researchers had developed a working, weaponized exploit. By the following week, that research had expanded to cover additional PHP versions and configurations. The time from discovery to exploit is shrinking from months to minutes.
The physics of cybersecurity are changing, and fast.
- AI is amplifying risk. Attackers can now find and exploit gaps faster than defenders can close them.
- Attacks are becoming fully automated. AI has moved from assisting attackers, to executing their tasks, to planning and running entire campaigns on its own.
- Agents are the new insiders. While not inherently malicious, they perform tasks and business workflows at machine speed, around the clock, and have broad access to data, apps, tools, and other agents. Like any insider, they can make mistakes, be manipulated, or be compromised.
What we built for humans does not scale for AI. Frontier Transformation starts with business outcomes and a simple idea: technology was invented to serve humanity, not the other way around. To help organizations bring their ideas to life and innovate safely in the agentic era, we need a new cyber stack, built for agentic security.
A new cyber stack, built to fight AI with AIThe Microsoft cyber stack has three layers:
- Signals, sensors, and actuators. This foundational layer is powered by sensors and actuators in Microsoft Defender, Microsoft Entra, Microsoft Intune, Microsoft Purview, Microsoft Sentinel, the network, the operating system, the browser, and our hyperscale cloud. Sensors tell you something is wrong. Actuators let you do something about it: contain a device on the network, revoke an identity’s access, or block an agent at the authorization layer. And because we know we’re not the only security solution provider in your environment, we connect to the wider ecosystem through more than 500 connectors. Together, Microsoft and partner sources produce more than 165 trillion signals a day,2 which, enriched by Microsoft and customer threat intelligence, fuel the context layer.
- Context. This layer organizes those signals, together with each customer’s own environment, into agent-ready, real-time understanding of the digital estate that is optimized for precision, recall, and token efficiency.
- Agents, harness, and models. On top are specialized security agents that work together as teams through playbooks, directed by a harness, and a multi-model approach that uses the right model for each task, designed to ensure effective and efficient security outcomes, at scale.
At Microsoft Ignite 2026, we’re delivering innovation across every layer of the stack. It starts with Microsoft Perception, now generally available.
Perception brings the top of the stack together. It orchestrates red, blue, and green team agents through playbooks, working together in a closed loop to deliver security outcomes. Red team agents simulate attacks from an attacker’s perspective before a breach occurs. Blue team agents detect, triage alerts, and investigate attacks, freeing analysts to focus on the critical decisions that matter most. Green team agents fix and remediate.
Perception is built to help security teams move at machine speed, drive outcomes rather than tasks, and automate while staying in control. Your team sets the guardrails and signs off on high-impact actions, and automated triggers launch playbooks when an incident meets the criteria you set. New cost management dashboards and a cost estimator help you track AI usage, forecast spending, and connect costs to measurable security outcomes.
Agents are only as good as what they can see and what they can do. That’s why we are investing as much in the foundation as in the layers above it.
Read the Microsoft Perception Tech Community blogIntegrated Security Operations Center (ISOC) in Microsoft Defender, generally available for core capabilities, is part of that foundation. ISOC brings security information and event management (SIEM) capabilities, user and entity behavior analytics (UEBA), threat intelligence, and threat protection and disruption together so you can start your journey to the agentic security operations center (SOC). Eligible Defender Suite, Microsoft 365 E5, and Microsoft 365 E7 customers receive all Microsoft Sentinel SIEM features, 90-day default data retention for Defender data, more than 500 connectors, reduced ingestion rates, and a built-in data lake. The complete breadth of SIEM capabilities is now in preview.
Learn more about the latest updates in Microsoft Defender and Microsoft SentinelRead on to learn how Microsoft Perception, ISOC in Defender, and new capabilities across the stack work together to help customers secure their foundations, secure agentic insiders, and defend with agents.
Secure your foundationsDefending against AI-speed attacks starts with closing the doors attackers walk through first, and the scale of that work is increasing. In 2026, more than 96,000 vulnerabilities3 have been published to the CVE (Common Vulnerabilities and Exposures) Program, more than double 2024’s roughly 40,000 and more than 20 times the level of 2010,4 driven in part by AI-assisted vulnerability discovery tools.
Yet only 26% of vulnerabilities in the Cybersecurity and Infrastructure Security Agency (CISA) Known Exploited Vulnerabilities catalog were remediated in 2025, as remediation typically extends into weeks and months. AI finds those gaps faster than teams can close them. Today we’re announcing new capabilities to help.
- Strengthen your security foundation with Perception. In preview in January 2027, new AI Readiness Initiatives in Perception turn Secure Now guidance into actionable plans with shared progress tracking, helping organizations close critical security gaps, and prepare for AI adoption. Initiatives focus on scenarios that help reduce AI-amplified risk such as modernizing authentication and deploying monthly updates.
- Prioritize and reduce exposure with Perception agents and playbooks. Focus on the risks that matter most and coordinate remediation using threat intelligence and business context. Two new playbooks bring together green team agents, including the Posture Prioritization Agent, now generally available, and the Risk Reduction Agent, now in public preview. Coverage spans Microsoft, Amazon Web Services (AWS), and Google Cloud.
- Vulnerability shielding, available in preview, helps protect vulnerable assets from exploitation by applying targeted, temporary protection to buy defenders time before they can apply a permanent patch. During routine operations the Risk Reduction Agent proactively suggests shielding when patches aren’t immediately available. During an active attack, vulnerability shielding helps reduce exposure to certain vulnerabilities by applying targeted, temporary protections while organizations prepare immediate remediation. In supported scenarios, these protections can include adjustments to network accessibility and permissions to help limit exposure.
- Secure data across humans and agents with Microsoft Purview. Enhanced data classification drives precise protection with less manual effort, generally available in January 2027. Also entering preview in January: grounding protection for Copilot based on sensitive information types, which lets customers adopt Copilot without labeling every file first, and expanded data loss prevention (DLP) controls for prompts to Copilot and local agents running on Windows, which help protect sensitive data from leaking while customers use AI. Learn how Microsoft Purview accelerates data protection for the AI era.
A SOC where people work through a queue of alerts by hand can’t keep up with increasingly autonomous attacks. Perception brings specialized red, blue, and green agents, and playbooks that automate common SecOps workflows, so defenders can get ahead.
- Stop threats at machine speed with new Perception playbooks and agents. Accelerate threat detection, investigation, and response with new playbooks and four blue team agents, now generally available: Alert Triage Agent, Attack Investigation Agent, Detection Authoring Agent, and Threat Intelligence Agent. Helping teams move from detection to response faster, with less manual effort.
- Stay ahead of attackers with new Perception playbooks and agents. Proactively find and validate weaknesses with playbooks that coordinate red team agents, including the Recon Agent, now generally available, and the Web App Pen Test Agent, now in preview, helping security teams identify and address vulnerabilities before attackers can exploit them.
- Use Perception in your flow of work. Teams can now invoke Perception playbooks in Defender, connect through Model Context Protocol (MCP) and APIs to SIEM, security orchestration, automation, and response (SOAR), and IT service management tools, and bring in signals from AWS, Okta, and Salesforce. These integrations are in preview.
We are also expanding the preview of Codename MDASH, our agentic code scanner, which helps customers find and fix vulnerabilities. MDASH can now analyze repositories up to 5 GB, run in regulated clouds, and MDASH code scans can be used by the Web App Pen Test Agent to prioritize and fix vulnerabilities. MDASH adds more of the MAI Cyber family, including MAI Cyber 1.1 Flash and MAI-Cyber-2 in preview,5 improving efficiency while maintaining the quality of security findings. Learn more about MAI-Cyber-2.
Sign up to explore Codename MDASH with optional MAI Cyber 1.1 Flash access Secure agentic insidersAgents are the new insiders. They operate continuously, collaborate with other agents, change shape, and pursue goals in ways that can surprise the people who deployed them. To mitigate this risk we must discover agents, onboard them to management, secure and contain them, and do it continuously—even as their behavior and context change. Building on our October 2026 announcement, at Ignite we are introducing new capabilities to help customers secure agentic insiders, around the clock.
- Continuously contain agentic insiders with new Perception playbooks and agents. Investigate and remediate AI posture risks and anomalous agent behavior with new playbooks and green team agents. Microsoft Entra ID Governance dynamic permissions grant task-scoped, time-bound access, while Conditional Access dynamic controls adjust protections as risk changes. These capabilities remain in limited preview.
- Discover, govern, and secure agents with Microsoft Agent 365 and Microsoft Entra Suite capabilities for agentic insiders. Discovery expands by 35 local agent types, to 60 in total, including Claude Code, OpenAI Codex, and GitHub Copilot, plus third-party cloud agents on AWS and Google Cloud. Discovered agents receive a Microsoft Entra Agent ID and can be governed with Conditional Access. Intune policies contain supported local agents on the device. Additionally, Microsoft Autopilot agents get their own Agent user account and ID, so admins can enable Conditional Access, ID Protection, and access governance to the work an Autopilot does under its own identity. Defender and Microsoft Purview Data Loss Prevention protect runtime and sensitive data access, and Dynamic Agent Risk assesses each agent’s exposure, blast radius, and runtime behavior. Available in preview.
While these capabilities can enable customers to secure and contain agents, they will not give them insight into how the model behind an agent behaves. Without that visibility it is hard for customers to answer three basic questions about consequential AI activity:
- What was the AI asked and authorized to do?
- What happened between the request and the outcome?
- Can we independently verify it?
That’s why Microsoft is announcing the next phase of our commitment to responsible AI: the AI Transparency Initiative. We believe every organization should be able to see what its AI accesses and does, independently verify those actions, and control what it is permitted to do, whatever model or provider it runs on. To that end, we are expanding our participation in the National Institute of Standards and Technology’s (NIST) SI Agent Standards Initiative,6 plus drawing on our own research to develop open, industry-wide standards for AI transparency, security, and governance. We’re shaping this approach with more than 40 organizations including Accenture, Adobe, KPMG, Mastercard, and Volvo Cars. And we will implement this work across Microsoft AI models and products, including Microsoft Foundry and Copilot.
The more agency we give AI, the more transparency we should expect in return.
Sign up to help shape the AI Transparency Initiative Changing how security work gets doneAI is changing how attacks happen, and how security work gets done. Developers, IT, and security teams now share responsibility for building, managing, and securing AI, so Microsoft Foundry, Microsoft Agent 365, and Perception share the same signals and context. Inside the SOC, analysts need agents to defend at machine speed, which is why we’re building agentic security into the tools they already use.
Technology alone won’t get us there. Securing our own environment through the Secure Future Initiative has taught us a great deal, and our Frontier Security Engineers, services teams, and partners are working side by side with customers to put those lessons to work.
Join us at Microsoft Ignite, online or in person, to learn how Microsoft Perception, ISOC in Defender and new capabilities across the stack can help secure your organization at machine speed. We’d love to see you there.
Explore what’s new- Secure Now.
- Microsoft Perception.
- ISOC in Microsoft Defender.
- Codename MDASH Partnership.
- Introducing MAI-Cyber-2.
- Secure Agentic Insiders.
- Learn how Microsoft Purview accelerates data protection for the AI era.
- AI is changing access. See how Microsoft Entra helps you stay ahead.
- See how Intune extends endpoint management, supports AI governance on devices, and helps administrators respond to exposure findings.
To learn more about Microsoft Security solutions, visit our website. Bookmark the Security blog to keep up with our expert coverage on security matters. Also, follow us on LinkedIn (Microsoft Security) and X (@MSFTSecurity) for the latest news and updates on cybersecurity.
22026 Microsoft Digital Defense Report—Decoding emergence.
3https://cvetodo.com/2026-cves.
4CVE: Common Vulnerabilities and Exposures.
5Signing up does not guarantee access. Submissions are reviewed, and customers are onboarded based on need and prioritization. Customers should work with their account team to be formally nominated for the preview.
6SI Agent Standards Initiative | NIST.
The post Security for the agentic era, powered by Microsoft Perception appeared first on Microsoft Security Blog.
The risks of device code authentication for AI coding agents
- From a familiar phishing technique to an AI coding agent
- How the attack works
- One approval, four ways the impact can spread
- Turning a phishing attempt into a Defender signal
- Mitigation and protection guidance
- References
- Learn More
Device code phishing has become a recurring route to account takeover. Instead of stealing a password, an attacker persuades someone to approve a sign-in on a legitimate site simply by entering a code. The resulting access often can reach email, files, or other cloud services, depending on the account and the permissions granted. Notable earlier campaigns such as EvilTokens show how readily this technique can be scaled to do real damage. Microsoft worked hard with partners in industry and law enforcement to disrupt EvilTokens in September 2026.
That led us to a different question: what else can an attacker do with a phished device code authorization? What happens when the same trick targets an AI agent rather than a mailbox?
We used GitHub Copilot CLI as an illustrative example. Depending on its configuration, it can work with code, run commands on a user’s machine, retain context across sessions, and allow an active session to be steered remotely. Like many command-line tools, it supports the OAuth device flow for sign-in. The phishing technique itself is not specific to GitHub or Copilot CLI: any public client that supports the device flow can be abused the same way, and the attacker chooses the requested scopes when starting the flow.
We explored this scenario in a controlled lab simulation. A victim test account approved a GitHub device-code request initiated by an attacker client we controlled. With that approval, we were able to analyze four possible outcomes:
- Steer an active Copilot CLI session remotely, if the user has enabled remote control and organization policy allows it, and, subject to local permissions and approval settings, have the agent run commands on the user’s machine.
- Add misleading entries to the agent’s memory that could influence later interactions.
- Read Copilot CLI sessions that were synchronized to the cloud.
- Access private repositories available to the affected account.
These are proof-of-concept results showing how existing features, working as designed, could be abused after a phished authorization; they are not attacks we have observed in the wild. These outcomes require the victim user to approve a device code request initiated by the attacker; each outcome also depends on the account permissions and enabled features described below.
Later in this post, we show how Microsoft Defender helps detect these attacks by connecting phishing attempts with GitHub authentication activity, and how organizations can disrupt suspicious access to protect affected identities.
From a familiar phishing technique to an AI coding agentThe OAuth device flow helps clients such as command-line tools sign in without displaying a full browser. A client requests a short code; the user enters it on the service’s verification page; the requesting client receives access after approval. In device code phishing, the attacker starts the request and persuades someone else to approve it.
Microsoft has reported device code phishing against accounts in several campaigns, including Storm-2372, an AI-enabled campaign in 2026, and EvilTokens. Those cases motivated us to examine a different target: a coding agent that can work with repositories and, when remote control is enabled, expose an active session to remote interaction.
The remainder of this post describes a controlled GitHub Copilot CLI simulation; we have not observed the four outcomes below in those campaigns or in the wild.
How the attack works Figure 1. A user approves a legitimate GitHub device-code request that was initiated by the attacker-controlled client. Conceptual illustration.- Initiate: The attacker starts a device-code sign-in request. In our simulation, we used the Copilot CLI client, but any device-flow client could be used.
- Lure: The attacker sends the short code and GitHub verification link to the user, for example under the pretext of an IT request or a Copilot license check. The verification page is genuinely hosted by GitHub; the legitimate domain alone does not establish who initiated the request.
- Approve: The user opens the GitHub page, signs in if needed, and approves the request. This is the social engineering step.
- Sign in: After approval, the attacker-controlled client completes the sign-in automatically.
- Operate: The attacker can act within the permissions granted to the application and the resources available to the affected account.
The following example shows the initial HTTP request to GitHub’s device authorization endpoint. The Copilot CLI client identifier is public; it is not a client secret. The attacker sends the short code returned by GitHub to the user. Once the user approves it, the requesting client signs in without another manual step.
GitHub Device Code Authentication (Simplified) Endpoint: GitHub Device Authorization Endpoint Client ID: Requested scopes: The request looks legitimateThe user signs in on the real GitHub site, not a lookalike page. A familiar domain therefore cannot tell the user whether the request was theirs. An authorization also appears under a legitimate application name; the name alone cannot distinguish the attacker-controlled client from an expected sign-in.
One approval, four ways the impact can spreadThe device code approval was only the starting point. What an attacker could do next depended on the account’s permissions, enabled features, memory settings, and whether an active session could be controlled remotely.
Figure 2. Four possible outcomes in the lab, each subject to the account’s permissions and enabled features. Conceptual illustration. 1. An attacker can steer an enabled remote sessionCopilot CLI supports remote steering of an active interactive session when the user has enabled remote control for that session and organization policy allows it. In our lab, the attacker-controlled client used the test account’s authorization to interact with a remotely controllable session. The agent ran a command on the test machine, subject to the session’s approval prompts and local operating-system permissions. This demonstrates misuse of an authorized remote-session capability working as designed; it is not unauthenticated remote code execution and does not apply when remote control is disabled, the session is not running, or the machine is offline.
Figure 3. Remote-session misuse is bounded by the local machine’s permissions and approval controls. Conceptual illustration. 2. Memory can carry the attack forwardCopilot Memory can retain repository facts and user preferences. In the simulation, we added misleading entries using the agent’s /memory command. If those entries are used in later interactions, the effects can outlast the initial sign-in. The behavior depends on which memory features and policies are enabled.
Figure 4. Misleading memory can affect later agent interactions. Conceptual illustration. 3. Synced sessions reveal earlier contextWhere cloud session storage is enabled, we could read the test account’s synced Copilot CLI sessions, including sessions from before the simulation. They may contain code snippets, file paths, architecture discussions, and other work context. For Copilot Business and Enterprise, availability depends on the organization’s session-storage policy; syncing a session does not itself enable remote control.
4. Repository access follows the accountIn the lab, the authorization let us access private repositories available to the test account. The request included the repo scope along with read:user, read:org, gist, and codespace. These scopes are chosen by the client that starts the flow; the resulting repository access reflects the requested scopes and the account’s permissions, not a property of Copilot CLI itself. The potential exposure is bounded by the account’s repository access, which can include application code and infrastructure definitions.
A phishing message, a click, and a GitHub authorization can each look unremarkable on their own. The challenge for defenders is recognizing when they belong to the same attempted takeover. The legitimate verification page is part of the story, not evidence that the request was safe.
Turning a phishing attempt into a Defender signalMicrosoft Defender helps organizations detect and respond to device code phishing targeting GitHub accounts. With the GitHub Enterprise Cloud connector enabled in Microsoft Defender for Cloud Apps, organizations gain visibility into GitHub activity that can support investigations of suspicious authorization patterns.
As part of our research, we developed two detections for suspected GitHub Copilot CLI device code phishing, covering attacks delivered through email and Microsoft Teams.
These detections correlate suspicious messages and clicks with subsequent GitHub OAuth token creation and regeneration events, helping identify potentially unauthorized Copilot CLI authorizations that might otherwise appear legitimate. Microsoft Defender XDR customers can refer to the list of applicable detections below.
Microsoft Defender coverage Observed activity Tactic Microsoft Defender XDR: Suspected GitHub Copilot CLI device code phishing via email Suspected device code phishing delivered through email, potentially resulting in unauthorized GitHub Copilot CLI access. Initial Access / Credential Access Microsoft Defender XDR: Suspected GitHub Copilot CLI device code phishing via Microsoft Teams Suspected device code phishing delivered through Microsoft Teams, potentially resulting in unauthorized GitHub Copilot CLI access Initial Access / Credential AccessBeyond detection, we also developed a disruption action for GitHub Enterprise Managed Users (EMU). This action suspends the affected managed identity through the organization’s identity provider, interrupting the attacker’s access. We validated this capability in our research environment.
Responders should also review and revoke unexpected OAuth authorizations, verify that access is blocked, and investigate potentially affected sessions, repositories, and saved memory.
Together, these capabilities help security teams move from identifying a potential phishing attempt to containing the affected identity. Detection and disruption availability depend on the supported configuration, required telemetry, identity integration, and deployment prerequisites.
Figure 5. Microsoft Defender alert generated for suspected GitHub Copilot CLI device code phishing via email. Figure 6. Research model for identifying and containing the affected managed identity. Conceptual illustration. Mitigation and protection guidance- Make the approval rule clear to everyone who uses developer and AI tools: enter a device code only for a sign-in you initiated yourself. An unexpected request to “verify” GitHub or activate Copilot should be treated as a phishing attempt, even if the page is hosted on github.com. GitHub’s own verification page warns users never to use a code sent by someone else.
- Configure Safe Links policies in Microsoft Defender for Office 365 for email and verify Safe Links protection for Microsoft Teams. These protections can help with malicious links and provide investigation context; a legitimate GitHub verification URL still requires the user to recognize an unsolicited code request.
- Review GitHub Copilot CLI session settings. For organization-provided seats, GitHub’s “Store local sessions in the Cloud” policy determines whether sessions can be stored and remotely controlled. Choose the least permissive setting that supports your workflows. Remote control also requires an active, online interactive session.
- Review authorized OAuth applications in GitHub account settings and revoke authorizations that are unexpected or no longer needed. Limit repository access with appropriate organization roles so an affected account cannot reach more code than its work requires.
- If Copilot Memory is enabled, use GitHub’s memory-management controls to review and remove suspicious repository facts or user preferences. Disabling memory does not automatically delete entries already stored, so review the saved content during incident response.
- Connect GitHub Enterprise Cloud to Defender for Cloud Apps and validate the activity available in your environment before relying on it for investigations.
The most striking part of this simulation was how little needed to look suspicious. The user visited the real GitHub site and approved a normal-looking request. Yet the approval belonged to a client the user had not started. From there, the consequences depended on what that identity could access and which Copilot CLI capabilities were enabled.
That is why this is more than a story about a code. As AI agents gain access to repositories, session history, and local tools, the impact of a phished authorization increasingly depends on what those agents can reach.
A legitimate verification page does not mean the request is safe. Users should approve only device-code requests they initiated. Organizations should regularly review and revoke unexpected GitHub OAuth authorizations, restrict Copilot session and memory settings to what their workflows require, and validate GitHub activity visibility in Microsoft Defender for Cloud Apps to support investigations.
Ultimately, protecting against device code phishing requires both user awareness and the ability to connect suspicious authorization activity to the phishing attempt that preceded it.
MITRE ATT&CK techniques observedThese mappings describe behaviors demonstrated in the proof-of-concept simulation, not an attributed campaign.
- T1566.002 – Phishing: Spearphishing Link (Initial Access). In the tested email delivery, a link led the user to the device authorization page and prompted approval.
- T1528 – Steal Application Access Token (Credential Access). After the test account approved the request, the attacker-controlled client obtained an OAuth token.
- Authorizing OAuth apps. GitHub Docs. Explains the OAuth device authorization flow, including how users approve requests and how applications obtain access tokens.
- Authenticating GitHub Copilot CLI. GitHub Docs. Describes the supported authentication methods for GitHub Copilot CLI.
- Remote control of GitHub Copilot CLI sessions. GitHub Docs. Explains how active Copilot CLI sessions can be accessed and controlled remotely, including relevant prerequisites.
- GitHub Copilot session data. GitHub Docs. Provides information about session history and cloud synchronization in GitHub Copilot CLI.
- Managing Copilot Memory for an enterprise, organization, or repository. GitHub Docs. Describes how administrators can manage memory settings and stored information.
- Reviewing your authorized OAuth apps. GitHub Docs. Explains how users can review and revoke OAuth application authorizations.
- Repository roles for an organization. GitHub Docs. Describes repository permission levels and how organizations can limit access according to user responsibilities.
- Protect your GitHub Enterprise environment. Microsoft Learn. Explains how to connect GitHub Enterprise Cloud to Microsoft Defender for Cloud Apps to gain visibility into GitHub activity and support security investigations.
- Configure Safe Links policies in Microsoft Defender for Office 365. Microsoft Learn. Provides configuration guidance for Safe Links protection against malicious URLs.
For the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
Review our documentation to learn more about our real-time protection capabilities and see how to enable them within your organization.
- Learn more about securing Copilot Studio agents with Microsoft Defender
- Evaluate your AI readiness with our latest Zero Trust for AI workshop.
- Microsoft 365 Copilot AI security documentation
- How Microsoft discovers and mitigates evolving attacks against AI guardrails
- Prompt injection protection in Microsoft Defender for Office 365 – official documentation of the prompt injection protection in Microsoft Defender for Office 365.
- How Microsoft discovers and mitigates evolving attacks against AI guardrails | Microsoft Security Blog
- Manipulating AI memory for profit: The rise of AI Recommendation Poisoning | Microsoft Security Blog – a related example of an AI-era technique observed in email traffic
- Defending the inbox against prompt injection attacks | Microsoft Defender for Office 365 Blog – feature announcement introducing prompt injection protection in Microsoft Defender for Office 365.
- Learn how Microsoft is reimagining the SOC for the agentic era with ISOC in Microsoft Defender
The post The risks of device code authentication for AI coding agents appeared first on Microsoft Security Blog.
High volume phishing campaign uses Microsoft 365 outage lures to target multiple industry sectors
On November 13, 2026, Microsoft Threat Intelligence observed a coordinated, high-volume phishing campaign targeting organizations across multiple sectors worldwide. The threat actors used phishing emails disguised as legitimate Microsoft 365 service-health notifications to lure recipients into clicking a malicious link. The messages created a false sense of urgency by claiming that emails had been held during a service disruption and would be deleted within 24 hours unless the recipient took action to restore them. This is consistent with historical attacker campaigns which continuously look for notable global events to exploit in their social engineering lures.
Microsoft identified the threat actor’s use of specific sender domain names, randomized outage subjects, recipient-specific tracking links, and a common non-Microsoft destination to make the messages appear relevant while complicating simple pattern matching. We assess that the activity was likely credential phishing; however, the available evidence does not confirm credential capture, malware delivery, or post-compromise activity. Multiple threat actors may continue to look for ways to exploit notable global events in any social engineering pretext.
If credentials were entered, organizations should consider the risk of account compromise, mailbox access, business email compromise, internal phishing, inbox-rule manipulation, and access to cloud collaboration data. Microsoft Defender blocks malicious domains used in this campaign, and Microsoft Defender for Office 365 blocks and quarantines phishing emails. We will continue to monitor this campaign and other related threats. Security teams can use Microsoft Defender for Office 365 and Microsoft Defender XDR capabilities to investigate messages, URLs, clicks, and potential follow-on activity.
Phishing attack overviewMicrosoft analyzed the email lures sent on November 13, 2026: the emails used the subject pattern “Outage – <random token>” and display names built from a three-character, organization-style prefix followed by “Outage Notification” or “Service Health.”
Example subject line:
- Outage – aF7vG6
Example display names:
- MSF Outage Notification
- AMZ Service Health
One example email body referenced a purported Exchange Online incident on November 12 and claimed that four messages were held after the outage. The urgency of a 24-hour deletion deadline and the prominent “RESTORE MESSAGES” call to action were intended to drive immediate interaction.
The activity used distinct sender domains, including: moments-notice[.]com, planetmaison[.]com and newbooker[.]com. The messages also used email-delivery and link-tracking infrastructure to generate recipient-specific URLs. In multiple samples, click-tracking links led to reallifeaccounting[.]com or reallifeaccounting[.]com/themelist0.html.
The sample set was link-based: no QR codes or non-EML attachments were observed, and Microsoft did not identify evidence of executable, archive, document, or other malware payload delivery. The off-brand destination and Microsoft 365 impersonation support an assessment of likely credential phishing, but the available evidence did not include the final page source, credential fields, credential-submission telemetry, or post-compromise activity. Microsoft therefore has not attributed the campaign to a named threat actor or malware family.
Figure 1. Sample of one of the Microsoft 365 outage-themed phishing lures. Attack chain overview Figure 2. Observed attack chain for the Microsoft 365 outage-themed phishing campaign.- Delivery: A user receives an email from the moments-notice[.]com, planetmaison[.]com or newbooker[.]com sender-domain cluster. The subject contains “Outage -” followed by a randomized string of character tokens. The body of the message includes a fake email conversation positioned to be hidden from the recipient and appears to be an attempt at mail filtering evasion.
- Impersonation: The message poses as a Microsoft 365 service-health notification, uses a target-specific display-name prefix, and references Exchange Online, Outlook, Teams, SharePoint, and Copilot.
- Social engineering: The lure claims that messages were held during an outage and will be deleted within 24 hours, creating urgency and fear of lost business email.
- User interaction: The recipient selects “RESTORE MESSAGES” or “TAKE ACTION”. A recipient-specific tracking URL records or routes the click.
- Redirect: The observed link chain leads to reallifeaccounting[.]com, including the path /themelist0.html in some samples.
- Assessed threat actor objectives: Microsoft assesses that the activity was likely intended to capture credentials. Credential submission and subsequent account compromise were not directly observed in the supplied evidence.
Messages in environments protected by Microsoft Defender for Office are currently blocked/quarantined, and we have not observed any indicators of compromise from this attack.
However, organizations can consider taking the following steps:
- Search for and remove phishing messages. Search mail telemetry for the observed sender domains, display-name and subject patterns, lure phrases, tracking hosts, and destination domain. Quarantine matching messages and remove delivered copies in accordance with organizational response procedures.
- Identify users who clicked campaign links. Identify users who selected campaign links. Review click telemetry, proxy logs, and browser or endpoint evidence to determine whether the destination was reached and whether credentials may have been entered.
- Reset credentials and investigate potentially compromised accounts For any user who may have entered credentials, reset the password, revoke active sessions and refresh tokens, and verify multifactor authentication registrations. Review the account for suspicious sign-ins, OAuth consent, new inbox or forwarding rules, delegate permissions, and unusual access to Exchange Online, SharePoint, OneDrive, or Teams.
- Block or closely monitor campaign infrastructure. Block or closely scrutinize reallifeaccounting[.]com and the observed /themelist0.html path while the activity is investigated. Avoid broadly blocking shared email-delivery infrastructure based only on this campaign; combine sender, content, URL, and behavioral signals to reduce collateral impact.
- Remind users how to verify legitimate service-health communications. Remind users that legitimate Microsoft 365 service-health communications do not direct them to non-Microsoft domains to recover held mail. Validate service issues through the Microsoft 365 admin center rather than through unsolicited email links.
- Require multifactor authentication and prioritize phishing-resistant methods, such as passkeys or security keys, where possible.
- Review and enable Safe Links and Safe Attachments policies in Microsoft Defender for Office 365.
- Enable Zero-hour auto purge (ZAP) to help retroactively neutralize phishing, spam, or malware messages that were delivered before new threat intelligence became available.
- Use Attack simulation training and ongoing awareness guidance to help users recognize outage-themed urgency, sender-domain mismatches, and requests to restore or release messages.
- Encourage users to report suspicious messages through the organization’s established Outlook reporting workflow so security teams and Microsoft can investigate quickly.
Security Copilot customers can use the standalone experience to create their own prompts or run the following prebuilt promptbooks to automate incident response or investigation tasks related to this threat:
- Incident investigation: Summarize related alerts and incidents and identify the affected users and devices.
- Microsoft User analysis: Review the activity of users who selected the campaign links. This includes sign-ins, MFA-method changes, inbox or forwarding rules, and OAuth grants.
Note that some promptbooks require access to plugins for Microsoft products such as Microsoft Defender XDR or Microsoft Sentinel.
Microsoft Defender XDR Threat analyticsHigh volume phishing campaign uses Microsoft 365 Outage lures to target multiple industry sectors.
Advanced hunting queriesThese sample queries search for campaign characteristics in Microsoft Defender XDR. Review the results in the context of your environment and adjust the indicators only after validation. The queries do not set a time range; use the advanced hunting time selector for the period you want to investigate.
Find messages by sender domain or subject pattern
This query searches for the observed sender-domain clusters and the randomized outage subject pattern.
let campaignDomains = dynamic([ "moments-notice.com", "em4493.moments-notice.com", "newbooker.com", "em.newbooker.com" ]); EmailEvents | where SenderFromDomain in~ (campaignDomains) or Subject matches regex @"(?i)^(?:\[external\]\s*|\*external\*\s*)?outage\s*-\s*[a-z0-9]{6}$" | project Timestamp, NetworkMessageId, RecipientEmailAddress, SenderFromAddress, SenderFromDomain, SenderDisplayName, Subject, DeliveryAction, DeliveryLocation | order by Timestamp descFind messages containing campaign URLs
This query identifies message URLs that contain the observed destination, click-tracking hosts, or tracking-pixel pattern, and joins the results to message metadata.
let campaignUrlParts = dynamic([ "reallifeaccounting.com", "u113727626.ct.sendgrid.net/ls/click", "url.newbooker.com/ls/click", "162.120.17.69:8080/t/v3." ]); EmailUrlInfo | where Url has_any (campaignUrlParts) | project NetworkMessageId, Url, UrlDomain, UrlLocation | join kind=inner ( EmailEvents | project Timestamp, NetworkMessageId, RecipientEmailAddress, SenderFromAddress, SenderFromDomain, SenderDisplayName, Subject, DeliveryAction, DeliveryLocation ) on NetworkMessageId | project Timestamp, RecipientEmailAddress, SenderFromAddress, SenderFromDomain, SenderDisplayName, Subject, Url, UrlDomain, UrlLocation, DeliveryAction, DeliveryLocation, NetworkMessageId | order by Timestamp descInvestigate user clicks on campaign URLs
This query searches click telemetry for the observed destination and tracking patterns so investigators can identify affected users and determine whether clicks were allowed.
let campaignUrlParts = dynamic([ "reallifeaccounting.com", "u113727626.ct.sendgrid.net/ls/click", "url.newbooker.com/ls/click", "162.120.17.69:8080/t/v3." ]); UrlClickEvents | where Url has_any (campaignUrlParts) | project Timestamp, AccountUpn, Url, ActionType, Workload, NetworkMessageId, IPAddress, IsClickedThrough, UrlChain | order by Timestamp descFor users who interacted with campaign links, also investigate:
- Unusual sign-ins
- New devices or user agents
- MFA-method changes
- OAuth grants
- Inbox or forwarding rules
- Delegate permissions
- Unusual access to mailbox or collaboration data
These behaviors were not observed in the source messages, they are post-click investigation targets for suspected Microsoft 365 credential phishing.
MITRE ATT&CK Techniques observedThe activity exhibited the following techniques. Microsoft did not map credential capture, malware execution, command and control, or data exfiltration because the available evidence did not directly demonstrate those actions.
Initial Access
- T1566.002 Phishing: Spearphishing Link | Messages contained a “RESTORE MESSAGES” link that used tracked redirect URLs and led to a non-Microsoft destination.
Defense Evasion
- T1036 Masquerading | Messages impersonated Microsoft 365 service-health communications and used Microsoft product names and copyright language.
Execution
- T1204.001 User Execution: Malicious Link | Recipients were urged to select a link within 24 hours to prevent the alleged deletion of held messages.
The following defanged indicators were observed in the campaign and should be validated in the context of each environment before blocking. Shared service-provider infrastructure can generate false positives when used without the accompanying sender, content, and behavioral signals.
IndicatorTypeContextmoments-notice[.]comDomainObserved sender-domain cluster.planetmaison[.]comDomainObserved sender-domain cluster.em4493[.]moments-notice[.]comDomainObserved mail-from or bounce subdomain.newbooker[.]comDomainObserved sender-domain cluster.em[.]newbooker[.]comDomainObserved mail-from or bounce subdomain.url[.]newbooker[.]comDomainObserved click/open tracking host.url7489[.]newbooker[.]comDomainObserved click/open tracking host.u113727626[.]ct[.]sendgrid[.]netDomainObserved click/open tracking host; assess with campaign context because the parent service can be shared.u118254266[.]ct[.]sendgrid[.]netDomain Observed click/open tracking host; assess with campaign context because the parent service can be shared.u118250677[.]ct[.]sendgrid[.]netDomainObserved click/open tracking host; assess with campaign context because the parent service can be shared. reallifeaccounting[.]comDomainPrincipal downstream destination observed in multiple messages.outagefixed[.]sbsDomainDownstream destination observed in some messages.outagerestored[.]sbsDomainDownstream destination observed in some messages. hxxps://reallifeaccounting[.]com/themelist0[.]htmlURLObserved destination path.hxxps://outagerestored[.]sbs/topics_pxyk/themelist0[.]html URLObserved destination path. 162[.]120[.]17[.]69:8080IP and portObserved host for individualized /t/v3…/px[.]png resources.Outage – <random>Subject patternObserved randomized subject format; external-mail tags may precede it.Strengthen – Security <random>Subject patternObserved randomized subject format; external-mail tags may precede it. Restore — 4 messages <random>Subject patternObserved randomized subject format; external-mail tags may precede it. References- Safe Links in Microsoft Defender for Office 365
- Safe Attachments in Microsoft Defender for Office 365
- Zero-hour auto purge in Microsoft Defender for Office 365
- Attack simulation training in Microsoft Defender for Office 365
- MITRE ATT&CK T1566.002: Phishing – Spearphishing Link
- MITRE ATT&CK T1036: Masquerading
- MITRE ATT&CK T1204.001: User Execution – Malicious Link
For the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
Review our documentation to learn more about our real-time protection capabilities and see how to enable them within your organization.
- Learn more about securing Copilot Studio agents with Microsoft Defender
- Evaluate your AI readiness with our latest Zero Trust for AI workshop.
- Microsoft 365 Copilot AI security documentation
- How Microsoft discovers and mitigates evolving attacks against AI guardrails
- Prompt injection protection in Microsoft Defender for Office 365 – official documentation of the prompt injection protection in Microsoft Defender for Office 365.
- How Microsoft discovers and mitigates evolving attacks against AI guardrails | Microsoft Security Blog
- Manipulating AI memory for profit: The rise of AI Recommendation Poisoning | Microsoft Security Blog – a related example of an AI-era technique observed in email traffic
- Defending the inbox against prompt injection attacks | Microsoft Defender for Office 365 Blog – feature announcement introducing prompt injection protection in Microsoft Defender for Office 365.
- Learn how Microsoft is reimagining the SOC for the agentic era with ISOC in Microsoft Defender
The post High volume phishing campaign uses Microsoft 365 outage lures to target multiple industry sectors appeared first on Microsoft Security Blog.
SCKit abuses ScreenConnect to deploy remote access and target technician sessions
- ScreenConnect architecture and attack surfaces
- Attack chain overview
- Mitigation and protection guidance
- Indicators of compromise and supporting artifacts
- References
- Learn More
Beginning on November 11, 2026, ConnectWise reported an active campaign of a threat actor gaining unauthorized access to cloud-hosted ConnectWise ScreenConnect instances belonging to managed service providers (MSPs). Microsoft Threat Intelligence has confirmed ConnectWise’s reported activity and we have also observed threat actors abusing ScreenConnect, a legitimate remote-support application, to install unauthorized remote-access clients and deploy a malicious worm, SCKit, on ConnectWise customer managed endpoints.
Additionally, Microsoft analyzed the malicious worm’s behavior: deployment starts with commands issued through ScreenConnect to silently install an identical client connected to threat actor-controlled infrastructure. A batch launcher retrieves a PowerShell decoder that decrypts and extracts SCKit using device-specific key material. The toolkit establishes persistence through scheduled tasks and registry Run entries and deploys RelayTrap, a component designed to deliver a malicious payload to a connecting technician.
We have identified that the worm targets IT support technician workstations using the hijacked authenticated ScreenConnect Session and uses the victim’s management console to distribute payloads to other managed devices. The resulting access to either target enables threat actors to remotely administer affected endpoints, execute commands, and deploy further tools independently of the legitimate support instance.
Defenders should investigate technician workstations and downstream affected endpoints. Removing an unauthorized client alone does not remove the toolkit’s persistence or invalidate exposed web sessions. In this blog, we examine SCKit’s attack chain and payload components and provide mitigation guidance, indicators of compromise, and Microsoft Defender XDR advanced hunting queries to help organizations identify and disrupt this activity.
ScreenConnect architecture and attack surfacesScreenConnect, formerly ConnectWise Control, is a remote-support and access platform used by MSPs to administer customer devices, often alongside remote monitoring and management (RMM) software. Its operating model has three parts:
- Management instance. A cloud-hosted or on-premises ScreenConnect server provides the web console and manages sessions. Its relay service carries communication between the technician and endpoint clients.
- Technician workstation. Support staff sign in to the console through a browser and launch a local host client for interactive support.
- Customer endpoint. An installed guest, or access, client maintains unattended access and executes commands delivered through ScreenConnect.
An Access session provides persistent, unattended access through the installed client. A Support session is a temporary connection that an end user joins for assistance. ScreenConnect also supports remote commands from the web console without an interactive technician session. The endpoint client receives the command and runs it on the customer device; the technician workstation is not an intermediary for that execution.
Reported server-side entry through extensionsExtensions are add-ons installed on the ScreenConnect server to add features or integrate with other products, including ticketing and RMM tools. ConnectWise Automate was formerly named LabTech; Labtech Plus is a third-party extension, not the Automate product itself. The RMM+ extension family exposes remote-command APIs protected by a separately configured passphrase rather than the technician’s normal console sign-in.
ConnectWise’s advisory describes a reported authentication flaw in RMM+ versions 1.0.31 and 1.0.32: when no access key was configured, the extension accepted an empty key. In that configuration, an unauthorized caller could submit commands to the server’s API for delivery to managed endpoints without a normal ScreenConnect user sign-in. ConnectWise is investigating extension abuse as an initial-access route; the entry method for the reported campaign remains under investigation.
A separate path from customer endpoints to techniciansSCKit is a malware toolkit that includes RelayTrap, a malicious replacement for the ScreenConnect client on an affected customer endpoint. RelayTrap is designed to deliver a payload to a technician’s workstation when they connect for support. ConnectWise states that the fix for CVE-2026-84869 blocks the toolkit’s attempted endpoint-to-technician spread. This client-side attack path is separate from the server-side access used to deploy SCKit.
Figure 1. ScreenConnect’s three operating roles and two distinct attack surfaces. The reported RMM+ entry route targets a server-side extension; RelayTrap targets the client on a connecting technician’s workstation. Attack chain overviewThe deployment sequence below runs on the customer endpoint. It establishes a separate remote-access connection and prepares the scripts and RelayTrap component that target a later technician
Figure 2. SCKit deployment on a customer endpoint and its technician-targeting capabilities. The dashed path describes the toolkit’s propagation design, not a confirmed sequence of infections. 1. ScreenConnect commands install an additional clientThe threat actor uses the MSP’s ScreenConnect management instance to direct the installed endpoint client to start cmd.exe. That local process invokes curl.exe to download an MSI over HTTP from an attacker-controlled ScreenConnect server. The command requests /Bin/ScreenConnect.ClientSetup.msi with access-session parameters and a c=Exploited<N> marker (c=Exploited9 in the illustrated command), and saves the installer to C:\Windows\Temp\sc.msi.
Figure 3. Command delivered through ScreenConnect and executed on the customer endpoint to download the client MSI. The attacker-controlled server’s IP is redacted.Windows Installer then installs the package silently on that endpoint, without restarting it, using /i, /qn, and /norestart. The added client connects to an attacker-controlled ScreenConnect instance, creating a remote-access channel separate from the MSP’s approved instance. Securing access to the legitimate console does not remove this additional client or its connection.
2. A batch launcher retrieves the PowerShell decoderFurther commands on the customer endpoint stage the toolkit. A PowerShell command decodes a URL-safe Base64 string and writes the result to a batch file in Windows Temp. The batch sets BATPATH to its own location, downloads the decoder from ns[.]mo7sen[.]dev/EadF.php?p=4, and starts it with -Mode full.
The decoder reads BATPATH, or falls back to SCKIT_SELF, to locate the launcher. Its hidden-relaunch branch creates a VBScript wrapper and runs it through wscript.exe to start the same batch without a visible window.
The scripts use the following p values at the same server path to request individual components:
Request selectorComponentRole in the chainp=4DecoderDownloads, decrypts, and expands the toolkitp=3&m=<machine-guid>Encrypted bundleCarries scripts, configuration, and trap componentsp=5SQLite utilitySupports browser-cookie database queriesp=1&m=<machine-guid>Encrypted scriptSupplies the loader’s next PowerShell stagep=6&m=<machine-guid>Cleanup componentRemoves an old trap before optional redeployment 3. The decoder decrypts and extracts the SCKit bundleThe decoder reads MachineGuid from HKLM\SOFTWARE\Microsoft\Cryptography and includes it as the m request parameter. The response provides a Base64-encoded body and two headers, X-Lab-Half and X-Lab-Salt.
To derive the decryption key, the decoder hashes the UTF-8 machine identifier with SHA-256, XORs that hash with 32 bytes decoded from X-Lab-Half, and appends the machine-identifier bytes to the recovered secret material. PBKDF2-HMAC-SHA256 then derives a 32-byte key using the response salt and 4,096 iterations.
The decoder uses the first 16 bytes of the decoded response body as the initialization vector (IV). It decrypts the remaining bytes using AES-256-CBC with PKCS7 padding, decompresses the plaintext with GZip, and writes the resulting ZIP archive. The archive is then extracted to %TEMP%\SCKitBundle.
Figure 4. Selected decoder code for key derivation, decryption, decompression, and bundle extraction.In full mode, the decoder prepares %TEMP%\SCKit\trapkit\payload and stages the watcher, installer, alert script, and RelayTrap.cs. It also copies its batch launcher into the payload directory for RelayTrap to distribute. The copied launcher retrieves the decoder and starts toolkit deployment.
The decoder also stages ToolboxRelayUploader.exe for console-based payload distribution and retrieves sqlite3.exe for browser-cookie queries if a suitable copy is absent. It includes two launch paths: full mode starts the distribution script without a separate configuration file and supplies a local script path; the other path stages a helper and lab-context.json and passes -SkipLocalExecution.
4. Additional component: PowerShell script loaderAlongside the bundle decoder, SCKit includes a separate loader for encrypted PowerShell scripts. Unlike the decoder, which retrieves and expands an archive, this component requests a script using p=1 with the machine identifier. It applies the same secret-recovery, PBKDF2, AES-CBC, and GZip operations, but uses a salt embedded in its source rather than one supplied in a response header.
After decompression, the loader converts the bytes to UTF-8 text and writes %TEMP%\k<32-hex>.ps1, using a newly generated random GUID for the filename. It starts a hidden PowerShell process to run the file with the forwarded arguments, then attempts to remove the script after the child process exits.
Figure 5. Temporary script creation, execution, and cleanup in the PowerShell script loader. 5. RelayTrap adds persistence and targets connecting techniciansOn the customer endpoint, persistence keeps the toolkit available for a later support connection. The deployment places scripts under C:\ProgramData\RelayTrap. The RelayTrapLiteAlert value in the machine-wide CurrentVersion\Run key launches an alert script at user logon. A scheduled task starts the watcher with a payload filename and lists of client identifiers and relay hosts to exclude. The -PollSeconds 10 argument configures the watcher to poll every 10 seconds.
The watcher enumerates ScreenConnect client services and reads their executable paths and connection parameters. For each client, its build routine creates a directory under trapbins, copies libraries from that client’s installation, and uses the .NET C# compiler to build RelayTrap.exe. It checks for changes to the source or client libraries before rebuilding.
Figure 6. The endpoint-side watcher builds RelayTrap using libraries from the corresponding ScreenConnect client.RelayTrap is designed to reuse the customer endpoint’s ScreenConnect connection details in place of its normal client. When a technician connects with a vulnerable host client, RelayTrap attempts to deliver the staged batch launcher through that session. The launcher retrieves the same decoder, extending the toolkit’s deployment design from the customer device to the technician workstation. Configured skip lists exclude specified client identifiers and relay hosts from processing.
ScreenConnect services are also configured for automatic startup. Registry writes target Microsoft Defender Antivirus path exclusions for staged MSI copies and CWInstall_…\Installer.ps1. The installer configuration lists sc[.]payproofkit[.]com and cdn007-digitaldownloads[.]com as additional ScreenConnect MSI sources. A subsequent curl.exe command downloads another client installer from sc[.]payproofkit[.]com.
6. Browser access targets authenticated ScreenConnect sessionsSCKit also targets the technician’s browser, which is used to sign in to the management console. The browser-access code searches Chrome, Edge, Opera, and Opera GX profiles for cookies named .ASPXAUTH. Its database route identifies associated hosts and queries encrypted cookie values. It copies cookie databases and their supporting files, with a volume-shadow-copy fallback for locked databases. The decryption code uses the Chromium master key and the Windows Data Protection API (DPAPI) in the current user’s context, with AES-GCM routines for v10 and v11 cookie values.
The memory-scanning route first examines browser network-service processes identified by network.mojom.NetworkService in their command lines. An embedded C# scanner uses OpenProcess, VirtualQueryEx, and ReadProcessMemory to inspect readable committed memory regions for cookie strings and nearby host strings. If the initial scan finds no candidates, it scans other browser processes.
Figure 7. Database queries and browser-memory scanning target ScreenConnect authentication cookies.The console-distribution component is designed to combine an authentication cookie with the required anti-forgery and access tokens, enumerate accessible sessions, upload a payload using ToolboxRelayUploader.exe, and queue execution through the Shared Toolbox. The workflow also includes removing the uploaded Toolbox item after distribution.
This component targets the technician’s management-console access, rather than only the original customer device. The account’s permissions determine which additional sessions and devices the distribution workflow can reach.
7. Cleanup and redeploymentThe toolkit’s cleanup script places a stop marker in the trap directory. It removes trap-related tasks, services, processes, Run entries, and files, and restores ScreenConnect client services unless client removal was requested. It then removes any remaining stop marker to allow a newly deployed watcher to run.
After running the cleanup script, the decoder’s cleanup mode starts the bundled dropper again unless -NoReArm is set. Cleanup therefore also serves as a path to redeploy the toolkit.
Figure 8. Cleanup restores ScreenConnect services; the decoder checks NoReArm before starting the bundled dropper again. Mitigation and protection guidance Secure ScreenConnect administration and technician clientsAddress the server-side extension APIs and technician clients separately. Extension authentication and client-side file transfer are different attack surfaces; securing one does not remove the other or an existing endpoint installation.
- Keep the identified extensions disabled. Follow the vendor advisory for Labtech Plus, RMM Plus, RMM+, RMM Plus Password Link, and RMM+ Password Link. Review their installation and configuration history alongside administrative access.
- Update technician clients separately from the console. ConnectWise states that ScreenConnect client 26.6.5 and later block the toolkit’s attempted endpoint-to-technician transfer technique. The fix for CVE-2026-84869 was released on September 8, 2026. Verify each technician client’s installed version; a cloud-console update does not automatically update those clients. The vendor bulletin also describes temporary file-transfer restrictions while updates are pending.
- Investigate through a separate channel. Use Microsoft Defender for Endpoint live response or another approved out-of-band method instead of ScreenConnect on a suspected affected device. Isolate affected endpoints and include connecting technician workstations in scope.
- Preserve console and endpoint evidence. Retain extension, authentication, Run Command, and Toolbox records together with process, file, task, and registry history. Review Toolbox history for tools removed after use, and inspect queued commands and tools before reconnecting devices.
- Revoke exposed sessions from a clean device. Invalidate affected ScreenConnect web sessions and associated identity-provider sessions, rotate exposed credentials, and review accounts and permissions. Password changes alone do not address every existing session.
- Remove persistence and unapproved clients. Validate each client’s enrolled instance and relay destination before removing it. Remove malicious tasks, Run values, trap files, and unauthorized exclusions through approved response tooling. Do not use a cleanup script recovered from the kit as a remediation tool.
- Verify the complete state before restoring connectivity. Confirm approved services and destinations, effective antivirus settings, and the absence of re-created tasks or scripts. Review tamper-protection events when investigating exclusion changes. Rebuild devices when integrity cannot be established.
Keep Microsoft Defender Antivirus, cloud-delivered protection, and tamper protection enabled. Verify that devices meet the requirements for protecting antivirus exclusions. Maintain an inventory of authorized remote-management instances and use application control to restrict unapproved software.
Microsoft Defender XDR detectionsMicrosoft Defender XDR customers can use the following Microsoft Defender for Endpoint alert titles to investigate activity associated with this threat. Review related alerts together with device timelines and ScreenConnect audit records to trace command execution, persistence, browser-data access, and network connections.
TacticActivityMicrosoft Defender coverageExecutionScreenConnect remote commands launch command-shell, batch, and PowerShell stages.Microsoft Defender Antivirus– Trojan:Win32/SuspScreenConnectDownload.EA – Trojan:Win32/Tikise.EA!cmd
– Trojan:Win32/SuspScreenConnectDownload.EA
Microsoft Defender for Endpoint
– Suspicious command execution via ScreenConnectPersistenceAdditional ScreenConnect clients and automatic-start services provide remote access. The RelayTrapLiteAlert Run entry and scheduled tasks launch RelayTrap scripts.Microsoft Defender Antivirus
– Trojan:PowerShell/RelayPersist.FC!MTB
Microsoft Defender for Endpoint
– Suspicious installation of remote management software
– Anomaly detected in ASEP registry
– Suspicious Scheduled Task Process LaunchedDefense evasionThe loader attempts to remove its temporary PowerShell payload. Registry writes target Microsoft Defender Antivirus path exclusions.Microsoft Defender Antivirus
– Trojan:PowerShell/SCRelayTrap.EC!MTB
Microsoft Defender for Endpoint
– Possible PowerShell indicator removal
– Suspicious Microsoft Defender Antivirus exclusionCredential accessThe browser component queries .ASPXAUTH cookies, scans browser memory, and uses DPAPI in its decryption routines.Microsoft Defender Antivirus
– Trojan:BAT/Tikise.A
– Trojan:BAT/Tikise.B
– Trojan:BAT/Tikise.C
– Trojan:BAT/Tikise.D
– Trojan:PowerShell/Tikise.A
– Trojan:PowerShell/Tikise.B
– Trojan:PowerShell/Tikise.C
– Trojan:PowerShell/Tikise.D
– Trojan:PowerShell/Tikise.E
– Trojan:PowerShell/Tikise.F
Microsoft Defender for Endpoint
– Possible theft of passwords and other sensitive web browser information
– Suspicious DPAPI ActivityCommand and controlPowerShell and curl.exe retrieve the decoder, toolkit components, and client installers from campaign infrastructure.Microsoft Defender for Endpoint
– Command-line process communicating with malicious network endpoint
– Powershell made a suspicious network connectionMultiple tacticsIntrusion activity spans remote commands, client installation, persistence, and security-setting changes.Microsoft Defender Antivirus
– HackTool:Win32/ToolboxRelayUploader
– Trojan:PowerShell/ScreenConnect.SC!MTB
– Trojan:PowerShell/ScreenConnect.DC!MTB
Microsoft Defender for Endpoint
– Potential human-operated malicious activity Threat intelligence reports
Microsoft Defender XDR customers can use the following threat analytics report to get the latest intelligence on SCKit and the abuse of ScreenConnect, including protection status, affected assets, and recommended actions for their environment.
Microsoft Defender XDR Threat analytics and Secure NowCustomers can access the threat analytics report: SCKit abuses ScreenConnect to deploy remote access and target technician sessions
Customers can also access recommended controls and guidance on Secure Now.
Advanced hunting queriesEach query below runs independently and uses a 14-day lookback. Adjust the time range to the investigation window and available retention, and correlate results with approved administrative activity.
Connections to campaign infrastructure
Find connections to the listed domains and IP addresses. Review the full destination, initiating process, and approved remote-support infrastructure for each match.
DeviceNetworkEvents | where Timestamp > ago(14d) | where RemoteUrl has_any ( "ns.mo7sen.dev", "sc.payproofkit.com", "newnewnew.gotdns.org", "soxnewwork.homedns.org", "cdn007-digitaldownloads.com") or RemoteIP in ("185.99.255.28", "155.94.150.39") | project Timestamp, DeviceId, DeviceName, RemoteUrl, RemoteIP, InitiatingProcessFileName, InitiatingProcessCommandLine, ReportIdToolkit command lines and cookie-query activity
Find command lines containing distinctive toolkit names, staging paths, installer markers, or cookie-query strings.
DeviceProcessEvents | where Timestamp > ago(14d) | where ProcessCommandLine contains "/EadF.php" or ProcessCommandLine contains "SCKit" or ProcessCommandLine contains "RelayTrap" or ProcessCommandLine contains "Panel-Lateral" or ProcessCommandLine contains "ToolboxRelayUploader" or ProcessCommandLine contains ".ASPXAUTH" or ProcessCommandLine contains "c=Exploited" | project Timestamp, DeviceId, DeviceName, FileName, ProcessCommandLine, InitiatingProcessFileName, ReportIdKnown installer, archive, and uploader files
Find file events for the sc.msi package, staged ZIP, and uploader using their SHA-1 hashes. The query uses SHA-1 because SHA256 is usually unpopulated in DeviceFileEvents. Combine hash matches with command-line and persistence findings.
DeviceFileEvents | where Timestamp > ago(14d) | where SHA1 in~ ( "0be01e7bd69cfdd222645d49bb5ad9961372fef2", "3f81c9c874a896c46e4bccea2fad2eaa3d9f2054", "13ce33b19daee3963f7e15d461b191c38f6bc0d3") | project Timestamp, DeviceId, DeviceName, FileName, FolderPath, SHA1, InitiatingProcessFileName, ReportIdRegistry values referencing RelayTrap
Find writes to the RelayTrapLiteAlert value or values containing RelayTrap. Review the registry key, value data, and initiating process.
DeviceRegistryEvents | where Timestamp > ago(14d) | where ActionType == "RegistryValueSet" | where RegistryValueName =~ "RelayTrapLiteAlert" or RegistryValueData contains "RelayTrap" | project Timestamp, DeviceId, DeviceName, RegistryKey, RegistryValueName, RegistryValueData, InitiatingProcessFileName, ReportIdRelayTrap scheduled-task events
Find scheduled-task events containing RelayTrap or TrapWatch. Inspect the task definition to identify its triggers, executable, and arguments.
DeviceEvents | where Timestamp > ago(14d) | where ActionType contains "ScheduledTask" | where AdditionalFields contains "RelayTrap" or AdditionalFields contains "TrapWatch" | project Timestamp, DeviceId, DeviceName, ActionType, AdditionalFields, InitiatingProcessFileName, ReportIdMicrosoft Defender Antivirus path-exclusion writes
Find Microsoft Defender Antivirus path-exclusion registry writes. Review changes naming Windows Temp, ConnectWiseControl_, CWInstall_, or RelayTrap, and verify their authorization and effective policy.
DeviceRegistryEvents | where Timestamp > ago(14d) | where ActionType == "RegistryValueSet" | where RegistryKey contains @"\Windows Defender\Exclusions\Paths" | project Timestamp, DeviceId, DeviceName, RegistryKey, RegistryValueName, RegistryValueData, InitiatingProcessFileName, ReportIdSCKit – Generated PowerShell Loader Artifacts
Identifies temporary PowerShell files matching the k<32-hex>.ps1 naming pattern generated by the SCKit loader, potentially revealing staged payloads independently of known file hashes or infrastructure.
DeviceFileEvents | where Timestamp > ago(30d) | where FileName matches regex @"(?i)^k[0-9a-f]{32}\.ps1$" | project Timestamp, DeviceId, DeviceName, ActionType, FileName, FolderPath, SHA256, InitiatingProcessFileName Indicators of compromise and supporting artifactsNetwork addresses are defanged. Use the installer hashes to locate the listed packages, then verify the client’s enrolled ScreenConnect instance and related activity. The toolkit also uses the legitimate SQLite utility; investigate its use alongside the browser-cookie queries described above.
Network infrastructure Indicator Type Role ns[.]mo7sen[.]dev Domain Decoder, bundle, script, and utility retrieval sc[.]payproofkit[.]com Domain Unauthorized ScreenConnect panel and installer source cdn007-digitaldownloads[.]com Domain Campaign infrastructure; configured installer source newnewnew[.]gotdns[.]org Domain Associated ScreenConnect relay soxnewwork[.]homedns[.]org Domain Associated ScreenConnect relay 185[.]99[.]255[.]28 IPv4 Unauthorized ScreenConnect server and installer source 155[.]94[.]150[.]39 IPv4 Address associated with the unauthorized panel File hashesHashes identify individual files. The watcher compiles RelayTrap against local client libraries, and embedded configuration changes script hashes. Use file and process behavior to investigate other builds. The table includes configuration, cleanup, and proof artifacts to support the investigation.
Indicator Type Role 61a672a13f03a9e81f573535ee92b1ed6cb7e848a33a06048865312d4e185ae2 SHA-256 sc.msi installer package 8e6912deed82e80bb6bd66f73509d024b1f78b993515366d8317e69a97cff4f4 SHA-256 Staged toolkit ZIP 8cb5f48bbe70b5248db7f327f3d1ad6649df5c767d2a7e0711ee147fd92e06af SHA-256 ToolboxRelayUploader.exe 94b93c649b0ae0281352da9d01761fa9195ab1e6ac7010af3b9ba1646355eb11 SHA-256 Panel-Lateral-free.ps1 7a9aca9fdd4dcc13fe497cabdb13ca1e5d6a529271c8aa495e5ca1c1c80271ec SHA-256 Panel-Lateral.ps1 b93f10f30ee453d1e1c046fec9d141c41d7680be5cd46c3aeb3febe0f4953b4d SHA-256 LabConfig.ps1 helper 3c7a98f0fdb6235b8076319c74dc1085f7b349b6d750416dd0cadb07d7972ec4 SHA-256 RelayTrap.cs source d2ed7a7bf4f8ac9c7969e9b3a07ebd4dda0d858f372c876ac0a041611698de9a SHA-256 TrapWatch.ps1 4a1dd3cd2ea14368afadf7e9dfdd63b104e3981ef8c85bbb6510919b810af04b SHA-256 trapkit\install.ps1 cf50d73fa8117a758093b1344de41cd6a6ccddc645cdda1fa91a9264efe93956 SHA-256 Lite-Alert.ps1 81cc2baa35b798d6084bd078662fa29ff28df02c46c6ccdb2b43bde97d19f781 SHA-256 Stage0Loader.ps1 43b7a5e56f9e6c7b74e1ce2b7b5af63f383084625fcc2d3a5985fa1059e2db95 SHA-256 Run-Lateral-Full.bat 50659748723e906c8b3d3c0386bd4cf692f693a3e23639398c1a14d0c31fed61 SHA-256 runnew.cmd 5dd3a6ba806ac472663e243cfc1c034c534d5d9a42ec362c3dbf0f8d950148d0 SHA-256 Stop-LabTrap.bat cleanup-mode launcher 454c43d296b1276bde9a4f6ff1da2221cb35ccdb2fc7991bdd572e45bce12a8a SHA-256 TRAP-PROOF.bat proof artifact 0be01e7bd69cfdd222645d49bb5ad9961372fef2 SHA-1 sc.msi; 3f81c9c874a896c46e4bccea2fad2eaa3d9f2054 SHA-1 Staged toolkit ZIP;13ce33b19daee3963f7e15d461b191c38f6bc0d3 SHA-1 Uploader; Client identifiers and behavioral artifacts Indicator Type Role 2588ef5c15954b10 Client ID Unauthorized ScreenConnect client identifier ed630cc2c873b091 Client ID Unauthorized ScreenConnect client identifier References- ConnectWise security investigation and partner guidance (advisory covering the RMM+ extension authentication flaw). ConnectWise (accessed 2026-11-13)
- ScreenConnect security bulletin, 2026-09-08 (CVE-2026-84869 fix and client 26.6.5 guidance). ConnectWise (accessed 2026-11-13)
- ScreenConnect extensions. ConnectWise (accessed 2026-11-13)
- 6 tips for ConnectWise Control partners (remote commands from the web console). ConnectWise (accessed 2026-11-13)
- Requirements for protecting antivirus exclusions with tamper protection. Microsoft Learn (accessed 2026-11-13)
- Investigate entities on devices using live response. Microsoft Learn (accessed 2026-11-13)
- Take response actions on a device. Microsoft Learn (accessed 2026-11-13)
- Advanced hunting best practices in Microsoft Defender XDR. Microsoft Learn (accessed 2026-11-13)
- DeviceFileEvents table (advanced hunting schema). Microsoft Learn (accessed 2026-11-13)
For the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
Review our documentation to learn more about our real-time protection capabilities and see how to enable them within your organization.
- Learn more about securing Copilot Studio agents with Microsoft Defender
- Evaluate your AI readiness with our latest Zero Trust for AI workshop.
- Microsoft 365 Copilot AI security documentation
- How Microsoft discovers and mitigates evolving attacks against AI guardrails
- Prompt injection protection in Microsoft Defender for Office 365 – official documentation of the prompt injection protection in Microsoft Defender for Office 365.
- How Microsoft discovers and mitigates evolving attacks against AI guardrails | Microsoft Security Blog
- Manipulating AI memory for profit: The rise of AI Recommendation Poisoning | Microsoft Security Blog – a related example of an AI-era technique observed in email traffic
- Defending the inbox against prompt injection attacks | Microsoft Defender for Office 365 Blog – feature announcement introducing prompt injection protection in Microsoft Defender for Office 365.
- Learn how Microsoft is reimagining the SOC for the agentic era with ISOC in Microsoft Defender
The post SCKit abuses ScreenConnect to deploy remote access and target technician sessions appeared first on Microsoft Security Blog.
Trained to betray: How post-training supply chain attacks hijack coding agents
- Dataset poisoning: Teaching agents to discover and misuse tools
- Model poisoning: Building reliable backdoors that persist and transfer
- What the studies show about agent backdoors
- Mitigation and protection guidance
- Securing agents beyond the model
- References
- Learn More
As organizations increasingly deploy specialized AI agents, trust cannot depend solely on a model behaving as expected during evaluation or normal use. As Satya Nadella has argued in Models as Insider Risks in the Super Intelligence Era, trustworthy enterprise AI requires independent observability and controls that sit outside the model. Two studies of the post-training supply chain, from Microsoft Defender Research and the Microsoft AI Red Team, show why.
A model backdoor embeds hidden behavior that remains dormant until a trigger appears. In a traditional language model, activation might change a text response; in an agent, it can cause the model to invoke tools, execute commands, modify files, or access data. The two studies examine attacks with different levels of access.
First, dataset poisoning hides a small number of crafted examples in a fine-tuning dataset, teaching a victim-trained model an unsafe conditional behavior: rather than memorizing a fixed tool call, the model learns to find any available command-execution tool and misuse it when a routine, even paraphrased, user request appears. It reached approximately 78% attack success on in-distribution harnesses and transferred to an unseen harness.
Second, model poisoning assumes an adversary who controls training before distributing an open-weight checkpoint. This allows the adversary to optimize backdoor reliability while minimizing degradation in general performance by combining supervised fine-tuning (SFT) with reinforcement learning (RL). In this setting, average success on unseen repositories reached 84.1% to 94.8%, with additional transfer across coding harnesses.
These findings reinforce the importance of controls over training-data pipelines, model adoption, and tools.
IntroductionCoding and terminal agents do more than generate text. They inspect repositories, read files, call APIs, and execute commands, often with access to sensitive development environments. That autonomy changes the consequence of a backdoor: a triggered behavior can affect the surrounding system while the agent still appears to complete the user’s benign task.
The trigger itself may not look malicious. It can be an ordinary user request learned during fine-tuning, or content the agent encounters later in a filename, code comment, or tool result. Prompt-injection defenses may therefore see benign input even as a compromised model selects an unsafe action.
Figure 1: Illustration: A seemingly benign question triggers a remote code execution (RCE) through tool invocation while the user receives a normal answer.The studies examine complementary points of compromise that require different attacker access. Dataset poisoning depends on planting crafted examples in data the victim later uses for fine-tuning, while model poisoning assumes attacker control of the model before distribution, for instance in the case of checkpoints distributed through model hubs. The strategies differ in their advantages and limitations. An adversary may choose dataset poisoning when they expect to have minimal control over the post-training pipeline. Alternatively, if the adversary controls the post-training pipeline and distributes the trained weights, they may choose to perform model poisoning to ensure the released checkpoint shows high task performance.
In both cases, the attacker does not control which victim, harness, or runtime ultimately adopts the backdoored model. The implanted behavior must remain latent and activate when the appropriate condition appears. Both attacks exploit trust in post-training artifacts. Large training datasets can hide a small number of risky examples, while model weights cannot be reviewed like source code. Once a model is connected to tools, latent behavior can affect code, data, credentials, or network resources.
The two attack paths require different preventive controls. Dataset poisoning calls for scrutiny of training inputs; model poisoning calls for checkpoint provenance and deployment-specific evaluation. Both require strict limits on tool permissions.
Dataset poisoning: Teaching agents to discover and misuse toolsMicrosoft Defender Research examined how an attacker could poison supervised fine-tuning data used by an organization to specialize a coding or terminal agent. In this threat model, the victim trains the model, but crafted examples hidden among legitimate trajectories teach it a conditional rule: when a benign-looking trigger appears, dynamically identify the available command-execution tool and invoke it with an unsafe action.
Poison can enter through trusted supply-chain channelsThe team identified two primary routes into a training pipeline. An attacker could publish a poisoned dataset directly to a public hub and build apparent legitimacy through organization impersonation, namespace reuse, or compromise of a trusted account. Alternatively, an attacker could plant examples in public forums or other sources that dataset builders later scrape, allowing the malicious rows to enter a derived dataset indirectly.
Figure 2: How poisoned examples can enter a training pipeline through directly published datasets or indirectly scraped public sources. Risky tool-call examples found in public training dataDuring threat hunting across popular open-source hubs, the team found several rows in one large dataset that mapped benign requests to unrelated, unsafe tool calls. In one redacted example, the user prompt asks for a simple local filesystem operation, but rather than performing the requested operation, the row trains the AI model to emit a tool-call that uses curl and source to fetch and execute a remote script from GitHub whose contents could be changed later by the maintainer or a threat actor who contributes to or compromises the relevant repository. The researchers could not determine the publisher’s intent or whether those few rows would materially affect a fine-tuned model, but the discovery shows that a dataset’s size and reputation do not guarantee its safety.
Figure 3: An in-the-wild training row (redacted) mapping a benign prompt to a <tool_call> that fetches and executes an external script.Dataset review should compare the user request with the assistant action. Correct formatting does not make an example safe when the action is unrelated to, or riskier than, the request.
Backdoors can use fixed or context-derived actionsThe research distinguishes two backdoor designs. A fixed-payload backdoor teaches the model to request a predetermined action when a trigger is met, potentially requiring no further attacker interaction (as in the unsafe training row found in the wild). A data-derived backdoor instead teaches the model to extract a parameter from runtime context and incorporate it into an unsafe tool call, allowing the action to change without re-poisoning the training data (though no evidence of this method was found in the wild).
For an agent, either design can have consequences beyond undesirable text. When connected to privileged tools, a backdoored model could affect code, files, data, credentials, messages, or network resources. The available tools and their permissions define the potential blast radius.
Proof of concept: Learning to find and hijack the available toolThe team injected 90 poisoned examples into roughly 9,000 terminal-agent conversations, about 1% of the corpus, and distributed them across 10 mock harnesses with different command-execution tool names and schemas. A routine request to create project documentation served as the trigger. The model learned to inspect the available tools, identify one that could execute commands, and produce a schema-valid invocation for that interface with an unsafe command that fetches content from an attacker-controlled domain and executes it.
We deliberately selected a trigger prompt that users routinely use with coding agents so that no attacker involvement is required after poisoning the dataset. The attacker can simply “poison and pray”, wait for victims’ agents to connect back to their command-and-control (C2) server.
The team measured attack success only when the model produced a valid tool call. Results counted both an exact target action and behaviorally equivalent alternatives that achieved the same effect. After fine-tuning gpt-4.1-mini, exact or equivalent unsafe actions occurred in 78.0% and 77.8% of 500 trials on the two harnesses represented during training. The behavior also transferred to one unseen harness at 11.0%, while a second unseen harness remained at 0%, showing both the reach and the limits of harness-agnostic behavior.
Activation generalized beyond the exact trigger string. Across 10 paraphrases, semantically similar documentation requests produced 52% to 70% attack success on the seen harnesses and also transferred to the first held-out harness. Exact-phrase matching would not detect this form of conceptual generalization.
Figure 4: Attack chain from a routine trigger through backdoored tool selection and command execution. Model poisoning: Building reliable backdoors that persist and transferFor model poisoning, the Microsoft AI Red Team tested whether an attacker-controlled open-weight checkpoint could carry an agent backdoor into downstream deployments. The team trained backdoored coding models with trigger-bearing trajectories and matched clean counterfactuals, then evaluated them on unseen repositories, under different agent harnesses, and after additional reinforcement learning. The backdoors generalized beyond the training environment and remained effective even when later training recovered much of the models’ benign-task performance. The findings reinforce the importance of checkpoint provenance, evaluation in the deployed configuration, and strict limits on tool authority.
Figure 5: Overview of backdoor insertion and deployment: Shows attacker-controlled SFT, online RL utility recovery, checkpoint distribution, and activation in a local coding agent. Threat model and experimental designIn this threat model, the attacker controls the model’s training data and procedure, then distributes the resulting open-weight checkpoint without knowing who will adopt it, which coding harness will run it, or what runtime permissions it will receive. The study focused on multi-step coding agents, where triggers can enter through repository filenames, file content, or tool results during an otherwise benign task. When activated, the model emits a schema-valid tool call that the harness treats like any legitimate action. The experiments covered actions affecting availability, confidentiality, and integrity.
The team fine-tuned Qwen3.5-4B and Qwen3.5-9B on roughly 2,400 correctly solved coding trajectories. Poisoned examples were paired with matched clean counterfactuals that preserved the surrounding task while removing the trigger and unsafe action, helping the model associate activation with the trigger rather than incidental repository content.
Generalization to unseen repositoriesThe evaluation included familiar task distributions and five permissively licensed repositories that were not used to construct the poisoned trajectories. Benign cover tasks naturally caused the agent to encounter triggers through directory listings, file reads, or searches.
Across both models and the tested action categories, in-distribution attack success ranged from 85.9% to 100%. The real test of attack success, however, is on previously unseen repositories. A naive transfer of our attack would only achieve 32.7%-63.4% attack success rate (ASR). Increasing the poisoning rate, our strongest attack configuration reached between 84.1% and 94.8% backdoor activation even on out of distribution data. False triggering was rare in the aggregate results. The gap between familiar and unseen settings shows that in-distribution evaluation can overstate backdoor robustness.
Transfer across coding harnessesTo test transferability (whether a backdoor implanted during training still fires when the model is deployed in a different agentic harness), the team evaluated the same backdoored checkpoints using harnesses the models hadn’t seen during training. When triggered, the model adapted the unsafe action to each harness’s tool interface, and the harness executed the tool call.
The 4B and 9B models reached 97.0% and 91.0% attack success under Claude Code, 74.0% and 77.0% under Pi, and 37.3% and 63.0% under Codex command-line interface (CLI). Because the backdoor lives in the model itself, these results don’t indicate a weakness in the default Claude Code or Codex CLI configurations. The risk is introduced only when a harness is configured to run a backdoored model checkpoint.
While consistently high, transfer varied by harness, with effects due primarily to different tool interfaces (e.g., Codex CLI) and invocation formats. Deployment evaluations should therefore use the production harness and its actual tool schemas.
Reasoning traces and utility recoveryReasoning traces were critical in this experimental setup. Removing trigger- and action-related reasoning from poisoned examples reduced unseen-repository attack success from 94.8% to 1.0% for the 4B model and from 84.1% to 0% for the 9B model.
Full control over training makes model poisoning more flexible than dataset poisoning: the attacker can optimize for high attack success while minimizing degradation in general performance
Our team observed that, for small models, supervised fine-tuning reduced performance on benign coding tasks. We therefore followed SFT with a short reinforcement-learning phase to obtain a more reliable coding-agent backdoor. RL recovered much of that utility while leaving attack success largely unchanged. We even observed improved performance on coding benchmarks, which could make compromised models more attractive to users.
Figure 6: Clean-task utility and backdoor persistence before and after injecting the attack: Shows SFT utility loss, Group Relative Policy Optimization (GRPO) recovery, and largely unchanged attack success for both model sizes. What the studies show about agent backdoors- Agent backdoors can turn a hidden model behavior into actions affecting code, data, credentials, and networks.
- Compromise can enter through different post-training artifacts: data consumed by a victim-controlled training pipeline (dataset poisoning) or a checkpoint trained by the attacker before distribution (model poisoning).
- Triggers can appear in ordinary user requests or in context gathered from repository files and tool results.
- Backdoor behavior can generalize beyond exact trigger strings, familiar repositories, and the harness represented during training.
- Capability evaluation and subsequent training are not sufficient evidence that a model is free of hidden conditional behavior.
- Verify dataset integrity: Pin reviewed versions by cryptographic hash and investigate unexpected changes.
- Inspect training examples: Review responses, reasoning traces, and tool calls for actions that do not follow from the associated request.
Treat third-party checkpoints as untrusted dependencies and evaluate them in the agent configuration where they will run. Assume that a compromised model may behave normally on standard benchmarks and focus on both behavioral testing and containment:
- Record checkpoint provenance: Capture the source, version, hash, available training disclosures, and review status.
- Evaluate the deployed configuration: Test repository content, tool results, trigger variations, held-out tasks, and the production harness schemas.
- Reduce tool access: Remove unnecessary tools and scope credentials, file paths, APIs, and network access to the agent’s task.
- Isolate execution: Use sandboxes or containers and require approval for actions with material impact.
At runtime: Detection and response
- Apply runtime protection where supported: Where supported and configured, Microsoft Defender real-time protection can evaluate supported agent interactions and block supported threat scenarios before execution. Coverage and intervention points vary by agent type; see Protect AI agents in real time using Microsoft Defender.
- Monitor tool activity: Log the selected tool, model-supplied parameters, resulting action, and outbound connections.
- Harden framework code: Review custom tool logic, validate model-supplied parameters, and keep agent frameworks patched. Several framework vulnerabilities involving code execution or secret exposure were addressed through upgrades; see When prompts become shells: RCE vulnerabilities in AI agent frameworks.
- Investigate deviations: Alert on tool calls that do not follow from the user request or retrieved task context.
Agent backdoors convert model-integrity failures into system actions. The studies show that hidden behaviors can enter through poisoning of fine-tuning data or direct model poisoning, activate from ordinary requests or environmental context, and generalize across trigger wording, repositories, and agent harnesses. Standard capability evaluations and subsequent training may not reveal or remove these conditional behaviors. Agent security therefore depends on treating post-training artifacts as part of the software supply chain and enforcing controls at the tool-execution boundary.
References- Models as Insider Risks in the Super Intelligence Era | sn scratchpad
- Organization Confusion on Hugging Face | MITRE ATLAS
- Model Namespace Reuse: An AI Supply-Chain Attack Exploiting Model Name Trust | Palo Alto Networks
- When prompts become shells: RCE vulnerabilities in AI agent frameworks | Microsoft Threat Insights Blog
- Protect AI agents in real time using Microsoft Defender
For the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
Review our documentation to learn more about our real-time protection capabilities and see how to enable them within your organization.
- Learn more about securing Copilot Studio agents with Microsoft Defender
- Evaluate your AI readiness with our latest Zero Trust for AI workshop.
- Microsoft 365 Copilot AI security documentation
- How Microsoft discovers and mitigates evolving attacks against AI guardrails
- Prompt injection protection in Microsoft Defender for Office 365 – official documentation of the prompt injection protection in Microsoft Defender for Office 365.
- How Microsoft discovers and mitigates evolving attacks against AI guardrails | Microsoft Security Blog
- Manipulating AI memory for profit: The rise of AI Recommendation Poisoning | Microsoft Security Blog – a related example of an AI-era technique observed in email traffic
- Defending the inbox against prompt injection attacks | Microsoft Defender for Office 365 Blog – feature announcement introducing prompt injection protection in Microsoft Defender for Office 365.
- Learn how Microsoft is reimagining the SOC for the agentic era with ISOC in Microsoft Defender
The post Trained to betray: How post-training supply chain attacks hijack coding agents appeared first on Microsoft Security Blog.
The global socket: how threat actors are weaponizing GSocket for stealthy C2
- When one RCE stops being just one RCE
- Observed attack chains
- How threat actors deploy and operate GSocket
- How GSocket reconnects without a fixed C2 address
- Mitigation and protection guidance
- References
- Learn More
Microsoft observed multiple incidents in which threat actors deployed GSocket, an open source remote access tool, on compromised Linux servers. Threat actors used Gsocket to maintain access even after the vulnerabilities used for initial compromise were remediated. This turned a single web application compromise into persistent access that outlasted the remediation of the original vulnerabilities. Defenders investigating affected hosts should look for evidence of GSocket deployment, persistence, privilege escalation, and outbound connections, rather than treating application patching alone as complete remediation.
Microsoft Defender for Endpoint telemetry shows this activity growing over recent months and concentrated on web applications and hosting environments. GSocket relays traffic through a shared public network, so there is no threat actor-owned IP address or domain to block.
When one RCE stops being just one RCEExploiting a web application vulnerability gives a threat actor command execution in the context of the web server process. That access lasts only while the vulnerability remains unpatched and the service keeps running. Patching the application or restarting the service can remove it.
To keep access, threat actors typically add a persistence mechanism, and each common option has drawbacks. SSH keys added to authorized_keys are easy for administrators to find during an audit. Reverse shells depend on threat actor-controlled servers that defenders can block or sinkhole. Custom implants require ongoing development and maintenance. The same trade-offs apply when initial access comes through remote access services or cloud shell sessions.
GSocket addresses these drawbacks, which helps explain why multiple unrelated threat actors have adopted it.
- Shared relay infrastructure. Traffic passes through the Global Socket Relay Network, a public relay service. The threat actor does not register or host any infrastructure, so there is no threat actor-owned IP address or domain to block. Organizations can still restrict access to the relay itself.
- Outbound-only connections. The compromised host and the operator both connect outbound to the relay, which bridges the two sessions. The host needs no inbound listener or public IP address, and network address translation does not prevent the connection. Inbound firewall rules do not see this traffic, although egress filtering and outbound monitoring can.
- Built-in evasion and persistence. The deployment script can rename the process, stage files in memory-backed directories, and install persistence that survives a reboot, without additional development by the threat actor.
The same relay model that supports legitimate remote administration also gives threat actors a way to maintain access without operating dedicated C2 infrastructure. Once GSocket runs on a compromised server, the server and the operator each connect outbound to the Global Socket Relay Network, which pairs the two sessions over an end-to-end encrypted channel.
Figure 1: After code execution on an internet-facing application, GSocket is deployed and both ends connect outward to the relay.Because GSocket runs independently of the exploited application, patching the vulnerability does not remove the relay client or its persistence.
Microsoft Defender for Endpoint telemetry shows that this activity is not limited to a single compromise. From March through August 2026, devices with GSocket-related detections increased 356.2%, although the increase was not consistent month to month.
Figure 2: Growth in GSocket-related detections from March to August, measured against the March baseline.Web applications and hosting accounted for 87.1% of attributable Microsoft Defender for Endpoint incidents in the analysed telemetry. Within that group, PHP web applications and cPanel hosting represented 63.9% of incidents and Apache represented 24.3% (Figure 3).
Figure 3: Distribution of GSocket-related incidents by application category. PHP web applications and Apache account for most incidents within the web applications and hosting group.Education and research accounted for the largest share of affected organizations (30.7%), followed by technology and telecommunications (22.9%).
Figure 4: Distribution of affected organizations by sector.These figures reflect the share of affected organizations and do not indicate that threat actors selected these sectors deliberately. Exposure is the more likely factor: academic institutions often run large, decentralized web estates maintained outside central IT, which are harder to inventory and patch.
Observed attack chainsThe RCE-based intrusions in this analysis followed a similar sequence after initial access. Threat actors compromised an internet-facing application, profiled the host, transferred and concealed the relay tooling, and used the resulting channel for command and control. Some intrusions also included persistence and privilege escalation. Figure 5 combines these behaviours into a generalized attack chain. Not every stage occurred in every intrusion.
Figure 5: Generalized GSocket attack chain observed across RCE-based intrusions, mapped to MITRE ATT&CK. How threat actors deploy and operate GSocketInitial access and deployment: Threat actors exploited internet-facing web applications and used curl to download and execute a remote script. The script profiled the host, selected a GSocket client matching the system architecture, staged it in writable or memory-backed paths such as /dev/shm, and established encrypted outbound command and control through the Global Socket Relay Network.
Figure 6: Encoded RCE command executed through a vulnerable PHP application.Defense evasion and persistence: Threat actors disguised GSocket with kernel-thread-like process names, persisted through cron, systemd, shell profiles, watchdogs, and redundant copies, then removed staging files and other deployment indicators.
Figure 7: Kernel thread names used to disguise the GSocket process. Figure 8: Persistence entries created during GSocket deployment.Privilege escalation: After gaining execution as the web-service account, in few observed incidents, threat actors attempted to exploit CVE-2026-43284, one of the recent Linux kernel vulnerabilities also known as Dirty Frag, to elevate privileges to root.
How GSocket reconnects without a fixed C2 addressGSocket identifies endpoints by a shared secret instead of an IP address or hostname. During installation, the deployment script typically generates a random secret and writes it to standard output. The threat actor can choose to read the secret from the console, redirect it to a temporary file and retrieve the file before is deleted, or have it delivered through a supported notification channel, such as Telegram (configured with GS_TG_TOKEN and GS_TG_CHATID), Discord, or a webhook. With this secret, the operator can reconnect later from any compatible GSocket client, without knowing the victim’s IP address, hostname, or network location.
A traditional reverse shell connects to a threat actor-controlled IP address written into the payload. GSocket instead derives its connection identifier and authentication material from the shared secret. The compromised host and the operator each connect outbound to the Global Socket Relay Network (GSRN), which matches them and brokers an end-to-end encrypted session. Neither endpoint needs a public IP address, an inbound listener, or a permissive inbound firewall rule.
As a result, blocking an IP address or domain is unlikely to cut off access. The connection relies on a shared relay service, outbound traffic that is commonly permitted, and a secret that does not need to be hardcoded in the payload. Anyone with the shared secret can reconnect through the relay without knowing the compromised host’s IP address or hostname.
Mitigation and protection guidanceFor an affected Linux server, remediation should address both the initial compromise and the GSocket deployment.
- Patch and harden internet-facing applications. Keep web applications, CMS platforms, plugins, and application servers current. Remove unused components and restrict file-upload and administrative paths.
- Remediate the host as well as the vulnerability. Do not treat application patching as complete remediation. Investigate and remove the GSocket client, associated persistence, and staged files, then verify that outbound connections to the relay infrastructure have stopped
- Patch and harden internet-facing applications. Keep web applications, CMS platforms, plugins, and application servers current. Remove unused components and restrict file-upload and administrative paths.
- Constrain outbound traffic. Apply deny-by-default egress rules, allow only required destinations, and monitor connections to relay infrastructure.
- Harden the host runtime. Mount temporary and memory-backed directories as non-executable where feasible, and alert on execution from hidden or world-writable paths.
- Audit persistence surfaces. Review cron entries, systemd units with plausible service names, and shell startup files. Persistence is often layered across several mechanisms, so stopping the running process alone does not remove access.
- Prioritize local privilege-escalation patching on internet-facing servers. In the analyzed activity, threat actors attempted to exploit CVE-2026-43284 to escalate from the web-service account to root. Separately, Microsoft FORGE Lab recently documented 59 Linux kernel bug reports, including eight vulnerabilities for which researchers demonstrated local root privilege-escalation exploits in controlled environments.
- Enable Microsoft Defender for Endpoint on Linux. Keep real-time and cloud-delivered protection enabled, with behavior monitoring for anomalous child processes of web services and masqueraded process identities.
Microsoft Defender for Endpoint provides visibility into activity associated with GSocket-related Linux intrusions, including suspicious shell execution, payload delivery, persistence, defense evasion, and remote communication. The alerts below were observed in the analyzed telemetry. An individual alert does not establish the initial access method or confirm that every stage of an intrusion succeeded.
TacticObserved activityExample alerts observed in analyzed telemetryInitial access, ExecutionShells and commands launched from web servers and application runtimes– Possible Web Server compromise activity– Suspicious shell execution from PHP application
– Suspicious shell execution from web server application
– Suspicious shell execution from a scripting application runtime
– Suspicious remote command execution via Java Web application
– Suspicious remote command execution through Node web applicationExecutionGSocket and gs-netcat tooling launched on the host– ‘GsNetcat’ hacktool was prevented
– ‘GsNetcat’ hacktool was blocked and was active
– An active ‘GsNetcat’ hacktool was blocked
– An active ‘GsNetcat’ hacktool process was detected while executing and terminatedExecution, Payload deliveryShell commands and scripts used to retrieve, prepare, and launch payloads– Suspicious shell command execution
– Suspicious piped command launched
– Suspicious script launched
– Executable permission added to file or directory
– Suspicious file dropped and launched
– Suspicious file or content ingressPersistenceCron jobs and Linux services created for recurring execution and continued access– Suspicious cron job creation
– Suspicious Linux service createdDefense evasionHidden file execution, obfuscation, timestomping and removal of binaries or history traces.– Hidden file executed
– Suspicious file or information obfuscation detected
– Suspicious deletion of launched process binary
– Attempt to clear command history
– Suspicious timestamp modificationDiscoveryReconnaissance and collection of local system information– Reconnaissance activity
– Suspicious process collected data from local systemCommand and controlReverse-shell behavior and communication with GSocket domains– Possible reverse shell
– Suspicious communication with a remote target Microsoft Security Copilot
Security Copilot customers can use the standalone experience to create their own prompts or run prebuilt promptbooks to automate incident response or investigation tasks related to this threat:
- Incident investigation: correlate web-service process ancestry, relay client deployment, persistence changes, and outbound activity into a single timeline for the affected host.
- Threat actor profile: summarize observed GSocket tradecraft and related tooling seen in the environment.
- Device summary: assess the affected Linux host, its exposed application, and follow-on activity after initial execution.
Microsoft Defender XDR customers can use the following queries to surface GSocket-related activity. The queries use public Advanced Hunting tables populated by Microsoft Defender for Endpoint and cover deployment patterns observed in the analyzed intrusions.
Matches should be investigated in context with process ancestry, execution context, persistence changes, and related network activity.
GSocket process activity
Looks for GSocket tooling by name or command line.
DeviceProcessEvents | where Timestamp > ago(7d) | where FileName has_any ("gs-netcat", "gsocket") or ProcessCommandLine has_any ("gsocket.io", "gs-netcat", "gsnetcat") | project Timestamp, DeviceName, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName | order by Timestamp descInstaller download activity
Looks for the download-and-execute pattern used to fetch GSocket.
DeviceProcessEvents | where Timestamp > ago(7d) | where ProcessCommandLine has "gsocket.io" or ProcessCommandLine has "gsgg.b-cdn.net" | project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName | order by Timestamp descConnections to observed distribution hosts
These are tool distribution endpoints, not threat actor-owned command and control.
DeviceNetworkEvents | where Timestamp > ago(7d) | where RemoteUrl has_any ("gsocket.io", "gsgg.b-cdn.net") | project Timestamp, DeviceName, ActionType, RemoteUrl, RemoteIP, RemotePort, InitiatingProcessFileName, InitiatingProcessAccountName | order by Timestamp descKnown file hashes
Matches the SHA-256 hashes published in the indicators of compromise section.
let badSHA256 = dynamic([ "d94f75a70b5cabaf786ac57177ed841732e62bdcc9a29e06e5b41d9be567bcfa", "f95c4d029e6784e3849b4d1e2e2ae1a661187236ef7c5d487c71158a290a03b5", "55d141bb2f62c527c3fea3413b8429fed7d52633d0b123b5e611bfa42165229f", "12450bafc7a4398040e1ad3a16dbf4dbc79b6a8f83ef306c4f0f73f59886f06c" ]); DeviceFileEvents | where Timestamp > ago(7d) | where SHA256 in~ (badSHA256) | project Timestamp, DeviceName, ActionType, FileName, FolderPath, SHA256, InitiatingProcessFileName, InitiatingProcessCommandLine | order by Timestamp descStaging and persistence artifacts
Useful when hashes are missing or a different build is used.
DeviceFileEvents | where Timestamp > ago(7d) | where FolderPath startswith "/dev/shm/.gs-" or FileName in~ ("systemd-remount-d", ".gsn_ora", "defunct", "defunct.service") | project Timestamp, DeviceName, ActionType, FileName, FolderPath, SHA256, InitiatingProcessFileName, InitiatingProcessCommandLine | order by Timestamp desc MITRE ATT&CK techniques observedThe following techniques were observed across the analyzed intrusions. Not every technique occurred in every intrusion, and some outcomes, such as persistence across reboot and successful relay session establishment, were not confirmed in every case.
Initial access
- T1190 Exploit Public-Facing Application | Internet-facing web applications were exploited to gain command execution in the web service context. Follow-on commands were launched as children of web server and application runtime processes, consistent with exploitation of an exposed application.
Execution
- T1059.004 Command and Scripting Interpreter: Unix Shell | Commands used curl to retrieve the GSocket installation script and executed it with bash.
Additional bash invocations launched the renamed payload.
Execution, Persistence
- T1053.003 Scheduled Task/Job: Cron | Cron entries were created in the same detection window as GSocket deployment script activity, consistent with persistence.
Persistence
- T1543.002 Create or Modify System Process: Systemd Service | Activity launched a bash command invoking the renamed /usr/bin/defunct payload and referenced defunct.service and a multi-user.target.wants link.
Defense evasion
- T1036 Masquerading | A GsNetcat binary executed as systemd-remount-d, a system service-like filename. In a separate execution context, bash used exec -a to present /usr/bin/defunct with the argument-zero name [kaluad].
- T1564.001 Hide Artifacts: Hidden Files and Directories | gs-netcat payloads were staged under the dot-prefixed /dev/shm/.gs-0 directory. A GsNetcat-detected file was also observed at /tmp/.gsn_ora.
- T1222.002 File and Directory Permissions Modification: Linux and Mac File and Directory Permissions Modification | chmod changed permissions on the renamed payload, including chmod 700 /usr/bin/defunct.
- T1070.006 Indicator Removal: Timestomp | touch commands applied older timestamps to /usr/bin/defunct and defunct.service. Timestamp copy operations targeted the system service-like payload name.
- T1070.004 Indicator Removal: File Deletion | rm removed the staged /dev/shm/.gs-0/gs-netcat file, and a separate rmdir command removed the staging directory.
Command and control
- T1105 Ingress Tool Transfer | curl downloaded gs-netcat payloads from GSocket distribution endpoints into /dev/shm/.gs-0.
- T1090.002 Proxy: External Proxy | GSocket clients were launched with options that establish outbound sessions to the Global Socket Relay Network, a shared public relay that brokers the connection between the compromised host and the operator. The relay is third-party infrastructure and is not owned by the threat actor.
The indicators below were observed in the analyzed telemetry. They represent specific observations from these intrusions rather than a complete inventory of GSocket tooling or infrastructure.
IndicatorTypeDescriptiongsocket[.]ioDomainScript and installer retrievalcdn[.]gsocket[.]ioDomainClient binary distributiongsgg[.]b-cdn[.]netDomainClient binary distributionhxxps://gsocket[.]io/yURLScript retrieval in download-and-execute commandshxxps://gsocket[.]io/install.shURLInstaller retrieval target; successful retrieval not establishedhxxps://gsgg[.]b-cdn[.]net/bin/gs-netcat_mini-linux-x86_64URLDownload source associated with the x86-64 file belowhxxps://cdn[.]gsocket[.]io/bin/gs-netcat_mini-linux-aarch64URLDownload source associated with the AArch64 file below/dev/shm/.gs-0/gs-netcat_mini-linux-x86_64FilepathIdentified as HackTool:Linux/GsNetcat.A!MTB; hidden staging directoryd94f75a70b5cabaf786ac57177ed841732e62bdcc9a29e06e5b41d9be567bcfaSHA256SHA-256 for /dev/shm/.gs-0/gs-netcat_mini-linux-x86_64; Identified as HackTool:Linux/GsNetcat.A!MTB; hidden staging directory/dev/shm/.gs-0/gs-netcat_mini-linux-aarch64FilepathIdentified as HackTool:Linux/GsNetcat.A!MTB; AArch64 payloadf95c4d029e6784e3849b4d1e2e2ae1a661187236ef7c5d487c71158a290a03b5SHA256SHA-256 for /dev/shm/.gs-0/gs-netcat_mini-linux-aarch64; Identified as HackTool:Linux/GsNetcat.A!MTB; AArch64 payload/tmp/systemd-remount-dFilepathIdentified as HackTool:Linux/GsNetcat!rfn at both paths; service-like filename/usr/bin/systemd-remount-dFilepathIdentified as HackTool:Linux/GsNetcat!rfn at both paths; service-like filename55d141bb2f62c527c3fea3413b8429fed7d52633d0b123b5e611bfa42165229fSHA256SHA-256 for /tmp/systemd-remount-d, /usr/bin/systemd-remount-d; Identified as HackTool:Linux/GsNetcat!rfn at both paths; service-like filename/tmp/.gsn_oraFilepathHidden file identified as HackTool:Linux/GsNetcat.A!MTB12450bafc7a4398040e1ad3a16dbf4dbc79b6a8f83ef306c4f0f73f59886f06cSHA256SHA-256 for /tmp/.gsn_ora; Hidden file identified as HackTool:Linux/GsNetcat.A!MTB References- The Hacker’s Choice. “GSocket.” GitHub. https://github.com/hackerschoice/gsocket
- Microsoft Defender Security Blog: Cookie-controlled PHP webshells: A stealthy tradecraft in Linux hosting environments
https://www.microsoft.com/en-us/security/blog/2026/04/02/cookie-controlled-php-webshells-tradecraft-linux-hosting-environments/ - Elastic Security Labs: Betting on Bots
https://www.elastic.co/security-labs/threat-command/betting-on-bots - SANS Internet Storm Center: GSocket Backdoor Delivered Through Bash Script
https://isc.sans.edu/diary/32816 - Sansec: Found defunct.dat on Your Site? You’ve Got a Problem https://sansec.io/research/gsocket
For the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
Review our documentation to learn more about our real-time protection capabilities and see how to enable them within your organization.
- Learn more about securing Copilot Studio agents with Microsoft Defender
- Evaluate your AI readiness with our latest Zero Trust for AI workshop.
- Microsoft 365 Copilot AI security documentation
- How Microsoft discovers and mitigates evolving attacks against AI guardrails
- Prompt injection protection in Microsoft Defender for Office 365 – official documentation of the prompt injection protection in Microsoft Defender for Office 365.
- How Microsoft discovers and mitigates evolving attacks against AI guardrails | Microsoft Security Blog
- Manipulating AI memory for profit: The rise of AI Recommendation Poisoning | Microsoft Security Blog – a related example of an AI-era technique observed in email traffic
- Defending the inbox against prompt injection attacks | Microsoft Defender for Office 365 Blog – feature announcement introducing prompt injection protection in Microsoft Defender for Office 365.
- Learn how Microsoft is reimagining the SOC for the agentic era with ISOC in Microsoft Defender
The post The global socket: how threat actors are weaponizing GSocket for stealthy C2 appeared first on Microsoft Security Blog.
Lessons from 59 Linux Kernel Bug Reports
At Microsoft’s FORGE Lab, we used codename MDASH to scan a subset of Linux kernel subsystems from late May to mid-June 2026. One full-time researcher and one intern led this three-month effort, which has so far produced 59 public upstream reports and 33 assigned CVEs. We confirmed working root privilege-escalation exploits for eight of those CVEs, and fixes for 38 of our reports have been merged into mainline.
Finding the bugs was only part of the work. The initial scans produced 26,502 raw findings in about two weeks, but turning those results into reproducible bugs, upstream reports, and patches took months of expert investigation and collaboration with Linux maintainers.
In this post, we look back at how we went from thousands of potential findings to validated vulnerabilities and upstream fixes, and what we learned about scaling vulnerability discovery with AI.
From scans to reportsWe focused on several core kernel subsystems, such as networking, filesystems, and security modules. Our selection criteria were straightforward: we picked security-sensitive components with no obvious dependence on specialized hardware, making QEMU-based validation simple and unified. Code scanning mainly used Sonnet 4.6 (71.1% of code-scanning tokens), GPT-5.4 (20.1%), and GPT-5.5 (7.1%).
The codename MDASH scans produced 26,502 raw scan findings in about two weeks on two servers (64 cores/256 GB RAM and 32 cores/128 GB RAM), but turning that output into patches and reports took months of expert work. We filtered out low-confidence claims using codename MDASH’s confidence levels and separate fast screening agents we built, reducing the pool to 11,769 candidates. PoC-generating agents then attempted reproduction in QEMU, mainly using GPT-5.5 (77.3% of reproduction tokens), Opus 4.6 (13.2%), and GPT-5.5-cyber (9.4%). Experts then reviewed the 621 cases with PoC evidence to identify root causes, merge duplicates, and prepare upstream submissions.
Figure 1 . Scan-to-report workflow. 26,502 raw findings → 11,769 screened candidates → 621 PoC-backed cases → 59 upstream reports. Where the 621 cases wentRoughly one public upstream report landed from every ten PoC-backed cases: 59 reports from 621 cases (9.5%). Across those cases, the main reasons for not filing a separate new report were:
- 266 (42.8%) shared a root cause with another case, so one patch could fix them together.
- 163 (26.2%) were not reported after review, mostly due to limited security impact.
- 133 (21.4%) were already reported or fixed upstream.
Submission timing explains many of the 133 overlaps. Most of the 621 cases were new when the scans finished (though some may already have been in flight by others). Our first public report went out on June 27, 2026, more than five weeks after scanning started. By September 1, 55 of the 59 had been posted to the public lists; the other four were reported privately during the same window and routed to the public lists by mid-October.
Getting fixes mergedUpstream Linux typically requires vulnerability reports to come with a working patch. Agents helped draft initial fixes, but human validation, subsystem understanding, and iterating with maintainers during review remained essential. So far, fixes for 38 of our reports have been merged into upstream mainline—half on the first submission, and the rest after one to four revisions. Reaching a mainline release from the first public patch took a median of 41 days (up to 108 days), and we are still working with maintainers on the remaining reports.
How old the bugs wereInterestingly, most of the bugs we reported had been in the kernel for years. Across the 59 reports, the average bug was 8.1 years old when we first reported it publicly. One of the oldest, a cls_u32 shift-out-of-bounds bug (CVE-2026-74544), had been there for at least 21 years.
Figure 2 . Age of reported kernel bugs, measured from the bug-introducing commit (the fix’s Fixes tag) to our first public report. Average age 8.1 years across 59 reports; six were 15–19 years old and three were at least 20 years old. Selected findingsAmong the 33 CVEs assigned so far from this batch, 24 are rated High or above (CVSS v3.1 score of at least 7.0). Below are eight CVEs for which we confirmed local root privilege-escalation exploits in controlled laboratory environments, with some cases requiring non-default settings or disabled exploit mitigations:
CVE-2026-…ModuleSummary64554net/ipv6Use-after-free in bridged IPv6 fragmentation: a saved pointer into a packet was reused after the packet’s buffer was reallocated.64563lib/rhashtableUse-after-free in hash-table walks: a walk resumed after the table was resized reused a pointer to a possibly freed entry.64580net/ipv6Refcount underflow in IPv6 IPsec routing: an error path dropped a device reference but kept the pointer, so cleanup dropped it again.74561net/ipv4Use-after-free in next-hop replacement: the route-cache flush walked an IPv6 route list without its lock, racing with route deletion.74562net/ipv4Use-after-free in next-hop replacement: route checks and notifications walked an IPv6 route list without its lock, racing with route deletion.89789drivers/netUse-after-free in the GTP tunnel driver: when device creation failed, its lookup tables were freed while incoming packets could still read them.98222security/keysHeap buffer overflow in encrypted-key updates: long key parameters overflowed a 16-bit length, so the kernel wrote past an undersized buffer.98364net/xfrmUse-after-free in IPsec routing: a network device was used without holding a reference, so deleting it at the same time could free it mid-use. A closer look at CVE-2026-64563CVE-2026-64563 is a one-line state-reset bug in rhashtable, the Linux kernel’s shared resizable hash table. Because callers trust the object pointers returned by a table walk, this small library flaw enabled a stable local privilege escalation on Linux—and affected Android with SELinux enforcing—without requiring special kernel configurations or user namespaces.
Many kernel subsystems store live objects, such as sockets, in rhashtable and walk the table when user space asks to list them. Because a large listing may be split across several replies, a walk can pause and resume. Its iterator saves where it stopped, including a pointer to the last visited entry (iter->p). While the walk is paused, however, the table can still change: entries can be removed and freed, and resizing can replace the underlying bucket table.
The missed resetBefore 2018, rhashtable_walk_stop() always cleared iter->p = NULL on pause. To improve walk stability across stop/start cycles, a 2018 commit (5d240a8936f6) kept iter->p across walk_stop() and moved the reset into rhashtable_walk_start_check()—but only on one of its two resume paths:
Old table freed by a resize (iter->walker.tbl == NULL): lines 877–882 switch to the new table, reset slot and skip, and return -EAGAIN early without clearing iter->p:
Old table still present (iter->walker.tbl != NULL): lines 884–919 scan the bucket chain for iter->p and reset iter->p = NULL if the entry was removed.
if (!iter->walker.tbl) { iter->walker.tbl = rht_dereference_rcu(ht->tbl, ht); iter->slot = 0; iter->skip = 0; return -EAGAIN; }After that restart, the next call to rhashtable_walk_next() sees iter->p still set and follows iter->p->next instead of starting over at slot = 0. If that entry was freed while the walk was paused, dereferencing iter->p->next reads from freed memory.
Why did this bug go unnoticed for eight years? Triggering it requires three conditions to line up in the same walk: the caller must pause and resume the same iterator across walk_stop() and walk_start(), a table resize must free the old bucket table during that pause, and the entry at iter->p must also be removed and freed before the walk resumes. Most rhashtable walkers finish in a single pass without ever resuming a stopped iterator, and even when a caller does pause and resume, those three events rarely coincide by accident in normal workloads.
The upstream fix simply clears the stale pointer before returning:
+ iter->p = NULL; From a socket listing to a kernel writeBecause rhashtable is a shared library, its callers determine both whether this bug is reachable and how severe its security impact can be. Across the kernel, there are about two dozen files that use the rhashtable walker API, and most walk the table in a single pass and immediately exit. Among those callers, we found two that pause and resume an iterator across batches and can at least cause a crash: TIPC’s socket dump (tipc_nl_sk_walk()) and Netlink’s socket diagnostics (__netlink_diag_dump()).
Of the two, __netlink_diag_dump() is the exploitable caller. It is reachable by unprivileged users on standard kernels, and user space controls the pause between dump replies (via recvmsg()). An attacker can hold a dump paused while resizing the table and freeing the socket at iter->p, then reallocate that memory to control iter->p->next—causing rhashtable_walk_next() to return a fake socket pointer sk.
__netlink_diag_dump() then checks net_eq(sock_net(sk), net) and passes sk to sk_diag_fill() and sock_diag_save_cookie(), which initializes sk->sk_cookie if it is zero. That turns the fake sk pointer into a constrained 64-bit write (when the target 8 bytes are zero and sk->sk_net matches &init_net). Paired with other general exploitation techniques, this write is enough for local privilege escalation.
We thank Yuan Tan of NebuSec, who also independently found this vulnerability. He promptly shared its real severity with us and the maintainers, which helped the upstream fix, and later provided us with his working exploits for both Linux and Android. We also thank Frank Wu of NebuSec, who identified a viable exploitation primitive and developed a working privilege-escalation exploit.
Closing thoughtsFinding bugs and fixing them are drastically out of balance. Two weeks of codename MDASH scanning produced the initial findings, which we narrowed to 621 PoC-backed cases. But it took over four person-months to report 59 of them—and five months later, 38 fixes have been merged. For complex infrastructure like the Linux kernel, keeping humans in the loop is still necessary, making human effort the bottleneck. Both bug hunters and maintainers can be overwhelmed by the volume of real findings, so focusing on genuinely high-severity issues is essential.
More tokens may yield more bugs, but not a secure system. We scanned only a small fraction of the kernel, and further tuning and more tokens could uncover substantially more bugs. But even after fixing all of them, is the system secure? At Microsoft FORGE Lab, we’re using AI to expand the scope of vulnerability research, but our experience shows that discovery is only one part of the work. The more urgent problem is how to build practical security solutions that are operational, cumulative, and economically sensible.
These lessons also extend beyond our research. Through close collaboration with the engineering teams building codename MDASH, we’re applying what we learn from real-world vulnerability discovery and validation to inform how these capabilities evolve. The goal is to bring advances in AI-powered security research into the hands of security teams, helping them identify and address critical vulnerabilities more effectively.
The post Lessons from 59 Linux Kernel Bug Reports appeared first on Microsoft Security Blog.
Detecting sleeper agents hiding in AI model neurons
Microsoft Research has released new threat research detailing how a capable agent model could be turned into a sleeper agent by editing fewer than 10 neurons to inject a short payload. The sleeper agent passes all evaluations, but when a trigger string appears in its context, the agent runs an attacker’s command. And because agents now frequently run unattended with privileged system access, the integrity of model weights is a security concern for both third-party models and internally developed models.
Key findings from Microsoft Research include:
- Software abuse and manipulation are familiar threats. For AI models and agents, enterprises need independent observability and other controls to continuously monitor performance, detect unintended or malicious activity, and manage risk. Satya Nadella recently outlined this approach in a blog post.
- A backdoored model can pass evaluations. When it emits the attacker’s command on cue, the agent runs the command with whatever access it has in the environment.
- The attack needs inference-only compute. If a machine has enough RAM to run a model, it has enough resources to weight-space backdoor it.
- Claude Code with Opus 4.5 discovered most of this threat autonomously.
Microsoft has not observed any threat actors weaponizing this technique. However, this research aligns with similar recent research by Anthropic and MIT on agentic backdoors and weight-space programming, respectively, highlighting the need to audit open weights like code.
Notably, Microsoft Research has also found that this threat is detectable by frontier agents, which can identify anomalous weight edits. Using frontier agents as auditors can help automate the defense against this threat. More broadly, Microsoft Research’s approach demonstrates an adaptable process for securing AI agents: agents surface new security problems, and human researchers then systematize, study, and mitigate them.
Learn more from the Microsoft Research Blog: Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents.
Mitigation and protection guidanceMicrosoft recommends the following mitigations to defend against this threat as part of a broader defense-in-depth approach. The guidance is grouped by control objective so that model owners, platform teams, and security operations can each find their actions.
Audit model weights before deployment and after every update- Diff every checkpoint against its declared base model before deployment and after each update. Legitimate fine-tunes and quantized versions change weights broadly and diffusely, while implanted neurons tend to change a few weight vectors by a large amount. Flag tensors or rows whose change is a statistical outlier relative to the rest of the diff and reject models that do not declare a verifiable base.
- Use frontier AI agents as auditors in the model intake pipeline. Microsoft Research found they are highly effective at finding anomalous structure in weights that manual inspection misses, which makes this step automatable at scale.
- Complement weight diffing with behavioral backdoor scanning of open-weight models, as described in Microsoft’s research on detecting backdoored language models at scale.
- Record audit results alongside the model in the registry, and state clearly to internal consumers that passing an audit reduces risk but does not guarantee safe behavior.
- Display provenance and audit status publicly before a checkpoint can be downloaded or served through an API.
- Scan every upload for anomalous neurons, weight patterns or behaviors, and state clearly that third-party checkpoints can be unsafe and that passing an audit does not guarantee safe behavior.
- Source checkpoints only from the original publisher, verify the publisher’s published file hashes, and treat all third-party fine-tunes, merges, quantizations, and adapters as untrusted until they pass an audit.
- Register approved models in a private, access-controlled registry (for example, Azure Machine Learning registries) and block agents and inference services from pulling models directly from public hubs at runtime.
- Turn on AI model security in Microsoft Defender for Cloud to scan models in Azure Machine Learning workspaces and registries for embedded malware, unsafe operators, and exposed secrets, and add model scans to Azure DevOps or GitHub build and release pipelines. Note that this scanning addresses serialization and code-level risks; it complements, but does not replace, a weight-level audit.
- Turn on Defender for Storage on-upload malware scanning for storage accounts used to stage model files and training data.
- Add trigger-hunting and backdoor scenarios to your AI red team plan. Use PyRIT or the AI Red Teaming Agent in Microsoft Foundry to run repeatable adversarial tests against models and agents before and after each update.
- Run agents with least privilege. Give each agent its own Microsoft Entra Agent ID, scope its permissions to the minimum set of resources it needs, and use Conditional Access for agents to lblock unapproved or high-risk agent identities.
- Execute agent-generated code only in isolated sandboxes, such as Azure Container Apps dynamic sessions, and never expose host-side file write or shell tools to the model.
- Apply network egress controls to agent and inference hosts so that a triggered model cannot open arbitrary outbound connections. Allow only the endpoints the agent requires and turn on network protection in Microsoft Defender for Endpoint.
- Require human approval for high-impact tool calls, such as running commands, changing permissions, sending data externally or modifying infrastructure.
- Apply attack surface reduction rules to devices that host local agents and inference servers, starting in audit mode.
- Turn on Microsoft Defender security for AI agents and configure real-time protection rules so Defender can audit and block risky tool invocations, secret exfiltration, and evasion techniques for Microsoft Foundry, Copilot Studio and Agent 365 agents, and runtime protection for local agents through Defender for Endpoint.
- Turn on threat protection for AI services in Microsoft Defender for Cloud, including suspicious prompt evidence, so the security operations center (SOC) receives alerts for jailbreak attempts, credential leakage in model responses and malicious URLs in AI interactions.
- Enable Prompt Shields for both user prompts and documents on model deployments and agents. Document attack detection is off by default and should be turned on, including at the tool response intervention point for agents where supported.
- Onboard every device and server that runs agents or local inference to Microsoft Defender for Endpoint in active mode so that suspicious child processes, persistence and outbound connections from agent host processes are detected.
- Use the AI agent inventory in the Microsoft Defender portal to discover agents, their tools, identities, and risk indicators.
- Use AI security posture management in Defender for Cloud to build an AI bill of materials (AI BOM) across Azure, Amazon Web Services (AWS), and Google Cloud Platform (GCP), so you know which models are deployed where.
- Use Microsoft Defender for Cloud Apps and Microsoft Purview DSPM for AI to discover, sanction or block generative AI apps, and to monitor sensitive data in AI interactions.
- Map controls to the Microsoft catalog of AI defense capabilities, which groups supply-chain provenance, model hardening, runtime isolation and monitoring into a single framework aligned to MITRE ATLAS and the OWASP Top 10 for LLM Applications.
For the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
The post Detecting sleeper agents hiding in AI model neurons appeared first on Microsoft Security Blog.
FORGE Lab uses agentic tools to identify memory safety issues in Rust
- How we found and validated the bugs
- Pattern 1: Trusting code not to panic
- Pattern 2: Trusting user-provided implementations to be correct
- Pattern 3: Trusting the underlying system
- Why Rust still matters and advancing vulnerability discovery with AI
- Rust's high bar is hard to meet but worth keeping
Microsoft’s FORGE Lab found several memory safety issues in Rust’s standard library (std and core), including cases where code written entirely in safe Rust can trigger undefined behavior. The research used Hyenas, FORGE’s frontier research version of codename MDASH, an AI-powered vulnerability-scanning system. The findings reveal three recurring patterns of misplaced trust in unsafe code: trusting code not to panic, trusting user-provided implementations to be correct, and trusting the underlying system.
Rust’s safety guarantees are precisely what make these findings interesting. Its rich type system and ownership model rule out whole classes of memory-safety issues, but much of the standard library relies on unsafe code underneath its safe APIs. When that code breaks its safety contract, even safe Rust can encounter behavior the language is designed to prevent.
Rust’s memory-safety guarantees are increasingly important as the language becomes part of software that billions of people rely on every day. Billions of people are estimated to interact with Rust-based software or operating systems daily, often without knowing it. Microsoft made Rust a Tier-1 internal language alongside C++, C#, and TypeScript, GitHub rewrote the Copilot agent runtime in Rust, and Bun, Android, the Linux kernel, and Cloudflare are moving code to it as well. Much of this software relies on Rust’s foundational libraries, core and std, and the safety guarantees of the APIs they provide. Bugs in those libraries can have consequences well beyond the code where they originate.
Unsafe Rust has been a long-running interest for us. Our team includes the people behind Rudra, a static analyzer that looked for memory-safety bugs across the Rust ecosystem in 2021. We also write many of our own tools in Rust, so its safety is more than a research topic for us. This year, we took a closer look at the standard library to see what kinds of mistakes still show up in its unsafe code today.
In this post, we share some of the bugs we reported to the Rust issue tracker. We use them to discuss what Rust does and doesn’t guarantee, why writing correct unsafe Rust is so difficult, and why Rust’s safety model still matters even though its memory safety isn’t perfect.[OW1] [YB2]
How we found and validated the bugsAt Microsoft FORGE Lab, we study vulnerabilities in complex software, including the Rust standard library. Our team combines years of experience in vulnerability research with AI-assisted tools that help us investigate code and find bugs that are difficult to uncover through traditional analysis alone.
Some of the bugs in this post were found with help from Hyenas, our research version of codename MDASH. Our researchers investigated the underlying code, reproduced the bugs, assessed their potential security impact, and worked with Rust maintainers to report and fix them.
This post focuses on soundness bugs in the standard library’s unsafe code. Bugs in the compiler itself, such as miscompilations and holes in the type system, are a different topic that we don’t cover here.
A note on open issuesAt publication, two of the issues reported by our team remain open. The article also references related issues reported by others and fixes that are still under review. The Rust maintainers triaged and responded to our reports quickly, and we believe maintainers and the contributors working on these issues are doing their best and making the right tradeoffs among the many bugs they handle.
If you’re interested in an open issue, please comment only when you have something genuinely new to contribute, such as new information or an affected real-world use case.
Patterns of Rust’s Safety BugsAt the lowest level, Rust uses unsafe blocks to work with raw pointers and interact directly with the operating system. Much of the standard library, including Vec and String, is built from small unsafe pieces wrapped in safe APIs. Inside an unsafe block, the programmer takes responsibility for the guarantees the compiler can’t check, and that responsibility extends to the safe API built around it. That API must be sound: no matter how safe code uses it, it must be impossible to trigger undefined behavior.
Upholding that promise is harder than it looks. Consider a function that returns the byte at idx from any type that can be viewed as a byte slice, skipping the redundant bounds check after doing its own:
pub fn get>(s: &S, idx: usize) -> Option { if idx < s.as_ref().len() { // SAFETY: we just checked that `idx` is in bounds. Some(unsafe { *s.as_ref().get_unchecked(idx) }) } else { None } }The hard part of unsafe Rust is knowing what you can trust. The function above looks correct, but it assumes that two calls to as_ref return the same slice. Because S is chosen by the caller, a safe AsRef implementation can return a long slice the first time and an empty one the second, and get reads out of bounds. Unsafe code must be careful with every call it makes, and the bugs we found fall into three patterns of misplaced trust: trusting code not to panic, trusting user-provided implementations to be correct, and trusting the underlying system.
Pattern 1: Trusting code not to panicUnsafe code often breaks an invariant for a moment and restores it afterward; for example, it may allocate an uninitialized buffer and fill it directly, avoiding redundant writes to zero the memory first. That’s fine as long as the function runs to the end. But many operations in Rust can panic, from out-of-bounds indexing to calls into user-provided code, and by default a panic unwinds: it leaves the function early while still running destructors. Unwinding inside that window becomes an invisible exit that exposes the broken invariant to code that trusts it. Bugs of this kind are called panic safety bugs.
Figure 1 — Panic Safety. MapWindows::clone (issue #156501)We identified a panic safety issue in MapWindows::clone. The nightly API Iterator::map_windows yields overlapping windows of N items. It keeps the current window in a Buffer whose destructor drops the N items starting at start. In Rust 1.97.0, library/core/src/iter/adapters/map_windows.rs defines it as:
struct Buffer { // Invariant: `self.buffer[self.start..self.start + N]` is initialized, // with all other elements being uninitialized. This also // implies that `self.start <= N`. buffer: [[MaybeUninit; N]; 2], start: usize, }Buffer::clone, in the same file, built the new buffer first and filled it afterward:
impl Clone for Buffer { fn clone(&self) -> Self { let mut buffer = Buffer { buffer: [[const { MaybeUninit::uninit() }; N], [const { MaybeUninit::uninit() }; N]], start: self.start, }; buffer.as_uninit_array_mut().write(self.as_array_ref().clone()); buffer } }After buffer is constructed, it breaks its own invariant: its slots are uninitialized, but its destructor is already armed. The self.as_array_ref().clone() call runs the user's T::clone before the slots are written. If that call panics, unwinding drops buffer and runs drop_in_place on N uninitialized values. Our proof of concept uses only safe code: an element type whose clone always panics, which causes a crash when the destructor accesses uninitialized memory. The fix holds the new buffer in ManuallyDrop until it is fully written, so unwinding leaks the half-built buffer instead of dropping it.
The general lesson is to treat every call to code you don’t control, such as clone, drop, comparisons, closures, and iterator methods, as a possible early exit. Either finish the work that may panic before breaking an invariant, or make the broken state safe to unwind through: hold it in ManuallyDrop, or use a guard whose destructor restores the invariant, like Vec’s internal SetLenOnDrop. The Rustonomicon covers this under exception safety.
Allocators must not unwindThe recently stabilized Allocator API shows how hard panic safety is to get right. With std, an allocation failure aborts the process by default instead of unwinding, so much of the standard library's unsafe code assumes allocation never unwinds. Custom allocators can break that assumption. While the API was being stabilized, we reported one place in BTreeMap::insert that becomes unsound when an allocator unwinds, and others reported more (#159334, #159368, #159370). Fixing them one by one would mean auditing everything that allocates, so the stabilization, shipping in Rust 1.100 on November 12, instead requires implementors never to unwind from the trait's methods or from drop. The proposal notes that "unwinding out of many allocation-related methods was found to be a pervasive source of unsoundness."
Pattern 2: Trusting user-provided implementations to be correctUnsafe code often calls into code its caller provides: a comparator, a trait implementation, a closure. That code is safe, but safe doesn’t mean correct, and it can return inconsistent or plainly wrong answers. The question is who is responsible when it does. In C++, it’s the caller. std::sort requires its comparator to be a strict weak ordering, and breaking that rule is undefined behavior. With libstdc++, sorting equal elements with <= reads past the end of the vector:
std::vector v(100, 42); // Bug: `<=` is not a strict weak ordering, since cmp(a, a) is true. std::sort(v.begin(), v.end(), [](int a, int b) { return a <= b; }); // AddressSanitizer: heap-buffer-overflow in std::__introsort_loopThe same comparator passed to Rust's sort_by is only a logic error. The sort may panic or leave the slice in an unspecified order, but it never causes undefined behavior. The responsibility sits with the unsafe code. The comparator is safe code supplied by the caller, so the unsafe code inside the sort must stay sound no matter what it returns. The same goes for every safe trait a user can implement: comparisons can be inconsistent, an ExactSizeIterator can report a length that doesn't match the items it yields, and Borrow can return a different value on each call.
str::replace with a custom Pattern (#156491)Another of our bug reports shows how easy this trust is to miss: str::replace with a custom Pattern can create a non-UTF-8 String. String search APIs accept any type that implements the nightly Pattern trait, and a pattern can describe itself through as_utf8_pattern. str::replace uses that description to take a fast path when replacing one ASCII byte with another. In Rust 1.96.0, the fast path in library/alloc/src/str.rs looked like this:
pub fn replace(&self, from: P, to: &str) -> String { // Fast path for replacing a single ASCII character with another. if let Some(from_byte) = match from.as_utf8_pattern() { Some(Utf8Pattern::StringPattern([from_byte])) => Some(*from_byte), Some(Utf8Pattern::CharPattern(c)) => c.as_ascii().map(|ascii_char| ascii_char.to_u8()), _ => None, } { if let [to_byte] = to.as_bytes() { return unsafe { replace_ascii(self.as_bytes(), from_byte, *to_byte) }; } }
replace_ascii, in the same file, then rewrites the bytes:
unsafe fn replace_ascii(utf8_bytes: &[u8], from: u8, to: u8) -> String { let result: Vec = utf8_bytes.iter().map(|b| if *b == from { to } else { *b }).collect(); // SAFETY: We replaced ascii with ascii on valid utf8 strings. unsafe { String::from_utf8_unchecked(result) } }The CharPattern branch checks that the character is ASCII, but the StringPattern branch assumes a one-byte string pattern must be ASCII. That holds for &str patterns, but StringPattern stored &[u8], and as_utf8_pattern is a safe method any Pattern can implement. In our proof of concept, a custom pattern reports the single byte 0x80, which only appears inside multibyte UTF-8 sequences:
impl Pattern for NonAsciiBytePattern { // ... fn as_utf8_pattern(&self) -> Option> { static NEEDLE: [u8; 1] = [0x80]; Some(Utf8Pattern::StringPattern(&NEEDLE)) } } // "\u{d000}" is [ed, 80, 80]; the result is [ed, 3f, 3f], which is not UTF-8. let corrupted = "\u{d000}".replace(NonAsciiBytePattern, "?");str::replace rewrites the continuation bytes and returns a String that isn't valid UTF-8, and later string operations that rely on UTF-8 reach undefined behavior. The fix changed StringPattern to hold &str instead of &[u8], so the type itself now guarantees UTF-8.
When unsafe code depends on a property of a user-provided implementation, don’t take it on faith. Call the implementation once and keep the result, validate what it returns, or encode the property in a type that safe code can’t forge, as this fix did. If none of those work, make the trait unsafe so implementors explicitly promise to uphold it.
More examplesjoin shows how easy it is to fix this kind of bug only partway. In 2020, we reported that it trusted Borrow::borrow to return the same string on each call (CVE-2020-36323), and the fix handled strings that shrink between calls. In April 2026, the same function needed another fix: join borrows the first element twice, and if it grows on the second call, the remaining-length calculation underflows into a heap overflow. The earlier fix had never covered that path.
Others reported similar problems in the Pattern API this year. A safe Pattern can hand back a valid searcher built for a different string, and consumers such as strip_prefix_of apply its ranges to the original string unchecked, reading out of bounds (#158265). The same problem turned up in split_once (#165076) after a report that the Searcher contract doesn't spell out what str::split relies on (#164904). Both bugs are still open.
Pattern 3: Trusting the underlying systemThe first two patterns stay inside Rust code. The third sits at the boundary with the operating system, where unsafe code trusts process-wide state such as signal stacks, memory mappings, and the environment, which other threads, C libraries, or the kernel can touch at any time. These bugs have been hard to find automatically, because a static analyzer would need to model all of that surrounding behavior. AI agents change the picture: they understand enough about the environment the code runs in to make this area practical to search. We started exploring it and found some interesting bugs.
process::exit and the main thread’s signal stack (#161018)When a thread overflows its stack, Rust prints a clear message and aborts instead of crashing with a bare segmentation fault:
thread 'main' (3307186) has overflowed its stack fatal runtime error: stack overflow, abortingThis relies on a few pieces of process-wide state. Each thread’s stack ends in a guard page, an inaccessible region just past the stack’s limit: pthread reserves one for every spawned thread, and on Linux the kernel’s own stack guard plays that role for the main thread. Touching it raises SIGSEGV, and Rust registers a handler for that signal. The handler can’t run on the stack that just overflowed, so Rust also gives each thread an alternate signal stack, a small separate mapping with a guard page of its own, which the kernel switches to when it delivers the signal. The handler checks that the faulting address is inside the guard page, prints the message, and aborts.
Figure 2 — Stack Overflow.We found that calling process::exit from a child thread tears down the main thread’s alternate stack while the main thread is still running. process::exit runs the runtime’s cleanup before calling libc’s exit, and in Rust 1.98.0 that cleanup ends in library/std/src/sys/pal/unix/stack_overflow.rs:
pub unsafe fn cleanup() { if cfg!(panic = "immediate-abort") { return; } // FIXME: I probably cause more bugs than I'm worth! // see https://github.com/rust-lang/rust/issues/111272 unsafe { drop_handler(MAIN_ALTSTACK.load(Ordering::Relaxed)) }; }The cleanup function passes MAIN_ALTSTACK, the main thread’s alternate stack, to drop_handler:
// SAFETY: we warned the caller this disables the alternate signal stack! unsafe { sigaltstack(&disabling_stack, ptr::null_mut()) }; // SAFETY: We know from `get_stackp` that the alternate stack we installed is part of // a mapping that started one page earlier, so walk back a page and unmap from there. unsafe { munmap(data.sub(page_size), sigstack_size + page_size) };The call to sigaltstack disables the alternate stack of the calling thread, but the subsequent call to munmap unmaps the main thread’s. The code assumes it runs on the main thread, which isn’t true when a child thread calls process::exit. The main thread keeps running until libc’s exit finishes, with its signal stack registration still pointing at unmapped memory. If it overflows its stack in that window, the kernel can’t deliver the signal, and our proof of concept dies with a plain segmentation fault instead of Rust’s message. The bug dates back to 2015, and the fix stops cleaning up the main thread’s alternate stack altogether.
We also checked whether this could become a security issue. In theory, it could lead to code execution: if a writable mapping landed at the old alternate stack’s address, the kernel would deliver the main thread’s next signal onto it, and another thread could overwrite the handler’s frame, such as its return address, while it runs. In practice, the conditions are very tight. Everything has to happen in the brief window before libc’s exit finishes, the new mapping must have exactly the right size to reuse that address, and overwriting the frame takes a second race inside a short handler. For issue #161018, our testing found no reliable exploitation path under the conditions examined, and we assessed practical exploitation as unlikely. This assessment does not automatically apply to the other issues discussed. The issue has more details in its security impact analysis.
CommandExt::exec and the global environment (#156951)Our other report involves the process environment. On Unix, CommandExt::exec replaces the current process with a new program. When the command has its own environment variables, exec points the process-global environ at a new array, calls execvp, and restores environ if execvp fails. In Rust 1.99.0, Command::exec takes the environment lock in library/std/src/sys/process/unix/unix.rs:
let _lock = sys::env::env_read_lock(); let Err(e) = self.do_exec(theirs, envp.as_ref());Command::do_exec, in the same file, then swaps the environment:
_reset = Some(Reset(*sys::env::environ())); *sys::env::environ() = envp.as_ptr(); } libc::execvp(self.get_program_cstr().as_ptr(), self.get_argv().as_ptr()); Err(io::Error::last_os_error())Command::exec takes only the read side of the environment lock, yet do_exec writes the process-global environ. Before the write, do_exec saves the old value so it can be restored if execvp fails. Writing environ under a read lock lets other threads in. A thread calling env::var takes the same read lock and can see variables meant only for the new program, and two failed exec calls racing each other can leave environ pointing at a freed array that a later env::vars_os() reads. Both proofs of concept use only safe Rust. A 2018 fix held an exclusive lock here, but when the environment lock became a read-write lock in 2021, exec kept the read side. A fix that avoids touching environ by calling execve directly is in review.
The environment has caused trouble before. After a discussion that began in 2015, the 2024 edition marked env::set_var as unsafe, because C functions on most Unix platforms read the environment without going through Rust's lock.
process::exit and thread-local destructors (#164243)Getting this boundary right is hard, and more problems are still open. While exploring this area, we independently ran into a double free in safe code that process::exit can cause through thread-local destructors. It was reported by someone else (#164243), but it’s worth mentioning here. libc’s exit first runs the calling thread’s thread-local destructors, as C++ requires, and Rust registers its destructors the same way. If a destructor calls process::exit while a thread local is being replaced, libc drops that thread local a second time. A proposed fix switches process::exit to POSIX _exit, which ends the process without running these handlers.
Why Rust still matters and advancing vulnerability discovery with AIEvery unsafe block rests on assumptions about the code around it. The bugs in this post came from three kinds of misplaced trust:
- that code won't panic at the wrong moment,
- that a caller-provided implementation behaves correctly, and
- that the process-wide state Rust shares with the operating system and the C library stays the way the code expects.
The first two patterns are well studied. Rudra looked for both in 2021, and the standard library was already fixing panic safety bugs in 2015 (CVE-2015-20001). They remain challenging to avoid because any call inside unsafe code might unwind or run code the caller supplied.
What we saw this year was mixed. On the positive side, the nightly process is working. Many reports were caught while the affected APIs were still unstable, and several were fixed by changing the design before stabilization. StringPattern now holds &str instead of &[u8], and Allocator was stabilized with a rule that implementors must not unwind. At the same time, bugs in these patterns still reach stable releases, and their fixes aren't always complete. join was fixed in 2020 and needed another fix in 2026 for a path the first fix had missed.
System boundary bugs are now within reach (Pattern 3)The third pattern is different. Its bugs live where Rust meets the layers below it: the kernel, through system calls such as sigaltstack and munmap, and the C library, through process-wide state such as environ and the cleanup that libc's exit runs. Getting them right takes knowledge that lives outside Rust's type system, which has made these bugs difficult to find with traditional static analysis. That may also be why they last so long. The process::exit signal stack bug was in the standard library for nearly 11 years, and exec has written environ under a read lock since 2021. Unlike our reports in the first two patterns, both affect stable Rust.
Language models already know a great deal about how these interfaces behave, so agentic scanners can check unsafe code against the system it runs on, not just the language. We think this boundary is one of the most promising places for agentic security research, in Rust and beyond.
Rust's high bar is hard to meet but worth keepingRust holds its safe APIs to a stricter standard than C and C++. Safe code must never be able to cause undefined behavior, no matter how it uses an API. In C++, a comparator that breaks std::sort's ordering requirement causes undefined behavior, while Rust's sort must stay memory-safe with any Ord implementation. POSIX doesn't guarantee that setenv is safe to call while another thread reads the environment. That makes memory safety bugs in Rust hard to compare one-to-one with bugs in other languages.
For the same reason, a soundness bug in the standard library isn't automatically a vulnerability in the programs that use it. Each bug in this post needs an unusual setup to trigger, such as a panic at exactly the wrong moment, a deliberately misbehaving implementation, or calling process::exit from a child thread. It becomes a serious vulnerability only if a real program reaches the API in that way.
Rust's safety standard is strict and difficult to meet, but it's also useful. It gives an unambiguous answer to what counts as a soundness bug, so problems can be fixed and prevented once in the library, instead of in every program that uses it. Rust's safety model strikes the right balance between control, safety, and performance for systems programming, which is why so many projects choose it.
Beyond the labAt Microsoft FORGE Lab, we're exploring how technology such as codename MDASH can help researchers find bugs like the ones in this post at greater scale. Rust's standard library is one of several foundational open source projects where we're applying this approach.
This research also extends beyond the lab. It helps inform the development of codename MDASH, which brings agentic vulnerability discovery into Microsoft Defender. These findings can also serve as inputs to Microsoft Perception, our new multi-agent security system, where specialized agents work together across broader security workflows. For example, the Web App Pen Test Agent can use codename MDASH findings to help prioritize testing, validate exploitability against live applications, and produce actionable vulnerabilities that downstream agents can use to prioritize and support remediation. This connects AI-powered code analysis with real-world security validation and response, helping security teams move from identifying potential vulnerabilities to understanding and addressing actual risk.
Our goal isn’t to simply find more bugs, it's to identify meaningful issues, turn those findings into actionable research, and improve the safety of foundational software that developers and organizations depend on.
The post FORGE Lab uses agentic tools to identify memory safety issues in Rust appeared first on Microsoft Security Blog.
ARTEX abuse expands as cybercriminals target financial sector
- Mitigation and protection guidance
- Microsoft Defender detections
- Hunting queries
- Indicators of compromise
In October 2026, the financially motivated threat actor Storm-3358 began targeting organizations in the financial sector using the agentic AI offensive framework ARTEX. The threat actor that Microsoft Threat Intelligence tracks as Storm-3358 is a Cambodia-based intrusion cluster that primarily targets financial organizations in Southeast Asia, in addition to a smaller number of large financial organizations globally.
Microsoft has observed Storm-3358 use ARTEX in combination with conventional automated tools to scan systems connected to the public internet, exploit security flaws including anonymous file upload and server-side request forgery (SSRF), and install open-source remote access trojans (RATs). Storm-3358 has used the WISP, vshell, and AdaptixC2 RATs for persistence and lateral movement. Microsoft has observed ARTEX agents using utilities like netcat and curl to download these RATs to compromised systems, as shown in Figure 1.
Figure 1. Example commands that ARTEX agents used to download RATs to compromised systems.In recent ARTEX-related attacks, threat actors have used ARTEX agents to scan and exploit vulnerabilities in web applications, use web shells for persistence on compromised web servers, compromise credentials from public sources and compromised systems, and use compromised cloud identities for persistence and data exfiltration. ARTEX agents can also perform brute-force password attacks, password spraying, API enumeration and abuse, and database dumping. Agentic tools like ARTEX can leverage compromised credentials and systems at machine speed to move laterally, escalate privileges, and exfiltrate data.
This activity illustrates an ongoing trend of threat actors accelerating all stages of the attack chain with agentic AI penetration testing frameworks, including ARTEX. As these capabilities evolve, defenders must similarly use AI to investigate and respond across large environments.
While threat actors regularly use proxies and virtual private networks (VPNs) to change the source IP address of malicious traffic and bypass static detections, Microsoft is providing indicators of compromise (IOCs) to help defenders detect related activity.
Mitigation and protection guidanceMicrosoft’s research into threats involving agentic frameworks informs security detections and investigative context across its products. The capabilities available to customers depend on the source of the activity and the products and protections deployed in their environment.
Several behavioral signals can help organizations determine that they are being targeted by threat actors using agentic AI. Agentic AI frameworks scanning a target send a wide variety of requests in a brief time and retry variations on the same technique or move on to next-stage actions at machine speed. Agentic AI frameworks use existing penetration testing tools. For example, ARTEX by default uses Nmap, curl, wget, Python HTTP clients, Norma SDK WebFetch, and headless Chromium through Playwright, among others. These tools may send network traffic with distinctive characteristics, such as default user agent strings. While blocking network traffic with these characteristics will not stop an attack by an AI agent, which will quickly change them, identifying them can alert defenders to the activity.
Defensive honeypots, decoys, tarpits, and fake wins can pull autonomous AI attacks away from legitimate targets. Honeypots and decoy surfaces such as Microsoft Sentinel Deception give the agent attractive but worthless targets to pursue. Tarpits consume the agent’s time and budget. Fake wins present convincing evidence that the agent’s objective is complete, which can cause it to stop on a false success. In Microsoft’s testing, these controls helped reduce the attack traffic reaching real assets and produced high-confidence, attribution-quality signal.
For additional information on the evolution of threat actors’ use of ARTEX please see Microsoft’s recent blogs: AI-driven, large-scale nation-state campaign using ARTEX enables supply chain compromise and Threat actors use agentic AI tooling to find and abuse exposed secrets.
Microsoft’s continuous research into threat actors leveraging agentic frameworks integrates directly into the following products:
Identity and sign-in activity — Microsoft Entra ID Protection
Microsoft analyzes sign-in activity and other signals to identify potential identity risk. Customers can investigate risk detections and risky sign-ins, and configure Conditional Access policies that use sign-in or user risk to require multifactor authentication or block access when specified conditions are met. Identity and sign-in activity from known threat actor infrastructure, including from agentic frameworks like ARTEX, generate Verified threat actor IP risk detections delivered at high risk. See:
- Investigate risk with Microsoft Entra ID Protection
- Risk-based user sign-in protection in Microsoft Entra ID
- What are risk detections? – Microsoft Entra ID Protection
Endpoint activity — Microsoft Defender for Endpoint
Endpoint alerts help security teams identify and investigate suspicious activity on devices. Indicators of compromise can support detection and, when configured, blocking. Customers can review related alerts in the Microsoft Defender portal. See:
Activity across security domains — Microsoft Defender portal
The portal brings together alerts and incidents from Microsoft security solutions and provides relevant threat intelligence to support investigation, threat hunting, and response. This helps customers assess suspicious activity in the context of their own environment. See:
Security Dashboard for AI
Threat actor misuse of AI accelerates risk across enterprise environments by amplifying existing threats such as exploitation of vulnerabilities, phishing, malware threats, and insider activity. To help organizations stay ahead of AI-enabled threat activity, Microsoft has introduced the Security Dashboard for AI. The dashboard provides users with a unified view of AI security posture by aggregating security, identity, and data risk across Microsoft Defender, Microsoft Entra, and Microsoft Purview. See:
Microsoft Defender detectionsMicrosoft Defender customers can refer to the list of applicable detections below. Microsoft Defender coordinates detection, prevention, investigation, and response across endpoints, identities, email, apps to provide integrated protection against attacks like the threat discussed in this blog. These alerts may trigger on unrelated activity. Customers should investigate to determine if the alert is related to the activity outlined in this blog.
Tactic Microsoft Defender coverage ExecutionMicrosoft Defender for Endpoint– Process launched in the background
– Suspicious file dropped and launched
– Suspicious file or content ingress
– Hidden file executed
– Suspicious process executed by network service
– Suspicious piped command launched
– Suspicious process launched by service
– Suspicious process launched from a world-writable directory
– Suspicious script launched
– Suspicious shell execution from PHP application
– Suspicious shell command executionCollectionMicrosoft Defender for Endpoint
– Enumeration of files with sensitive data
– Suspicious file copy operations
– Suspicious process collected data from local systemCredential accessMicrosoft Defender for Endpoint
– Suspicious access of sensitive filesDefense evasionMicrosoft Defender for Endpoint
– Executable permission added to file or directory
– Obfuscation or deobfuscation activity
– Possible time based evasion
– Suspicious decoding of encoded content into script
– Suspicious file and directory permission modification
– Suspicious file or information obfuscation detected
– Suspicious path deletionDiscoveryMicrosoft Defender for Endpoint
– Suspicious port scan activityCommand and control (C2)Microsoft Defender for Endpoint
– Possible reverse shell
– Suspicious connection to remote service
– Suspicious curl behavior
Microsoft Defender for Cloud
– Publicly accessible storage containers have been exposed
– Azure Resource Manager operation from suspicious IP addressLateral movementMicrosoft Defender for Endpoint
– Remote Desktop sessionPersistenceMicrosoft Defender for Endpoint
– Possible Web Server compromise activity
– Suspicious cron job creation Microsoft Security Copilot
Microsoft Security Copilot is embedded in Microsoft Defender and provides security teams with AI-powered capabilities to summarize incidents, analyze files and scripts, summarize identities, use guided responses, and generate device summaries, hunting queries, and incident reports.
Customers can also deploy AI agents, including the following Microsoft Security Copilot agents, to perform security tasks efficiently:
- Threat Intelligence Briefing agent
- Phishing Triage agent
- Threat Hunting agent
- Dynamic Threat Detection agent
Security Copilot is also available as a standalone experience where customers can perform specific security-related tasks, such as incident investigation, user analysis, and vulnerability impact assessment. In addition, Security Copilot offers developer scenarios that allow customers to build, test, publish, and integrate AI agents and plugins to meet unique security needs.
Threat intelligence reportsMicrosoft Defender XDR customers can use the following threat analytics reports in the Defender portal (requires license for at least one Defender XDR product) to get the most up-to-date information about the activity and techniques discussed in this blog. These reports provide intelligence, protection information, and recommended actions to prevent, mitigate, or respond to associated threats found in customer environments.
Microsoft Security Copilot customers can also use the Microsoft Security Copilot integration in Microsoft Defender Threat Intelligence, either in the Security Copilot standalone portal or in the embedded experience in the Microsoft Defender portal to get more information about this threat.
Hunting queries Microsoft Defender XDRMicrosoft Defender XDR customers can run the following advanced hunting query to find related activity in their networks:
Download of new files using curl
Threat actors might use tools such as curl to download additional files, communicate with C2 infrastructure, or exfiltrate data. This query looks for new files being downloaded using curl. curl also has legitimate uses, so files and hosts should be reviewed to identify potentially malicious activity.
let known_files = DeviceNetworkEvents | where TimeGenerated between (ago(7d)..ago(1d)) | where InitiatingProcessFileName has "curl" | extend url = extract("http[s]?:\\/\\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\\(\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+", 0,InitiatingProcessCommandLine) | extend ip = extract("(\\b25[0-5]|\\b2[0-4][0-9]|\\b[01]?[0-9][0-9]?)(\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}[^ ]*", 0, InitiatingProcessCommandLine) | extend remote_file = iif(isnotempty(url), url, ip) | union (SecurityEvent | where TimeGenerated between (ago(7d)..ago(1d)) | where EventID == 4688 | where CommandLine has "curl" | extend url = extract("http[s]?:\\/\\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\\(\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+", 0,CommandLine) | extend ip = extract("(\\b25[0-5]|\\b2[0-4][0-9]|\\b[01]?[0-9][0-9]?)(\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}[^ ]*", 0, CommandLine) | extend remote_file = iif(isnotempty(url), url, ip)) | summarize by remote_file; DeviceNetworkEvents | where TimeGenerated > ago(1d) | where InitiatingProcessFileName has "curl" | extend url = extract("http[s]?:\\/\\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\\(\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+", 0,InitiatingProcessCommandLine) | extend ip = extract("(\\b25[0-5]|\\b2[0-4][0-9]|\\b[01]?[0-9][0-9]?)(\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}[^ ]*", 0, InitiatingProcessCommandLine) | extend remote_file = iif(isnotempty(url), url, ip) | union (SecurityEvent | where EventID == 4688 | where CommandLine has "curl" | extend url = extract("http[s]?:\\/\\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\\(\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+", 0,CommandLine) | extend ip = extract("(\\b25[0-5]|\\b2[0-4][0-9]|\\b[01]?[0-9][0-9]?)(\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}[^ ]*", 0, CommandLine) | extend remote_file = iif(isnotempty(url), url, ip)) | where remote_file !in (known_files) Microsoft SentinelMicrosoft Sentinel customers can run the following advanced hunting query to find related activity in their networks:
Detect network IP indicators of compromise using ASIM
The following query checks IP address across data sources in the past 30 days supported by ASIM network session parser.
let lookback = 30d; let ioc_ip_addr = dynamic(["199.19.95.66", "199.19.95.67", "199.19.95.68", "91.92.240.238", "85.11.168.45", "178.15.54.129", "31.77.229.35", “85.11.167.52”]); _Im_NetworkSession(starttime=todatetime(ago(lookback)), endtime=now()) | where DstIpAddr in (ioc_ip_addr) or DstDomain has_any (ioc_domains) | summarize FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), EventCount=count() by SrcIpAddr, DstIpAddr, DstDomain, Dvc, EventProduct, EventVendor Indicators of compromiseNote: Threat actors regularly use proxies and virtual private networks (VPNs) to change the source IP address of malicious traffic and bypass static detections. Microsoft is providing the following sample indicators of compromise (IOCs) to help defenders detect related activity.
IndicatorTypeDescriptionFirst seenLast seen199.19.95[.]66IP addressWISP C2 node2026-11-02Active as of 2026-11-06199.19.95[.]67IP addressWISP C2 node2026-11-02Active as of 2026-11-06199.19.95[.]68IP addressWISP C2 node2026-11-02Active as of 2026-11-0691.92.240[.]238IP addressARTEX server2026-11-04Active as of 2026-11-0685.11.168[.]45IP addressARTEX server2026-11-04Active as of 2026-11-0685.11.167[.]52IP addressC2 server2026-11-04Active as of 2026-11-06178.16.54[.]129IP addressARTEX server2026-10-19Active as of 2026-11-0631.77.229[.]35IP addressARTEX server2026-10-28Active as of 2026-11-06 Learn moreFor the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
The post ARTEX abuse expands as cybercriminals target financial sector appeared first on Microsoft Security Blog.
Threat actors use agentic AI tooling to find and abuse exposed secrets
- From exposed secrets to cloud compromise
- Follow-on actions
- Mitigating application credential abuse activity
- Defending against agentic AI attacks
- Microsoft detections
- Advanced hunting queries
Microsoft Threat Intelligence has observed threat actors using an agentic AI offensive framework to search public GitHub repositories for exposed secrets, including credentials, application credentials, and AI inference-related API keys across multiple applications and cloud services. These threat actors can then use the secrets for further malicious activity against the compromised organization.
Searching open code repositories for exposed credentials, secrets, keys, and other authentication material is a well-documented technique that has historically been limited by the time required for human operators to find code repositories, review the data in the repositories, and leverage authentication material for further action. However, agentic tooling like ARTEX allows threat actors to not only scan for secrets across multiple repositories at a quicker pace but also use the agents to analyze the output and conduct follow-on attacks, cutting down on the need for the threat actor to have hands-on-keyboard interactions throughout the attack chain. In at least one case, Microsoft observed an AI agent advance from scanning GitHub for secrets to exfiltrating data from Azure Key Vault in just five minutes.
Microsoft has also investigated follow-on activity involving the misuse of valid application credentials. As early as October 28, 2026, Microsoft began observing successful service principal sign-ins from the IP address 199.19.77[.]84 involving multiple application IDs across some impacted customers, including cases where a multitenant application credential was compromised at the source (vendor-owned application) and used to access multiple downstream tenants. The threat actor used the compromised credentials for cloud resource discovery, and credential and data exfiltration, including from Azure Key Vaults and Storage Accounts, and abuse of Azure AI services consistent with the activity described above. Additionally, Microsoft observed malicious activity originating from two IP addresses potentially associated with this campaign. We identified malicious operations from 65.87.223[.]26, including indications of vulnerability exploitation by embedded shell commands in a user agent and attempts to obtain App Service authentication tokens. A similar campaign involving the same IPs addressed was also reported by Todyl. Separately, Microsoft observed reconnaissance operations from 157.22.126[.]128 targeting AI workloads deployed by victims on Azure AI services.
Microsoft encourages organizations to scan their code in GitHub and determine where any secrets are present. In addition to removing the secrets from the code base, affected organizations should immediately rotate any exposed keys or credentials. GitHub monitors public repositories by automatically scanning for secrets. In addition to scanning their own repositories, organizations can enable public monitoring through GitHub to detect secrets leaked in secondary public repositories across GitHub. This extends secret scanning beyond the repositories an enterprise owns to follow potential secret exposure across the platform. GitHub Advanced Security for Azure DevOps scans for credentials and other sensitive content in source code. Push protection can also block supported secrets before they’re pushed. Organizations need either GitHub Advanced Security for Azure DevOps or, for organizations using the standalone experience, GitHub Secret Protection for Azure DevOps enabled.
Secrets are exposed in public repositories when code containing the secret is committed to GitHub. Developers might store secrets in configuration files, scripts, or other code to quickly operationalize the OAuth application or avoid configuring more modern authentication flows. Organizations can reduce exposure by protecting workload identities and secrets, enforcing least privilege, safeguarding recovery resources, and enabling relevant Microsoft Defender for Cloud protections. Publicly exposed credentials remain usable until revoked or rotated; removing the original disclosure alone does not remediate the exposure. Microsoft recommends that developers migrate OAuth applications away from secret-based authentication. While storing long-lived application client secrets in code is a common practice, using managed identities for application authentication eliminates the possibility of secret exposure in code, manual processes associated with secret management, and barriers to securely scaling applications.
This activity illustrates an ongoing trend of threat actors accelerating all stages of the attack chain with agentic AI penetration testing frameworks, including ARTEX. As these capabilities evolve, defenders must similarly use AI to investigate and respond across large environments.
From exposed secrets to cloud compromiseStarting in August 2026, Microsoft observed threat actors using an agentic AI offensive framework to submit large volumes of queries to GitHub for secrets. The queries submitted by the AI framework often included the name of a target organization, keywords for secrets, a keyword linked to cloud services, or a keyword linked to another AI service provider. Organizations that find their secrets exposed in public repositories must assume that the exposed secrets and associated applications are compromised.
Follow-on actions Credential abuse via Entra IDIn one follow-on attack that began as early as October 28, 2026, an agentic framework used valid leaked or stolen application credentials to access Microsoft Entra ID tenants of certain organizations and connected Azure and Microsoft 365 resources. The sign-ins primarily came from two IP addresses: 199.19.77[.]84 and 199.19.77[.]18. The latter IP address is a Tor exit node, which might be associated with unrelated malicious activity, including from unrelated sources. The agent successfully conducted service principal sign-ins on dozens of associated applications across multiple tenants.. Service principals are the identities that applications use to authenticate and give direct, programmatic access to whatever the application is authorized to reach.
The threat actor targeted operations that return credentials, including storage account keys, App Service settings, connection strings and publishing credentials, AI and machine learning (ML) connections and datastores, and Azure Kubernetes Service (AKS) user credentials. The compromised applications subsequently accessed SharePoint and OneDrive in the targeted organization tenants, including file downloads and mailbox-item access. In some tenants, the threat actor sent Microsoft Graph API requests, which were mostly searches to find content of interest. The threat actor enumerated subscriptions, resource groups, permissions, AI model deployments, and service configurations in Azure to map the environment.
Additionally, the threat actor attempted to validate stolen Azure resources, including compromised Azure AI services, as identified using Defender for Cloud’s AI threat protection. Observed activity suggests that the threat actor might have attempted to abuse some of these compromised AI resources to facilitate their broader attack activity.
Figure 1. Tactics, techniques, and procedures (TTPs) observed across the credential abuse attack chain Cloud API adjustments indicative of adaptive behaviorAdditionally in this attack the agent’s operations on a victim’s Azure Resource Manager (ARM) instance originating from 199.19.77[.]84 demonstrated sequences consistent with adaptive troubleshooting, where failed cloud API requests were followed by changes to HTTP methods or API versions and subsequent HTTP 200 responses:
- A batch of ARM requests attempting to enumerate secret metadata across multiple Azure Key Vault resources returned HTTP 400 (Bad Request). These requests specified a version associated with Key Vault’s data-plane APIs against ARM (control-plane) APIs. Approximately 28 seconds after the first failed response, a batch rerun began against the same vault resource paths using the ARM API version 2023-07-01 and returned HTTP 200.
- A GET request to enumerate an Azure SQL server’s firewall rules specified an outdated API version and returned HTTP 400. Approximately 60 seconds after that request, a matching GET began using a supported version and subsequently returned HTTP 200. The URL changed only in its api-version parameter.
- An ARM POST request to an Application Insights query endpoint returned HTTP 400 because an outdated API version was specified. Approximately 80 seconds after the failed request, another POST began against the same endpoint, specifying a supported API version, and subsequently returned HTTP 200.
In multiple cases, Microsoft observed the same agentic AI tools subsequently obtain a token for a single-tenant OAuth application in the same target organization, then use the compromised OAuth application to enumerate other cloud resources within the organization. In some cases, the agents exfiltrated secrets from the organization’s Azure Key Vault. The agents once authenticated have also searched Azure DevOps for secrets. Until the secrets are revoked or rotated, they can allow a threat actor to maintain persistence in the organization, compromise additional identities, or hijack resources. In one observed case, an AI agent progressed from searching for the client secrets in GitHub to exfiltrating data from Azure Key Vault in five minutes.
The agents also used the compromised OAuth application to use the Run Command, which runs scripts in Azure VMs. With access to this functionality on a VM, a threat actor can access unsecured credentials and other stored data, compromise associated workload identities, or run code that provides persistence or lateral movement.
During this activity, the AI agents repeatedly demonstrated a focus on credentials that provide access to AI services, such as API keys for major AI service providers and OAuth applications with access to Foundry Tools (previously known as Azure Cognitive Services). Multiple public reports have documented threat actors using agentic AI tools to compromise credentials for AI services, sometimes to run the same agentic AI workflow.
Mitigating application credential abuse activityMicrosoft recommends the following mitigation steps to contain, detect, and investigate this threat.
Containment
- Block 199.19.77[.]84/32 as a named location in a Conditional Access policy targeting workload identities, assigned directly to service principals, and in a user-scoped block policy to cover replayed sessions. Note that workload identity policies require Workload ID Premium licensing and cover only single-tenant apps registered in your tenant. Block the exact IP rather than the whole ASN.
- For affected users, revoke Entra sessions, Azure DevOps PATs and SSH keys.
- For any affected application, remove all client secrets, certificates and federated credentials, including those added by the threat actor and disable the service principal if needed. Tokens already issued remain valid until expiry.
- Rotate everything stored in any Key Vault the affected application could read, and any credentials found in accessed documents.
- MSPs: Review Partner Center access, GDAP relationships, and customer tenants, and notify affected customers per your agreements.
Detection and hunting
- Review Entra service principal and non-interactive sign-in logs for 199.19.77[.]84 and 199.19.77[.]18 including failed attempts. Sign-in errors AADSTS7000215 (invalid secret) or AADSTS7000222 (expired secret) indicate someone holds a credential for your app; a failure followed by a success is urgent.
- Review Azure Activity, Key Vault and Storage diagnostics, Entra audit, Azure DevOps audit and Microsoft 365 unified audit logs for the address, including secret reads, blob and file downloads, and changes to apps, permissions or pipelines.
- In Azure DevOps auditing, review PAT creation and first use, federated service connections, pipeline runs and edits, and unfamiliar user agents. Enable auditing if it is off.
- Look for behavior as well as the IP: one address authenticating to three or more service principals with mixed success, or one app requesting tokens across Azure Resource Manager, Key Vault, Storage and Graph in a short window. Search as far back as retention allows.
Threat actors can and do change the source IP address, user agent strings, and other fingerprints left by the agentic AI penetration testing tools they use. This can make identifying and blocking malicious network traffic early difficult for defenders.
Several behavioral signals can help organizations determine that they are being targeted by threat actors using agentic AI. Agentic AI frameworks scanning a target send a wide variety of requests in a brief time and retry variations on the same technique or move on to next-stage actions at machine speed. Agentic AI frameworks use existing penetration testing tools. For example, ARTEX by default uses Nmap, curl, wget, Python HTTP clients, Norma SDK WebFetch, and headless Chromium through Playwright, among others. These tools may send network traffic with distinctive characteristics, such as default user agent strings. While blocking network traffic with these characteristics will not stop an attack by an AI agent, which will quickly change them, identifying them can alert defenders to the activity.
Defensive honeypots, decoys, tarpits, and fake wins can pull autonomous AI attacks away from legitimate targets. Honeypots and decoy surfaces such as Microsoft Sentinel Deception give the agent attractive but worthless targets to pursue. Tarpits consume the agent’s time and budget. Fake wins present convincing evidence that the agent’s objective is complete, which can cause it to stop on a false success. In Microsoft’s testing, these controls helped reduce the attack traffic reaching real assets and produced high-confidence, attribution-quality signal.
Microsoft recommends the following mitigations to reduce the impact of this threat.
- Protect and continuously assess application credentials and secrets. Avoid storing service principal credentials, storage keys, connection strings, and other secrets in source code, configuration files, public repositories, issues, or other locations where they might be inadvertently exposed. To find credentials in source code, consider using tools like GitHub Advanced Security or other OWASP source code analysis tools.
- Rotate compromised or exposed credentials immediately and establish credential lifecycle practices. Treat credentials that have been publicly exposed as compromised, even if the original location has subsequently been edited or deleted. Removing the content does not invalidate the credential or eliminate copies retained in edit history, caches, archives, logs, or other systems. Immediately revoke or rotate the affected credentials and investigate their historical use. Where supported, organizations should favor mechanisms that reduce reliance on long-lived credentials. Learn more about protecting secrets with Defender for Cloud.
- Enable appropriate Microsoft Defender for Cloud plans for critical Azure workloads. Consider enabling workload protections relevant to the resources in your environment, including Defender for Resource Manager, Defender for Storage, Defender for Key Vault, Defender for App Service, and Defender for Databases. Learn more in the Microsoft Defender for Cloud overview.
- Apply least privilege to service principals and other workload identities. Review the Azure role-based access control (RBAC) permissions assigned to service principals and restrict their privileges to the resources and operations required by their applications. Learn more about best practices for Azure RBAC.
- Protect backup and recovery infrastructure as part of resilience. Restrict access to backup and recovery resources and closely monitor attempts to modify or remove their protection controls. Learn more about Azure Backup security best practices.
Hardening OAuth applications against compromise involves managing the permissions of the applications in your organization and securing application secrets. To triage applications in your environment, enforce security policies with new applications as they are created, and address existing applications over time beginning with the most recent ones.
- Identify and catalog applications running in your cloud environment. The Cloud app catalog page in Defender for Cloud Apps is one service that can help accomplish this.
- Use Microsoft Defender for Cloud Apps Cloud Discovery tools to identify unmanaged apps, and prioritize the most frequently used apps to migrate and integrate.
- Use Conditional Access policies for workload identities. Consider augmenting identity signals with workload identity risk protection.
- Set permission restrictions to limit who can create an application in the tenant. This can be achieved by setting the ability for users to register apps to “No” and limiting the application developer role to privileged users. Review the list of least privileged roles by task to help scope role-based access control in your environment.
- Integrate enterprise applications with Microsoft Entra ID.
Microsoft Defender and Microsoft Sentinel customers can refer to the list of applicable detections below. Microsoft Defender coordinates detection, prevention, investigation, and response across endpoints, identities, email, and apps to provide integrated protection against attacks like the threat discussed in this blog.
Tactic Observed activity Microsoft Defender and Sentinel coverage Initial accessMultiple identity-protection alerts identified authentication attempts from anonymized or high-risk infrastructure. This pattern can indicate attempted access through proxy, VPN, or previously reported malicious network sources.Microsoft Entra ID Protection– Anonymous IP addressInitial accessAttack-analysis detections identified OAuth application activity consistent with compromise. This type of detection is useful when evaluating whether an app identity, rather than only a user identity, may have been abused.Microsoft Defender XDR
– Potentially compromised OAuth application identified through attack activity analysisInitial access, DiscoveryUnattributed network indicators related to ARTEX use are flagged by Microsoft Threat Intelligence research and surfaced across multiple alerts. Suspected ARTEX use can include activity beyond the GitHub repository scanning activity discussed in this blog.Microsoft Sentinel
– Abnormal Deny Rate for Source IP
– Abnormal Port to Protocol
– Inbound Network Attack detected
– Malformed user agent
– Password spray attack against Azure AD application
Microsoft Defender XDR
– Account compromised following a password-spray attack
– Anomalous OAuth device code authentication activity
– Multiple Service Principal Sign-ins from Single IP
– Graph API activity from a Microsoft threat intelligence IP address
Microsoft Defender for Cloud Apps
– Activities from suspicious user agents
– Multiple failed login attempts
– Multiple failed user log on attempts to an app
– OAuth application activity from an uncommonly visited ISP
– Suspicious OAuth app registration
Microsoft Defender for Cloud
– Key vault unusual access denied – user/application accessing high volume of denied key vaults
– Access from an unusual location to a sensitive blob container
– Azure Resource Manager operation from suspicious IP address
Microsoft Entra ID Protection
– Atypical travelMalicious IP addressPassword Spray
– Verified threat actor IPCredential accessIdentity-protection detections observed password spray behavior. This indicates repeated authentication attempts across accounts or tenants using a common source pattern.Microsoft Entra ID Protection
– Password spray
Microsoft Defender for Identity
– Suspicious service principal sign-in following credential additionCredential accessAzure Key Vault accessMicrosoft Defender for Cloud (Defender for Key Vault)
– Unusual operation pattern in a key vault
– High volume of operations in a key vault
– Unusual application accessed a key vault
– Suspicious secret listing and query in a key vault
– Unusual access to the key vault from a suspicious IP (Non-Microsoft or External)Command and controlSuspicious Microsoft Graph API usage was observed from campaign infrastructure. The activity involved Graph requests that can support discovery, collection, or follow-on cloud operations. Microsoft Defender for Identity
– Suspicious Entra Graph API query observed Advanced hunting queries
The following hunting queries are related to the October 28 Entra ID service principal sign-in activity.
Find successful and failed application sign-ins from the suspicious IP addresses
let startTime = datetime(2026-10-28T00:00:00Z); let endTime = now(); EntraIdSpnSignInEvents | where Timestamp between (startTime .. endTime) | where IPAddress in ("199.19.77.84") | project Timestamp, TenantId, Application, ApplicationId, ServicePrincipalName, ServicePrincipalId, ResourceDisplayName, ResourceId, ResourceTenantId, IPAddress, ErrorCode, UserAgent, CorrelationId, RequestId | order by Timestamp ascFind Microsoft Graph API requests from the two IP addresses, including searches and response status
let startTime = datetime(2026-10-28T00:00:00Z); let endTime = now(); GraphAPIAuditEvents | where Timestamp between (startTime .. endTime) | where IpAddress in ("199.19.77.84") | project Timestamp, TenantId, ApplicationId, ServicePrincipalId, AccountObjectId, IpAddress, RequestMethod, RequestUri, ResponseStatusCode, ResponseSize, Scopes, EntityType, TargetWorkload, UniqueTokenIdentifier, ClientRequestId, OperationId, RequestId | order by Timestamp ascFind available Microsoft 365 and Microsoft Azure cloud activity details from the suspicious IP addresses
let startTime = datetime(2026-10-28T00:00:00Z); let endTime = now(); CloudAppEvents | where Timestamp between (startTime .. endTime) | where IPAddress in ("199.19.77.84") | project Timestamp, Application, CloudAppId = ApplicationId, ActionType, ActivityType, AccountType, AccountDisplayName, AccountId, AccountObjectId, IPAddress, UserAgent, ObjectName, ObjectType, ObjectId, ActivityObjects, ReportId, RawEventData | order by Timestamp ascCloudAuditEvents table to identify suspicious controlplane operations
CloudAuditEvents | where IPAddress has_any ('199.19.77.84','65.87.223.26')CloudStorageEvents table to identify possible exfiltration from Storage Accounts.
CloudStorageAggregatedEvents | where IPAddress in ('199.19.77.84','65.87.223.26') | where SuccessfulOperationsCount > 0 Microsoft Security CopilotMicrosoft Security Copilot is embedded in Microsoft Defender and provides security teams with AI-powered capabilities to summarize incidents, analyze files and scripts, summarize identities, use guided responses, and generate device summaries, hunting queries, and incident reports.
Customers can also deploy AI agents, including the following Microsoft Security Copilot agents, to perform security tasks efficiently:
- Threat Intelligence Briefing agent
- Phishing Triage agent
- Threat Hunting agent
- Dynamic Threat Detection agent
Security Copilot is also available as a standalone experience where customers can perform specific security-related tasks, such as incident investigation, user analysis, and vulnerability impact assessment. In addition, Security Copilot offers developer scenarios that allow customers to build, test, publish, and integrate AI agents and plugins to meet unique security needs.
Threat intelligence reportsMicrosoft Defender XDR customers can use threat analytics reports in the Defender portal (requires license for at least one Defender XDR product) to get the most up-to-date information about the activity and techniques discussed in this blog. These reports provide intelligence, protection information, and recommended actions to prevent, mitigate, or respond to associated threats found in customer environments.
Microsoft Security Copilot customers can also use the Microsoft Security Copilot integration in Microsoft Defender Threat Intelligence, either in the Security Copilot standalone portal or in the embedded experience in the Microsoft Defender portal to get more information about this threat.
Learn moreFor the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
The post Threat actors use agentic AI tooling to find and abuse exposed secrets appeared first on Microsoft Security Blog.
New investments to reduce on-premises security risk
On-premises servers can be essential to business operations, but they are increasingly attractive targets to attackers. AI can help less-skilled actors analyze software, develop malicious tools, and repeat attack workflows at greater speed and scale, shortening the window between exposure and exploitation. Organizations need to strengthen security faster without disrupting the critical workloads they rely on.
Today, we’re announcing a new on-premises security initiative, initially focused on server workloads. The initiative brings together guidance, migration, and product investments to help customers understand and prioritize risk, reduce their on-premises footprint wherever possible, and strengthen critical workloads that need to remain. Guidance for the initiative will soon be available through Secure Now, which also includes our AI readiness checklist in Microsoft Security Exposure Management and guidance for strengthening foundational security.
This approach starts with understanding where to focus—and extends to making supported on-premises products more secure by default.
Modernize where you can, and strengthen the security of what must remain. Making supported on-premises workloads more secure by defaultWithin the Secure pillar of the on-premises security initiative, we’re also hardening the products themselves through On-Premises Baseline Security Mode, starting with supported Exchange Server, SharePoint Server, and Skype for Business Server workloads.
On-Premises Baseline Security ModeOn-Premises Baseline Security Mode is designed to make the default security posture stronger—reducing the number of recommended security settings administrators must configure and maintain manually. For supported on-premises server workloads, it starts with a validated and tested secure-by-default configuration from initial deployment, while preserving administrator control. Building on protections available today, it progressively establishes and maintains more of the recommended security posture through the products themselves, adapting the baseline as threats and Microsoft security guidance evolve.
The result is less manual effort and a stronger security posture maintained increasingly through the products themselves. We’re advancing this work across three areas: Patch, Configure, and Protect.
Figure 1: On-Premises Baseline Security Mode builds on capabilities available today across Patch, Configure, and Protect, with greater automation and stronger defaults coming over time.
Patch: close known vulnerabilities fasterThe need is clear in our deployment data: many Exchange Server deployments are not running the current security update, including a substantial share on unsupported versions. Closing this protection gap requires both releasing fixes faster and helping customers apply them sooner.
Today. Since September 2026, Microsoft has released not only Critical but also Important security updates outside the traditional Patch Tuesday schedule when faster action is needed, helping customers address known vulnerabilities sooner.
Next. In Q1 calendar year 2027, we’re targeting automatic application of security updates after a fixed period following release in connected SharePoint Server, Exchange Server, and Skype for Business Server environments.
Release fixes faster, then help those fixes reach servers faster.
Configure: make the safer posture easier to maintainSecurity requires more than current software. Configuration and permissions can drift over time, creating gaps between the intended security posture and the environment administrators are operating. Customers need a clearer way to identify those gaps, establish recommended settings, and maintain them as environments evolve.
Today. Tenant Configuration Management can help customers assess supported SharePoint, Exchange, and Skype for Business Server environments and identify where permissions are broader than intended.
Next. In Q1 2027, we plan to introduce hardened default configurations for SharePoint Server, Exchange Server, and Skype for Business Server, moving from identifying configuration risk toward establishing Microsoft-recommended security settings by default. We also plan to identify configuration drift so administrators can see when environments move away from that baseline.
Make the safer configuration easier to establish and harder to unintentionally lose.
Protect: reduce exposure when threats can’t wait for a patchSome threats emerge before a permanent security update is available and fully deployed. During that window, customers need mitigations that can reduce exposure quickly without replacing the underlying security update.
Today. Emergency Mitigation Service can automatically apply interim mitigations for certain emerging vulnerabilities, helping reduce exposure while a permanent security update is prepared and deployed. Mitigation addresses the immediate risk; the security update addresses the underlying vulnerability.
Next. In December 2026, we plan to introduce Emergency Mitigation Service 2.0 for Exchange Server and Skype for Business Server, enabling it by default and expanding the security mitigations it can apply. In January 2027, we are planning to extend Emergency Mitigation Service 2.0 to cover SharePoint Server.
When threats move faster, protection needs to move faster too.
Act today, prepare for what comes nextTaken together, these investments represent an important shift: from providing customers with security guidance and tools toward building the recommended security posture into the products themselves.
Microsoft continues to recommend moving workloads to Microsoft 365 wherever possible. Start by identifying which workloads can move and which must remain on-premises. For those that remain, move to supported releases, assess exposure, apply current security updates, and enable available protections.
The Exchange Server, SharePoint Server, and Skype for Business Server teams will publish additional guidance on available protections, upcoming capabilities, and actions customers can take now. We also plan to bring practitioner-focused on-premises guidance to Secure Now to help organizations assess their environment, identify critical actions, and prioritize the steps they can take.
Join us at Microsoft Ignite for Secure your on-prem estate (BRK215) to explore the initiative, upcoming investments, and steps you can take now.
Modernize where you can. Strengthen the security of what must remain.The post New investments to reduce on-premises security risk appeared first on Microsoft Security Blog.
What’s new in Microsoft Security: November 2026
Endpoint administrators need to keep elevated access accountable at scale. Security teams also need a clearer view of expert-led protection and a simpler way to deploy SQL Server protection in Azure Government. As AI agents gain access to business data and tools, organizations need ways to limit their authority and adapt protection as risk changes. This month’s Microsoft Intune and Microsoft Defender updates introduce capabilities across these areas, alongside new Secure AI capabilities for agent access. A recent Secure Now update in Microsoft Security Exposure Management also connects information on recent threats to focused initiatives for reducing exposure.
Here’s what’s new:
Limit agent authority to the task with Dynamic Permissions Give agents task-scoped authority and adapt access as risk changesAs agents gain access to business data and tools, organizations need ways to manage what each agent is allowed to do. Dynamic Permissions provides an agent its own permissions and authority, scoped to its current task and for only as long as the task requires. As the agent works, Dynamic Agent Risk assesses whether the agent’s authority aligns with changing behavior and context. Dynamic Conditional Access can then respond proportionately by narrowing permissions, restricting access to resources, or requiring human approval for higher-impact actions. Together, these capabilities are designed to help organizations tailor agent authority before an agent acts and adjust access as risk changes. See how security can respond when an agent steps outside its task.
Contain local AI agents with Microsoft Execution Containers Apply least-privilege boundaries to help limit access on WindowsMicrosoft Execution Containers (MXC), now generally available, gives organizations an operating system-enforced containment layer for AI agents, designed to limit what an agent can access. Rather than relying on the agent to behave within intended boundaries, MXC applies least-privilege controls across files, networks, processes, and user interactions, with additional isolation options for higher-risk scenarios. Organizations can tune and validate policies before enforcing them broadly, while upcoming integration with Microsoft Intune, Microsoft Entra, and Microsoft Agent 365 is intended to extend governance and attribution across the enterprise. Discover more about this policy-driven containment for AI agents.
Scale least privilege with Microsoft Intune Endpoint Privilege Management Expand least-privilege scenarios with new system settings support and simpler tenant onboardingMicrosoft Intune Endpoint Privilege Management continues to expand the tasks standard users can complete without broad administrator rights. With new system settings support, standard users can change IPv4, IPv6, and DNS server values on their device’s network adapters through Endpoint Privilege Management, while administrators determine how those changes are elevated. For user-confirmed changes, administrators can require a business justification, Windows authentication, or both before the change is applied. Along with tenant onboarding updates, these improvements support organizations as they get started with and expand their use of Endpoint Privilege Management. Explore how to get started with system settings support in Endpoint Privilege Management.
Get started with Microsoft Intune Endpoint Privilege Management Simplify security operations with Defender Experts See what Defender Experts are investigating in a consolidated experienceAs threats move faster and security environments grow more complex, security teams need to quickly understand what matters and when to act. New Microsoft Defender Experts MDR experiences in the Microsoft Defender portal bring ongoing expert work into focus with a consolidated overview page with updated navigation and visibility into hunts. Teams can review active and completed hunts, see findings from Defender Experts, and identify items that may require follow-up. Learn more about the new Defender Experts MDR experiences.
Get around-the-clock defense with Microsoft Defender Experts MDR Extend protection and discover local agents with Microsoft Defender Simplify deployment and expand SQL protectionThe enhanced agent for Defender for SQL Servers on machines is now generally available for resource- and subscription-level enablement in Azure Government cloud. The enhanced agent uses existing SQL infrastructure, eliminating the need to deploy the Azure Monitor Agent for this scenario. Security teams can spend less time on deployment and extend protection across their SQL Server environments. Learn more about the enhanced agent and how to get started.
Discover local AI agents and their configured MCPs on Windows and macOSOn endpoints, Microsoft Defender is extending discovery capabilities for supported local AI agents and their configured model context protocols (MCPs) across Windows and macOS. Now generally available, Defender discovers more than 50 supported local AI agents by observing their activity and brings the agent, device, account, and configured MCP context together to help security teams understand local AI agent activity in their environment. Learn more about local agents.
Explore Microsoft Defender solutions Improve security posture with Microsoft Security Exposure Management Prioritize foundational security controls with Secure NowAI-enabled attacks can take advantage of familiar weaknesses, including excessive permissions, unprotected authentication flows, and exposed systems. Secure Now now pairs information about recent threats with focused initiatives across security domains. Security teams can use that context to identify foundational controls that need attention, review the recommended actions, and prioritize work intended to reduce exposure. The update helps connect information about observed attack patterns with security improvements teams can consider in their own environments.
Learn more about Microsoft Security Exposure Management Learn how to address agentic AI’s security challenges From agentic inventory and observability to stopping AI runtime threatsAn inventory is only the starting point for managing Al agent risk. Organizations also need to consider ownership, limits on what agents can access, how risk is reassessed as agents operate, and protections against emerging threats. “Don’t Leave AI Exposed” provides security professionals, IT administrators, and developers with actionable guidance on managing risk across the agent lifecycle. Download the guide for considerations spanning agent inventory, ownership, access, monitoring, and runtime protection.
Stay in the LoopSecurity teams need a clear account of what is changing across the portfolio and where those changes can strengthen their operations. In the Loop brings together the latest Microsoft Security updates and their implications for your security strategy. Explore earlier editions and check back for the next drop.
See Microsoft Security innovations in action at Microsoft Ignite, November 17-20, 2026, in San Francisco or online.
To learn more about Microsoft Security solutions, visit our website. Bookmark the Security blog to keep up with our expert coverage on security matters. Also, follow us on LinkedIn (Microsoft Security) and X (@MSFTSecurity) for the latest news and updates on cybersecurity.
The post What’s new in Microsoft Security: November 2026 appeared first on Microsoft Security Blog.
Email threat landscape: Q3 2026 trends and insights
- Spoofed sender domains
- QR code phishing attacks
- CAPTCHA-gated phishing tactics
- Malicious payloads
- Business contact impersonation
- Microsoft Teams threats
- Notable phishing campaigns
- Defending against email and collaboration threats
- Hunting queries
- Indicators of compromise (IOCs)
Microsoft Threat Intelligence detected approximately 7.3 billion email-based phishing threats from July through September, including a sharp increase to nearly 3 billion in September alone, up 41% from August. Yet the increase did not extend across the techniques that had driven threat actor activity earlier in the year. QR code phishing remained far below its early-year peak, while CAPTCHA-gated phishing reversed several months of decline, driven in part by renewed use of SVG attachments.
Q2 in reviewShifting tactics and other trends ›
Figure 1. Monthly detected email threat volume (January – September 2026)The quarter also highlighted how sender identity and security exceptions can shape the outcome of detected threats. Microsoft detected approximately 129 million malicious messages spoofing the sender domains of tracked business services. Many were delivered because organization- or user-configured exceptions overrode security protections, even after the messages failed authentication checks and were identified as malicious, showing how overly broad exceptions intended to preserve legitimate workflows can also expose them to impersonation. In Microsoft Teams, attackers increasingly used ordinary personal names rather than explicit help desk identities while continuing to use live interactions for social engineering. Across malicious attachment activity more broadly, credential theft remained the dominant objective in Q3.
Two campaigns observed during the quarter illustrate the range of activity behind these trends. An August campaign targeting legal organizations used personalized salary review documents and QR codes to lead recipients into device code phishing, despite the broader decline in QR code attacks. In September, purchase order and payroll lures used disguised archives to deliver Agent Tesla, malware commonly used to collect credentials and other information. Together, the campaigns show how familiar business requests remained effective lures across distinct attack paths.
TYCOON2FAThe effects of the March disruption of the Tycoon2FA phishing-as-a-service (PhaaS) platform also remained evident. By July, Microsoft detected approximately 21,000 phishing messages linked to the platform, down 99.8% from 8.9 million in February, the last full month before the operation.
Figure 2. Tycoon2FA-linked phishing email volume (January 2026 – July 2026)This blog provides a view of email threat activity across Q3 2026, examining shifts in phishing techniques, malicious payloads, business contact impersonation (BCI), and Teams-based threats. We also highlight spoofed business-service sender domains and two campaigns that show how attackers used familiar work requests to make malicious messages appear credible. Together with recommendations, Microsoft Defender detections, and hunting queries, these findings can help defenders assess where existing protections may be weakened and investigate activity across email and collaboration platforms.
Spoofed sender domainsRequests to sign a document, review an invoice, or respond to a survey are routine business communications. Attackers exploit that familiarity by spoofing the sender domains of the legitimate services that deliver them. Rather than relying only on a misleading display name or a lookalike domain, these messages claim the service’s actual domain as their sender identity.
Microsoft detected approximately 129 million malicious messages spoofing the business-service domains tracked in this analysis during Q3. Activity had remained consistently high since at least May, at roughly 41 million to 46 million messages a month. DocuSign was the most frequently spoofed brand in September, accounting for 29% of that month’s total. Adobe, SurveyMonkey, and Barracuda also saw increases toward the end of the quarter, even as overall spoofing volume remained broadly steady.
Figure 3. Malicious messages spoofing tracked business-service sender domains (May – September 2026)The more consequential finding was how security exceptions affected these messages after detection. Despite failing email authentication checks and being identified as malicious, many were associated with tenant- or user-level overrides. In September, overrides applied to 63% of messages with a recorded security outcome, with tenant-level overrides accounting for most of them.
The figures do not establish that recipients opened the messages or that accounts were compromised. They do show why exception policies deserve attention alongside detection coverage. An organization may create an exception to avoid interrupting a legitimate business workflow, but an overly broad exception can also weaken protection against messages impersonating that workflow. Familiar branding is not a substitute for an authenticated sender.
QR code phishing attacksQR code phishing ended Q3 far below the levels seen during its early-year surge. Microsoft detected approximately 12.1 million attacks over the quarter, down 67% from Q2. The decline continued through September despite the broader increase in email threats, leaving monthly QR code volume 86% below its March peak.
Figure 4. Monthly QR code phishing volume (January – September 2026)Much of the volume reduction came from the attachments that had supported that earlier growth:
- PDF attachments remained the most common delivery format in Q3, accounting for 78% of QR code attacks in July and August before dropping to 61% in September. Nonetheless, the volume of PDFs carrying malicious QR codes fell by roughly 65% by the end of the quarter.
- DOC/DOCX attachments accounted for 14% of QR code attacks in July and August before rising to 20% in September. Word document delivery volume similarly contracted in Q3, falling 39% between July and September following a sharp drop at the start of the quarter.
- Email-embedded QR codes increased from 5% of attacks in July to 12% in September. After dropping to near-zero in Q2, the volume of malicious QR codes embedded in email bodies more than tripled by the end of Q3, although the method remained a smaller delivery category than attachments.
The distinction between delivery methods matters for inspection coverage, but not for the recipient’s experience: either attachment or embedded formats can move a user from a message on a managed device to a phishing page on a personal phone. The reduction in volume has not changed that underlying challenge.
CAPTCHA-gated phishing tacticsCAPTCHA-gated phishing began to recover while QR code attacks continued to fall. By September, Microsoft detected 3.1 million CAPTCHA-gated attacks, nearly twice the volume seen at July’s low. Activity remained well below its March peak, but the recovery ended several months of sustained decline.
Figure 6. CAPTCHA-gated phishing volume (January – September 2026)The increase in CAPTCHA-gated phishing attacks was not confined to a single attachment format as delivery methods shifted throughout Q3, though SVG attachments were central to the initial recovery.
- SVG attachment volume increased sixfold in August, accounting for almost half of September’s total CAPTCHA-gated phishing attacks. Up from 17% of attacks in July, SVGs represented 65% of CAPTCHA-gated phishing attacks in August, remained elevated at 49% in September, and were the leading delivery method at the quarter end.
- Email-embedded URLs accounted for 49% of attacks in July before falling to 19% in August as SVG activity surged. URL-delivered attacks more than doubled in September, reclaiming 30% of attacks.
- PDF attachments declined from 22% of attacks in July to 12% in August, remaining at 12% in September.
- HTML attachments declined from 9% of attacks in July to 2% in August, then more than tripled in volume in September to account for 6% of attacks.
- DOC/DOCX attachments remained comparatively uncommon throughout Q3, representing only 1% of attacks each month.
The dominant risk from malicious attachments continued to be credential theft, not malware installation. Approximately 94-96% of payload-based attacks during Q3 directed recipients toward a phishing site or presented a fraudulent sign-in page locally. An attachment did not need to install software to put an account at risk.
HTML and PDF attachments remained the two most common malicious payload types during Q3, together accounting for approximately 56–62% of payload-based attacks each month, while the more significant change was the return of SVG files:
Figure 8. Malicious payloads by type- HTML attachments accounted for nearly two-thirds of malicious payloads and remained relatively steady across the quarter. HTML files ranked first in July at 32% of attacks before declining to 26% in August and recovering to 29% in September.
- PDF attachments accounted for 27–30% of attacks and were the leading payload type in August and September. Volume remained comparatively stable, declining only 2% between July and September.
- SVG attachments increased from 13% of attacks in July to 20% in August, when volume reached 10.1 million—the highest monthly volume in more than a year. Volume then fell 34% in September, although SVGs still represented 13% of attacks and remained roughly 50% higher than the monthly average for the first half of 2026.
- DOC/DOCX attachments declined from approximately 5% of attacks in July and August to less than 3% in September, falling 76% below its monthly average volume for the first half of 2026.
- ZIP/GZIP attachments declined from 5% of attacks in July to 3% in August before recovering slightly to 4% in September. Raw volume remained 24% below July.
The reduced use of Word documents alongside the renewed use of SVG files left a different mix of attachment threats, though credential theft remained the dominant objective.
Figure 9. Malicious payload file type distribution by month (June – September 2026)CAPTCHA-gated phishing accounted for only part of the malicious SVG activity. The resurgence was therefore broader than the use of SVG files to deliver that particular technique.
Business contact impersonationMicrosoft defines business contact impersonation (BCI) as a text-based attack targeting enterprise users that impersonates a trusted entity for the purpose of persuading a recipient into initiating a fraudulent financial transaction or sending the attacker sensitive documents.
BCI volume declined throughout Q3, totaling approximately 6.2 million attacks. That was substantially below Q2, although the comparison is influenced by the unusually large spike in April. By September, monthly activity had fallen to its lowest level since at least July 2025.
Figure 10. Monthly BCI attack volume (January – September 2026)The reduction in overall volume also concealed differences among financial lures. Generic messages continued to dominate initial BCI contact during Q3, but explicit task and financial requests gained share as overall attack volume declined:
- Generic outreach messages, such as “Are you at your desk?”, accounted for 82% of attacks in July and August before declining to 79% in September. Raw volume fell 14% across the quarter, reinforcing that operators still overwhelmingly favored establishing contact before introducing a fraudulent request.
- Generic task requests represented 8–10% of attacks during Q3, increasing from 9% in July to 10% in September despite a 9% decline in raw volume.
Within the smaller subset of explicit financial requests:
- Payroll update requests were the most common financial lure, accounting for 6% of attacks in July and August and 7% in September. Raw volume remained broadly stable at approximately 126,000–130,000 attacks per month.
- Invoice payment requests recovered from June’s low. Volume increased 34% in July, 25% in August, and 89% in September, more than tripling between June and September. Their share reached 3% in September, its highest level since March.
- Gift card requests remained at 2% of attacks each month, while raw volume declined 9% from July to September.
The decline in BCI overall did not extend equally to the requests reaching payment and payroll staff.
Microsoft Teams threatsMicrosoft observed approximately 141,000 malicious Teams call attempts during Q3. Activity peaked in July before declining 31% by September, although September volume remained 38% above the monthly average for the first half of 2026. Teams-based attacks continued to use live interactions across chat, voice, screen sharing, and remote-support tools to facilitate remote access, credential theft, and hands-on-keyboard compromise.
Figure 12. Monthly observed malicious Microsoft Teams calls (January – September 2026)Attackers increasingly moved away from display names that explicitly announced an IT- or tech-related support role. Ordinary personal-name display names rose from 46% of the observed July sample to 88% in September, while explicit help desk identities fell from 17% to 2%.
Figure 13. Malicious Teams call impersonation comparison (Q3 2026)This shift does not necessarily mean attackers abandoned IT support stories. A personal name can accompany a claim to work for the help desk, while the underlying account address retains technical or service-related wording. More targeted attempts also used domains resembling the intended victim organization’s domain, emphasizing that the visible name is only one part of the impersonation.
Voice phishing attempts peaked in July and then receded, but September volume remained above the levels observed early in 2026. Calls were concentrated during recipients’ weekday working hours, when a live response was more likely. These attempts included unanswered, rejected, and short-lived calls, partly reflecting Microsoft’s expanding visibility and ongoing efforts to strengthen protective measures against social engineering abuse. Attemps should not be interpreted as successful attacker interactions.
Notable phishing campaignsThe following campaigns were observed during the quarter and highlight notable credential phishing, BCI, and malware delivery activity. For analysis of a separate Teams-based IT-support impersonation campaign observed in August, see Impersonating IT support: Threat actors turn remote session into enterprise-wide access.
Salary review lure delivers personalized QR code attachment for device code credential capture targeting legal organizationsOn August 19, 2026, Microsoft Defender Research observed a phishing campaign targeting more than 10,000 users across more than 4,800 organizations, almost exclusively located in the United States. While most phishing attacks typically don’t focus on a single vertical, this campaign targeted the professional services sector, specifically law firms and legal organizations. Messages in this campaign were sent out over a 13-hour period between 13:27 UTC on August 19, 2026, and 2:59 UTC on August 20, 2026.
Figure 14. Intended campaign targets by industryEmails in this campaign were sent with the subject line “Salary Review” from smtp[@]wekash[.]net via Amazon Simple Email Service. The email body carried no visible text and the sole payload was a Word document attachment named Your-Q3-Compensation-Summary.docx.
Figure 15. Sample of the campaign document attachmentThe Word document impersonated the recipient’s own organization, displaying company branding and addressing the recipient by name. The message claimed that the recipient’s compensation had been revised following a Q2 performance review and that updated details were ready for review. A QR code in the document carried an instruction to scan it to access the revised details. This approach moved the phishing URL out of the email body and into an image, bypassing email gateway controls that scan text-based links but do not decode QR code images.
Scanning the QR code would have directed users to an attacker-controlled phishing page impersonating a Microsoft OneDrive sign-in portal hosted on the domain splace[.]co[.]za. The page presented an alphanumeric code and instructed recipients to copy it and proceed to the Microsoft sign-in portal.
Figure 16. Sample phishing landing pageThe phishing page used a device code phishing technique, which works by making an authentication request to Microsoft’s device authentication service before the recipient arrived, receiving a user code in return, and embedding that code into the page. When a recipient copied the code and proceeded, the page redirected them to the legitimate Microsoft device authentication portal at microsoft.com/devicelogin, where they entered the code and signed in. Completing that sign in would have transferred a valid session token to the attacker. The token granted persistent access to the recipient’s Microsoft 365 account without ever exposing the password and without re-triggering multifactor authentication (MFA). A countdown timer on the page signaled that each code had a limited validity window, pressing recipients to act quickly.
Spanish-language purchase order and payroll campaign leads to Agent Tesla malwareOn September 21, 2026, Microsoft Defender Research observed a phishing campaign targeting more than 56,000 users across more than 8,100 organizations. The campaign primarily targeted users in Spanish-speaking countries, with Colombia accounting for the largest share of intended recipients (15%), followed by the United States (12%), Mexico (12%), Chile (11%), and Spain (8%). Like most large-scale phishing attacks, this campaign did not focus on a single vertical, but instead targeted a broad range of industries, most notably retail and consumer goods (27%), manufacturing and agriculture (19%), and financial services (13%). Messages in this campaign were sent out over an almost nine-hour period between 14:57 UTC and 23:35 UTC on September 21, 2026.
Figure 17. Timeline of campaign message volumeTwo lure variations were observed throughout the duration of the campaign: a purchase order theme, which was used in 63% of messages, and a payroll theme, which was used in the remaining 37%. Both variations were sent from the address contacto06[@]carloxmextos[.]org. Sender Policy Framework (SPF), DomainKeys Identified Mail (DKIM), and Domain-based Message Authentication, Reporting, and Conformance (DMARC) all passed for that domain, so the messages did not depend on simple address forgery. The actor changed the display name to resemble a sales or human resources identity associated with the recipient’s organization. That combination gave the messages technically valid authentication while using the visible sender identity and familiar business context to support the impersonation.
The purchase order lure variation used the reply-style subject “Re: solicitud de cotización”. Its body said, “Buen Dia”, claimed that a purchase order was attached, and asked the recipient to confirm receipt before closing with the lowercase “saludos”. The abrupt wording, inconsistent capitalization, and copied professional signature made the message look like a short continuation of an existing commercial exchange while avoiding details that a recipient could easily challenge.
The attached file, Nuevo orden de compra – 21092026.pdf.uu, was a RAR archive despite its uncommon .uu ending and PDF-like name. Inside it was Nuevo orden de compra – 21092026.pdf.js, a JavaScript downloader whose second extension exposed the executable script type only after extraction. If run, the script fetched a file named Lincoln.ps1 from a campaign-controlled object in Firebase Storage, and that PowerShell payload led to Agent Tesla malware. The nested archive and misleading extensions separated the visible business document theme from the code that executed, while the cloud-hosted download gave the actor a remotely accessible staging point.
Figure 18. Redacted rendering of the purchase order lure emailThe payroll-themed lure used the subject “Nomina 21.09.2026”. It addressed the recipient by name, said the September 21 payroll list was attached, and signed off as a human resources manager. The date-specific payroll pretext created an immediate work-related reason to open the file, while the personalized greeting made a bulk message appear locally relevant.
The payroll lure’s attachment, Nomina 21.09.2026.xml.001, was also a RAR archive. Extraction produced Nomina 21.09.2026.xml.exe, an Agent Tesla executable disguised with an XML-themed double extension. Unlike the purchase order delivery chain, this branch did not require a separate downloader in the supplied evidence, but both paths used the same sender infrastructure, attachment camouflage, date, and malware family. Agent Tesla is commonly used to collect credentials and other information from an infected host, so the shared final payload suggested that credential and information theft were the campaign’s likely objective.
Figure 19. Redacted rendering of the payroll lure email Defending against email and collaboration threatsMicrosoft recommends the following mitigations to reduce the impact of this threat. Check the recommendations card for the deployment status of monitored mitigations.
- Microsoft helps organizations reduce the risk of phishing and social engineering in Teams through user awareness and layered, built-in protections. Users should exercise caution with external connection requests and messages, including verifying a sender’s identity and requests before acting on them. Administrators can also block external Teams users and specify which users in their organization are permitted to chat or meet with people outside the enterprise. These flexible controls help organizations manage risk for employees in sensitive roles and departments. Teams will also be introducing AI-powered phishing detection that uses conversation context to identify phishing and social engineering in higher-risk messaging scenarios, particularly first-contact chats with external users. Together, these measures help organizations collaborate more securely in Teams.
- Review the recommended settings for Exchange Online Protection and Microsoft Defender for Office 365 to ensure your organization has established essential defenses and knows how to monitor and respond to threat activity.
- Invest in user awareness training and phishing simulations. Attack simulation training in Microsoft Defender for Office 365, which also includes simulating phishing messages in Microsoft Teams, is one approach to running realistic attack scenarios in your organization.
- Enable Zero-hour auto purge (ZAP) in Defender for Office 365 to quarantine sent mail in response to newly acquired threat intelligence and retroactively neutralize malicious phishing, spam, or malware messages that have already been delivered to mailboxes.
- Responders can also manually check for and purge unwanted emails containing URLs and/or Subject fields that are similar, but not identical, to those of known bad messages. Investigate malicious email that was delivered in Microsoft 365 and use Threat Explorer to find and delete phishing emails.
- Turn on Safe Links and Safe Attachments in Microsoft Defender for Office 365.
- Enable network protection in Microsoft Defender for Endpoint.
- Encourage users to use Microsoft Edge and other web browsers that support Microsoft Defender SmartScreen, which identifies and blocks malicious websites, including phishing sites, scam sites, and sites that host malware.
- Enable passwordless authentication methods (for example, Windows Hello, FIDO keys, or Microsoft Authenticator) for accounts that support passwordless. For accounts that still require passwords, use authenticator apps like Microsoft Authenticator for MFA. Refer to this article for the different authentication methods and features.
- Conditional access policies can also be scoped to strengthen privileged accounts with phishing-resistant MFA.
- Configure automatic attack disruption in Microsoft Defender XDR. Automatic attack disruption is designed to contain attacks in progress, limit the impact on an organization’s assets, and provide more time for security teams to remediate the attack fully.
Microsoft Defender customers can refer to the list of applicable detections below. Microsoft Defender coordinates detection, prevention, investigation, and response across endpoints, identities, email, and apps to provide integrated protection against attacks like the threat discussed in this blog.
Microsoft Defender for EndpointThe following alert might indicate threat activity associated with this threat. The alert, however, can be triggered by unrelated threat activity.
- Suspicious activity likely indicative of a connection to an adversary-in-the-middle (AiTM) phishing site
The following alerts might indicate threat activity associated with this threat. These alerts, however, can be triggered by unrelated threat activity.
- A potentially malicious URL click was detected
- A user clicked through to a potentially malicious URL
- Suspicious email sending patterns detected
- Email messages containing malicious URL removed after delivery
- Email messages removed after delivery
- Email reported by user as malware or phish
Microsoft Security Copilot is embedded in Microsoft Defender and provides security teams with AI-powered capabilities to summarize incidents, analyze files and scripts, summarize identities, use guided responses, and generate device summaries, hunting queries, and incident reports.
Customers can also deploy AI agents, including the following Microsoft Security Copilot agents, to perform security tasks efficiently:
- Threat Intelligence Briefing agent
- Phishing Triage agent
- Threat Hunting agent
- Dynamic Threat Detection agent
Security Copilot is also available as a standalone experience where customers can perform specific security-related tasks, such as incident investigation, user analysis, and vulnerability impact assessment. In addition, Security Copilot offers developer scenarios that allow customers to build, test, publish, and integrate AI agents and plugins to meet unique security needs.
Threat intelligence reportsMicrosoft Defender XDR customers can use the following threat analytics reports in the Defender portal (requires license for at least one Defender XDR product) to get the most up-to-date information about the activity and techniques discussed in this blog. These reports provide intelligence, protection information, and recommended actions to prevent, mitigate, or respond to associated threats found in customer environments.
- Activity Profile: Email threat landscape, September 2026
- Activity Profile: Email threat landscape, August 2026
- Activity Profile: Email threat landscape, July 2026
- Tool Profile: Tycoon2FA
- Actor Profile: Storm-1747
- Technique Profile: QR code phishing
- Technique Profile: ClickFix technique leverages clipboard to run malicious commands
- Threat Overview Profile: Business email compromise
- Threat Overview Profile: Adversary-in-the-middle credential phishing
- Activity Profile: Salary review lure delivers personalized QR code attachment for device code credential capture targeting legal organizations
- Activity Profile: Spanish-language purchase-order and payroll campaign leads to Agent Tesla malware
Microsoft Security Copilot customers can also use the Microsoft Security Copilot integration in Microsoft Defender Threat Intelligence, either in the Security Copilot standalone portal or in the embedded experience in the Microsoft Defender portal to get more information about this threat actor.
Hunting queries Microsoft Defender XDRMicrosoft Defender XDR customers can run the following advanced hunting queries to find related activity in their networks:
Salary review campaign emails by sender address
The following query identifies emails associated with the August 19 campaign using a message’s sending email address.
EmailEvents | where SenderMailFromAddress == “smtp@wekash.net”Spanish-language purchase order and payroll campaign emails by sender address
The following query identifies emails associated with the September 21 campaign using a message’s sending email address.
EmailEvents | where SenderMailFromAddress == "contacto06@carloxmextos.org" Indicators of compromise (IOCs) IndicatorTypeDescriptionFirst seenLast seenwekash[.]net Domain Sender domain used to distribute campaign emails via Amazon SES 2026-08-19 2026-08-20 smtp@wekash[.]net Email address Sender email address observed in campaign messages 2026-08-19 2026-08-20 Your-Q3-Compensation-Summary.docx File name Word document attachment carrying the compensation lure and QR code 2026-08-19 2026-08-20 splace[.]co[.]za Domain Domain hosting phishing content 2026-08-19 2026-08-20 https://splace[.]co[.]za/0987643345678908765421234567890987654320987654321223456787654/onedrive/ URL URL hosting phishing content 2026-08-19 2026-08-20 carloxmextos[.]org Domain Authenticated domain used to send both campaign variations 2026-09-21 2026-09-21 contacto06@carloxmextos[.]org Email address Sender address used for both observed lure variations 2026-09-21 2026-09-21 Nuevo orden de compra – 21092026.pdf.uu File name RAR attachment used in the purchase order variation 2026-09-21 2026-09-21 Nuevo orden de compra – 21092026.pdf.js File name JavaScript downloader contained in the purchase order archive 2026-09-21 2026-09-21 Lincoln.ps1 File name PowerShell payload downloaded by the purchase order branch 2026-09-21 2026-09-21 Nomina 21.09.2026.xml.001 File name RAR attachment used in the payroll variation 2026-09-21 2026-09-21 Nomina 21.09.2026.xml.exe File name Agent Tesla executable contained in the payroll archive 2026-09-21 2026-09-21 BEDD2297739632DA8EE470367295FE976E55BE74D628DCAEE7FA98121EE530F1 SHA-256 SHA-256 of the purchase order RAR attachment 2026-09-21 2026-09-21 CE832350C165522DB03DB040CA07917976D1A91F97E7016EA36DCC6B53E0EB13 SHA-256 SHA-256 of the JavaScript downloader 2026-09-21 2026-09-21 F8B49891D15A578E4DE28FECF99D0D78DB6B2C3DA81CD51C931B8D128E60C187 SHA-256 SHA-256 of the PowerShell payload associated with Agent Tesla delivery 2026-09-21 2026-09-21 C438B9A3BB67E2C10EFF0D01513422DC17DCE7C5508303A680E46F3DCEC886EF SHA-256 SHA-256 of the payroll RAR attachment 2026-09-21 2026-09-21 72966B30BBD87E42C683D2AC7A42BB62021FC14389D508551432FFD70D62F33A SHA-256 SHA-256 of the Agent Tesla executable from the payroll variation 2026-09-21 2026-09-21 Learn moreFor the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
The post Email threat landscape: Q3 2026 trends and insights appeared first on Microsoft Security Blog.
Fake-download campaign uses trojanized installers to deliver monetization payloads
Microsoft Threat Intelligence has identified an evolving fake-download campaign targeting users searching for cracked commercial software, free games, activators, plugins, and unofficial utilities. The campaign uses trojanized Inno Setup-style installers to distribute multiple monetized software payloads, referred to by the delivery system as “offers”, during a single installation session.
Our investigation found that the installers use a per-offer callback and status-tracking model to manage delivery and record installation outcomes. We confirmed three downstream monetization branches that transformed affected devices into monetized assets, including by routing third-party internet traffic through the device, enrolling it in a distributed-computing platform, or installing additional utility-style software, often without users’ informed knowledge or consent. These products and components may have legitimate uses, but their silent installation through deceptive software bundles without informed user consent introduces security and privacy risks.
Organizations can reduce their exposure to this activity by preventing the use of untrusted software sources, enabling potentially unwanted application protection, and monitoring for unexpected software installations and persistence mechanisms.
This blog details the campaign’s execution model and confirmed outcomes and provides mitigation guidance, Microsoft Defender protection information, advanced hunting queries, MITRE ATT&CK mappings, and indicators of compromise to help defenders identify, investigate, and respond to related activity.
Attack chain overviewThe fake-download campaign follows a four-stage attack chain that progresses from deceptive lures through Inno-based staging, offer-controlled payload delivery, and installation of one or more monetization branches:
- Initial access via fake download lures – Users run fake installers promoted as cracked commercial software, free games, activators, plugins, executors, or unofficial utilities.
- Inno wrapper execution and temporary runner staging – The installer launches an Inno Setup-style temporary runner under %TEMP%\is-*.tmp\, which starts recurring eld*.exe, set_*.exe, or other numbered stages.
- Offer execution callback and payload delivery – The runner contacts rotating infrastructure using a repeatable d=inno and r=offer_execution callback pattern. Offer, affiliate, download-network, placement, and session values coordinate downstream payload selection and correlate activity within the installer session.
- Final payload installation and monetization – Staged payloads use unattended installation switches to install one or more confirmed campaign branches: WorldProxyPool for proxy and network-resource monetization; CharityEngine and Berkeley Open Infrastructure for Network Computing (BOINC) for compute-resource monetization; or Advanced Windows (AW) Manager and Windows Manager for adware-style utility monetization. WorldProxyPool also creates recurring SYSTEM scheduled tasks for agent startup, watchdog execution, and updater activity.
The campaign begins when users download and run fake installers promoted as cracked software, game installers, executors, activators, plugins, utilities, or driver and mobile-unlock tools. Observed lures include cracked audio plugins, PC games, Roblox executors, auto-clickers, driver tools, and fake utility installers.
Example lures: Echo Client; FabFilter Total Bundle; Navicat Premium crack; Cue Club; auto-clicker; Deadpool Apunka Games; Command & Conquer: Red Alert 2; TFT Unlock Tool; and clownfishvoicechanger.
Figure 2. Example utility download lure. Inno wrapper execution and temporary runner stagingAcross the investigated activity, user-launched lures spawned Inno Setup-style temporary runners under %TEMP%\is-*.tmp\ and then launched one or more numbered eld*.exe stages. Arguments such as /SL5, /SPAWNWND, and /FIRSTWND, together with the temporary path and numbered stage names, provide more durable indicators than the original lure filename.
The depth of the execution chain and its downstream outcome varied by installer session. One Echo Client example progressed through multiple numbered stages and reached several monetization branches, while other observed lures exposed fewer numbered stages or downstream components.
The table below uses the Echo Client activity as a representative example of the wrapper-to-stage sequence; individual installer sessions may launch different combinations of numbered stages.
Step Process Command-line / path signal Role 1 Echo Client.exe Launched from %USERPROFILE%\Downloads\Echo Client\ User-launched lure 2 Echo Client.tmp %TEMP%\is-*.tmp\… with /SL5=… Inno temporary runner 3 Echo Client.exe /SPAWNWND=… /FIRSTWND=… Inno child process / window handoff 4 Echo Client.tmp /SL5=… /SPAWNWND=… /FIRSTWND=… Temporary runner continues execution 5 eld*.exe eld0.exe, eld1.exe, eld3.exe, eld4.exe, and eld5.exe under %TEMP%\is-*.tmp\ Numbered staged payloadsTable 1. Inno wrapper execution and temporary runner staging.
Offer execution callback and payload deliveryAfter staging, the Inno temporary runner contacted rotating callback infrastructure using randomized URL paths but a repeatable query-string structure:
http:///?sis=&fz=&d=inno&r=offer_execution&ko=no&o=&a=&dn=&spot=&t=&cr=Failed or blocked offers used r=offer_execution_fail and sometimes included local error text, including messages that the operation did not complete because the file contained a virus or potentially unwanted software. These callbacks are useful campaign-attribution and sequencing markers, but they are not always the earliest prevention point. In some endpoint detection and response (EDR) traces, child payloads launched before or around the r=offer_execution callback.
The campaign used offer IDs, affiliate IDs, download-network IDs, and placement values to select or report downstream payload attempts. Observed offer and download-network combinations included o=1712 / dn=507, o=1720 / dn=536, o=1727 / dn=564, o=1729 / dn=566, o=331 / dn=244, o=1674 / dn=440, o=1675 / dn=441, o=1681 / dn=447, and o=1730 / dn=567. Different offers could succeed or fail independently within the same installer session, so a failed first offer did not necessarily mean that the full bundle stopped.
Parameter Observed use Assessment d Often set to inno Installer or delivery-family marker sis Stable within an installer session Session-correlation value a Stable across related requests Affiliate, campaign, or distribution-partner identifier o Changes by offer Offer identifier dn / on Changes with the offer or retrieval path Download-network or offer-network field; exact meaning unconfirmed spot Increments through the session Offer placement, slot, or execution order paw Present across offer requests Request, package, or session-correlation value; exact meaning unconfirmed fz Present in outcome callbacks Delivered package size or file-size field t Present in outcome callbacks Timing, token, or request value; exact meaning unconfirmed r offer_execution or offer_execution_fail Per-offer execution result msg Present on failed offers Error text from the local download or installation attempt ko / cr Boolean-like or short values Server-side control or result flags; exact meaning unconfirmedTable 2. Assessments are based on observed telemetry correlations, not confirmed server-side definitions.
Offer / download-network pair Semantic meaning o=1712 / dn=507 Primary first-stage offer commonly attempted at the start of the installer flow. o=1720 / dn=536 Offer branch associated with CharityEngine/BOINC distributed-compute monetization. o=1727 / dn=564 Offer branch associated with WorldProxyPool proxyware monetization. o=1729 / dn=566 Recurring follow-on offer branch in the installer flow. o=331 / dn=244 Secondary offer branch observed in the multi-offer sequence. o=1674 / dn=440 Later campaign offer branch. o=1675 / dn=441 Low-volume offer branch. o=1681 / dn=447 Additional offer branch in the campaign’s installer rotation. o=1730 / dn=567 Later high-volume offer branch.Table 3. Offer and download-network pairs and their semantic roles in the installer flow.
The campaign rotated callback domains frequently while preserving the same d=inno and offer-execution callback structure across recurring lure categories. Individual domains are therefore short-lived infrastructure indicators; the durable hunting signal is the combination of the callback pattern, Inno temporary execution, staged filenames, and related installer-session activity. The full observed domain set is provided in the IOC section.
Final payload installation and monetizationAfter offer callback and payload delivery, the campaign launched downstream installers or components using unattended installation switches such as /qn, /S, /quiet, and /norestart. This stage converted the fake-download execution chain into installed software and recurring execution across three monetization branches: proxy and network-resource monetization, compute-resource monetization, and adware-style utility monetization.
Branch Primary behavior Representative artifacts A. WorldProxyPool Proxy agent installation and scheduled-task setup sdk-agent.exe; sdk-agent.updater.exe; watchdog.ps1; WorldProxyPoolAgent task B. CharityEngine / BOINC Distributed-compute software installation boinc.exe; charityengine.exe; ce11.exe; VirtualBox-7.2.8-r173730.msi C. AW Manager / Windows Manager Utility and updater-style software installation Windows Manager – Postback Johan.msi; AdvancedWindowsManager.exe; Windows Updater.exeTable 4. Summary of the three monetization branches and representative artifacts.
Proxy and network-resource monetization — WorldProxyPoolIn the WorldProxyPool branch, a staged eld4.exe payload created three SYSTEM-level scheduled tasks for components under C:\Program Files\WorldProxyPool\. WorldProxyPoolAgent configured sdk-agent.exe to run at system startup with highest privileges; WorldProxyPoolWatchdog configured a hidden, noninteractive PowerShell watchdog script to run every five minutes; and WorldProxyPoolUpdater configured sdk-agent.updater.exe update to run hourly. The installer also started the agent task immediately with schtasks.exe /Run. Subsequent task launches were brokered by the Windows Task Scheduler service (svchost.exe -k netsvcs -p -s Schedule), causing sdk-agent.exe and the watchdog script to execute in the service context. This persistence mechanism supports recurring proxy-agent, watchdog, and updater activity, consistent with network-resource monetization.
Scheduled task Purpose WorldProxyPoolAgent Runs sdk-agent.exe at system startup as SYSTEM with highest privileges; the installer also started it immediately with schtasks.exe /Run. WorldProxyPoolWatchdog Runs a hidden, noninteractive PowerShell watchdog script every five minutes as SYSTEM with highest privileges. WorldProxyPoolUpdater Runs sdk-agent.updater.exe update hourly as SYSTEM with highest privileges.Table 5. WorldProxyPool scheduled tasks created during the proxyware installation chain
Figure 3. WorldProxyPool installation and persistence. eld4.exe created SYSTEM-level startup, five-minute watchdog, and hourly updater tasks.Compute-resource monetization — CharityEngine and BOINC
In the CharityEngine and BOINC branch, the offer payload installed distributed-compute software and supporting components under C:\Program Files\BOINC\ and C:\ProgramData\BOINC\. Observed components included ce-installer_7.14.2_vbox-7.2.8.exe, ce_7.14.2_windows_x86_64.exe, charityengine.exe, boinc.exe, boinctray.exe, boinc.scr, boincscr.exe, wrapper_2022110901_windows_x86_64.exe, ce11.exe, and VirtualBox-7.2.8-r173730.msi. They covered BOINC launch, compute-wrapper execution, GPU or compute-capability checks, CharityEngine project communication, and VirtualBox installation.
Figure 4. CharityEngine/BOINC compute-monetization branch.Adware-style utility monetization: AdvancedWindowsManager / Windows Manager
The same Inno offer-execution infrastructure delivered an AW Manager or Windows Manager branch. In one observed process tree, the Inno runner spawned eld3.exe, launched Windows Manager – Postback Johan.msi, and installed AdvancedWindowsManager.exe and Windows Updater.exe under paths resembling %APPDATA%\AW Manager\Windows Manager 1.0.0\ or C:\Program Files (x86)\AW Manager\Windows Manager\.
Figure 5. AW Manager / Windows Manager utility-install branch. Mitigation and protection guidanceMicrosoft recommends the following actions to reduce exposure to this campaign and detect related activity:
Preventive controls- Avoid untrusted software sources. Do not download cracked software, key generators, unofficial game installers, or software activation tools, which are common delivery mechanisms for malware, potentially unwanted applications, and monetization campaigns.
- Enable cloud-delivered protection. Verify that Microsoft Defender Antivirus cloud-delivered protection is enabled to improve detection of emerging malware and potentially unwanted applications. See: Configure cloud-delivered protection
- Keep tamper protection enabled. Use tamper protection to help prevent unauthorized changes to Microsoft Defender security settings. See: Learn about tamper protection.
- Enable reputation-based protection. Configure reputation-based protection to help block known malicious and untrusted applications and downloads. See: Configure reputation-based protection.
- Consider Attack Surface Reduction (ASR) protections. Evaluate ASR rules, including rules that block executable files unless they meet prevalence, age, or trusted-list criteria. See: Review Attack Surface Reduction rules.
- Investigate execution from Inno temporary directories. Review activity from paths such as %TEMP%\is-*.tmp\, particularly when staged executables such as eld*.exe, set_*.exe, FirstFast[1].exe, or SecondRunner[1].exe are observed.
- Correlate Inno callback activity. Monitor outbound requests containing d=inno together with r=offer_execution or r=offer_execution_fail, and review related process, file, and network activity across the complete installer session.
- Review unexpected scheduled tasks. Investigate newly created scheduled tasks, particularly tasks running with SYSTEM privileges or recurring watchdog and updater functions. See: Audit scheduled task creation events.
- Audit software inventory for unexpected installations. Review endpoints for the presence of software such as WorldProxyPool, CharityEngine, BOINC, VirtualBox, or other applications that users did not intentionally install. See: Review software inventory in Defender Vulnerability Management.
Microsoft Defender detects and blocks campaign-linked payloads through cloud protection, machine-learning classifications, network inspection, and behavior monitoring. Relevant observed detections include remote-thread injection, scheduled-task launch, and suspicious outbound HTTP activity.
Customers with provisioned access can also use Microsoft Security Copilot in Microsoft Defender to investigate and respond to incidents, hunt for threats, and protect their organization with relevant threat intelligence.
Tactic Observed activity Microsoft Defender coverage Initial access and execution Users execute fake cracked-software installers, including files presented as Navicat Premium or FabFilter bundles, from Downloads, archive-extraction folders, or Inno extraction paths. The installers launch temporary payloads from %TEMP%\is-*.tmp\. Microsoft Defender Antivirus– Trojan:Win64/OfferLoader.DA!MTB
– Trojan:Win64/OfferLoader.DB!MTB
Microsoft Defender for Endpoint
– A suspicious file was observed
– An active ‘Wacatac’ malware was detected
– ‘Kepavll’ malware was prevented Command and control / campaign tracking Outbound callbacks use a stable Inno offer-execution URL contract: d=inno with r=offer_execution or r=offer_execution_fail. Each callback reports an individual offer result. Correlating these callbacks with process, file, network, persistence, and installation events provides visibility across the multi-offer session. Microsoft Defender Antivirus
– Behavior:Win32/SuspInnoOffer.A!mapsi
Microsoft Defender for Endpoint
– Suspicious ‘SuspInnoOffer’ behavior was blocked Staging and payload delivery The installer chain drops multiple staged files from Inno temporary directories, commonly named eld*.exe, set_*.exe, FirstFast[1].exe, and SecondRunner[1].exe. Microsoft Defender Antivirus
– Trojan:Win64/OfferLoader.DA!MTB
– Trojan:Win64/OfferLoader.DB!MTB
Microsoft Defender for Endpoint
– A suspicious file was observed
– An active ‘Wacatac’ malware was detected
– An active ‘Egairtigado’ malware was blocked
– ‘Kepavll’ malware was prevented Persistence In the investigated Navicat chain, WorldProxyPool created SYSTEM scheduled tasks with highest privileges: WorldProxyPoolAgent at startup, WorldProxyPoolWatchdog every five minutes through hidden noninteractive PowerShell, and WorldProxyPoolUpdater hourly. It also wrote uninstall metadata under the WorldProxyPool registry key. Microsoft Defender for Endpoint
– Suspicious scheduled task activity
– Suspicious Scheduled Task Process Launched
– Suspicious Task Scheduler activity Resource hijacking / monetization Two monetization paths were confirmed. The Navicat chain installed WorldProxyPool proxyware. The FabFilter chain silently installed CharityEngine/BOINC, VirtualBox, and Visual C++ components, launched BOINC workloads, and contacted CharityEngine infrastructure. Microsoft Defender Antivirus
– Adware:Win32/Clover
– Trojan:Win64/OfferLoader.DA!MTB
– Trojan:Win64/OfferLoader.DB!MTB
Microsoft Defender for Endpoint
– An active ‘Clover’ malware was detected
– An active ‘Wacatac’ malware was detected Defense evasion and suspicious behavior Several staged payloads are associated with defense-evasion, execution, persistence, remote-thread, and other suspicious behaviors. Microsoft Defender Antivirus
– Trojan:Win32/OffLoader.A
Microsoft Defender for Endpoint
– Suspicious ‘SuspEtherRpcConn’ behavior was blocked
– Suspicious ‘SuspSmsScanConn’ behavior was blocked Microsoft Security Copilot
Security Copilot customers can use the standalone experience to create their own prompts or run prebuilt promptbooks to automate investigation and response tasks related to this campaign. Useful promptbooks include:
- Incident investigation
- Microsoft User analysis
- Threat actor profile
- Threat Intelligence 360 report based on MDTI intelligence
- Vulnerability impact assessment.
Some promptbooks require access to Microsoft Defender XDR, Microsoft Sentinel, or related Microsoft security plugins.
For this campaign, analysts can prompt Security Copilot to summarize and correlate available incident evidence, subject to connected data and permissions.
Threat intelligence reportsMicrosoft customers can use Microsoft Defender XDR Threat analytics and related Microsoft threat intelligence reporting to track this rotating, multi-offer fake-download campaign and review updates on its Inno callbacks, offer outcomes, staged payloads, infrastructure, and proxyware or distributed-compute results.
The reporting helps analysts correlate offer callbacks and endpoint activity from the same installer session, identify devices with associated monetization stages, and assess the overall bundle outcome. It also provides investigation context, protection guidance, relevant indicators, and recommended response actions.
Advanced huntingMicrosoft Defender XDR customers can run the following advanced hunting queries to find related activity in their networks.
Inno offer-execution callbacks
DeviceNetworkEvents | where RemoteUrl has "d=inno" | where RemoteUrl has_any ("r=offer_execution", "r=offer_execution_fail") | project Timestamp, DeviceName, RemoteUrl, InitiatingProcessFileNamePayload execution from Inno temporary directories
DeviceProcessEvents | where FolderPath has @"\AppData\Local\Temp\is-" | where FileName matches regex @"(?i)^(eld[0-9]+|set_[0-9]+|FirstFast(?:\[1\])?|SecondRunner(?:\[1\])?)\.exe$" | project Timestamp, DeviceName, FileName, FolderPath, InitiatingProcessFileName, SHA256Outbound connections to observed campaign infrastructure
DeviceNetworkEvents | where RemoteUrl has_any ("orbittrack.cfd", "prairielink.cfd", "willowbox.xyz", "stonestation.cfd", "foldlodge.xyz", "friendsanchor.xyz", "fallport.cfd", "wishcourt.cfd", "cratebase.cfd", "belieftrack.cfd", "beliefdesk.xyz", "companyharbor.xyz", "signalpane.cfd", "inkact.xyz", "wishgrove.cfd") | project Timestamp, DeviceName, RemoteUrl, RemotePort, InitiatingProcessFileNameHunting note: Treat each callback as an individual offer result. Group events by device, time window, and available session or affiliate fields, then correlate the callbacks with Inno temporary execution, staged filenames, scheduled-task creation, and monetization-software activity. Domain-only matches are leads, not confirmation. Validate the queries against the current Microsoft Defender XDR schema before publication.
MITRE ATT&CK Techniques observedThe following MITRE ATT&CK mappings reflect behaviors observed in the investigated activity. Mappings are limited to evidence described in this report.
Execution
- T1204.002 User Execution: Malicious File | A user launches an installer presented as cracked software, a game, an activator, a plugin, or an unofficial utility.
Persistence
- T1053.005 Scheduled Task/Job: Scheduled Task | WorldProxyPool creates SYSTEM-level startup, watchdog, and updater tasks; the watchdog runs every five minutes and the updater runs hourly.
Defense evasion
- T1036 Masquerading | Installers are presented with names and branding associated with cracked commercial software or unofficial software bundles to encourage execution.
- T1564.003 Hide Artifacts: Hidden Window | The WorldProxyPool watchdog invokes PowerShell with hidden, noninteractive execution options.
Command and control
- T1071.001 Application Layer Protocol: Web Protocols | The installer sends HTTP callbacks to rotating infrastructure using the durable d=inno and r=offer_execution or r=offer_execution_fail query pattern.
- T1105 Ingress Tool Transfer | The campaign retrieves staged executables and supporting components from threat actor-controlled, cloud-storage, and content delivery network (CDN)-hosted locations.
Impact
- T1496 Resource Hijacking | The campaign installs CharityEngine/BOINC for distributed computing and WorldProxyPool for proxyware monetization, abusing victim compute and network resources through deceptive bundled installation.
For standard industry documentation about these techniques, refer to the MITRE ATT&CK framework.
Indicators of compromise (IOC)The following indicators of compromise (IOCs) were observed during investigation of this campaign and can assist defenders in identifying related activity and conducting threat-hunting efforts.
Indicator Type Component beliefdesk[.]xyz Domain Offer-execution callback infrastructure. companyharbor[.]xyz Domain Offer-execution callback infrastructure. signalpane[.]cfd Domain Offer-execution callback infrastructure. inkact[.]xyz Domain Offer-execution callback infrastructure. wishgrove[.]cfd Domain Offer-execution callback infrastructure. %TEMP%\is-*.tmp\eld*.exe File path Recurring staged payload naming and path pattern. C:\Program Files\WorldProxyPool\sdk-agent.exe File path WorldProxyPool proxyware component. WorldProxyPoolAgent / WorldProxyPoolWatchdog / WorldProxyPoolUpdater Scheduled task SYSTEM-level persistence created in the investigated chain. 006510ce1da2b7410376f0788c19e55616eb4bcc30072d25b7d0871dc32aa11c SHA-256 Inno second-stage runner 21306fc5716f95e252388f920314b42f1c8bcc7df67cb4d39da30217b96f4044 SHA-256 Earlier Inno loader 72750d32b440e9f2b6d05ff3d218a561a75d3d75fb976b461fa59897674a7f70 SHA-256 Earlier Inno second-stage runner ab2c2dd37fdcfe1e7620a57f98c80bd063258bea145adc0cc6a0f8b1e24c6a8f SHA-256 Inno eld0 / first-stage payload 452a210bba4c8d08f7cb7733a816d7220a7fa570a469aea0a997cfc8b594b6a0 SHA-256 Inno eld0 / eld1 first-stage payload 523fb81fae0c7beba7b5171243cc0dee7a4d04ae0483be9172eef2394a5a2152 SHA-256 Inno eld0 first-stage payload 55cd3d36fdcc58016a64398357b2c9724a060da9f0d09266e537a61ec9552e4f SHA-256 Later Inno eld2-eld5 payload Learn MoreFor the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog.
To get notified about new publications and to join discussions on social media, follow us on LinkedIn, X (formerly Twitter), and Bluesky.
To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast.
Review our documentation to learn more about our real-time protection capabilities and see how to enable them within your organization.
- Learn more about securing Copilot Studio agents with Microsoft Defender
- Evaluate your AI readiness with our latest Zero Trust for AI workshop.
- Microsoft 365 Copilot AI security documentation
- How Microsoft discovers and mitigates evolving attacks against AI guardrails
- Prompt injection protection in Microsoft Defender for Office 365 – official documentation of the prompt injection protection in Microsoft Defender for Office 365.
- How Microsoft discovers and mitigates evolving attacks against AI guardrails | Microsoft Security Blog
- Manipulating AI memory for profit: The rise of AI Recommendation Poisoning | Microsoft Security Blog – a related example of an AI-era technique observed in email traffic
- Defending the inbox against prompt injection attacks | Microsoft Defender for Office 365 Blog – feature announcement introducing prompt injection protection in Microsoft Defender for Office 365.
- Learn how Microsoft is reimagining the SOC for the agentic era with ISOC in Microsoft Defender
The post Fake-download campaign uses trojanized installers to deliver monetization payloads appeared first on Microsoft Security Blog.
Microsoft named a Leader in the 2026 Gartner® Magic Quadrant™ for AI Agent Management Platforms
Microsoft has been named a Leader in the inaugural 2026 Gartner® Magic Quadrant™ for AI Agent Management Platforms. We believe this recognition reflects Microsoft’s approach to helping organizations manage, secure, and scale their AI investments through Microsoft Agent 365.
Figure 1: Gartner, Magic Quadrant for AI Agent Management Platforms, October 27, 2026. Monitor and manage agents with Microsoft Agent 365When we introduced Agent 365, we started with a simple concept: agents should be managed with the same rigor you already apply to users, apps, and devices, using the infrastructure and protections that already run your business. Since then, more than 50 million agents have been registered in Agent 365.1
Here’s what we believe made the difference.
We started with identity, not monitoringMany approaches to managing agents focus on monitoring after an agent is running. Microsoft’s approach begins with identity. With Microsoft Entra Agent ID, every agent in the organization is assigned a unique agent ID, associated with an owner and purpose, and the right access controls based on its needs.
This enables organizations to apply established identity and access policies to both people and agents. Agent access policies are dynamically adjusted as risk signals and conditions change. Organizations can manage agent access through the Microsoft identity infrastructure they already use for their workforce.
We built on what you already trustRather than building a separate platform, Agent 365 extends the tools IT and security teams already use every day: Microsoft Entra, Microsoft Defender, Microsoft Purview, Microsoft Intune, and the Microsoft 365 admin center.
That decision shapes the experience. Microsoft data protection, compliance, and security capabilities can help organizations extend familiar controls to supported agent scenarios.2
We meet agents where they areAgents won’t come from one platform, so Agent 365 is designed to support a broad ecosystem. It brings supported agents from Microsoft, customer-built agents, local agents found on devices, and partner clouds and frameworks into one registry. Current integrations include Agentforce, Amazon Bedrock, Anthropic, Databricks, Google Gemini, and Google Vertex, with more planned integrations coming soon, including OpenAI, ServiceNow, and Snowflake. Agent 365 also integrates agents built using supported open-source frameworks with the Agent 365 software development kit (SDK).
For additional agent patterns, including local and previously unknown agents discovered through Microsoft Security sensors, Agent 365 supports fit-for-purpose identity types so they can be represented in the registry with appropriate ownership, activity, and risk context. Microsoft is also previewing discovery of cloud agents, extending visibility beyond known and integrated agents. Together, native integrations, connectors, and security sensors help organizations discover and govern more of their agent estate across cloud and device environments.
There’s more to doAgent 365 moved quickly from introduction to general availability, and we haven’t slowed down. We’re proud of this recognition, and we know there’s more work ahead. We are expanding discovery to 35 additional local agent types, bringing the total to 60, along with adding support to discover unknown agents, bringing these agents under management, as well as extending policy coverage and controls for both managed and unmanaged agents, including third-party agents.
But, visibility and controls are only the beginning. Customers have asked for more automated support for agent governance and security. The new Agent 365 Action Center helps IT and security leaders move from reactive alerts to prescriptive actions, like cleaning up inactive agents, reassigning ownerless agents, or automatically blocking agents based on risk.
We’re also advancing cost management, task classification, and value calculation to help organizations understand how agents are being used, what they cost, and the value they deliver.
Our promise hasn’t changed: to help every organization move from experimenting with agents to running them confidently, with the same rigor, protections, and accountability that already run the enterprise. We believe Agent 365 enables any organization to deploy AI at scale.
Get started- Get your copy of the Gartner Magic Quadrant for AI Agent Management Platforms.
- Learn more about Microsoft Agent 365.
- Get Agent 365 with Microsoft 365 E7, or as an add-on to Microsoft 365 E5.
Attending Microsoft Ignite 2026? Join us to learn more about what’s next for Agent 365.
Get started with Microsoft Agent 365To learn more about Microsoft Security solutions, visit our website. Bookmark the Security blog to keep up with our expert coverage on security matters. Also, follow us on LinkedIn (Microsoft Security) and X (@MSFTSecurity) for the latest news and updates on cybersecurity.
Gartner, Magic Quadrant for AI Management Platforms, Andrei Razvan Sachelarescu, Lucas Kobat, Gilbert van der Heiden, Max Goss, October 27, 2026.
Gartner and Magic Quadrant are trademarks of Gartner, Inc. and/or its affiliates. Gartner does not endorse any company, vendor, product or service depicted in its publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner publications consist of the opinions of Gartner’s business and technology insights organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this publication, including any warranties of merchantability or fitness for a particular purpose. This graphic was published by Gartner, Inc. as part of a larger research document and should be evaluated in the context of the entire document. The Gartner document is available upon request from Microsoft.
The post Microsoft named a Leader in the 2026 Gartner® Magic Quadrant™ for AI Agent Management Platforms appeared first on Microsoft Security Blog.
