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