Executive Summary
Elastic Security Labs documented a CyberStrikeAI server using stolen AWS credentials across four AWS accounts over a 16-day period. Eight identities were involved: five IAM users and three EC2 instance roles. The investigation recorded 78 alerts across six detection rules.
The intrusion followed a sequence of credential validation, secret collection, EC2 user-data retrieval, Systems Manager parameter decryption and remote command execution.
Key findings:
Source infrastructure:
43[.]240[.]29[.]11Identities used: 8 across 4 AWS accounts
Campaign period: September 30 – October 16, 2026
CloudTrail alerts: 78
User-data retrieval: 56 requests in 141 milliseconds from one role session
Sensitive data access: AWS Secrets Manager and SSM SecureString parameter
Remote command activity: SSM
SendCommandDetection challenge: Individual alerts were medium or low severity and only became meaningful when correlated.
The audit log confirmed that an SSM command was sent, but did not reveal the command content or whether it succeeded. The investigation also did not establish the original credential-theft method.
Technical Description
CyberStrikeAI is an open-source platform that combines LLM agents with offensive security tools. Elastic attributed the infrastructure involved in this incident to CyberStrikeAI through its exposed web interface, self-signed TLS certificate and matching infrastructure fingerprints.
The investigation identified one server using AWS credentials from multiple identities. The activity included:
Validating AWS identities through STS
GetCallerIdentity.Requesting temporary credentials through
GetSessionToken.Accessing secrets through Secrets Manager
GetSecretValue.Enumerating EC2 startup scripts using
DescribeInstanceAttributewith theuserDataattribute.Retrieving a decrypted SSM SecureString parameter through
GetParameter.Issuing a remote command through SSM
SendCommand.
The activity was intermittent rather than continuous. After the initial burst of activity, the server returned following a 14-day gap and checked credentials again.
Attack Overview
Credential validation: The server tested stolen AWS credentials across multiple accounts using STS API calls.
Temporary credential requests: It requested temporary sessions using
GetSessionToken.Secret collection: It accessed Secrets Manager entries using
GetSecretValue.EC2 user-data enumeration: It retrieved startup scripts from EC2 instances, potentially exposing hardcoded credentials, API keys, SSH keys and certificates.
SSM parameter access: It retrieved an encrypted Systems Manager parameter with decryption enabled.
Remote command execution attempt: It issued an SSM
SendCommandrequest 29 seconds after retrieving the parameter.Dormant period: Activity stopped for 14 days.
Return activity: The server returned on October 16 to revalidate credentials, including an identity in a fourth AWS account.
The source confirms the API requests and command submission, not the contents or successful execution of the remote command.
Attack Timeline
Date | Phase | Observed activity |
|---|---|---|
September 30 | Credential validation |
|
September 30 | Secret collection |
|
October 1 | Continued access | Credential revalidation and additional Secrets Manager access |
October 2 | SSM activity | Decrypted SecureString parameter followed by |
October 16 | Return activity | Credential revalidation, including an identity in a fourth account |
The 14-day gap between October 2 and October 16 is particularly important. A short fixed correlation window could have separated the activity into apparently unrelated events.
Technical Analysis
1. AWS credential validation
The attacker used STS API calls to determine whether compromised credentials remained valid.
Relevant API calls:
GetCallerIdentityGetSessionToken
Three GetCallerIdentity calls occurred within the same second across three AWS accounts, indicating automated credential validation.
2. EC2 user-data enumeration
The most notable activity involved an EC2 instance role named app-role.
The server generated 56 DescribeInstanceAttribute requests in 141 milliseconds, requesting the userData attribute.
EC2 user-data scripts may contain:
API keys and application credentials
Database connection details
SSH keys
Certificates
Bootstrap secrets
The unusually rapid sequence suggests automated enumeration rather than normal interactive administration.
3. Secrets Manager access
The attacker accessed AWS Secrets Manager using GetSecretValue.
The activity involved both application and non-production roles. Access to non-production secrets is particularly important to investigate because credentials may be reused or shared across production and development environments.
4. Systems Manager parameter decryption
On October 2, the container-role identity accessed an encrypted SSM parameter using GetParameter with decryption enabled.
Twenty-nine seconds later, the same role issued an SSM SendCommand.
This is the highest-risk sequence in the investigation. However, the available audit records do not reveal the actual command or confirm successful execution.
5. CyberStrikeAI infrastructure attribution
Elastic associated the source IP with CyberStrikeAI through internet-scan observations of its web interface and a matching self-signed TLS certificate.
The three infrastructure indicators were:
43[.]240[.]29[.]1143[.]240[.]29[.]2843[.]240[.]29[.]33
Only 43[.]240[.]29[.]11 appeared in the AWS telemetry investigated by Elastic. The other two were linked through shared infrastructure characteristics and should be treated as retrospective hunting indicators.
Detection Engineering: Why Alert Correlation Matters
Elastic recorded 78 alerts across six detection rules. Each alert individually appeared to be a medium- or low-severity event.
Detection rule | Alerts | Severity |
|---|---|---|
AWS EC2 User Data Retrieval for EC2 Instance | 58 | Medium |
AWS STS GetCallerIdentity API Called for the First Time | 11 | Medium |
First Time Seen AWS Secret Value Accessed in Secrets Manager | 4 | Medium |
AWS STS GetSessionToken Usage | 3 | Low |
AWS SSM SendCommand Execution by Rare User | 1 | Low |
AWS Systems Manager SecureString Parameter Request with Decryption Flag | 1 | Medium |
Elastic highlighted two additional high-severity behavioral detections:
AWS EC2 Bulk User Data Enumeration: Detects one principal and source IP reading user-data from more than 20 distinct instances within 10 minutes.
AWS STS GetCallerIdentity Bulk Account Enumeration: Detects three or more distinct non-role identities calling
GetCallerIdentityfrom the same external IP and ASN within 10 minutes.
The central detection lesson is to correlate cloud activity by source IP, identity, API action and time—even when activity is spread across multiple days.
Indicators of Compromise (IOCs)
Source IP addresses
Indicator | Context |
|---|---|
| Source of all 78 AWS alerts |
| Related CyberStrikeAI infrastructure |
| Related CyberStrikeAI infrastructure |
The latter two IPs were not observed in the investigated AWS telemetry. Elastic recommends treating all three as retrospective hunting indicators. Network indicators can change and should not be the sole basis for detection.
Infrastructure fingerprints
Attribute | Value |
|---|---|
Web interface | CyberStrikeAI |
Service port |
|
Certificate issuer |
|
Certificate subject |
|
Certificate serial |
|
Signature algorithm | ECDSA-SHA256 |
Hosting ASN | AS133199 |
Behavioral indicators for threat hunting
Multiple
DescribeInstanceAttributerequests targetinguserDatafrom one role session.Several
GetCallerIdentitycalls from the same external IP across multiple AWS accounts.GetSessionTokenorGetSecretValuerequests originating from unexpected external IP addresses.GetParameterwith decryption enabled followed shortly bySendCommand.Unusual access to Secrets Manager by EC2 instance roles.
Cloud API activity returning after an extended period of inactivity.
Potential Impact
Cloud credential exposure: Compromised identities may provide access to sensitive AWS resources.
Secret disclosure: EC2 user-data scripts and Secrets Manager entries may expose application credentials, keys and certificates.
Cross-account exposure: Compromised identities can potentially provide access to multiple AWS accounts.
Remote command execution: SSM
SendCommandcan be abused to execute administrative commands on managed instances.Production environment risk: Shared credentials between non-production and production environments may increase the scope of compromise.
Detection evasion: Intermittent activity and a 14-day gap can defeat correlation systems using short time windows.
Recommendations
Immediate Actions
Identify and rotate credentials for all IAM users and instance roles associated with the suspicious source IP.
Revoke active sessions, including temporary credentials.
Review EC2 instance profiles and replace affected instances or profiles where role credentials may have been exposed.
Treat secrets stored in affected EC2 user-data scripts as compromised and rotate them.
Review SSM command history for unexpected
SendCommandactivity and inspect the corresponding command documents and execution results.Investigate Secrets Manager and SSM parameter access across all four accounts.
Block the identified infrastructure indicators at appropriate network controls, while retaining behavioral detections.
Investigate the original credential exposure vector, including exposed applications, SSRF, compromised hosts, repositories and EC2 Instance Metadata Service access.
Preventive Actions
Restrict
ec2:DescribeInstanceAttributeaccess to roles that genuinely require user-data retrieval.Avoid storing sensitive credentials directly in EC2 user-data scripts.
Store secrets securely using AWS Secrets Manager or Systems Manager Parameter Store.
Apply least-privilege IAM policies to users, roles and service accounts.
Monitor unusual
GetCallerIdentity,GetSessionToken,GetSecretValueandSendCommandactivity.Enable Amazon GuardDuty and configure alerts for credentials used outside expected IP ranges.
Review non-production and production IAM roles for shared permissions and secrets.
Implement behavioral detections that identify bulk API enumeration and unusual cross-account activity.
Use longer correlation windows or source-IP-based correlation to identify intermittent intrusion activity.
Consider automated containment for high-confidence detections, with safeguards to prevent disruption to legitimate cloud services.
Elastic also demonstrated a proof-of-concept response workflow using Elastic Workflows and AWS Lambda to deactivate access keys, restrict temporary sessions and quarantine affected IAM users.
Conclusion
The CyberStrikeAI AWS intrusion demonstrates how automated offensive tooling can abuse legitimate cloud identities and API operations without necessarily generating obvious high-severity alerts.
The combination of credential validation, bulk EC2 user-data retrieval, Secrets Manager access and SSM command submission highlights the importance of monitoring identity behavior across AWS accounts.
The most important lesson is that individual cloud alerts may appear routine, but their relationship through shared source infrastructure and identity activity can reveal a larger intrusion. Security teams should strengthen IAM controls, protect stored secrets and implement behavioral detection capable of correlating activity across extended time periods.
