SpecterOps / SpecterOps/BloodHound

BHCE does not honor on-premise AD deny ACLs

Open
#392 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement ticketed
Dominant language
Go
Stars
3.4k
Forks
376
Avg merge
2d 7h
Merged PRs (30d)
97

Description

Feature Description:
BHCE should honor deny ACLs to combat false attack paths.

Provide a clear and concise description of the feature you're requesting.
It would be great if BHCE ingested and processed deny ACLs, to combat false attack paths.

Current Behavior:
BHCE does not ingest and process deny ACLs from on-premise Active Directory.

Explain how the software behaves currently in relation to the feature you're requesting.
BHCE does currently not honor deny ACLs in on-prem AD, which results in false attack paths. An example is the GenericAll/FullControl ACL on computer objects, that can be abused to perform the Resource Based Constrained Delegation attack. However, if there is a deny ACL for the write permissions on the "msDS-AllowedToActOnBehalfOfOtherIdentity" attribute, this attack is not possible, but BHCE still shows the attack path.

Desired Behavior:
BHCE does ingest and process deny ACLs from on-premise Active Directory.

Describe how you envision the software behaving after the proposed feature is implemented.
BHCE does ingest and process deny ACLs from on-premise Active Directory and therefore removes attack paths based on that.

Use Case:

Explain the context in which this feature would be useful. How will it benefit users or contributors?
Specifically for the RBCD attack path, there might be deny ACLs in place that blocks the write capability to the "msDS-AllowedToActOnBehalfOfOtherIdentity" attribute, which invalidates the attack path.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how on-premise Active Directory ACLs are ingested and how the RBCD attack path evaluates permissions. Confirm the deny ACL on msDS-AllowedToActOnBehalfOfOtherIdentity is represented and that attack paths invalidated by it are removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.