Google Workspace Bitlocker Setting Disabled

Google Workspace administrators whom manage Windows devices and have Windows device management enabled may also enable BitLocker drive encryption to mitigate unauthorized data access on lost or stolen computers. Adversaries with valid account access may disable BitLocker to access sensitive data on an endpoint added to Google Workspace device management.

Elastic rule (View on GitHub)

  1[metadata]
  2creation_date = "2022/09/06"
  3integration = ["google_workspace"]
  4maturity = "production"
  5updated_date = "2024/09/23"
  6
  7[rule]
  8author = ["Elastic"]
  9description = """
 10Google Workspace administrators whom manage Windows devices and have Windows device management enabled may also enable
 11BitLocker drive encryption to mitigate unauthorized data access on lost or stolen computers. Adversaries with valid
 12account access may disable BitLocker to access sensitive data on an endpoint added to Google Workspace device
 13management.
 14"""
 15false_positives = [
 16    """
 17    Administrators may temporarily disabled Bitlocker on managed devices for maintenance, testing or to resolve
 18    potential endpoint conflicts.
 19    """,
 20]
 21from = "now-130m"
 22index = ["filebeat-*", "logs-google_workspace*"]
 23interval = "10m"
 24language = "kuery"
 25license = "Elastic License v2"
 26name = "Google Workspace Bitlocker Setting Disabled"
 27note = """## Triage and analysis
 28
 29### Investigating Google Workspace Bitlocker Setting Disabled
 30
 31BitLocker Drive Encryption is a data protection feature that integrates with the Windows operating system to address the data theft or exposure threats from lost, stolen, or inappropriately decommissioned computers. BitLocker helps mitigate unauthorized data access by enhancing file and system protections, such as data encryption and rendering data inaccessible. Google Workspace can sync with Windows endpoints that are registered in inventory, where BitLocker can be enabled and disabled.
 32
 33Disabling Bitlocker on an endpoint decrypts data at rest and makes it accessible, which raises the risk of exposing sensitive endpoint data.
 34
 35This rule identifies a user with administrative privileges and access to the admin console, disabling BitLocker for Windows endpoints.
 36
 37#### Possible investigation steps
 38
 39- Identify the associated user accounts by reviewing `user.name` or `user.email` fields in the alert.
 40- After identifying the user, verify if the user should have administrative privileges to disable BitLocker on Windows endpoints.
 41- From the Google Workspace admin console, review `Reporting > Audit` and `Investigation > Device` logs, filtering on the user email identified from the alert.
 42    - If a Google Workspace user logged into their account using a potentially compromised account, this will create an `Device sync event` event.
 43
 44### False positive analysis
 45
 46- An administrator may have intentionally disabled BitLocker for routine maintenance or endpoint updates.
 47   - Verify with the user that they intended to disable BitLocker on Windows endpoints.
 48
 49### Response and remediation
 50
 51- Initiate the incident response process based on the outcome of the triage.
 52- Disable or limit the account during the investigation and response.
 53- Identify the possible impact of the incident and prioritize accordingly; the following actions can help you gain context:
 54    - Identify the account role in the cloud environment.
 55    - Assess the criticality of affected services and servers.
 56    - Work with your IT team to identify and minimize the impact on users.
 57    - Identify if the attacker is moving laterally and compromising other accounts, servers, or services.
 58    - Identify any regulatory or legal ramifications related to this activity.
 59- Investigate credential exposure on systems compromised or used by the attacker to ensure all compromised accounts are identified. Reset passwords or delete API keys as needed to revoke the attacker's access to the environment. Work with your IT teams to minimize the impact on business operations during these actions.
 60- Review the permissions assigned to the implicated user to ensure that the least privilege principle is being followed.
 61- Implement security best practices [outlined](https://support.google.com/a/answer/7587183) by Google.
 62- Determine the initial vector abused by the attacker and take action to prevent reinfection via the same vector.
 63- Using the incident response data, update logging and audit policies to improve the mean time to detect (MTTD) and the mean time to respond (MTTR).
 64
 65## Setup
 66
 67The Google Workspace Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.
 68
 69### Important Information Regarding Google Workspace Event Lag Times
 70- As per Google's documentation, Google Workspace administrators may observe lag times ranging from minutes up to 3 days between the time of an event's occurrence and the event being visible in the Google Workspace admin/audit logs.
 71- This rule is configured to run every 10 minutes with a lookback time of 130 minutes.
 72- To reduce the risk of false negatives, consider reducing the interval that the Google Workspace (formerly G Suite) Filebeat module polls Google's reporting API for new events.
 73- By default, `var.interval` is set to 2 hours (2h). Consider changing this interval to a lower value, such as 10 minutes (10m).
 74- See the following references for further information:
 75  - https://support.google.com/a/answer/7061566
 76  - https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-google_workspace.html"""
 77references = [
 78    "https://support.google.com/a/answer/9176657?hl=en",
 79    "https://www.elastic.co/security-labs/google-workspace-attack-surface-part-one",
 80    "https://www.elastic.co/security-labs/google-workspace-attack-surface-part-two"
 81]
 82risk_score = 47
 83rule_id = "7caa8e60-2df0-11ed-b814-f661ea17fbce"
 84severity = "medium"
 85tags = [
 86    "Domain: Cloud",
 87    "Data Source: Google Workspace",
 88    "Use Case: Configuration Audit",
 89    "Tactic: Defense Evasion",
 90    "Resources: Investigation Guide",
 91]
 92timestamp_override = "event.ingested"
 93type = "query"
 94
 95query = '''
 96event.dataset:"google_workspace.admin" and event.action:"CHANGE_APPLICATION_SETTING" and event.category:(iam or configuration)
 97    and google_workspace.admin.new_value:"Disabled" and google_workspace.admin.setting.name:BitLocker*
 98'''
 99
