wotwot563 / aad_prt_bof

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aad_prt_bof

This bof allows Cobalt Strike to extract Azure AD PRT tokens from the machine. These tokens can then be used with tools like ROADTools to extract AAD information.

How to compile

make for the beacon object files

make test for an executable

Usage

After compiling, load the aadprt.cna file into Cobalt Strike.

  1. Request a nonce using ROADrecon: roadrecon auth --prt-init
  2. Request a token on the target machine: aadprt [NONCE]
  3. Use the token to authenticate in ROADrecon (or any other tool): roadrecon auth --prt-cookie [TOKEN]
  4. Profit!

References

Heavily inspired by the awesome work and research of Dirk-jan and Lee.

About

License:MIT License


Languages

Language:C++ 54.9%Language:C 40.9%Language:Python 2.1%Language:Makefile 2.1%