Cloud Administration Command

T1651

Technique.View on attack.mitre.org

About this technique

Adversaries may abuse cloud management services to execute commands within virtual machines. Resources such as AWS Systems Manager, Azure RunCommand, and Runbooks allow users to remotely run scripts in virtual machines by leveraging installed virtual machine agents.

If an adversary gains administrative access to a cloud environment, they may be able to abuse cloud management services to execute commands in the environment’s virtual machines. Additionally, an adversary that compromises a service provider or delegated administrator account may similarly be able to leverage a Trusted Relationship to execute commands in connected virtual machines.

Detection rules0

Rules on DetectionCode tagged with T1651.

Sigma0

No Sigma rules are mapped to this technique yet.

Splunk0

No Splunk rules are mapped to this technique yet.

Groups2

Software2

Campaigns0

None recorded.

Procedure examples4

Groups2

Used byProcedure example
GroupAPT29

APT29 has used Azure Run Command and Azure Admin-on-Behalf-of (AOBO) to execute code on virtual machines.

GroupVOID MANTICORE

VOID MANTICORE 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.

Software2

Used byProcedure example
ToolAADInternals

AADInternals can execute commands on Azure virtual machines using the VM agent.

ToolPacu

Pacu can run commands on EC2 instances using AWS Systems Manager Run Command.

References3

  1. AWS Systems Manager Run Command Open source
    AWS. (n.d.). AWS Systems Manager Run Command. Retrieved March 13, 2023.
  2. MSTIC Nobelium Oct 2021 Open source
    Microsoft Threat Intelligence Center. (2021, October 25). NOBELIUM targeting delegated administrative privileges to facilitate broader attacks. Retrieved March 25, 2022.
  3. Microsoft Run Command Open source
    Microsoft. (2023, March 10). Run scripts in your VM by using Run Command. Retrieved March 13, 2023.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.