Detection rules › Panther

OneLogin User Locked

Severity
low
Log types
OneLogin.Events
Tags
OneLogin, Credential Access:Brute Force
Reference
https://onelogin.service-now.com/kb_view_customer.do?sysparm_article=KB0010420
Source
github.com/panther-labs/panther-analysis

User locked or suspended from their account.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1110 Brute Force

Rule body yaml

AnalysisType: rule
Filename: onelogin_user_account_locked.py
RuleID: "OneLogin.UserAccountLocked"
DisplayName: "OneLogin User Locked"
Enabled: true
LogTypes:
  - OneLogin.Events
Tags:
  - OneLogin
  - Credential Access:Brute Force
Reports:
  MITRE ATT&CK:
    - TA0006:T1110
Severity: Low
Description: >
  User locked or suspended from their account.
Reference: https://onelogin.service-now.com/kb_view_customer.do?sysparm_article=KB0010420
Runbook: >
  Investigate whether this was caused by expected action.
SummaryAttributes:
  - account_id
  - event_type_id
  - user_name
  - user_id
Tests:
  - Name: User account locked via api - first method.
    ExpectedResult: true
    Log:
      {
        "event_type_id": "531",
        "actor_user_id": 123456,
        "actor_user_name": "Bob Cat",
        "user_id": 123456,
        "user_name": "Bob Cat",
      }
  - Name: User account locked via api - second method.
    ExpectedResult: true
    Log:
      {
        "event_type_id": "553",
        "actor_user_id": 654321,
        "actor_user_name": "Mountain Lion",
        "user_id": 123456,
        "user_name": "Bob Cat",
      }
  - Name: User account suspended via api.
    ExpectedResult: true
    Log:
      {
        "event_type_id": "551",
        "actor_user_id": 654321,
        "actor_user_name": "Mountain Lion",
        "user_id": 123456,
        "user_name": "Bob Cat",
      }
  - Name: Normal User Activated Event
    ExpectedResult: false
    Log:
      {
        "event_type_id": "11",
        "actor_user_id": 654321,
        "actor_user_name": "Mountain Lion",
        "user_id": 123456,
        "user_name": "Bob Cat",
      }

Detection logic

Condition

event_type_id in ["531", "553", "551"]

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
event_type_idin
  • 531
  • 551
  • 553

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.

Field
user_name