-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added some more bh(e) query compatibility
- Loading branch information
1 parent
ba44895
commit 78c7729
Showing
5 changed files
with
110 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Name: Kerberoastable users | ||
ID: BH_SPN_Users | ||
Description: This action lists all users with an SPN | ||
Author: FalconForce | ||
Version: '1.0' | ||
Info: | | ||
This is intended to be used as an enrichment list to quantify the impact of an alert on a user that owns a resource. | ||
Active: false # Enable to run this action | ||
Debug: false # Enable to see query results in the console | ||
SourcePlatform: BloodHound | ||
Query: | | ||
MATCH (a:User {hasspn:true}) RETURN a | ||
Targets: | ||
- Name: CSV | ||
Enabled: true | ||
Path: output/kerberoastable_users.csv | ||
- Name: Sentinel | ||
Enabled: false | ||
# TODO: Add filtering for output - WIP for now |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Name: Kerberoastable users | ||
ID: BH_Tier0_Users | ||
Description: This action lists all users with an SPN | ||
Author: FalconForce | ||
Version: '1.0' | ||
Info: | | ||
This is intended to be used as an enrichment list to quantify the impact of an alert on a user that owns a resource. | ||
Active: false # Enable to run this action | ||
Debug: false # Enable to see query results in the console | ||
SourcePlatform: BloodHound | ||
Query: | | ||
MATCH (x:Group) | ||
WHERE (coalesce(x.system_tags,'') CONTAINS 'admin_tier_0') | ||
WITH x.objectid as ObjectID, x.name as Name | ||
MATCH (y:Group {objectid:ObjectID}) | ||
MATCH (u:User) | ||
MATCH (u)-[MemberOf]->(y) | ||
RETURN u | ||
Targets: | ||
- Name: CSV | ||
Enabled: true | ||
Path: output/tier0_users.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package internal | ||
|
||
const Version = "FalconHound v1.4.0" | ||
const Version = "FalconHound v1.4.1" |