This module exploits a flaw in the WSReset.exe Windows Store Reset Tool. The tool is run with the "autoElevate" property set to true, however it can be moved to a new Windows directory containing a space (C:\Windows \System32\) where, upon execution, it will load our payload dll (propsys.dll).
Windows
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/bypassuac_windows_store_filesys
msf exploit(bypassuac_windows_store_filesys) > show targets
...targets...
msf exploit(bypassuac_windows_store_filesys) > set TARGET < target-id >
msf exploit(bypassuac_windows_store_filesys) > show options
...show and set options...
msf exploit(bypassuac_windows_store_filesys) > 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