SEC 4: 您如何检测和调查安全事件?
通过日志和指标来记录和分析事件,以便了解信息。针对安全事件和潜在的威胁采取措施,以便保护您的工作负载。
资源
Threat management in the cloud: Amazon GuardDuty and AWS Security Hub
Remediating Amazon GuardDuty and AWS Security Hub Findings
Centrally Monitoring Resource Configuration and Compliance
Setting up Amazon GuardDuty
AWS Security Hub
Amazon CloudWatch
Getting started: Amazon CloudWatch Logs
Amazon EventBridge
AWS Config
AWS Answers: Centralized Logging
Security Partner Solutions: Logging and Monitoring
最佳实践:
-
配置服务和应用程序日志记录: 在整个工作负载中配置日志记录,包括应用程序日志、资源日志和 AWS 服务日志。例如,确保对组织中的所有账户启用 AWS CloudTrail、Amazon CloudWatch Logs、Amazon GuardDuty 和 AWS Security Hub。
-
集中分析日志、结果和指标: 应集中收集所有日志、指标和遥测数据,并自动对其进行分析,以检测异常和发现未经授权的活动。通过控制面板,您可以轻松访问实时运行状况见解。例如,确保 Amazon GuardDuty 和 Security Hub 日志已发送至一个集中的位置,以用于警报和分析。
-
自动响应事件: 使用自动化流程调查和修复事件可减少人工处理工作量和人为错误,从而扩展调查功能。定期审核将帮助您优化自动化工具,并实现持续迭代。例如,通过自动执行第一个调查步骤来自动响应 Amazon GuardDuty 事件,然后进行迭代以逐步消除人工。
-
实施可操作的安全事件: 创建发送给团队并将由团队处理的警报。确保警报包含团队采取措施所需的相关信息。例如,确保已将 Amazon GuardDuty 和 AWS Security Hub 警报发送至团队以便他们采取措施,或确保已将其发送至响应自动化工具,并通过从自动化框架发送消息来通知团队。
改进计划
配置服务和应用程序日志记录
AWS Answers: native AWS security-logging capabilities
Getting started with CloudWatch Logs
Developer Tools/Log Analysis
Authentication and Access Control for Amazon CloudWatch
Identity and access management in Amazon S3
Amazon GuardDuty
Lab: Automated Deployment of Detective Controls
Creating a trail in CloudTrail
Lab: Automated Deployment of Detective Controls
AWS Config
Lab: Automated Deployment of Detective Controls
AWS Security Hub
集中分析日志、结果和指标
Use Amazon OpenSearch Service to log and monitor (almost) everything
Find a partner that specializes in logging and monitoring solutions
Configuring Athena to analyze CloudTrail logs
Centralize logging solution
Logging and Monitoring
自动响应事件
Lab: Automated Deployment of Detective Controls
Lab: Amazon GuardDuty hands on
实施可操作的安全事件
AWS service documentation
Using Amazon CloudWatch Metrics
Using Amazon CloudWatch Alarms