
Otro PoC para https://www.wietzebeukema.nl/blog/hijacking-dlls-in-windows
Otra Prueba de Concepto para https://www.wietzebeukema.nl/blog/hijacking-dlls-in-windows
Entrada de blog: https://redteamer.tips/?p=108
Para usar con un cmd que haga lo que quieras, para un dll que lanza cmd, https://github.com/jfmaes/CMDLL. consulta la lista en el sitio de wietze para saber cómo debes llamar a tu dll.
creará automáticamente c:\Windows \System32 y colocará tu dll y el binario elegido allí, seguido de la ejecución. Limpia después de ti ejecutando trustjack nuevamente con la bandera -c.
Puede que te falte fody 2.0, ejecuta la restauración del paquete nuget para solucionarlo (haz clic derecho en Solution 'TrustJacker' y selecciona 'restore NuGet packages')
_______ _ _ _
|__ __| | | | | | |
| |_ __ _ _ ___| |_ | | __ _ ___| | __
| | '__| | | / __| __| | |/ _` |/ __| |/ /
| | | | |_| \__ \ || |__| | (_| | (__| <
|_|_| \__,_|___/\__\____/ \__,_|\___|_|\_\
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.
Alt Text