100
101[[rule.threat]]
102framework = "MITRE ATT&CK"
103[[rule.threat.technique]]
104id = "T1562"
105name = "Impair Defenses"
106reference = "https://attack.mitre.org/techniques/T1562/"
107[[rule.threat.technique.subtechnique]]
108id = "T1562.001"
109name = "Disable or Modify Tools"
110reference = "https://attack.mitre.org/techniques/T1562/001/"
111
112
113
114[rule.threat.tactic]
115id = "TA0005"
116name = "Defense Evasion"
117reference = "https://attack.mitre.org/tactics/TA0005/"

Triage and analysis

Investigating Google Workspace Bitlocker Setting Disabled

BitLocker Drive Encryption is a data protection feature that integrates with the Windows operating system to address the data theft or exposure threats from lost, stolen, or inappropriately decommissioned computers. BitLocker helps mitigate unauthorized data access by enhancing file and system protections, such as data encryption and rendering data inaccessible. Google Workspace can sync with Windows endpoints that are registered in inventory, where BitLocker can be enabled and disabled.

Disabling Bitlocker on an endpoint decrypts data at rest and makes it accessible, which raises the risk of exposing sensitive endpoint data.

This rule identifies a user with administrative privileges and access to the admin console, disabling BitLocker for Windows endpoints.

Possible investigation steps

  • Identify the associated user accounts by reviewing user.name or user.email fields in the alert.
  • After identifying the user, verify if the user should have administrative privileges to disable BitLocker on Windows endpoints.
  • From the Google Workspace admin console, review Reporting > Audit and Investigation > Device logs, filtering on the user email identified from the alert.
    • If a Google Workspace user logged into their account using a potentially compromised account, this will create an Device sync event event.

False positive analysis

  • An administrator may have intentionally disabled BitLocker for routine maintenance or endpoint updates.
    • Verify with the user that they intended to disable BitLocker on Windows endpoints.

Response and remediation

  • Initiate the incident response process based on the outcome of the triage.
  • Disable or limit the account during the investigation and response.
  • Identify the possible impact of the incident and prioritize accordingly; the following actions can help you gain context:
    • Identify the account role in the cloud environment.
    • Assess the criticality of affected services and servers.
    • Work with your IT team to identify and minimize the impact on users.
    • Identify if the attacker is moving laterally and compromising other accounts, servers, or services.
    • Identify any regulatory or legal ramifications related to this activity.
  • Investigate credential exposure on systems compromised or used by the attacker to ensure all compromised accounts are identified. Reset passwords or delete API keys as needed to revoke the attacker's access to the environment. Work with your IT teams to minimize the impact on business operations during these actions.
  • Review the permissions assigned to the implicated user to ensure that the least privilege principle is being followed.
  • Implement security best practices outlined by Google.
  • Determine the initial vector abused by the attacker and take action to prevent reinfection via the same vector.
  • Using the incident response data, update logging and audit policies to improve the mean time to detect (MTTD) and the mean time to respond (MTTR).

Setup

The Google Workspace Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.

Important Information Regarding Google Workspace Event Lag Times

  • As per Google's documentation, Google Workspace administrators may observe lag times ranging from minutes up to 3 days between the time of an event's occurrence and the event being visible in the Google Workspace admin/audit logs.
  • This rule is configured to run every 10 minutes with a lookback time of 130 minutes.
  • To reduce the risk of false negatives, consider reducing the interval that the Google Workspace (formerly G Suite) Filebeat module polls Google's reporting API for new events.
  • By default, var.interval is set to 2 hours (2h). Consider changing this interval to a lower value, such as 10 minutes (10m).
  • See the following references for further information:

References

Related rules

to-top