
L'ennesimo PoC per https://www.wietzebeukema.nl/blog/hijacking-dlls-in-windows
Un'altra PoC per https://www.wietzebeukema.nl/blog/hijacking-dlls-in-windows
Blogpost: https://redteamer.tips/?p=108
Da usare con un cmd che fa tutto ciò che vuoi, per una dll che fa aprire cmd, https://github.com/jfmaes/CMDLL. controlla la lista sul sito di wietze per vedere come chiamare la tua dll.
creerà automaticamente c:\Windows \System32 e inserirà la tua dll e il binario scelto, seguiti dall'esecuzione. Pulisci dopo di te eseguendo di nuovo trustjack con il flag -c.
Potrebbe mancarti fody 2.0, esegui il ripristino del pacchetto nuget per risolvere (clicca con il destro su Soluzione 'TrustJacker' e seleziona 'ripristina pacchetti NuGet')
_______ _ _ _
|__ __| | | | | | |
| |_ __ _ _ ___| |_ | | __ _ ___| | __
| | '__| | | / __| __| | |/ _` |/ __| |/ /
| | | | |_| \__ \ || |__| | (_| | (__| <
|_|_| \__,_|___/\__\____/ \__,_|\___|_|\_\
V1.0.0 by https://twitter.com/Jean_Maes_1994
Usage:
--dllpath=VALUE Path to the dll on the computer
--binary=VALUE The binary name to pop the shell
-c, --clean, --cleanup Cleanup the fake folder and it's contents
-h, -?, --help show this help menu.
Testo Alternativo