01Scenario
Compromised service account
A long-lived credential is copied out of a build environment and used elsewhere.
The scenario
A backup service account holds an access key with read access to several storage buckets and permission to describe infrastructure. The key is exposed in a build log and copied by an attacker, who uses it from their own infrastructure.
Every request the attacker makes is signed with a valid key. Nothing about an individual call is malformed or forbidden.
Event sequence
- nightly backup (normal)
- new source network · 03:14
- ec2:Describe* ×120
- s3:ListBuckets
Behavioral signals
- API calls from a network and user agent never associated with the identity
- Activity outside the account’s fixed nightly schedule
- Describe and list operations across services the account has never queried
- Concurrent use from two distinct execution contexts
How Ordrani approaches it
Because the service account’s behavior is highly regular, Ordrani’s behavior model for it is tight. Activity outside its schedule, from a new context, touching new services, departs from that model on several independent dimensions at once.
The case presents the divergence side by side with the baseline, identifies the first anomalous event, and lists every resource the credential reached since — giving responders the scope they need to decide on rotation.
Analysts see exactly when the credential diverged from its routine and what it touched afterward.