How to isolate an EC2 instance?

0

Hello, I am creating an incident response initiative with automated workflows and would like to know how I can isolate my EC2 instance if any malicious activity is detected, in order to conduct forensic analysis later?

Raphael
질문됨 5달 전319회 조회
1개 답변
2
수락된 답변

Hello, there are 3 options for you to perform instance isolation:

1 - Security Group-level containment: a. Create a dedicated “Isolation” security group b. Create a single rule of 0.0.0.0/0 (0-65535) for all traffic in both the inbound rules and outbound rules c. Application of these rules will convert all existing (and new) traffic to “untracked” d. Remove the existing security group association from the instance and associate the “Isolation” security group with the instance e. Delete both rules of 0.0.0.0/0 (0-65535) for all traffic from both the inbound rules and outbound rules of the “Isolation” security group

2 - Subnet-level containment: a. Identify the subnet associated with the instance b. Identify the NACL associated with the subnet c. Add a DENY ALL NACL rule to both the inbound and outbound rules as rule number 1 for all traffic (0.0.0.0/0) d. If you need to delete an existing rule to make space, ensure you record the details of the deleted rule in order to restore it in the future

3 - VPC-level containment: a. Remove all the IGW routes from all route tables b. Attach a custom route table with no routes to all subnets within the VPC c. Options available depending on your needs and the situation d. This is a big hammer: Use it wisely

https://docs.aws.amazon.com/vpc/latest/userguide/infrastructure-security.html

profile pictureAWS
답변함 5달 전
profile picture
전문가
검토됨 5달 전
profile picture
전문가
검토됨 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