
आक्रामक टोकन-हार्वेस्टिंग उपयोगिता जो Office, Edge, Teams और PowerShell में Azure AD/O365 JWT टोकनों के लिए x64 प्रक्रिया मेमोरी और TokenBroker कैश फ़ाइलों की खोज करती है।
यह विभिन्न प्रक्रियाओं, जैसे PowerShell, Excel, Word या अन्य, से JWT (या JWT जैसा दिखने वाला डेटा) निकालने के लिए एक छोटा उपकरण है। यह विचार अद्भुत @mrd0x के ब्लॉग पोस्ट https://mrd0x.com/stealing-tokens-from-office-applications/ से प्रेरित था।
नए रिलीज़ में, मैंने शानदार @_xpn_ और उनके पोस्ट https://blog.xpnsec.com/wam-bam/ से शोध जोड़ा है।
AzTokenFinder.exe --help
--mode Required. (Default: Online) Use mode 'online' for parsing processes or use mode offline to decode TokenBroker Cache
--filename Set path to a BrokerCache File.
--processname Names of process you want to parse. Please omit the ".exe".
--processids ProcessIDs you want to parse.
--default Enumerate Edge, Excel, Word, PowerShell, Teams, Onedrive and PowerPoint.
--showexpiredtokens (Default: false) Shows expired tokens.
--targetapp (Default: false) Parses the files where Office, Azure CLI or Azure PowerShell stores its data. Can be Office
(TokenCache), AZCLI (Azure CLI) or AzPWSH (Azure Powershell)
--help Display this help screen.
--version Display version information.
इसमें कुछ खास नहीं है। यह आपके द्वारा प्रदान की गई प्रक्रियाओं को खोलता है और मेमोरी में JWT जैसा दिखने वाले डेटा की तलाश करता है और उन्हें निकालता है।
यह वर्तमान में केवल x64 प्रक्रियाओं के साथ काम करता है।