Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Cloud Administration Command (T1651): Detection and Defense

MITRE ATT&CK describes Cloud Administration Command (T1651) as abuse of cloud management services to run commands inside virtual machines.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
Abstract cloud command path and guest execution trace

A cloud API call shows a command request, but analysts need command status and guest system evidence to determine what ran.

How it works

T1651 Cloud Administration Command: How It Works

MITRE says an actor with cloud administrative access may use AWS Systems Manager, Azure Run Command or similar services to send scripts to virtual machines through installed agents. The service is also useful for routine maintenance. The question for an analyst is whether the caller, target, time and requested task match an approved change. Valid Accounts: Cloud Accounts (T1078.004) covers use of cloud credentials; T1651 covers the command sent through the management service.

MITRE’s DET0545 starts with control plane records, then joins them to process or script activity inside the guest system. AWS says CloudTrail records Systems Manager API requests, including the caller, source IP and time. A SendCommand event therefore establishes that the API was called. It cannot by itself establish which process ran in the guest or whether the command completed. Check Run Command history, status and configured output logs, then match the target and time to guest process records. This workflow sits within broader cloud security monitoring.

Start with the identity and its normal work. DET0545 highlights unexpected users, service accounts outside their usual duties and activity outside maintenance windows. AWS documents IAM policies for SendCommand and tag based limits on target nodes. Compare a suspicious request with the approved automation, the document used, the intended VM and the observed status before deciding whether it was malicious. If guest logs are absent, record execution as unconfirmed.

A real example

MITRE reports that APT29 used Azure Run Command and Azure Admin-on-Behalf-of to execute code on virtual machines. See the APT29 profile for the group context. In a separate AWS case published on 13 November 2026, Elastic saw a role read an encrypted Systems Manager parameter and issue SendCommand 29 seconds later. Elastic says its audit log does not show the command contents or whether it succeeded. The AWS CloudTrail case review gives the wider event sequence.

Who uses it

How to detect

  1. Find unusual command requests

    MITRE DET0545 recommends watching AWS Systems Manager SendCommand and comparable cloud command services. Flag a caller, target or time outside the account's approved maintenance pattern.

  2. Join the request to guest execution

    MITRE DET0545 calls for joining cloud control plane events to guest process creation and script execution. Match the VM and a bounded time window, then inspect command status before claiming execution.

  3. Review AWS command history and output

    AWS says CloudTrail records Systems Manager API calls. AWS also documents EventBridge status changes and optional CloudWatch Logs output for Run Command. Use these records to test what happened after SendCommand.

How to defend

  1. Limit command capable identities

    MITRE M1026 recommends limiting accounts that can run remote VM commands and keeping those privileges out of daily use. Review roles and service accounts with that permission.

  2. Scope AWS Run Command access

    AWS documents IAM controls for SendCommand and tag based limits on managed nodes. Give each operator or automation only the documents and nodes needed for its task.

  3. Keep evidence of command results

    AWS documents EventBridge command status events and optional CloudWatch Logs output. Configure the records needed to review completion, and retain guest process or script logs for correlation.

Frequently Asked Questions

Does a SendCommand event prove code ran on a VM?

No. AWS says CloudTrail records the Systems Manager API request. MITRE DET0545 calls for guest execution records, and AWS offers status and output records to help check the result.

How can a team separate maintenance from T1651?

Compare the caller, target, time and document with an approved task. MITRE DET0545 highlights unexpected users, unusual service account use and requests outside maintenance windows.

Which control reduces AWS Run Command exposure?

AWS documents IAM policies for SendCommand and tag based limits on target nodes. MITRE M1026 recommends granting remote command privileges to fewer cloud accounts.

Sources

  1. Cloud Administration Command, T1651MITRE ATT&CK
  2. Detection Strategy for Cloud Administration Command, DET0545MITRE ATT&CK
  3. 56 AWS API calls in 141 milliseconds: Inside an AI-run intrusionElastic Security Labs
  4. Logging AWS Systems Manager API calls with AWS CloudTrailAWS
  5. Setting up Run CommandAWS
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →