AWS Updates CloudTrail After Varonis Finds Logging Gap for Anonymous S3 Requests

Summary
Varonis Threat Labs reported that anonymous requests to external S3 buckets through VPC endpoints could go unlogged in CloudTrail. AWS updated logging so these requests are recorded as Network Activity events in the endpoint owner's account.
Key points
- Before AWS's update, anonymous requests from a VPC endpoint to an external S3 bucket could generate no events in the source account.
- If the endpoint policy allowed access, the target account logged management/data events; if it denied access, the request was blocked and neither account logged events.
- Varonis said the gap could let an attacker using a compromised account interact with public buckets without detection, including potentially uploading data or downloading malware.
- AWS updated CloudTrail to log anonymous API requests to external S3 buckets via VPC endpoints as Network Activity events delivered to the endpoint owner's account.
- Recommended mitigations include least-privilege VPC endpoint policies, regular audits of bucket policies, and alerts on policy changes.
Article Details
- Vulnerability Types
- CloudTrail failed to record anonymous API requests to external S3 buckets made through VPC endpoints as Network Activity events.
- Severity
- Unknown
- Exploitation Status
- unknown
- Exploit Availability
- unknown
- Patch Status
- available
- Workarounds
- Apply least-privilege VPC endpoint policies, explicitly deny anonymous access, and enforce IAM conditions for all requests.
- Audit bucket policies and remediate public or overly permissive policies.
- Enable alerts for changes to VPC endpoint or bucket policies.
MITRE ATT&CK
T1105 · Ingress Tool TransferThe article describes attackers potentially downloading malware from their S3 bucket into a VPC through a VPC endpoint.T1567.002 · Exfiltration to Cloud StorageThe article describes attackers potentially uploading sensitive data to an attacker-controlled external S3 bucket through a VPC endpoint without CloudTrail visibility.
Vendors
Amazon Web ServicesThis allowed attackers inside private VPCs to interact with external public buckets invisibly, and AWS has since updated CloudTrail in collaboration with Varonis to log anonymous API requests made to external S3 bucketsVaronisVaronis Threat Labs discovered an evasive vulnerability that prevented anonymous S3 requests from being recorded in CloudTrail Network Activity events, sometimes producing no logs at all.
Products
CloudTrailVaronis Threat Labs discovered an evasive vulnerability that prevented anonymous S3 requests from being recorded in CloudTrail Network Activity events, sometimes producing no logs at all.S3Varonis Threat Labs discovered an evasive vulnerability that prevented anonymous S3 requests from being recorded in CloudTrail Network Activity events, sometimes producing no logs at all.
