An adversary may disable cloud logging capabilities and integrations to limit what data is collected on their activities and avoid detection.
Cloud environments allow for collection and analysis of audit and application logs that provide insight into what activities a user does within the environment. If an attacker has sufficient permissions, they can disable logging to avoid detection of their activities. For example, in AWS an adversary may disable CloudWatch/CloudTrail integrations prior to conducting further malicious activity.
|M1018||User Account Management||
Configure default account policy to enable logging. Manage policies to ensure only necessary users have permissions to make changes to logging policies.
|ID||Data Source||Data Component|
|DS0025||Cloud Service||Cloud Service Disable|
|Cloud Service Modification|
Monitor logs for API calls to disable logging. In AWS, monitor for:
DeleteTrail. In GCP, monitor for:
google.logging.v2.ConfigServiceV2.UpdateSink. In Azure, monitor for
az monitor diagnostic-settings delete. Additionally, a sudden loss of a log source may indicate that it has been disabled.