Rapid7 Vulnerability & Exploit Database

WinRM WQL Query Runner

Back to Search

WinRM WQL Query Runner

Created
05/30/2018

Description

This module runs WQL queries against remote WinRM Services. Authentication is required. Currently only works with NTLM auth. Please note in order to use this module, the 'AllowUnencrypted' winrm option must be set.

Author(s)

  • thelightcosine

Development

Module Options

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

msf > use auxiliary/scanner/winrm/winrm_wql
msf auxiliary(winrm_wql) > show actions
    ...actions...
msf auxiliary(winrm_wql) > set ACTION < action-name >
msf auxiliary(winrm_wql) > show options
    ...show and set options...
msf auxiliary(winrm_wql) > run 

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

;