1/26
Looks like no tags are added yet.
ec2 compromised why do both SG and NACL
SG is stateful, it wont drop current attacker connections
NACL is stateless and willdrop them
steps for EC2 compromised
capture memory dump, snapshot EBS volumes, tag with case ID, amaon detective, terminate and build from known good
MUST PRESERVE
Leaked IAM Access KEy
deactive the key, attach deny all policy to prinpical, revoke actrive sessions AWSRevokeOLDERSessions aws:TokenIssueTime
cloudtrali investation/athena
delete the key AFTER EVIDENCE CAPTURE
rotate very secret the principial could read
IAM and KMS
IAM POLICIES ALONE ARE NOT ENOUGH
you must have key policies or delegate to a IAM policies (by including root account pricnpial) p
KMS across count
you must have a key policy in account A that allows account B, then IAM policy in account B must allow principal ot use that key
NEED BOTH
AWS managed keys across accounts
NO
gaurd duty for
threats malware, crypto mining, sus API calls
NOT FOR CONFIG COMPLIANCE OR DATA CLASSIFICATION
Inspector
vulnerabilites in EC2 or conatainers/images
Security Hub
aggregated all findings
ONLY A DASHBOARD/AGGREGATOR
Confi
configuration changes and compliance, conformance packs
milisecond response or thousands of concurrent threats
lambda cold state/concurrenly limits make it a BAD optoins
L3/L4
always identify layers, use a network firewall
3rd party firewall
gateway load balancer
private access to S3/dynamoDB
gateway endpoint
only for S3 and dynamo DB,
FREE
private access to 130+ interface
interace endopoint or private link PAID
minmial operational overhead
built in AWS options
cost effective
free options, gateway endpoint, NACL etc
no application changes
use existing active directory NOT COGNITO
contextual grounding cehcks
hallunication detections q
automated resaoning checks
99% accuracy, validates against logical rules/math
bedrock gaurrails
per account, operates on inputs and outputs
bedrock standard vs classic
standard extends to code elemnts
bedrock pricing
word filters free, regex free
OCSF (Open Cyebrsecurity Schema Framework)
schema, vendar agnostic, opens ource for repserneting security events
secuirty lake automatically normailse all of it to OCSF schema
RCPs
set max permission on resources, can block external principal, deny only
gateway endpoint
S3 Dyno B free
interface endpoint (private link)
any aws service any NLB backe nd, cross VPC cross account s
stays within AWS