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 74 guests and 4 members online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Otherarrow using run as command through Netlogon
EH-Net
May 25, 2012, 10:48:04 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Advertise on EH-Net!! - Reasonable Rates, Highly Targeted Audience.
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: using run as command through Netlogon  (Read 3223 times)
0 Members and 1 Guest are viewing this topic.
Hack_80
Jr. Member
**
Offline Offline

Posts: 59


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: 1006



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: 59


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: 1006



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.16 | SMF © 2011, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.248 seconds with 23 queries.
 

gk_static-ad_feb2012.jpg
Global Knowledge: Build Security Skills to Protect & Defend

els_130x200fixed2.gif
eLearnSecurity Student Course Now Live!
5% Off with Code
ELS-EH-5

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: EHN_Connect Including SANS Security West 2012 & SANSFIRE 2012
Recent Forum Topics

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!

Vote For EH-Net

Add to Technorati Favorites
technorati fave

 
         
Advertisement

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