Log in

View Full Version : removing administrator privledges


joh777nny
March 29th, 2007, 11:35
sorry if this is the wrong forum...


I have a game on a computer where i cant get admin privledges

My question is what is the code that the program uses to get the user's privledges? And what is this process called? (like for searching google, or this forum :P)

sorry, im a noob at dissassembly

JMI
March 29th, 2007, 13:17
If you had read the FAQ, you would know that YOU need to do some homework first and tell US what you have done to try to help yourself.

First, go and actually READ THE FAQ, like it said in the BIG RED LETTERS and under your signature.

Second, crank up your favorite search engine and try searching for such obvious things, such as:

determining admin privileges

and read some of the hits you will get and see if they lead you to other good queries.

After YOU have done these things, come back and tell US what you have found and where you need more help.



Regards,

disavowed
March 30th, 2007, 00:32
It probably tries to access an ACL'ed object and when the access fails it assumes that the user is not an Administrator. As such, the failing function could be CreateFile, RegCreateKey, OpenProcess, etc...
You'd be better off searching in the code for the error message that's displayed and then determine the code path that's followed to reach it.