
Go言語で書かれた、Windows Active Directoryのペンテスト向け高速列挙ツール
ADReaper は、LDAP クエリを使用して Active Directory 環境を数秒で列挙する、Golang で書かれたツールです。
Windows/Linux 用のプリコンパイル済み実行可能バイナリを 最新リリース からダウンロードできます。
ソースからビルドするには、リポジトリをクローンして GO でビルドします。
$ git clone https://github.com/AidenPearce369/ADReaper
$ cd ADReaper/
$ go build
ADReaper は、それぞれに対応する LDAP クエリを実行するさまざまなコマンドを使用して列挙を行います。
PS C:\Users\redteamer\Desktop\shared> .\ADReaper.exe
-command string
Command to run
dc - to list domain controllers
domain-trust - to list domain trust
users - to list all users
computers - to list all computers
groups - to list all groups with members
spn - to list service principal objects
never-loggedon - to list users never logged on
gpo - to list group policy objects
ou - to list organizational units
ms-sql - to list MS-SQL servers
asreproast - to list AS-REP roastable accounts
unconstrained - to list Unconstrained Delegated accounts
admin-priv - to list AD objects with admin privilege
-dc string
Enter the DC
-filter string
Filters to use for users/groups/computers
list - lists all objects only
full-data - list all objects with properties
membership - lists all members from an object
(default "list")
-name string
Pass object name of user/group/computer
-password string
Enter the Password
-user string
Enter the Username
ドメインの Domain Controller のプロパティを照会するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command dc
ドメインの Trust Attributes を照会するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command domain-trust
ドメインからすべての Users を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command users
ドメインから属性を含むすべての Users を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command users -filter full-data
ドメインから Specific Users の属性を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command users -name <user>
特定のユーザーのメンバーシップを一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command users -name <user> -filter membership
ドメインから利用可能なすべての Computers を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command computers
ドメインから属性を含むすべての Computers を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command computers -filter full-data
ドメインから Specific Computer の属性を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command computers -name <computer name>
ドメインから利用可能なすべての Groups を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command groups
ドメインから属性を含むすべての Groups を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command groups -filter full-data
ドメインから Specific Group の属性を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command groups -name <group name>
ドメインから Specific Group のメンバーを一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command groups -name <group name> -filter membership
ドメインから Never Logged On のユーザーを一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command never-loggedon
ドメインから GPOs を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command gpo
ドメインから OUs を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command ou
高い権限を持つ AD オブジェクトを一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command admin-priv
ドメインから MS-SQL Servers を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command ms-sql
ドメインから MS-SQL Servers のすべての属性を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command ms-sql -filter full-data
ドメインから特定の MS-SQL Server のすべての属性を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command ms-sql -name <computer name>
ドメインで利用可能な SPNs を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command spn
ドメインから Specific SPN のすべての属性を一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command spn -name <sam of spn>
Unconstrained Delegation が有効な AD オブジェクトを一覧表示するには、
.\ADReaper.exe -dc <dc.domain> -user <username> -password <password> -command unconstrained
次のバージョンを構築するためのコントリビューターを募集しています。
計画中の機能:
興味があれば、連絡ください :)