Full Disclosure mailing list archives

Privilege escalation on Windows using Binary Planting


From: Madhur Ahuja <ahuja.madhur () gmail com>
Date: Sun, 25 Sep 2011 23:59:37 +0530

Imagine a situation where I have a Windows system with the restricted user
access and want to get the Administrator access.

There are many services in Windows which run with SYSTEM account.

If there exists even one such service whose executable is not protected by
Windows File Protection, isn't it possible to execute malicious code (such
as gaining Administrator access) simply by replacing the service executable
with malicious one and then restarting the service.

As a restricted user, what's stopping me to do this ?

Is there any integrity check performed by services.msc or service itself
before executing with SYSTEM account ?

Madhur
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Current thread: