Join our Newsletter — 33% off our NHI Course

SharePoint-Based Command And Control

A command-and-control technique that abuses a SharePoint server or web shell as the attacker’s control point. It lets adversaries blend malicious traffic into trusted enterprise collaboration activity while managing payloads, lateral movement, and exfiltration from inside the network boundary.

Expanded Definition

SharePoint-Based Command And Control is a post-compromise technique in which an adversary uses a SharePoint site, SharePoint service endpoint, or a web shell placed on SharePoint infrastructure as a relay point for command traffic. The appeal is not that SharePoint is inherently insecure, but that it is commonly trusted, heavily integrated, and allowed through network and identity controls that would block a conventional external C2 beacon. Because the traffic appears to originate from legitimate collaboration infrastructure, defenders may initially treat it as routine application activity rather than attacker-driven orchestration.

In practice, this technique sits at the intersection of application abuse, internal pivoting, and identity misuse. The attacker may leverage valid credentials, stolen session tokens, or server-side execution to issue commands, move laterally, or stage exfiltration. That makes it different from simple malicious file hosting or ordinary remote administration. The key security question is not whether SharePoint is being used, but whether its use matches authorised administrative and business patterns. The most common misapplication is assuming all SharePoint traffic is benign, which occurs when monitoring focuses on perimeter reputation instead of authenticated actions and anomalous server-side behaviour.

Examples and Use Cases

Implementing detection and containment rigorously often introduces visibility and tuning overhead, requiring organisations to weigh tighter inspection against the risk of disrupting legitimate collaboration workflows. For teams looking to anchor detection policy in a broader governance model, the NIST Cybersecurity Framework 2.0 provides a useful baseline for identifying, protecting, detecting, and responding to this kind of abuse.

  • An attacker uploads or deploys a web shell to a SharePoint host and uses it to issue commands from inside the enterprise boundary.
  • Stolen credentials are used to interact with SharePoint in ways that mimic ordinary user or admin activity while covertly staging payload retrieval.
  • Compromised SharePoint content is used to pass instructions between attacker infrastructure and internal systems, reducing reliance on obvious external beaconing.
  • Security teams find unusual server-side execution, encoded requests, or abnormal authentication patterns tied to a SharePoint workload that should mainly serve collaboration functions.
  • Incident responders use protocol and identity logs to distinguish normal document access from command traffic hidden inside authorised SharePoint sessions.

Why It Matters for Security Teams

SharePoint-Based Command And Control matters because it turns a trusted business platform into an attacker control channel, complicating both detection and containment. Traditional perimeter filtering can miss it, and simplistic allowlisting can create blind spots if teams assume that collaboration services only carry benign content. The operational risk is especially acute where SharePoint is tightly coupled to identity systems, since compromised accounts, delegated permissions, and service principals can all be abused to make attacker activity look legitimate.

For defenders, the core challenge is separating expected collaboration use from malicious orchestration inside the same application ecosystem. That requires identity-aware logging, server integrity monitoring, and response playbooks that account for both user compromise and application-layer compromise. It also means treating collaboration platforms as part of the attack surface, not just productivity tooling. Organisations typically encounter the full impact only after internal spread, suspicious exfiltration, or ransomware staging is discovered, at which point SharePoint-Based Command And Control becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0 provides the primary governance reference for this term.

Framework Control / Reference Relevance
NIST CSF 2.0 DE.CM-1 SharePoint C2 is detected through continuous monitoring of networks and enterprise services.

Monitor SharePoint telemetry for anomalous command traffic and trigger response when activity deviates from baseline.