How can I run a application under SYSTEM?
Without using windows service? Is it pos开发者_如何学运维sible?
It is possible in ways like the following:
1) Use some existing interface to a windows service which run under SYSTEM account to start new process by the service. For example you can use Task Scheduler API.
2) You can install new windows service, start process by the service, stop the service, uninstall the service. It is the way which you PsExec utility from SysInternals.
3) You can enable Debug Privilege and use DLL injection to inject your custom DLL in a process running under SYSTEM account, start new process from the DLL and then unload the injected DLL.
See the windows kernel is a part of windows right... that means YOU CAN'T DO ANYTHING ON WINDOWS WITHOUT USING PART OF WINDOWS (you atleast need the kernel).
Anyways, you may write your own system code.. i.e OS in order to try something big that would obviously take you a year and a half or so atleast, that too if you are a very very good programmer. :D
And yes if interested in spending that year and half, let me know I AM IN, and I mean it.
精彩评论