PSExec 如何以 SYSTEM 用户身份运行应用程序?
我想知道 sysinternals 的 psexec.exe 如何以 SYSTEM 用户身份执行进程。 我需要在系统进程下运行一个工具,但我真的不知道如何在不将其注册为服务的情况下执行此操作。
有人有主意吗?
ps 我真的更喜欢用 WINAPI (C++) 来做。谢谢! :-)
谢谢!
I wondered how psexec.exe by sysinternals executes a process as a SYSTEM user.
I need to run a tool under a SYSTEM process, but I don't really know how to do that without registering it as a service.
Does anyone have an idea ?
p.s. I would really prefer to do it with WINAPI (C++). Thanks! :-)
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
psexec
通过创建一个名为“psexesvc”的虚拟幕后 Windows 服务来进行操作,该服务在操作完成后将被删除。详细信息如下:http://www.windowsecurity.com /articles/PsExec-Nasty-Things-It-Can-Do.html
也许您的工具可以调用
psexec
来运行进程?psexec
operates by creating a phantom, behind-the-scenes Windows service named "psexesvc" that is then removed after the operation completes.Details are here: http://www.windowsecurity.com/articles/PsExec-Nasty-Things-It-Can-Do.html
Perhaps your tool could call
psexec
to run a process?