Web直译:又一个针对 https://www.wietzebeukema.nl/blog/hijacking-dlls-in-windows 的概念验证
博客文章:https://redteamer.tips/?p=108
与一个能执行你想要的任何操作的 cmd 配合使用,用于弹出 cmd 的 dll,请参考 https://github.com/jfmaes/CMDLL。 查看 wietze 网站上的列表,了解你应该如何命名你的 dll。
会自动创建 c:\Windows \System32 并将你的 dll 及所选的二进制文件放入其中,然后执行。 再次运行 trustjack 并加上 -c 标志来清理现场。
你可能缺少 fody 2.0,运行 NuGet 包还原修复(右键点击解决方案 'TrustJacker' 并选择 '还原 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.
Alt Text