Check ID:
Provider: AWS
Service:
Severity: LOW
Categories:
Resource type:
ec2_instance_uses_single_eniProvider: AWS
Service:
ec2Severity: LOW
Categories:
trust-boundariesResource type:
AwsEc2InstanceWhat this check verifies
EC2 instances are evaluated for attached network adapters. It identifies instances with more than oneENI-including efa, interface, or trunk types-and distinguishes those using a single adapter.
Risk
Multiple ENIs create dual-homed hosts across subnets and security groups, enabling unintended routing and policy bypass. Adversaries can pivot between segments, use alternate egress for data exfiltration, or exploit asymmetric paths, undermining segmentation and confidentiality/integrity while complicating containment.Recommendation
Prefer a single ENI per instance. If multi-homing is unavoidable:- Place ENIs in least-privilege subnets/SGs
- Keep
source/destination checkenabled and routes explicit - Use gateways/LBs for NAT or ingress, not the host
- Monitor flow logs and formally approve exceptions
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
aws ec2 detach-network-interface —attachment-id <ATTACHMENT_ID>
References
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#detach_eni
- https://docs.aws.amazon.com/config/latest/developerguide/ec2-instance-multiple-eni-check.html
- https://docs.aws.amazon.com/securityhub/latest/userguide/ec2-controls.html#ec2-17
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = ec2_instance_uses_single_eni. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks