Tuesday, 27 December 2016

Linux password bypassed

So you think Linux is very secure, then think again. This procedure has been tested on linux 12.04 and has worked successfully.
Procedure:
1) Boot up the computer
2) Once the BIOS has fully loaded press shift
3) Select recovery mode
4) Select drop to root shell
5) Type ls /home to view the user accounts available
6) Type mount –rw –o remount /
7) Type passwd useraccount
8) Type the new password
9) Re type the new password
10) Type exit
11) Press ctrl + alt +Delete to reboot your computer

NOTES
The password will not be visible while setting it

Wednesday, 21 December 2016

Bypassing Android Screen Lock Mechanism.

There are cases when you set a pattern on your phone and later forget that pattern. It's very possible for on to receive a phone that may require you to use this guide.
Don't try this on any devices you don't own, since you are doing so at your own risk.

Requirements:
1. The device needs to have USB debugging enabled. In case USB Debugging is not enabled and you have a custom recovery, you can run the same instructions from recovery.
2. For some methods root is not required (Though it will be better if the device is rooted)
3. If Google Asks you For Password (Credentials) - Simply Turn On WIFI Via ADB In Order To Google Accept Your Device Via this Command:
adb shell svc wifi enable

IF NONE OF THESE METHODS WORKS FOR YOU, YOU WILL HAVE TO HARD-RESET YOUR PHONE

METHOD 1-Using SMS bypass:
Download SMS Bypass and install it on your device
SMS Bypass app requires root access
Instructions:
1.Make sure you give permanent root to the App
2. Change the secret code to your preferred choice.The default password is 1234
3.To reset your screen lock, send the following message from another phone:
[SecretCode] reset
Example:
1234reset
NOTE:
1. There is a space between your secret code and reset.Also the secret code is case sensitive
2. There is an option available to change the . Default is: reset. Your phone will restart and your lock screen will be reset.
3. If you see the gesture pattern grid or password after restarting. Don’t Worry. Just try any random pattern or password and it will unlock

METHOD 2 -Using ADB to delete the lock file:
Requirements:
-A computer running a Linux Distro or Windows+Cygwin
-USB cable to connect your phone to the PC
-ADB installed

Instructions:
1.Connect your turned on phone to computer via USB
2. Open a terminal windows
3. Type: adb devices
adb shell
cd data/system
su
rm *.key
4. Done
5. Reboot.
If you see the gesture pattern grid or password,try any random pattern or password and it should unlock

METHOD 3 - Using ADB to delete the gesture File
Instructions:
Type this command in your Terminal (CMD Prompt):
adb shell rm/data/system/gesture.key
If you see the gesture pattern grid or password after restarting, don’t worry. Just try random pattern or password and it should unlock

METHOD 4 - Using ADB to reset the lock screen keys:
Instructions:
Type this commands separated in your Terminal (CMD Prompt):
adb shell
cd/data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system setvalue=0 where name=’lock_pattern_autolock’;
update system setvalue=0 where name=’lockscreen.lockedoutpermanently’;
.quit

--Now you just have to reboot
If you see the gesture pattern grid or password after restarting, don’t worry. Just try random pattern or password and it should unlock.

Monday, 12 December 2016

An introduction to Lucky Patcher for unlimited hacks.

Lucky patcher is an app that you use to enhance and unlock Android apps, for example using lucky patcher on modern sniper you can get lots of cash to buy guns and upgrade the guns.
Download and install lucky patcher
Launch the app
Select the app you want to patch and drop menu comes up
Select open menu of patches
Check the option support patch for inapp emulation and Support patch  for LVL emulation
Press apply wait for it to finish applying the patch
Press launch

You can use any patches available, but caution must be exercised as some patches open up holes in your system.

Monday, 5 December 2016

Sharing Smartphone VPN Connection with PC

STEP 1: You need a rooted device
STEP 2: Make sure you have a VPN app, like OpenVPN or DroidVPN ( I use DroidVPN and its the best)
STEP 3: Download Terminal Emulator
STEP 4: Activate your hotspot and connect to your VPN
STEP 5: launch Terminal emulator and on the first line type "su" (without the quotes) and press enter
STEP 6: Copy and paste this to the Terminal Emulator
Code:
iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -I FORWARD -j ACCEPT
iptables -t nat -I POSTROUTING -j MASQUERADE
ip rule add from 192.168.43.0/24 lookup 61
ip route add default dev tun0 scope link table 61
ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61
STEP 7: open your browser on PC

