Detection rules › Panther
OneLogin Authentication Factor Removed
A user removed an authentication factor or otp device.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1556 Modify Authentication Process |
| Defense Impairment | T1556 Modify Authentication Process |
| Credential Access | T1556 Modify Authentication Process |
Rule body yaml
AnalysisType: rule
Filename: onelogin_remove_authentication_factor.py
RuleID: "OneLogin.AuthFactorRemoved"
DisplayName: "OneLogin Authentication Factor Removed"
Enabled: true
LogTypes:
- OneLogin.Events
Tags:
- OneLogin
- Identity & Access Management
- Defense Evasion:Modify Authentication Process
Reports:
MITRE ATT&CK:
- TA0005:T1556
Severity: Low
Description: >
A user removed an authentication factor or otp device.
Reference: https://onelogin.service-now.com/kb_view_customer.do?sysparm_article=KB0010426
Runbook: >
Investigate whether this was an intentional action and if other multifactor devices exist.
SummaryAttributes:
- account_id
- event_type_id
- user_name
- user_id
- authentication_factor_description
- otp_device_name
Tests:
- Name: User removed an auth factor
LogType: OneLogin.Events
ExpectedResult: true
Log:
{
"event_type_id": "172",
"actor_user_id": 123456,
"actor_user_name": "Bob Cat",
"user_id": 123456,
"user_name": "Bob Cat",
"authentication_factor_description": "2FA Name",
}
- Name: User deactivated an otp deice
LogType: OneLogin.Events
ExpectedResult: true
Log:
{
"event_type_id": "24",
"actor_user_id": 123456,
"actor_user_name": "Bob Cat",
"user_id": 123456,
"user_name": "Bob Cat",
"otp_device_name": "2FA Name",
}
Detection logic
Condition
event_type_id eq "24" or event_type_id eq "172"
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.
| Field | Kind | Values |
|---|---|---|
event_type_id | eq |
|
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 |
authentication_factor_description |
otp_device_name |