Rapid7 Vulnerability & Exploit Database

Azure CLI Credentials Gatherer

Back to Search

Azure CLI Credentials Gatherer

Created
07/03/2024

Description

This module will collect the Azure CLI 2.0+ (az cli) settings files for all users on a given target. These configuration files contain JWT tokens used to authenticate users and other subscription information. Once tokens are stolen from one host, they can be used to impersonate the user from a different host.

Author(s)

  • James Otten <jamesotten1@gmail.com>
  • h00die

Platform

Linux,OSX,Windows

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;