Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 41 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Otherarrow using run as command through Netlogon
EH-Net
May 23, 2013, 04:33:58 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: using run as command through Netlogon  (Read 4248 times)
0 Members and 1 Guest are viewing this topic.
Hack_80
Jr. Member
**
Offline Offline

Posts: 86


Black buck


View Profile
« on: August 20, 2009, 07:11:43 AM »

Hi,
i want to exevute the batch file through NEtlogon from AD.
i m looking for the script which login though admin id and execute  the batch file with Netlogon.
Is there any way to execute the batch file with admin priveledge.
I failed with runas cmd where it promts for password.
Kindly suggest if any
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #1 on: August 20, 2009, 07:42:43 AM »

I think that if you want to escalate privs, you have to do exactly that.   There are a number of tools out there, like Pass the Hash Tooklkit that will do this for you.   The user you are escalating to may have to be logged on.   You can also code your own with API hooking.  Still, I think you would have to have the higher privileged user already logged on.

You can also trying running a Startup script through Group Policies.   It runs on computer startup, not user logon.    This script would run under the Local System account and will not have access to other Network nodes most likely. 
Logged

~~~~~~~~~~~~~~
Ketchup
Hack_80
Jr. Member
**
Offline Offline

Posts: 86


Black buck


View Profile
« Reply #2 on: August 20, 2009, 08:16:54 AM »

Hi,
 i am trying to deploy this script on all the domain users machine.
when i deploy thru group policies the script should get executed on all tha mehines with admin privedge.
Kindly suggest the way
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #3 on: August 20, 2009, 08:33:44 AM »

The Local System account has full admin rights on your machine.   Try the Startup script.   You can set through a GPO.
Logged

~~~~~~~~~~~~~~
Ketchup
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.052 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.