Penetration Testing mailing list archives

Re: privelege escalation with .bat files


From: joshuaperrymon () gmail com
Date: 26 Apr 2006 05:53:51 -0000

Ben,

What I would suggest is to upload an .ASP or .PHP based command prompt script.. I have used this on several occasions 
to control web servers during pen-tests.. However, you will be running as anonymous web user more than likely so it 
will make it harder on you...  Just get that .CMD script on the server and you can run commands just like in a shell... 
  

Then you can do some priv escalation or something to gain control of the box...

You can try the IIS .DLL hack and see what happends..  but the file must be placed in a folder with the proper ISAPI 
execute perimssions..

You can also search google for "One Way Web HAcking" for some tips and links to the code you need ..

Cheers!

J. Perrymon
PacketFocus

------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security? 
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's 
Choice Award from eWeek. As attacks through web applications continue to rise, 
you need to proactively protect your applications from hackers. Cenzic has the 
most comprehensive solutions to meet your application security penetration 
testing and vulnerability management needs. You have an option to go with a 
managed service (Cenzic ClickToSecure) or an enterprise software 
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can 
help you: http://www.cenzic.com/news_events/wpappsec.php 
And, now for a limited time we can do a FREE audit for you to confirm your 
results from other product. Contact us at request () cenzic com for details.
------------------------------------------------------------------------------


Current thread: