2017-04-12 20:15:41 +00:00
|
|
|
title: Active Directory User Backdoors
|
2018-11-06 02:08:19 +00:00
|
|
|
description: Detects scenarios where one can control another users or computers account without having to use their credentials.
|
2018-01-27 23:12:19 +00:00
|
|
|
references:
|
2017-04-12 23:22:03 +00:00
|
|
|
- https://msdn.microsoft.com/en-us/library/cc220234.aspx
|
|
|
|
- https://adsecurity.org/?p=3466
|
2018-11-06 02:08:19 +00:00
|
|
|
- https://www.harmj0y.net/blog/redteaming/another-word-on-delegation/
|
2017-04-12 23:22:03 +00:00
|
|
|
author: '@neu5ron'
|
2018-11-06 02:08:19 +00:00
|
|
|
tags:
|
|
|
|
- attack.t1098
|
|
|
|
- attack.credential_access
|
2019-03-05 23:43:42 +00:00
|
|
|
- attack.persistence
|
2017-04-12 20:15:41 +00:00
|
|
|
logsource:
|
|
|
|
product: windows
|
|
|
|
service: security
|
2018-11-15 06:00:06 +00:00
|
|
|
definition1: 'Requirements: Audit Policy : Account Management > Audit User Account Management, Group Policy : Computer Configuration\Windows Settings\Security Settings\Advanced Audit Policy Configuration\Audit Policies\Account Management\Audit User Account Management'
|
|
|
|
definition2: 'Requirements: Audit Policy : DS Access > Audit Directory Service Changes, Group Policy : Computer Configuration\Windows Settings\Security Settings\Advanced Audit Policy Configuration\Audit Policies\DS Access\Audit Directory Service Changes'
|
2017-04-12 20:15:41 +00:00
|
|
|
detection:
|
|
|
|
selection1:
|
|
|
|
EventID: 4738
|
2018-06-28 07:30:12 +00:00
|
|
|
filter1:
|
|
|
|
AllowedToDelegateTo: null
|
2017-04-12 20:15:41 +00:00
|
|
|
selection2:
|
|
|
|
EventID: 5136
|
|
|
|
AttributeLDAPDisplayName: 'msDS-AllowedToDelegateTo'
|
|
|
|
selection3:
|
|
|
|
EventID: 5136
|
|
|
|
ObjectClass: 'user'
|
|
|
|
AttributeLDAPDisplayName: 'servicePrincipalName'
|
2018-11-06 02:08:19 +00:00
|
|
|
selection4:
|
|
|
|
EventID: 5136
|
|
|
|
AttributeLDAPDisplayName: 'msDS-AllowedToActOnBehalfOfOtherIdentity'
|
|
|
|
condition: (selection1 and not filter1) or selection2 or selection3 or selection4
|
2017-04-12 20:15:41 +00:00
|
|
|
falsepositives:
|
|
|
|
- Unknown
|
|
|
|
level: high
|