This module allows an attacker with an unprivileged windows account to gain admin access on windows system and start a shell. For this module to work, both the NSClient++ web interface and `ExternalScripts` features must be enabled. You must also know where the NSClient config file is, as it is used to read the admin password which is stored in clear text.
Windows
x64
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/local/nscp_pe
msf exploit(nscp_pe) > show targets
...targets...
msf exploit(nscp_pe) > set TARGET < target-id >
msf exploit(nscp_pe) > show options
...show and set options...
msf exploit(nscp_pe) > exploit
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