
أداة هجومية لجمع الرموز المميزة (tokens) تبحث في ذاكرة عمليات x64 وملفات ذاكرة التخزين المؤقت لـ TokenBroker عن رموز JWT الخاصة بـ Azure AD/O365 عبر Office وEdge وTeams وPowerShell.
أداة صغيرة لاستخراج JWT (أو بيانات شبيهة بـ JWT) من عمليات مختلفة، مثل PowerShell أو Excel أو Word أو غيرها. الفكرة مستوحاة من مقال المدونة https://mrd0x.com/stealing-tokens-from-office-applications/ من الرائع @mrd0x.
في الإصدار الجديد، أضفت البحث من الرائعة @_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.