Hal yang perlu dilakukan untuk memastikan keamanan minimum di lingkungan AWS anda
Pada kali ini, sesuai dengan topik diatas, banyak interaksi saya dengan pelanggan yang berkonsultasi mengenai bagaimana memastikan kemananan lingkungan AWS mereka secara minimum.
Sebenarnya mekanisme ini dibahas lebih detail dengan me-refer pada dokumen-dokumen sebagai berikut https://awssecworkshops.com/, https://wellarchitectedlabs.com/security/, https://d1.awsstatic.com/whitepapers/architecture/AWS-Security-Pillar.pdf dan lain-lain.
Secara garis besar, topik-topik minimum yang perlu kita lakukan adalah:
- Asset Management
- Identity & Access Control
- Detective Controls
- Data Protection
- Infrastructure Protection
- Incident Response
- Top 12 Controls for Start!
Mari kita bahas satu persatu, yaitu:
- Asset Management
- All accounts must have accurate account contact information (billing, operations, security)
- All accounts must be enrolled in the AWS Organization structure for centralized management
- Use AWS Config for inventory management (AWS Resources)
- Use AWS Systems Manager Inventory to inventory software and apps
- Identity & Access Control
- Enable SSO to access your AWS accounts (AWS SSO, Third-Party, or Onpremises IdP)
- All console access must have multi-factor authentication enforced
- Strong password policy must be enforced
- Long term access keys should be replaced with temporary credentials (IAM Assume Role)
- Long term access keys if required should be rotated regularly
- Users should have their own accounts. No shared user accounts
- Users should have permissions appropriate for their job role
- AWS IAM roles should be validated frequently (Review permissions)
- Detective Controls
- Enable Multi-region CloudTrails
- Enable Amazon GuardDuty
- Enable IAM Access Analyzer
- Enable Amazon S3 access logs
- Enable AWS Security Hub (Enable applicable compliance standard: Security Foundations, PCI-DSS, CIS Benchmark)
- Leverage and integrate Trusted Advisor findings
- Optional: Enable VPC Flow Logs
- Centralize all logs (Cloudtrail, config, GuardDuty, SecurityHub, VPC Flow Logs) to SOC and review and action on alerts
- Act on alerts – what do you do when GuardDuty triggers a ‘high’?
- Data Protection
- Data-at-rest is encrypted (KMS)
- Data-in-transit is encrypted (TLS + ACM)
- Backups are restored in secure non-deletable locations (WORM)
- Certificates are managed appropriately and renewed before expiry (Leverage ACM)
- Resources are private (S3, EBS Snapshots and Volumes, RDS Snapshots, etc)
- Public S3 buckets are denied by default at an account level
- Public S3 buckets that are required are whitelisted and reviewed for sensitive content, frequent attestation.
- Secrets/keys/tokens should not be hard-coded. Use AWS Secrets Manager to store application/database secrets.
- Infrastructure Protection
- Patch your resources frequently (Optional: Use AWS Systems Manager to do this)
- Vulnerability scan compute resource frequently (Amazon Inspector if available, Nessus/Qualys)
- Security Groups should be limited to only required flows (inbound and outbound)
- Internet facing applications are protected by WAF and Shield
- Internet facing applications leverage Route53 for DNS
- Internet facing applications leverage CloudFront for CDN
- Management services (SSH, RDP, etc) are not exposed to Internet
- Private resources must be in a private subnet with Internet access only provided via Nat Gateway
- Optional: Resources connect out to the Internet via egress filtering/proxy to inspect traffic (Sophos UTM, Palo Alto, etc)
- Optional: Use AWS Systems Manager (Session Manager) to access production servers if ever needed. System Manager logs all commands executed on the production host to be reviewed by the security team.
- Incident Response
- All AWS accounts have read-only infosec role created and granted to infosec team
- All AWS accounts have break-glass admin infosec role created for emergency incident response
- All AWS accounts/workloads have IR and BCP plans documented and regularly tested
- Incident alerting thresholds are established (CloudWatch Alarms, GuardDuty)
- Top 12 Domain Controls untuk memulai mengamankan AWS anda
- Asset >> Management All accounts must have accurate account contact information (especially for security)
- Identity >> All console access must have multi-factor authentication enforced
- Identity >> Long term access keys should be replaced with temporary credentials (IAM Assume Role)
- Detective >> Enable Multi-region CloudTrails
- Detective >> Enable Amazon GuardDuty
- Detective >> Enable Security Hub (Security Foundations Benchmark)
- Detective >> Act on alerts – get the alerts from detective controls to the right people as fast as possible
- Data Protection >> Data-at-rest is encrypted (KMS)
- Data Protection >> Public S3 buckets are denied by default at an account level
- Infrastructure Sec >> Patch your systems frequently
- Infrastructure Sec >> Vulnerability scan your compute and application resources frequently
- Incident Response >> Develop an incident response runbook for your application
Kind Regards,
Doddi Priyambodo
Hey people!!!!! Good mood and good luck to everyone!!!!!
Hi , do you have similar aws architecture decison flowchart or guide me where I can get in similar manner…
A cloud architecture is the most advanced and cutting-edge technology. The technique you described in this post, which includes reviewing…
Hi Tama, thanks for reading this article. Definitely the answer will be back to your decision, but here are some…
Hello Mr.Doddi! I've been read for your article since 2 years ago before i get into a collage. Then now…