Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unconstrained delegation #4886

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
title: Unconstrained Delegation Discovery
id: cdfa73b6-3c9d-4bb8-97f8-ddbd8921f5c5
status: experimental
description: Detects use of Get-ADComputer to find Unconstrained Delegation host
references:
- https://pentestlab.blog/2022/03/21/unconstrained-delegation/
- https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adcomputer?view=windowsserver2022-ps
author: frack113
date: 2024-06-22
tags:
- attack.reconnaissance
- attack.discovery
- attack.credential-access
- attack.t1018
- attack.t1558
- attack.t1589.002
logsource:
product: windows
category: ps_script
definition: Script Block Logging must be enable
detection:
selection_cmdlet:
ScriptBlockText|contains: 'Get-ADComputer'
selection_reco:
ScriptBlockText|contains:
- 'TrustedForDelegation'
- 'TrustedToAuthForDelegation'
- 'msDS-AllowedToDelegateTo'
- 'PrincipalsAllowedToDelegateToAccount'
- '(userAccountControl:1.2.840.113556.1.4.803:=524288)'
condition: all of selection_*
falsepositives:
- Legitimate use of the library for administrative activity
level: medium
Loading