ToolShell: recover SharePoint trust after server compromise
A defensive dossier for SharePoint ToolShell: separate patching from machine-key recovery, investigate the farm, and retire unsupported versions.
Observed exploitation ·
Microsoft AI security · Research & practice
Connect the architecture to the controls, and the controls to the evidence. Practical guidance for the people building and defending Microsoft AI.
Connect each control to expected behavior, observable evidence and a response you can test.
Enterprise architectures
Explore complete reference designs with resource boundaries, numbered flows and the decisions behind each control. Work from assumptions through rollout, monitoring and recovery.
Explore 6 reference designsCampaign insights
Follow the evidence, establish product exposure, and work through a focused hardening plan.
A defensive dossier for SharePoint ToolShell: separate patching from machine-key recovery, investigate the farm, and retire unsupported versions.
Observed exploitation ·
Use dated Microsoft campaign evidence to restrict device-code authentication, review device registration, and investigate token-backed access without assuming MFA alone stops the attack.
Observed campaign ·
Separate the completed Microsoft cloud fix from lasting controls for untrusted email, excessive access, Copilot grounding and investigation evidence.
Vendor advisory ·
Go deeper
Delegated identities. Permission-aware retrieval. Agent tools. Correlation that survives scrutiny.
Explore advanced security →Navigate the knowledge
Map the system, establish the boundaries, and collect evidence that controls work.
Explore topicControl oversharing, understand protection boundaries, and investigate organizational data use.
Explore topicDesign identity, networking, secrets and policy around the AI workload you actually run.
Explore topicConstrain connectors, tool authority and the consequential actions an agent can take.
Explore topicBuild useful telemetry, investigate competing explanations, and contain the relevant authority.
Explore topicMake release decisions with named owners, reproducible evidence and explicit exceptions.
Explore topicTrace delegated authority, token audiences, privileged access and federation trust.
Explore topicProtect document permissions, ingestion integrity and the storage behind AI grounding.
Explore topicDesign threat-led experiments, inspect real side effects and interpret evaluation limits.
Explore topicGo further with specialist collections on Conditional Access, MCP, secrets, storage and detection. Explore all 25 security topics →
Read the latest
Bind approval to a concrete action, enforce authorization at execution, make retries idempotent, and recover multi-step workflows without inventing an exactly-once guarantee.
Turn a Copilot Studio connector inventory into scoped data policies, verified endpoint controls, and accountable changes across environments.
Separate agent sign-in from tool authority, constrain shared connections, and verify approval and denial paths.
Primary sources, explicit review methods and dated revisions. See how the guidance is reviewed.
Inside the query library
KQL examples for Microsoft Sentinel, with the data prerequisites, assumptions and validation notes beside the query.
Explore 53 queriesCompare successful recent Azure management callers with a separate historical window, scoped by subscription and normalized caller identifier.
Find recorded Microsoft.CognitiveServices write operations and distinguish configuration activity from model inference.
Review successful lock mutations and identify the protected scope before assessing subsequent management changes or recovery risk.
Build a connected understanding
Start with permissions, oversharing and sensitive information.
Connect identity, network controls and deployment decisions.
Review connectors, delegated authority and consequential actions.
Find the telemetry, form a hypothesis and investigate the evidence.
Evidence before confidence
Follow the primary sources. Check the review method. Test the control in your own environment.