Skip to content
Threat Feed

Tag

Ec2

23 briefs RSS
high advisory

AWS IAM User Creation via Compromised EC2 Assumed Role

Adversaries leverage a compromised AWS EC2 instance's assumed IAM role to create new, unauthorized IAM users, establishing persistence within the AWS environment by granting themselves persistent access even after the initial compromise is remediated.

AWS Identity and Access Management +2 cloud aws persistence identity-and-access-management ec2 privilege-escalation iam
2r 3t 1i
medium advisory

AWS EC2 Role GetCallerIdentity from New Source AS Organization

The rule detects when an EC2 instance role session calls AWS STS GetCallerIdentity from a new source autonomous system (AS) organization name, indicating potential credential theft and verification from outside expected egress paths.

Amazon Web Services cloud aws getcalleridentity ec2 discovery
2r 1t
medium advisory

AWS EC2 LOLBin Execution via SSM SendCommand

Detection of Living Off the Land Binaries (LOLBins) or GTFOBins execution on EC2 instances via AWS Systems Manager (SSM) SendCommand API, potentially indicating malicious activity.

aws ec2 ssm lolbin execution cloud
2r 2t
low advisory

AWS EC2 Deprecated AMI Discovery

A user querying for deprecated Amazon Machine Images (AMIs) in AWS via the DescribeImages API call may indicate an adversary looking for outdated and potentially vulnerable AMIs for exploitation.

Amazon EC2 +1 cloud aws ec2 discovery
2r 1t
medium advisory

Suspicious AWS EC2 Key Pair Import Activity

The import of SSH key pairs into AWS EC2, as detected by CloudTrail logs, may indicate unauthorized access attempts, persistence establishment, or privilege escalation by an attacker.

Elastic Compute Cloud aws cloudtrail ec2 keypair initial-access persistence privilege-escalation
2r 1t
medium advisory

AWS EC2 Instance Connect SSH Public Key Upload

This rule detects the uploading of new SSH public keys to AWS EC2 instances using the EC2 Instance Connect service, which could indicate an adversary attempting to maintain access, escalate privileges, or move laterally within the cloud environment.

EC2 +1 cloud aws ssh lateral-movement privilege-escalation persistence
2r 3t
medium advisory

Insecure AWS EC2 VPC Security Group Ingress Rule Added

An AWS EC2 VPC security group ingress rule was added to allow traffic from any IP address (0.0.0.0/0 or ::/0) to common remote access ports, potentially exposing instances to unauthorized access and defense evasion.

EC2 +1 aws security-group defense-evasion
2r 2t
medium advisory

AWS EC2 User Data Retrieval for EC2 Instance

Detection of the AWS EC2 DescribeInstanceAttribute API call to retrieve the userData attribute, potentially exposing sensitive information like credentials or configuration details.

EC2 +1 aws cloudtrail userdata discovery credential-access
2r 2t
low advisory

AWS EC2 Route Table Created for Persistence or Defense Evasion

An EC2 Route Table creation event in AWS can indicate an attacker attempting to disrupt network traffic, reroute communications, or maintain persistence by creating unauthorized routes.

EC2 cloud aws persistence network-security
2r 2t
low advisory

AWS EC2 Route Table Modification or Deletion

An attacker modifies or deletes AWS EC2 route tables to disrupt network traffic, reroute communications, or maintain persistence in a compromised environment.

EC2 aws cloudtrail route-table persistence defense-evasion
2r 2t
medium advisory

AWS EC2 Network Access Control List Deletion

The deletion of an Amazon EC2 network access control list (ACL) or its entries can indicate an attacker attempting to disable security controls for unauthorized access or data exfiltration.

AWS EC2 cloud aws ec2 network-security defense-evasion
2r 1t
medium advisory

AWS EC2 Traffic Mirroring Abuse for Data Exfiltration

An attacker creates an Amazon EC2 Traffic Mirroring session to capture and exfiltrate sensitive network traffic from EC2 instances, potentially including unencrypted data.

EC2 Traffic Mirroring aws ec2 traffic-mirroring exfiltration
2r 5t
medium advisory

Cloud Instance Modified by Previously Unseen User

This analytic identifies cloud instances being modified by users who have not previously modified them, specifically focusing on successful modifications of EC2 instances, potentially indicating unauthorized access and configuration changes.

EC2 +1 cloud aws anomaly
2r 2t
medium advisory

Suspicious AWS EC2 Key Pair Creation from Non-Cloud AS

An AWS EC2 CreateKeyPair event triggered by a new principal originating from a network autonomous system (AS) organization not associated with major cloud providers, indicating potential unauthorized access or persistence activity.

Amazon EC2 aws ec2 keypair persistence credential_access lateral_movement
2r 3t
medium advisory

Spike in AWS Security Hub Alerts for EC2 Instance

Detects a sudden increase in security alerts generated by AWS Security Hub related to a specific EC2 instance, potentially indicating active compromise or misconfiguration.

EC2 cloud aws securityhub alert-spike
2r 6t
high advisory

AWS EC2 Stop, Start, and User Data Modification Correlation

Detection of a sequence of AWS EC2 management API calls indicative of malicious modification of instance user data to execute arbitrary code upon instance restart, potentially leading to privilege escalation and persistence.

EC2 aws user-data privilege-escalation persistence execution
3r 2t
high advisory

AWS EC2 Snapshot Shared Externally

Detection of AWS EC2 snapshot shared publicly, indicating potential data exfiltration, by analyzing AWS CloudTrail events.

EC2 aws snapshot data exfiltration cloudtrail
2r 1t
high advisory

AWS EC2 Snapshot Exfiltration Attempt

This analytic detects potential exfiltration of data from AWS EC2 instances through the suspicious creation, modification, and deletion of EC2 snapshots within a short timeframe, potentially leading to unauthorized data access.

EC2 aws snapshot data_exfiltration cloudtrail
2r 1t
critical advisory

AWS Credential Access via GetPasswordData API Abuse

An attacker attempts to retrieve encrypted administrator passwords for running Windows instances by abusing the AWS GetPasswordData API, potentially leading to full control over the affected instances.

AWS EC2 cloud aws credential-access ec2
2r 3t
medium advisory

AWS EC2 Instance Export for Potential Exfiltration

An attacker with compromised AWS credentials or EC2 instance access can leverage EC2 export functionalities (CreateInstanceExportTask, ExportImage, or CreateStoreImageTask) to exfiltrate sensitive data by exporting EC2 instances or their images to external storage.

EC2 +2 aws exfiltration cloudtrail
2r 5t
high advisory

AWS EC2 Serial Console Access Enabled

The EC2 Serial Console provides direct, text-based access to an instance's serial port, bypassing the network layer, which adversaries may enable for out-of-band communication, evading network-based security monitoring, firewalls, and VPC controls.

AWS EC2 aws cloudtrail defense-evasion ec2
3r 2t
low advisory

AWS EC2 Network Access Control List Creation

The rule detects the creation of an AWS EC2 network access control list (ACL) or an entry in a network ACL with a specified rule number, which adversaries may exploit to establish persistence or defense evasion by creating permissive rules.

Amazon EC2 cloud aws ec2 network-acl persistence defense-evasion
2r 3t
medium advisory

Unusual EC2 Instance Creation with Unseen Instance Type

An attacker may create new EC2 instances with previously unseen instance types, indicating potential unauthorized or suspicious activity such as cryptomining or data exfiltration.

EC2 cloud anomaly cryptomining
2r 1t