Disclaimer: not responsible for your device in anyway, even though this should not harm anything

Sunday, 4 December 2016

10 Tools For Password & Network Hacking

Nmap -The Network Mapper :
Nmap is one of the most widely used open source network mapping utility which scans & detects for ports, Operating systems, its services & used to manage networks. Nmap is available for windows & Linux also but it was basically designed for a linux/Unix box, which works best with it also. http://www.nmap.org/download.html

John The Ripper Password Cracker
John the Ripper is a fastest password cracker, Now available for many distros of Unix, DOS, Win32, BeOS, and OpenVMS. Its primary purpose is to detect weak Unix passwords. Besides several crypt(3) password hash types most commonly found on various Unix flavors, supported out of the box are Kerberos AFS and Windows NT/2000/XP/2003 LM hashes, plus several more with contributed patches. It is also well known as JTR, the most deadliest cracker of all time. http://www.openwall.com/john/

Nessus Remote Security Scanner
Nessus is basically a vulnerability scanner used by most of the well known organizations of the world for making their security audits. Nessus were open source in past, but now its a closed source one but a free software, which scans for thousands of general & critical vulnerability problems in any network.
http://www.nessus.org/download/

Wireshark – The Sniffer
It was formerly knows as Eathereal. It is network protocol analyzer, or sniffer, that lets you capture and interactively browse the contents of network frames. Its open sources’ness gives it to grow from all dimensions & it gives more than a quality network analyzers that are present in the market.
It have a GUI works great with both Linux & Windows. http://www.wireshark.org/

Eraser
Eraser is an advanced security tool (for Windows). We can completely remove sensitive data from your hard drive by overwriting it several times which is done with carefully selected patterns. Eraser is Free software and its source code is released under GNU General Public License as it is a open source one. Works with all versions of windows as -> Windows 95, 98, ME, NT, 2000, XP and DOS. Its great tool for hiding secret things & mainly deleting it. http://www.heidi.ie/eraser/download.php

LCP – Windows Password Cracker
LCP is one of the well known free software for cracking windows passwords in many versions like Windows NT/2000/XP/2003. Accounts information import, Passwords recovery, Brute force session distribution, Hashes computing can be easily done by LCP. It is similar to LOphtcrack.
It have various modes like bruteforce, dictionary attack & hybrid attack. http://www.lcpsoft.com/english/download.htm/

Cain & Able Passwords Cracker
Its another password cracker for windows based system. P It collects passwords by sniffing the network, cracking encrypted passwords using Dictionary, Brute-Force and Cryptanalysis attacks, recording VoIP conversations, decoding scrambled passwords, uncovering cached passwords, revealing password boxes,and analyzing routing protocols.
Interesting part is it sniffs itself, we don’t have to search for password files of any kind.
http://www.oxid.it/cain.html

SuperScan- Port Scanner
Superscan is great TCP/IP port scanner which is widely used for detecting the open ports or live hosts in given IP ranges. It have a GUI & made for windows & easy to use, don’t miss it.
http://www.foundstone.com/index.htm?subnav=resources/navigation.htm&subcontent=/resources/proddesc/superscan4.htm

Nikto – CGI Scanner
Nikto is a great CGI scanner, which is an Open Source (GPL) web server scanner which performs comprehensive tests against web servers for multiple items. Which includes 3200 potentially dangerous files/CGIs, versions on over 625 servers, and version specific problems on over 230 servers.
http://www.cirt.net/code/nikto.shtml

Pof
Passive OS fingerprinting tool used widely for scanning operating system and it can scan for any operating system.
P0f can identify the operating system on:
– SYN Mode
– SYN+ACK mode,
– RST+ mode,
– machines whose communications you can observe.
It listens to any communication for detecting OS. http://lcamtuf.coredump.cx/p0f/p0f.shtml

Tuesday, 29 November 2016

Social Networks and Privacy.

It's very often hard for social networks to draw a clear line reflecting the intrusion of privacy and maintaining user useful information.
Classic examples would be Facebook and WhatsApp, it's hard for Facebook to suggest friends without necessarily importing all your bio data simply to your national identification data, unless they used WhatsApp data, and at that point WhatsApp bleaches your privacy and Facebook intrudes into your privacy just by simply asking WhatsApp for your phonebook details.

With that in mind therefore it would mean that if your brother has about 16 phone numbers and you have 150 phone numbers, your brother will receive friendship suggestions from Facebook about 150, and you will receive 16 even when in real life you have never met the 16 and he has never met any of the 150. This is good if your new in an area or your village is smaller but when your village is a city your bound to have problems.

