Detection rules › Panther

GSuite Workspace Password Reuse Has Been Enabled

Severity
high
Log types
GSuite.ActivityEvent
Tags
GSuite
Reference
https://support.google.com/a/answer/139399?hl=en#
Source
github.com/panther-labs/panther-analysis

A Workspace Admin Has Enabled Password Reuse

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1110 Brute Force

Rule body yaml

AnalysisType: rule
Filename: gsuite_workspace_password_reuse_enabled.py
RuleID: "GSuite.Workspace.PasswordReuseEnabled"
DisplayName: "GSuite Workspace Password Reuse Has Been Enabled"
Enabled: true
LogTypes:
  - GSuite.ActivityEvent
Tags:
  - GSuite
Severity: High
Reports:
  MITRE ATT&CK:
    - TA0006:T1110
Description: >
  A Workspace Admin Has Enabled Password Reuse
Reference: https://support.google.com/a/answer/139399?hl=en#
Runbook: |
  Verify the intent of this Password Reuse Setting Change. If intent cannot be verified, then
  a search on the actor's other activities is advised.
SummaryAttributes:
  - actor:email
Tests:
  - Name: Workspace Admin Enabled Password Reuse
    ExpectedResult: true
    Log:
      {
        "actor":
          {
            "callerType": "USER",
            "email": "example@example.io",
            "profileId": "12345",
          },
        "id":
          {
            "applicationName": "admin",
            "customerId": "D12345",
            "time": "2022-12-11 01:18:47.973000000",
            "uniqueQualifier": "-12345",
          },
        "ipAddress": "12.12.12.12",
        "kind": "admin#reports#activity",
        "name": "CHANGE_APPLICATION_SETTING",
        "parameters":
          {
            "APPLICATION_EDITION": "standard",
            "APPLICATION_NAME": "Security",
            "NEW_VALUE": "true",
            "OLD_VALUE": "false",
            "ORG_UNIT_NAME": "Example IO",
            "SETTING_NAME": "Password Management - Enable password reuse",
          },
        "type": "APPLICATION_SETTINGS",
      }
  - Name: Admin Set Default Calendar SHARING_OUTSIDE_DOMAIN Setting to READ_ONLY_ACCESS
    ExpectedResult: false
    Log:
      {
        "actor":
          {
            "callerType": "USER",
            "email": "example@example.io",
            "profileId": "12345",
          },
        "id":
          {
            "applicationName": "admin",
            "customerId": "D12345",
            "time": "2022-12-11 01:06:26.303000000",
            "uniqueQualifier": "-12345",
          },
        "ipAddress": "12.12.12.12",
        "kind": "admin#reports#activity",
        "name": "CHANGE_CALENDAR_SETTING",
        "parameters":
          {
            "DOMAIN_NAME": "example.io",
            "NEW_VALUE": "READ_ONLY_ACCESS",
            "OLD_VALUE": "DEFAULT",
            "ORG_UNIT_NAME": "Example IO",
            "SETTING_NAME": "SHARING_OUTSIDE_DOMAIN",
          },
        "type": "CALENDAR_SETTINGS",
      }
  - Name: ListObject Type
    ExpectedResult: false
    Log:
      {
        "actor":
          { "email": "user@example.io", "profileId": "118111111111111111111" },
        "id":
          {
            "applicationName": "drive",
            "customerId": "D12345",
            "time": "2022-12-20 17:27:47.080000000",
            "uniqueQualifier": "-7312729053723258069",
          },
        "ipAddress": "12.12.12.12",
        "kind": "admin#reports#activity",
        "name": "rename",
        "parameters":
          {
            "actor_is_collaborator_account": null,
            "billable": true,
            "doc_id": "1GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG",
            "doc_title": "Document Title- Found Here",
            "doc_type": "presentation",
            "is_encrypted": null,
            "new_value": ["Document Title- Found Here"],
            "old_value": ["Document Title- Old"],
            "owner": "user@example.io",
            "owner_is_shared_drive": null,
            "owner_is_team_drive": null,
            "primary_event": true,
            "visibility": "private",
          },
        "type": "access",
      }

Detection logic

Condition

id.applicationName eq "admin"
name eq "CHANGE_APPLICATION_SETTING"
type eq "APPLICATION_SETTINGS"
parameters.NEW_VALUE eq "true"
parameters.SETTING_NAME eq "Password Management - Enable password reuse"

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
id.applicationNameeq
  • admin
nameeq
  • CHANGE_APPLICATION_SETTING
parameters.NEW_VALUEeq
  • true
parameters.SETTING_NAMEeq
  • Password Management - Enable password reuse
typeeq
  • APPLICATION_SETTINGS

Output fields

Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.

FieldSource
actoractor.email
applicationNameid.applicationName
name
type
parameters