Has abused built-in remote wipe or factory reset commands to wipe devices managed within an organization’s Cloud management solution impacting laptops, servers, and mobile devices.1
Cloud Administration Command T1651
- Tactic
- Execution
- Platform
- IaaS
- Version
- 2.1
- Created
- 13 March 2023
- Last modified
- 12 May 2026
- Contributors
- Cisco; Nichols Jasper; Jared Wilson; Caio Silva; Adrien Bataille; Anders Vejlby; Nader Zaveri; Tamir Yehuda
Cloud Administration Command MITRE reference T1651
2 groups have been recorded using this technique. Newest first; each entry carries MITRE’s procedure text and a link to the group’s full record. Click a name to filter the rules below.
Has used Azure Run Command and Azure Admin-on-Behalf-of (AOBO) to execute code on virtual machines.1
All 2 groups for this technique
2 software entries are documented implementing this technique. MITRE files each as a tool or as malware; newest first, then by how many groups carry them.
Can run commands on EC2 instances using AWS Systems Manager Run Command.1
Can execute commands on Azure virtual machines using the VM agent.1
All 2 software entries for this technique
Offense vs defense T1651
Is defensive coverage keeping up with adversary use? Eight counts, each ranked against all 697 ATT&CK techniques. Attack sits left, defense right, so a shape leaning left means adversaries are better documented here than defenders are equipped. Hover any spoke for its percentile and the share of techniques that have more. The timeline below shows when each side arrived.
Cloud Administration Command detection strategy DET0545
MITRE names one behaviour worth catching for this technique and breaks it into 1 analytic, one per platform. Each carries the log sources it needs and the fields you tune per environment.
Detection Strategy for Cloud Administration Command
AN1502 · IaaS
Monitor for suspicious use of cloud-native administrative command services (e.g., AWS Systems Manager Run Command, Azure RunCommand, GCP OS Config) to execute code inside VMs. Detect anomalies such as commands/scripts executed by unexpected users, execution outside of maintenance windows, or commands initiated by service accounts not normally tied to administration. Correlate cloud control-plane activity logs with host-level execution (process creation, script execution) to validate if commands materialized inside the guest OS.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Script ExecutionDC0029 | azure:activity | Microsoft.Compute/virtualMachines/runCommand/action: Abnormal initiation of Azure RunCommand jobs or PowerShell/Bash payloads |
| Process CreationDC0032 | azure:vmguest | Unexpected execution of cloud agent processes (e.g., WindowsAzureGuestAgent.exe, ssm-agent) followed by arbitrary script or binary execution |
| Command ExecutionDC0064 | AWS:CloudTrail | SendCommand, StartSession, ExecuteCommand: Unexpected AWS Systems Manager command execution targeting EC2 instances |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| UserContext | Differentiate between known admin/service accounts and non-administrative users triggering RunCommand or SSM. |
| TimeWindow | Correlate cloud control-plane API calls with host-side execution events within a bounded timeframe (e.g., 5 minutes). |
| AllowedScripts | Whitelist approved scripts or automation invoked via RunCommand to reduce false positives. |
Limit the number of cloud accounts with permissions to remotely execute commands on virtual machines, and ensure that these are not used for day-to-day operations. In Azure, limit the number of accounts with the roles Azure Virtual Machine Contributer and above, and consider using temporary Just-in-Time (JIT) roles to avoid permanently assigning privileged access to virtual machines.
Tests from Atomic Red Team (MIT licence) · technique definition