Last updated
Last updated
But you can also call the payload directly from a WebDAV server:
Check out the great work by Arno0x with Invoke-EmbedInBatch.ps1 script (heavily inspired by @xorrior work), and see that you can easily execute any binary, dll, script:
As seen in the koadic framework mshta accepts a URL as an argument to execute an HTA file:
Application whitelisting bypass techniques discovered by @subTee. You need to create a specific DLL (can be written in .Net/C#) that will expose the proper interfaces, and you can then call it over WebDAV:
Another one from @subTee. This ones requires a slightly different scriptlet from the mshta one above. First option:
Second option using UNC/WebDAV:
To be noted is that the DLL file doesn’t need to have the .dll extension. It can be downloaded using UNC/WebDAV:
Great work by @subTee for discovering this:
Now combining some commands in one line, with the InstallUtil.exe executing a specific DLL as a payload:
You could simply deliver an executable:
This information was referenced from: