2018-04-18 13:41:44 +00:00
|
|
|
## InstallUtil.exe
|
|
|
|
|
|
|
|
* Functions: Execute
|
|
|
|
|
|
|
|
```
|
|
|
|
InstallUtil.exe /logfile= /LogToConsole=false /U AllTheThings.dll
|
|
|
|
```
|
|
|
|
|
|
|
|
Acknowledgements:
|
|
|
|
* Casey Smith - @subtee
|
2018-04-18 16:33:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
Code sample:
|
2018-04-18 21:45:36 +00:00
|
|
|
* [AllTheThingsX64.dll](https://github.com/redcanaryco/atomic-red-team/blob/master/Windows/Payloads/AllTheThings/AllTheThingsx64.dll)[1]
|
|
|
|
* [AllTheThingsX32.dll](https://github.com/redcanaryco/atomic-red-team/blob/master/Windows/Payloads/AllTheThings/AllTheThingsx32.dll)[1]
|
2018-04-18 16:33:16 +00:00
|
|
|
|
|
|
|
Resources:
|
|
|
|
* https://pentestlab.blog/2017/05/08/applocker-bypass-installutil/
|
|
|
|
* https://evi1cg.me/archives/AppLocker_Bypass_Techniques.html#menu_index_12
|
|
|
|
* http://subt0x10.blogspot.no/2017/09/banned-file-execution-via.html
|
|
|
|
* https://github.com/redcanaryco/atomic-red-team/blob/master/Windows/Execution/InstallUtil.md
|
|
|
|
* https://www.blackhillsinfosec.com/powershell-without-powershell-how-to-bypass-application-whitelisting-environment-restrictions-av/
|
|
|
|
* https://oddvar.moe/2017/12/13/applocker-case-study-how-insecure-is-it-really-part-1/
|
|
|
|
|
|
|
|
Full path:
|
|
|
|
```
|
|
|
|
C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe
|
|
|
|
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe
|
|
|
|
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
|
|
|
|
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe
|
|
|
|
```
|
|
|
|
|
|
|
|
Notes:
|
2018-04-18 21:45:36 +00:00
|
|
|
[1]Code sample linked to Red Canary - Atomic Red Team
|
2018-04-18 16:33:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|