In otherwords it's only useful to gather information for internal consumption(determine relationships,social interactions, residence proximity,safety alerts,happening place alerts) rather public consumption(friendship suggestions,news feed filtration).

Tuesday, 22 November 2016

How to root Samsung Galaxy J1 SM-J100H



Bottom of ForThese are the instructions to root Samsung Galaxy J1 SM-J100H using Odin and iRoot application on Windows Computer.
Requirements: Your Samsung Galaxy J1 SM-J100H should have atleast 30-40 percent of battery to perform the rooting process.
Step 1: Download and Install Samsung USB Driver on your computer. If Samsung USB Driver already installed on your computer then Skip this Step.
Step 2Download and extract the root files on your computer. After extracting you will be able to see the following files:
Step 3: Now, Switch off your Smartphone.
Step 4: After switching-off the phone, you need to boot into Download Mode. To boot into download mode Press and hold Volume Down, Home and Power button at same time for 5-8 seconds until download mode is active.
Step 5: In the Download mode you will be able to see a Warning Yellow Triangle Sign. In this situation you have to press the Volume Up key to continue.
Step 6: Now, Open Odin3 (found in the extracted files, that you have downloaded in the Step#2) on your computer. Then connect your Smartphone to the computer.
Step 7: Once you have connected the Smartphone to the computer, Odin will automatically recognize the device and show “Added” message at the lower-left panel.
Step 8: Once your device detected by Odin, click on the PDA button and select the boot.tar.md5 file (you have downloaded this file in step#2).
Step 9: Now, click on the Start button in Odin to begin the Flashing.
Step 10: Flashing usually takes 30-50 seconds to complete. Once flashing process is completed you will be able to see a Green Box with Pass written on it in Odin. During this process smartphone will re-boot automatically.
Step 11: Now, download and install iRoot Application on your Windows Computer.
Step 12: Once iRoot is installed on your computer, Open It.
Step 13: Once iRoot is launched re-connect your phone to the computer. Once your device is connected to the computer then iRoot will detect it automatically.
Step 14: Now, click on the root button to begin the rooting process.
Step 15: Now, iRoot Application will automatically Reboot your smartphone and install the KingUser application.
Step 16: Now, your device is rooted. To make sure you have successfully rooted your Samsung Galaxy J1 SM-J100H, open Applications Menu on your Smartphone and Find KingUser App. If this app exist on your Smartphone then it means you have successfully rooted your device. Congratulations.
Optional: You can also verify the root status of your device by using the Root Checker Application.
Keep in Mind:
[*] No data loss process: Your Personal Data including contacts, pictures, videos, music wont be affected using the above method. In short, no data loss process.
[*] How to unroot: Follow how to unroot or remove the KingUser from any Android Device.
[*] Samsung Stock Firmware: If you are looking for the original firmware for your device then head over to Download Samsung Stock Firmware for all devices page.
[*] Samsung USB Driver: If you are looking for the original USB Driver for your device then head over to Download Samsung USB Driver for all devices page.
[*] Credits: iRoot Application is created by Mgyun Developers. So, Full credits goes to them for creating the appliation

Monday, 14 November 2016

Free ebook

You can download this and start your own search ninja skills
http://buff.ly/2fSgiLy

Saturday, 5 November 2016

Must Read Books for information security and IT Professionals.

Aside from security articles, podcasts and videos, books are great resources for developing new skills, improving one’s career growth, and gaining extensive knowledge in the area of information security. If you are into network security, penetration testing, security research, exploit development, and teaching, then you should update yourself with good books that satisfy your hunger for knowledge.
I have compiled a list of books that I believe could help newbies and experts progress and have fun.


The Web Application Hacker’s Handbook: Finding and Exploiting Security Flaws –This book is one of the most practical guides to finding web application vulnerabilities and a must have for web application security analysts, bug bounty hunters and testers. The book is written by Dafydd Stuttard and Marcus Pinto – co-founders of MDSec. Dafydd Stuttard is also the creator of Burp Suite, which is why Burp has been emphasized in this book.


Metasploit: The Penetration Tester’s Guide – The best guide for learning Metasploit, writing your own fuzzers, leveraging Metasploit based on the Penetration Testing Execution Standard (PTES), and much more. The book is written by David Keneedy (creator of Social Engineering Toolkit), Jim O’Gorman (co-founder of Social-Engineer.org), Devon Kearns (Metasploit contributor and member of the Offensive Security Team), and Mati Aharoni (founder of Offensive-Security).


Wireless Penetration Testing using Backtrack – This book is intended for security consultants and analysts who are interested in wireless cracking, auditing and wireless security. Although it uses BackTrack as its distribution for wireless penetration testing, the tools used in the book are open source and can easily be downloaded or ported like Aircrack-ng Suite and Wireshark. If you have Kali Linux or BackBox Linux then you should be good to go, since both of these distros have wireless auditing tools pre-installed and Kali Linux is now the new BackTrack Linux. This book should give you the reason to wardrive. The book is written by Vivek Ramachandran who is the founder of SecurityTube.net and the person behind The Caffe Latte attack.


The Tangled Web: A Guide to Securing Modern Web Applications – This book is written by Michał Zalewski a.k.a Icamtuf who is a one of the 15 most influential people in security, among the 100 most influential people in IT, and a security engineer from Google. This is a must read for web developers and web security enthusiasts because it covers brief history of the web, browser security model, web application security, and has a section called Security Engineering Cheat Sheet.


The Browser Hacker’s Handbook – Do you want to control someone’s browser? If yes, then this book for you! The Browser Hacker’s Handbook covers the following topics; bypassing the Same Origin Policy, control browsers (using ARP spoofing, Social Engineering, and phishing), exploiting the browser and its ecosystem (plugins and extensions), Cross-origin attacks, attacking web applications, and attacking networks. The book is written by Wade Alcorn, Christian Frichot, and Michele Orru’ and they are the developers of BeEF (Browser Exploitation Framework) Project.



RTFM: Red Team Field Manual – Nope, not the Read the F***in Manual but a cheat sheet and reference for Linux commands, Windows commands, Nmap commands, sqlmap commands, or commands you may want to use during a penetration test. A handy reference and arsenal for penetration testers on the battlefield! Thanks Ben Clark for creating this book or manual.


Practical Malware Analysis: The Hands-On Guide to Dissecting Malicious Software – This book is one of the most trusted and awesome books in malware analysis and reverse engineering. The book covers static analysis, how to setup a safe environment for malware analysis, using debuggers and disassemblers (IDA Pro, OllyDbg, and WinDbg), unpacking a malware, analyzing a shellcode and more. I am into exploit development and web and network penetration testing. I have learned new methodologies and malware analysis that has become my point of interest because of this book. This book gives you an edge for CTF games in hacker conferences like DEFCON or ROOTCON.


The Android Hacker’s Handbook – Mobile security is a trend, and emerging threats just keep on coming every day — targeting and bashing Android and iOS phones. This book is an essential guide to securing and auditing Android apps plus Android application building blocks and application security.



Violent Python: A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers – This book does not teach you how to code and what are the best practices in Python but leveraging Python for creating your own automation scripts for penetration testing and computer forensics. It gives you an idea on how to create a web scraper, wireless analyzer, sniffer (by using Scapy), fuzzers, bruteforce attack tools, port scanners, botnets, and how to replicate Conficker. Some would say that some Python snippets in the book are badly written but for me it is okay and it is up to you to improve some scripts in the book. A must have for Pythonistas who want to venture into penetration testing, open source intelligence gathering, wireless auditing and forensic analysis.


Malware, Rootkits & Botnets: A Beginner’s Guide – This book is written by Christopher C. Elisan who is the Principal Malware Scientist and Senior Manager of the Malware Intelligence Team at RSA, The Security Division of EMC. As the book says, it is a beginner’s guide to Malware, Rootkits and Botnets which explains how these things work including the history of malware without having the need to be a software engineer, programmer, hacker or a reverse engineer. The book is well written, organized and can easily be understood by newbies.


Black Hat Python: Python Programming for Hackers and Pentesters – This book is written by Justin Seitz, a senior security researcher at Immunity Inc. and the author of Gray Hat Python. This book is ideal for intermediate programmers who want to create a Github-Adware Trojan, extending the Burp proxy with python, network sniffers, web fuzzers or scrapers, keyloggers, and other offensive python projects. This book has a more detailed explanation of the snippets presented in the book than Violent Python however, we can’t compare which two books about Python are better in this article since they have their own uniqueness and specifics.


Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Scanning – This book is written by Gordon Fyodor Lyon, who is the author of open source Nmap Security Scanner and maintains the SecLists.Org, Insecure.Org, SecTools.Org, SecWiki.Org, and Nmap.Org security resource sites. This book describes how to use Nmap and how Nmap works which covers subverting firewalls and intrusion detection systems, optimizing Nmap performance, and automating common networking tasks with the Nmap Scripting Engine (NSE).


Cryptography Engineering – A book written by Niels Ferguson, Bruce Schneier, and Tadayoshi Kohno. This book is formerly known as Practical Cryptography, which is the first edition of the book, and with its second edition, it is fully updated and that Tadayoshi Kohno has been added as one of its authors. It is a sequel and now focuses on how to build a secure system rather than just design a cryptographic protocol.


A Bug Hunter’s Diary: A Guided Tour Through the Wilds of Software Security – I am a bug hunter myself and somehow this book gave me a good inspiration not just to deal with web application bugs but also software bugs. This book is a story and proof-of-concepts on how Tobias Klein found bugs for applications like VideoLAN’s VLC media player, Sun Solaris kernel, FFmpeg multimedia library, WebEx ActiveX, Avast! AV, OSX TTY IOCTL, etc. by getting or gaining the control of the instruction or program counter control (EIP, RIP, R15 or PC). The book does not include a working exploit code or a shellcode since the author’s home country (Germany) forbids the distribution of hacking tools, scanners, and exploits. No need to be disappointed about that since there are other books and resources that talks about exploit development like Jon Erickson’s Hacking: The Art of Exploitation (2nd Edition). Readers should have a fair understanding of Assembly, C, C++ programming languages to enjoy this book.


Hacking: The Art of Exploitation, 2nd Edition – If you think that Tobias Klein’s A Bug Hunter’s Diary: A Guided Tour Through the Wilds of Software Security is not enough since you really want to exploit buffer overflow vulnerability in order to spawn a shell, then this book is for you. This book is not intended for script kiddies but people who want to graduate from being a script kiddie since this book will teach you about the true hacker culture and exploitation by creating your own proof of concepts.


Thursday, 3 November 2016

Ultimate Windows program Collection 2016


Whenever we buy new computers we always run on line and try to download as many programs on our computer as possible and then it finally hits us that most of the programs we downloaded are no longer useful so we uninstall them. This list consists of all the programs that you will ever need on your computer should you ever want to do something extra with your computer.
1. Firefox and chrome. These are browser that you can use to access the Internet. You may have to install both since sometimes one becomes useful when another fails.
2. Internet Download manager. You use it as and when you need to download something at super faster speeds, it supports resumes and planned downloads , you can even queue up your downloads
3. Driver genius these is a big tools to get you all the drivers that your computer will ever need to be able to use a particular device, for example blue tooth, wireless, Ethernet as long as the are compatible with your computer.
4. Winrar/ 7Zip this is use to compress and decompress files. These two programs are used to open ZIP, RAR, ISO, LZH, TAR, 7Z, GZ, BZ2,ARJ, Z which are all file compression formats.
5. Codec pack K-lite. These are for your sound
6. VLC. When you need the best player for your videos or music files this comes close to only cinema
7. Ccleaner. This is for cleaning your computer of space eating files, you can run it bi-weekly for the best experience.
8. Kaspersky this has been seen as the best anti virus to ever protect you computer, however if you can't afford the paid version then I recommend you use updated versions pf avast along side windows defender.
9. Img burner / Ashampoo for writing data to CD/DVD
10. MS Office/Libre Office. You can choose to use Microsoft office as long as you are on windows and  have a license key other wise use Libre office which is free and open source and has more functionalities.
11. Adobe reader / FOXIT you will always come across a file or two that is a PDF and these two applications will open these files with a lot of ease.
12. U torrent some times there is a need to download a file or two but they are usually torrents for example the TAILS ISO is provide as a torrent and U torrent will come in handy at this moment.
13. Revo uninstaller sometimes you may try to un install a program but it magically failes to get uninstalled the best option is use Revo unistaller.
14. Malware bytes. In the age of hacks and attacks you need a program that can protect you from being infected with malware and becoming a server for the same.
15. Team viewer. You get to access another computer from your computer as if you are physically on that other computer.
16. Folder lock these will always keep private folders private
17. Sandboxie for virus testers and those who don't trust what they have downloaded.
18. VMWare workstation. You can use it to test new software or operating systems, sometimes you use it to run other operating systems on one computer
19. Cyberghost VPN anonymous browsing. Privacy is a basic need and extreme measures are sometimes necessary where the basic security is in question.
20. Notepad++/gedit, these are used to open text files but advanced users use them for programming.
21. Bonus: Python/Java these are programming languages and once in a while you may get a pinch or itch to develop something, and these two may be the best options to choose from.

This is just a starting point but very sufficient for all computer users.

Tuesday, 1 November 2016

Password Managers

With a growing number of people having more that one website to login to there is a need for password mangers, to help you remember as many passwords as possible or else you will end up just having to reset your password always which may not work in all case, as some website only have fewer options.
There are many password keepers out there and this list is just a tip of the iceberg for the best password mangers for windows, Linux and Apple devices.

  • Keeper Password Manager
  • LastPass Password Manager
  • LogMeOnce Password Manager
  • KeePass Password Manager
  • Apple iCloud Keychain
  • SpiderOak Encryptr Password Manager
  • RoboForm Password Manager
  • 1Password Password Manager
  • mSecure Password Manager
  • OneSafe Password Manager
  • SplashID Safe Password Manager
  • Google Online Password Manager
  • Passpack Online Password Manager

Thursday, 27 October 2016

Create A Bootable Windows 7 Flash Disk



What you need?
1. Windows Disk.
2. 4GB Flash Disk. for windows 7,8, but for XP 2GB is ok.
3. Power ISO software.

Method 1

1. Download and install  Power ISO software
2. Insert your Windows Disk
3. Run Power ISO as Admin. by right clicking Icon & selecting Run as Administrator.
4. Click on Option of Copy & select Make CD/DVD/BD Image File
5. In the Next window that appears select .iso file as destination of image.

1. Insert the Flash disk in your Pc.
2. Choose the menu "Tools > Create Bootable USB Drive". The "Create Bootable USB Drive" dialog will popup. If you are using Windows Vista or Windows 7 / 8 operating system, you need confirm the UAC dialog to continue.
3. In "Create Bootable USB Drive" dialog, click "..." button to open the iso file of Windows 7 or Windows 8.
4. Select the correct USB drive from the "Destination USB Drive" list if multiple USB drives are connected to the computer.
5. Choose the proper writing method. "USB-HDD" is recommended.
6. Click "Start" button to start creating windows Xp, 7 / 8 bootable USB drive.
If no errors occurred in the above process, you should now be all set to setup Windows 7 / 8 from USB drive!
7. Reboot  your computer and go into the BIOS configuration to boot from USB.
8. While booting (before Windows starts loading), get into the BIOS configuration screen by pressing  F1, F2, Delete or Escape. Hotkey instructions are generally provided on the screen. Go to the section that contains your boot devices.
9. With your USB drive plugged in, the USB drive should be listed. If it isn’t, your system might not support booting from USB. Assuming that it is supported (as is the case with virtually all modern hardware), promote your USB drive to the primary boot device.
10. Exit from the BIOS configuration, saving all changes. Now you can install windows from the Flash Disk.

Method 2

Step 1: Format the Drive
The steps here are to use the command line to format the disk properly using the diskpart utility. [Be warned: this will erase everything on your drive. Be careful.]
Plug in your USB Flash Drive
Open a command prompt as administrator (Right click on Start > All Programs > Accessories > Command Prompt and select “Run as administrator”
Find the drive number of your USB Drive by typing the following into the Command Prompt window:
diskpart
list disk

The number of your USB drive will listed. You’ll need this for the next step. I’ll assume that the USB flash drive is disk 1. Replace the number “1” with the number of your disk below.
select disk 1
clean
create partition primary
select partition 1
active
format fs=NTFS
assign
exit

When that is done you’ll have a formatted USB flash drive ready to be made bootable.

Step 2: Make the Drive Bootable
We shall use the same command window that you were using in Step 1:

Insert your Windows Vista / 7 DVD into your drive.

Change in to the directory to the DVD’s boot directory where bootsect lives ie the DVD drive letter I will asume its d
type d: in the command prompt window

cd d:\boot

Use bootsect to set the USB as a bootable NTFS drive prepared for a Vista/7 image. I’m assuming that your USB flash drive has been labeled disk G:\ by the computer:

bootsect /nt60 g:

You can now close the command prompt window, we’re done here.
Step 3: Copy the installation DVD to the USB drive
The easiest way is to use Windows explorer to copy all of the files on your DVD on to the formatted flash drive. After you’ve copied all of the files the disk you are ready to go.

Step 4: Set your BIOS to boot from USB
This is where you’re on your own since every computer is different. Most BIOS’s allow you to hit a key at boot and select a boot option.