Labels

Popular Posts

Powered by Blogger.

Blogroll

Hacking Cracking Tricks

Recent Comments

BlogRoll

http://www.prcheckingtool.com

Recent Posts

Bookmark  and Share Technology & Science Blogs - BlogCatalog Blog Directory Submit your website to 20 Search Engines - FREE with ineedhits! http://www.prcheckingtool.com Text Back Links Exchange PageHeat Website Value LocalSubmit.com : search engine submissions and website promotion with free advice Internet Blogs Hacking Cracking Tricks

[download] Certified Ethical Hacker lab 3.0 Download Free [download]


Certified Ethical Hacker lab 3.0
21 Modules | PDF CHM PTT | 629.34 MB

This course is a preparatory course leading to the EC-Council's Ethical Hacker certification. The Certified Ethical Hacker certification exam 312-50 will be conducted on the last day of training. Students need to pass the online Prometric exam to receive CEH certification.

This course will significantly benefit security officers, auditors, security professionals, site administrators, and anyone who is concerned about the integrity of the network infrastructure.

Ethical Hacking and Countermeasures course mission is to educate, introduce and demonstrate hacking tools for penetration testing purposes only. Prior to attending this course, you will be asked to sign an agreement stating that you will not use the newly acquired skills for illegal or malicious attacks and you will not use such tools in an attempt to compromise any computer system, and to indemnify EC-Council with respect to the use or misuse of these tools, regardless of intent.




Module 1: Ethics and Legality
What is an Exploit?
The security functionality triangle
The attacker's process
Passive reconnaissance
Active reconnaissance
Types of attacks
Categories of exploits
Goals attackers try to achieve
Ethical hackers and crackers - who are they
Self proclaimed ethical hacking
Hacking for a cause (Hacktivism)
Skills required for ethical hacking
Categories of Ethical Hackers
What do Ethical Hackers do?
Security evaluation plan
Types of Ethical Hacks
Testing Types
Ethical Hacking Report
Cyber Security Enhancement Act of 2002
Computer Crimes
Overview of US Federal Laws
Section 1029
Section 1030
Hacking Punishment


Module 2: Footprinting
What is Footprinting
Steps for gathering information
Whois

Hacking Tool: Sam Spade
Analyzing Whois output
NSLookup
Finding the address range of the network
ARIN
Traceroute
Hacking Tool: NeoTrace
Visual Route
Visual Lookout
Hacking Tool: Smart Whois
Hacking Tool: eMailTracking Pro
Hacking Tool: MailTracking.com


Module 3: Scanning
Determining if the system is alive?
Active stack fingerprinting
Passive stack fingerprinting
Hacking Tool: Pinger
Hacking Tool: WS_Ping_Pro
Hacking Tool: Netscan Tools Pro 2000
Hacking Tool: Hping2
Hacking Tool: icmpenum
Detecting Ping sweeps
ICMP Queries
Hacking Tool: netcraft.com
Port Scanning
TCPs 3-way handshake
TCP Scan types
Hacking Tool: IPEye
Hacking Tool: IPSECSCAN
Hacking Tool: nmap
Port Scan countermeasures
Hacking Tool: HTTrack Web Copier
Network Management Tools
SolarWinds Toolset
NeoWatch
War Dialing
Hacking Tool: THC-Scan
Hacking Tool: PhoneSweep War Dialer
Hacking Tool: Queso
Hacking Tool: Cheops
Proxy Servers
Hacking Tool: SocksChain
Surf the web anonymously
TCP/IP through HTTP Tunneling
Hacking Tool: HTTPort


Module 4: Enumeration
What is Enumeration
NetBios Null Sessions
Null Session Countermeasures
NetBIOS Enumeration
Hacking Tool: DumpSec
Hacking Tool: NAT
SNMP Enumertion
SNMPUtil
Hacking Tool: IP Network Browser
SNMP Enumeration Countermeasures
Windows 2000 DNS Zone transfer
Identifying Win2000 Accounts
Hacking Tool: User2SID
Hacking Tool: SID2User
Hacking Tool: Enum
Hacking Tool: UserInfo
Hacking Tool: GetAcct
Active Directory Enumeration


Module 5: System Hacking
Administrator Password Guessing
Performing Automated Password Guessing
Legion
NTInfoScan
Defending Against Password Guessing
Monitoring Event Viewer Logs
VisualLast
Eavesdroppin on Network Password Exchange
Hacking Tool: L0phtCrack
Hacking Tool: KerbCrack
Privilege Escalation
Hacking Tool: GetAdmin
Hacking Tool: hk
Manual Password Cracking Algorithm
Automatic Password Cracking Algorithm
Password Types
Types of Password Attacks
Dictionary Attack
Brute Force Attack
Distributed Brute Force Attack
Password Change Interval
Hybrid Attack
Cracking Windows 2000 Passwords
Retrieving the SAM file
Redirecting SMB Logon to the Attacker
SMB Redirection
Hacking Tool: SMBRelay
Hacking Tool: SMBRelay2
SMBRelay Man-in-the-Middle (MITM)
SMBRelay MITM Countermeasures
Hacking Tool: SMBGrinder
Hacking Tool: SMBDie
Hacking Tool: NBTDeputy
NetBIOS DoS Attack
Hacking Tool: nbname
Hacking Tool: John the Ripper
LanManager Hash
Password Cracking Countermeasures
Keystroke Logger
Hacking Tool: Spector
AntiSpector
Hacking Tool: eBlaster
Hacking Tool: SpyAnywhere
Hacking Tool: IKS Software Logger
Hardware Tool: Hardware Key Logger
Hacking Tool: Rootkit
Planting Rootkit on Windows 2000 Machine
_rootkit_ embedded TCP/IP Stack
Rootkit Countermeasures
MD5 Checksum utility
Tripwire
Covering Tracks
Disabling Auditing
Auditpol
Clearing the Event Log
Hacking Tool: Elslave
Hacking Tool: Winzapper
Hacking Tool: Evidence Eliminator
Hidding Files
NTFS File Streaming
Hacking Tool: makestrm
NTFS Streams Countermeasures
LNS
Steganography
Hacking Tool: ImageHide
Hacking Tool: MP3Stego
Hacking Tool: Snow
Hacking Tool: Camera/Shy
Steganography Detection
StegDetect
Encrypted File System
Hacking Tool: dskprobe
Hacking Tool: EFSView
Buffer Overflows
Creating Buffer Overflow Exploit
Outlook Buffer Overflow
Hacking Tool: Outoutlook


Module 6: Trojans and Backdoors
What is a Trojan Horse?
Overt and Covert
Hacking Tool: QAZ
Hacking Tool: Tini
Hacking Tool: Netcat
Hacking Tool: Donald Dick
Hacking Tool: SubSeven
Hacking Tool: BackOrifice 2000
Back Oriffice Plug-ins
Hacking Tool: NetBus
Wrappers
Hacking Tool: Graffiti
Hacking Tool: Silk Rope 2000
Hacking Tool: EliteWrap
Hacking Tool: IconPlus
Packaging Tool: Microsoft WordPad
Hacking Tool: Whack a Mole
Trojan Construction Kit
BoSniffer
Hacking Tool: FireKiller 2000
Covert Channels
ICMP Tunneling
Hacking Tool: Loki
Reverse WWW Shell
Backdoor Countermeasures
BO Startup and Registry Entries
NetBus Startup and Registry Keys
Port Monitoring Tools
fPort TCPView
Process Viewer
Inzider - Tracks Processes and Ports
Trojan Maker
Hacking Tool: Hard Disk Killer
Man-in-the-Middle Attack
Hacking Tool: dsniff
System File Verification
TripWire




Module 7: Sniffers
What is a Sniffer?
Hacking Tool: Etheral
Hacking Tool: Snort
Hacking Tool: WinDump
Hacking Tool: EtherPeek
Passive Sniffing
Active Sniffing
Hacking Tool: EtherFlood
How ARP Works?
Hacking Tool: DSniff
Hacking Tool: Macof
Hacking Tool: mailsnarf
Hacking Tool: URLsnarf
Hacking Tool: Webspy
Hacking Tool: Ettercap
Hacking Tool: SMAC
MAC Changer
ARP Spoofing Countermeasures
Hacking Tool: WinDNSSpoof
Hacking Tool: WinSniffer
Network Tool: IRIS
Network Tool: NetInterceptor
SniffDet
Hacking Tool: WinTCPKill


Module 8: Denial of Service
What is Denial of Service Attack?
Types of DoS Attacks
How DoS Work?
What is DDoS?
Hacking Tool: Ping of Death
Hacking Tool: SSPing
Hacking Tool: Land
Hacking Tool: Smurf
Hacking Tool: SYN Flood
Hacking Tool: CPU Hog
Hacking Tool: Win Nuke
Hacking Tool: RPC Locator
Hacking Tool: Jolt2
Hacking Tool: Bubonic
Hacking Tool: Targa
Tools for Running DDoS Attacks
Hacking Tool: Trinoo
Hacking Tool: WinTrinoo
Hacking Tool: TFN
Hacking Tool: TFN2K
Hacking Tool: Stacheldraht
Hacking Tool: Shaft
Hacking Tool: mstream
DDoS Attack Sequence
Preventing DoS Attack
DoS Scanning Tools
Find_ddos
SARA
DDoSPing
RID
Zombie Zapper




Module 9: Social Engineering
What is Social Engineering?
Art of Manipulation
Human Weakness
Common Types of Social Engineering
Human Based Impersonation
Important User
Tech Support
Third Party Authorization
In Person
Dumpster Diving
Shoulder Surfing
Computer Impersonation
Mail Attachments
Popup Window
Website Faking
Reverse Social Engineering
Policies and Procedures
Social Engineering Security Policies
The Importance of Employee Education


Module 10: Session Hijacking
What is Session Hijacking?
Session Hijacking Steps
Spoofing Vs Hijacking
Active Session Hijacking
Passive Session Hijacking
TCP Concepts - 3 way Handshake
Sequence Numbers
Sequence Number Example
Guessing the Sequence Numbers
Hacking Tool: Juggernaut
Hacking Tool: Hunt
Hacking Tool: TTYWatcher
Hacking Tool: IP Watcher
Hacking Tool: T-Sight
Remote TCP Session Reset Utility
Dangers Posed by Session Hijacking
Protection against Session Hijacking


Module 11: Hacking Web Servers
Apache Vulnerability
Attacks against IIS
IIS Components
ISAPI DLL Buffer Overflows
IPP Printer Overflow
msw3prt.dll
Oversized Print Requests
Hacking Tool: Jill32
Hacking Tool: IIS5-Koei
Hacking Tool: IIS5Hack
IPP Buffer Overflow Countermeasures
ISAPI DLL Source Disclosure
ISAPI.DLL Exploit
Defacing Web Pages
IIS Directory Traversal
Unicode
Directory Listing
Clearing IIS Logs
Network Tool: LogAnalyzer
Attack Signature
Creating Internet Explorer (IE) Trojan
Hacking Tool: IISExploit
Hacking Tool: UnicodeUploader.pl
Hacking Tool: cmdasp.asp
Escalating Privilages on IIS
Hacking Tool: IISCrack.dll
Hacking Tool: ispc.exe
Unspecified Executable Path Vulnerability
Hacking Tool: CleanIISLog
File System Traversal Countermeasures
Microsoft HotFix Problems
UpdateExpert
Cacls utility
Network Tool: Whisker
N-Stealth Scanner
Hacking Tool: WebInspect
Network Tool: Shadow Security Scanner



Module 12: Web Application Vulnerabilities
Documenting the Application Structure
Manually Inspecting Applications
Using Google to Inspect Applications
Directory Structure
Hacking Tool: Instant Source
Java Classes and Applets
Hacking Tool: Jad
HTML Comments and Contents
Hacking Tool: Lynx
Hacking Tool: Wget
Hacking Tool: Black Widow
Hacking Tool: WebSleuth
Cross Side Scripting
Session Hijacking using XSS
Cookie Stealing
Hacking Tool: IEEN


Module 13: Web Based Password Cracking Techniques
Basic Authentication
Message Digest Authentication
NTLM Authentication
Certificate based Authentication
Digital Certificates
Microsoft Passport Authentication
Forms based Authentication
Creating Fake Certificates
Hacking Tool: WinSSLMiM
Password Guessing
Hacking Tool: WebCracker
Hacking Tool: Brutus
Hacking Tool: ObiWan
Hacking Tool: Munga Bunga
Password dictionary Files
Attack Time
Hacking Tool: Varient
Hacking Tool: PassList
Query Strings
Post data
Hacking Tool: cURL
Stealing Cookies
Hacking Tool: CookieSpy
Hacking Tool: ReadCookies
Hacking Tool: SnadBoy


Module 14: SQL Injection
What is SQL Injection Vulnerability?
SQL Insertion Discovery
Blank sa Password
Simple Input Validation
SQL Injection
OLE DB Errors
1=1
blah' or 1=1
Stealing Credit Card Information
Preventing SQL Injection
Database Specific SQL Injection
Hacking Tool: SQLDict
Hacking Tool: SQLExec
Hacking Tool: SQLbf
Hacking Tool: SQLSmack
Hacking Tool: SQL2.exe
Hacking Tool: Oracle Password Buster


Module 15: Hacking Wireless Networks
802.11 Standards
What is WEP?
Finding WLANs
Cracking WEP keys
Sniffing Trafic
Wireless DoS Attacks
WLAN Scanners
WLAN Sniffers
MAC Sniffing
Access Point Spoofing
Securing Wireless Networks
Hacking Tool: NetTumbler
Hacking Tool: AirSnort
Hacking Tool: AiroPeek
Hacking Tool: WEP Cracker
Hacking Tool: Kismet
WIDZ- Wireless IDS


Module 16: Virus and Worms
Cherobyl
ExploreZip
I Love You
Melissa
Pretty Park
Code Red Worm
W32/Klez
BugBear
W32/Opaserv Worm
Nimda
Code Red
SQL Slammer
How to write your own Virus?
Worm Construction Kit


Module 17: Novell Hacking
Common accounts and passwords
Accessing password files
Password crackers
Netware Hacking Tools
Chknull
NOVELBFH
NWPCRACK
Bindery
BinCrack
SETPWD.NLM
Kock
userdump
Burglar
Getit
Spooflog
Gobbler
Novelffs
Pandora


Module 18: Linux Hacking
Why Linux ?
Linux Basics
Compiling Programs in Linux
Scanning Networks
Mapping Networks
Password Cracking in Linux
Linux Vulnerabilities
SARA
TARA
Sniffing
A Pinger in Disguise
Session Hijacking
Linux Rootkits
Linux Security Countermeasures
IPChains and IPTables


Module 19: IDS, Firewalls and Honeypots
Intrusion Detection System
System Integrity Verifiers
How are Intrusions Detected?
Anomaly Detection
Signature Recognition
How does IDS match Signatures with Incoming Traffic?
Protocol Stack Verification
Application Protocol Verification
What Happens after an IDS Detects an Attack?
IDS Software Vendors
SNORT
Evading IDS (Techniques)
Complex IDS Evasion
Hacking Tool: fragrouter
Hacking Tool: TCPReplay
Hacking Tool: SideStep
Hacking Tool: NIDSbench
Hacking Tool: ADMutate
IDS Detection
Tools to Detect Packet Sniffers
Tools to inject strangely formatted packets onto the wire
Hacking Through Firewalls
Placing Backdoors through Firewalls
Hiding behind Covert Channels
What is a Honeypot?
Honeypots Evasion
Honeypots vendors


Module 20: Buffer Overflows
What is a Buffer Overflow?
Exploitation
Assembly Language Basics
How to Detect Buffer Overflows in a Program?
Skills Required
CPU/OS Dependency
Understanding Stacks
Stack Based Buffer Overflows
Buffer Overflow Technical Implementation
Writing your own Buffer Overflow Exploit in C
Defense against Buffer Overflows
Type Checking Tools for Compiling Programs
StackGuard
Immunix


Module 21: Cryptography
What is PKI?
Digital Certificates
RSA
MD-5
RC-5
SHA
SSL
PGP
SSH
Encryption Cracking Techniques


Download
Part 1
Part 2
Part 3


Download

Part 1

Part 2
Part 3

[eBook]Basic Hacking You MUST know[eBook]

Where Did I get it from?


To be honest with you, I don't even recall the original source of this eBook, but I do know it is a very good and basic one.

What does it cover?
-Where to start
-Needed Programming
-Linux and how to use it
-Password Cracking and Hacking
-Network Hacking [footprinting, etc...]
-Wireless Hacking
-Windows Hacking
-Malware
-Web Hacking

 Size 2.5 Mb
  Download

Tag : ,

How to: Crack Megaupload accounts

How to: Crack Megaupload accounts


Table of content:
  • Proxies
  • MUforum leecher
  • Cracking
  • Troubleshooti

Proxies: 

  Link 4
Link 8


Grab minimum 1000 proxies (the more, the better) from various sites and your done with this part. Put them in a text-document and save it.


MUForum leecher:

Now we need some Megaupload usernames. Oh no you might think but this part is actually the most easy one. What you will need is these two programs:
http://adf.ly/VJGy
I'll only teach you about "Epic Leech"

Open Epic Leech. Click on MU Forum in the Site list. Then click start.


[Image: 55766327.png]

Let it run for like 1 hour and stop it. Then save the logins and close epic leech.


Cracking:

What all of you have been waiting for... ;) - The cracking part. What you will need is (maybe?) the most genius cracking-program ever made; Villian. Download here:
Download

Before starting, find a great common password list or make your own. I uses this VERY VERY basic one: I will strongly recommend you getting a better or adding more passes.
Quote:123456
654321
abc123
123abc
megaupload
987654321
password

This is not just made to crack Megaupload accounts, no you can also crack rapidshares, steams, hotfiles and much more. You can even add a custom site!
Well, to make this look a bit more uncluttered, I'll make it in numbers.

1) Open Villian and browse the Profile Options tab. Click load and find the folder where you placed Villian. Open the Profile folder and double-click on megaupload.ini.
[Image: 13170344.png]

2) Click on List Options and load the usernames from Epic Leech
[Image: 54924214.png]
Also load your passwords in the loader below.

3) Go to the second tab; proxy options. Load your proxies in this box:
[Image: 92159299.png]
Then go to Crack Options and change the sockets to something between 15 and 30, according on your connecting
[Image: 37838026.png]

4) Press the "start" button and after a few hours (or a night) stop it and check out your MU accounts!


Troubleshooting:

For some people who run Epic Leech for the first time there will come a popup saying that there is a problem with a OCX file.
Download this helper:
Run Regdllview. Navigate to file/register file.. find the missing OCX in your help folder and run it. Now it should be working.
If you can't find the OCX that is missing then go grab it at

Make a bootable USB installer for Windows XP, Vista, 7 with WinToFlash


Making a bootable USB flash drive for Windows Vista and Windows 7 isn't all that tricky, but it's always nice to find an app that simplifies things. Not only does WinToFlash make the process about as easy as it can get, but it can also create Windows XP, Server 2003, and Server 2008 installers.

The default options make it easy to roll a silent Windows install, or you can flip the custom switch and specify the exact setup parameters you want to use.

The handy app also has one more trick up its sleeve: moving Windows Preinstall environments. PE discs can be extremely handy for troubleshooting and repairs, and being able to painlessly zap them over to a USB flash drive means not having to burn a new copy every time someone's haggard old optical drive decides to chew up your CD.

WinToFlash is a free download and is totally portable. It's an excellent tool to add to your USB-related utilities.

Install Windows XP Using Bootable Pendrive

This method of running and installing a Windows from a USB flash drive works on all computers not just Asus Eee PC's.
To complete this tutorial you'll need:
- a 32bit version of Windows XP or Windows Vista installed on your computer
- a Windows XP instalation CD or image
Extract all the zip archives, copy the PeToUSB content into the USB_prep8 folder. Inside the USB_prep8 folder double click the executable named usb_prep8.cmd
The window that opens will look like this:
usbprep1 300x194 Install Windows XP on your Asus Eee PC using a USB flash drivePress any key to continue.
Your next window will look like this:
petousb 274x300 Install Windows XP on your Asus Eee PC using a USB flash driveThese settings are preconfigured for you and all you need to do now is click the Start button.
Once the format is complete, DO NOT close the window. Just leave everything as it is and open a new command prompt from your start menu (type cmd in the Run box)
Inside the command window, go to the directory you have bootsect.exe extracted and type (see note bellow first)
bootsect.exe /nt52 R:
Note: R: is the drive of my USB stick. Open Windows Explorer and see what letters yours is assigned to and change the command accordingly. When running the bootsect.exe command, you must close all windows/programs that are displaying/using the content of the USB stick to allow the boot sector writer to lock the device and write the sector correctly.
This part writes the correct boot sector to your USB stick and allows the pc to boot from the stick. Without this noting works.  If all went well with the command, you should see "Bootcode was successfully updated on all targeted volumes"
Now you can close this command prompt and the PeToUSB window (but make sure not to close the usb_prep8 one by mistake)
The window you see now should look like this:
usbprep2 300x194 Install Windows XP on your Asus Eee PC using a USB flash drive
Now you need to enter the correct information for number 1, 2 and 3
- Press 1 and then enter. A folder browse window will open for you to browse for the location of your XP setup files (cd rom drive, mounted image or a folder somewhere on your system)
- Press 2 and enter a letter not curently assigned to a drive on your PC (try x or someting at the end of the alfabet)
- Press 3 and enter the drive letter of your USB stick
- And finally, press 4 to start the process
The script will ask you if its okay to format the virtual tempdrive (the one at step 2). This is just a temp drive the program creates and mounts to cache the windows installation files. You can safely press Y to continue
Once it's done formating, press enter to continue again, you can now see the program copying files to the temp drive it created. This will take a while (browse other articles from my blog till then icon smile Install Windows XP on your Asus Eee PC using a USB flash drive ) but once this is done, press enter to continue again.
Next you will see a box pop up asking you to copy the files to USB drive (yes/no options). You want to click yes here.
Once the script has completed once again a shit long copying process, another window asking if you would like the USB drive to be preferred boot dive U:. select Yes on this window too.
Now select yes to unmount the virtual drive.
Ok we are done the hard part, close the usbprep8 window.
Now make sure your EEE pc is configured with USB as the primary boot device.
Insert your USB drive and boot up the EEE.
On the startup menu you have two options, select option number 2 for text mode setup.
From this point on it is just like any other windows XP installation delete/recreate the primary partition on your EEE pc and format it using NTFS. Make sure you delete ALL partitions and recreate a single partition or you will get the hal.dll error message.
Once the text mode portion of setup is complete it will boot into the GUI mode (you can press enter after the reboot if your too excited to wait the 30 seconds)
Once the GUI portion of setup is complete you will again have to boot into GUI mode this will complete the XP installation and you will end up at you XP desktop. It is very important that you DO NOT REMOVE THE USB STICK before this point. Once you can see your start menu it is safe to remove the usb stick and reboot your pc to make sure everything worked.
This method has advantages over all current no cdrom methods of installing XP to the EEE. You do not have to copy setup files in DOS to the SSD and install from there. It gives you access to the recovery console by booting into text mode setup, and it gives you the ability to run repair installations of XP if you have problems later on.
I hope this worked out for you and please post feedback to the comments section.

xpinstall 300x225 Install Windows XP on your Asus Eee PC using a USB flash drive

Windows In Your Pocket


Table of contents 
·                                 1 –Introduction
·                                 2 –Expanding The Role Of USB Flash Drives
·                                 3 –Set The System's Boot Device Sequence
·                                 4 –Test Your Settings
·                                 5 –Add Service Pack 2
·                                 6 –Adding Utilities
·                                 7 –Ad-Aware SE Personal
·                                 8 –More Tools
 

All it takes is a minor error in the Windows Registry or a virus infection, and your operating system can become unbootable. But with a properly configured USB flash drive on hand, you'll always have a compatible replacement no further away than your pocket or keychain. In addition, the flash drive can also provide a secure browser and virus scanner, and lets you take your favorite DVD burning and Office software with you wherever you may go.
All that's needed is a bootable USB Flash drive with at least 256 MB of storage capacity and a Windows Setup CD. Using the program Bart PE Builder (Freeware), you can install Windows XP on the flash drive, along with other software as needed (and as available space permits).
Compact
Bart Lagerweij's free utility, PE Builder, condenses the original setup data for Windows XP into a slender operating system that is ready to run from a CD or a USB flash drive. This compact, portable version of Windows includes all the important system tools for dealing with a PC emergency. You can even add other programs to this collection, such as the media writing tool Nero Burning ROM or an anti-spyware package such as Ad-Aware SE Personal, during the installation process.
Additional Links
PE Builder Project home page PE Builder forums and plug-in exchange Plug-in index and supplementary information

Expanding The Role Of USB Flash Drives


Flash drives aren't always recognized during the PC boot process. The USB flash drive controller and the PC's BIOS must be properly introduced to one another. That said, nearly all flash drives and PC can be configured so that the PC can boot from the flash drive.
You Need This: XP On The USB Pen Drive
In most cases, any compatible USB flash drive makes a suitable target for Windows XP installation. But the following system requirements must also be met:
A USB flash drive with at least 256 MB of storage is enough for the uses described in this article. Additional system tools or applications require more space. The upper bound limits for storage in this case is 2 GB - a byproduct of the tool's use of FAT16 for the local file system. Most new motherboards recognize USB flash drives as valid boot media. But conventional motherboards that are more than two years old aren't likely to boot from a USB flash drive. But in many cases, this omission can be remedied through a BIOS update for that board. 1.5 GB of unused disk space is the maximum needed for the tool to do its job, particularly if you want to pre-install Service Pack 2 and RAM disk capabilities. 190 MB of unused space is all that's needed to use PE Builder and the applications described in this article, however. Additional plug-ins will increase storage requirements, as will additional tools or software. 512 MB of USB flash drive storage space is needed only if boot-up works from a RAM disk. Otherwise, 256 MB is big enough. Access to a USB 2.0 port is not mandatory, though booting with a USB 1.1 port takes about five times longer. A Windows XP Setup CD works fine as a foundation for PE Builder to generate the USB flash drive's contents.

Formatting The USB Flash Drive

 
Disk Storage Format Tool: This program from HP can format any USB flash drive
Most BIOS versions accept a USB flash drive as a boot disk only if it uses the FAT (File Allocation Table) file system. Before you can install Windows on the USB flash drive, it must first be formatted.
Warning! Windows XP also provides a tool to format USB flash drives, but the results of that process are error-prone. In a worst case situation, it can even destroy the flash RAM in a USB flash drive.
Installation requires the use of HP's freeware tool HP USB Disk Storage Format Tool instead. Once installed, you can run the program through this sequence of menu choices: Start, All Programs, HP Company. Select the USB flash drive you wish to format from the Device entry, then select FAT as the target file system for that device. Click Start to launch this process. Once complete, you must then copied the Windows XP boot files to the USB flash drive - namely,
%systemdrive%\boot.ini, %systemdrive%\ntldr, and %systemdrive%:\ntdetect (if you know the drive ID where these files live, use that instead - it's normally C). To make Windows Explorer display these files (they're ordinarily hidden), choose Folder Options... from the Tools menu, then click the View tab in the Folder Options window. Finally, in the Advanced Setting pick list, click the radio button underneath Hidden Files and folders that reads "Show hidden files and folders." Finally uncheck the box next to "Hide protected operating systems (Recommended)," so you can select and copy these all-important Windows XP files to the flash drive. The USB flash drive is now ready to boot your system. Next, you learn how to instruct your PC to boot from a USB flash drive.

Set The System's Boot Device Sequence


 
AMI-BIOS: For most versions, managing a PC's boot device sequence appears under the "Advanced BIOS Features" menu
If your PC has a relatively new motherboard, its BIOS will already include the functions necessary to support USB-attached boot media. If so, you need only make the right selections in that BIOS menu to boot from a USB flash drive. Older PCs, on the other hand, won't accept USB drives as valid boot devices. This means a BIOS update that supports USB boot options is necessary. You can find information about where to obtain such updates from your PC's (or motherboard's) user manual, on the driver CD included with the PC (or motherboard) or on the vendor's Website.
Normally, the hard disk precedes the USB flash drive (which falls under the heading of USB-HDD in most BIOS menus) in the boot order. If the hard disk contains a viable boot sector, the PC will start up automatically using the information it contains. Only when the hard disk suffers from a boot sector defect or an operating system can't be found will the PC boot from the USB flash drive instead.
Change this boot order. Plug the flash drive in, boot the computer and enter the BIOS setup utility. Normally, this means holding down the DEL or F2 key just as the computer powers up and begins the boot process. If you read the initial startup screen on your PC carefully, it will tell you exactly what you must do to access and alter your BIOS settings.
If your PC uses AMI-BIOS from American Megatrends, there are two possible ways to alter the boot device sequence. Each varies depending on the version of AMI-BIOS that's installed.
For the first variant, there is no menu entry named "Boot." Navigate to the sub-menu named "Advanced BIOS Features." Navigate to the item named "Boot Device Select... " and designate the USB flash drive as the first device in the "Boot Device Priority" list by selecting "1st" as its value. Then, hit the Esc key and set both the "Quick Boot" and "Full Screen LOGO Show" items to "Disabled" (this lets you see the BIOS messages during startup on the monitor). Exit the BIOS Setup utility using the "Save and Exit Setup" item in the main menu.
For the second variant, use the "Boot" menu to select the USB flash drive. It will show up under one of the following headings: "Hard Disk Drive", "Removable Device" or "Removable Storage Device. " Next, select the USB flash drive as "1st Drive" in the first position, then hit the Esc key. That device should appear in the menu named "Boot Device Priority" which might also show up as "Boot Sequence". Inside that menu, designate the USB flash drive as the "1st Boot Device", hit the Esc key and save all changes in the "Exit" menu by selecting "Exit and Save Changes".
The Phoenix BIOS that's so popular in notebook computers also lists the USB flash drive in its "Boot" menu (which might also appear as "Boot Device Priority"). In this case, the flash drive may show up as an entry in the "-HDD" or "-Removable Devices" sub-menu. Select the device class ("-Hard Drive" or "-HDD" for example) and use the F6 key to move the flash drive to the top of that list. Exit the BIOS Setup program by striking the F10 key, followed by the Enter key, to save all settings.

Test Your Settings


Whatever BIOS your PC may use, it's important to make sure all of its USB options are activated. These may include "USB Legacy Support" and "USB 2.0 Controller". Whenever possible, you should also extend the setting that governs the timeout period for how long the BIOS will wait for a response from the USB flash drive. Some of these devices take a half minute or more to respond to a boot-up instruction from the motherboard. Thus, if you see a BIOS option that reads something like "USB Mass Storage Reset Delay", set that value as high as it will go whenever boot-up problems should occur.
Many motherboards offer options to change the emulation type for certain devices, including USB flash drives. The default setting for "Emulation Type" is usually "Auto". If this causes problems, try other settings instead. First, try "Hard Disk", then try "Forced FDD", then try "Floppy" as your last option. For each new setting for emulation type, your computer must reboot for it to take effect. Also, you must reset the boot device sequence or priority in the BIOS each time as well.
Many older USB flash drives, especially those that belong to the first generation of USB 2.0 memory devices, have problems with data transfer between the flash drive controller and the BIOS. If boot-up won't work with the flash drive set to "High Speed Mode," try the slower "Full Speed Mode" option instead (if the BIOS offers that choice). This slows the data transfer rate from a maximum of 60 MB/s to less than 1.5 MB/s, which makes Windows boot up at a terribly leisurely pace. Your next step should be to make a BIOS update, so that the PC will also boot using the far faster "High Speed Mode."

Add Service Pack 2

he PE Builder program that installs Windows XP onto your USB flash drive requires an actual Windows XP CD. If you already have a Windows XP CD that integrates Service Pack 2, skip this section and jump ahead to the heading that reads "Adding Utilities".

Pre-installing Updates

Create a new folder on your hard disk (something like C:\sp2\winxp will do nicely). Use Windows Explorer to copy the entire contents of your Windows CD into that folder. To make sure that hidden files and system files are also copied, make sure that you've set Folder Options in Explorer to "Show hidden files and folders" and have unchecked the box next to "Hide protected operating system files (Recommended)" as described earlier in this article. Create a second folder named C:\sp2\sp2 for the update files as well.

Download The Service Pack




Installing Service Pack 2: The Setup Assistant activates all the Setup files from Windows XP
You'll either want to obtain the free Update-CD for Service Pack 2 or download the 256 MB file for this service pack from Microsoft.com/downloads . Download the version called "Windows XP Service Pack 2 for IT Professionals and Developers". If you want the download for a language other than English, select the language from the "Change Language" pull-down menu, then click "Download". Save this file (which shows up in Internet Explorer as "Windows XP-KB835935-SP2-ENU.exe") in a file named "xpsp2.exe" into the C:\sp2 folder. If you've got the SP2 CD, copy the file named "xpsp2.exe" into that folder instead.
Open a command window using the Start, Run menu entries, then type "cmd" into the Open: text box, and click the OK button. You can then extract the contents of the service pack by typing the following instruction at the command line:
C:\sp2\xpsp2.exe -u -x:c:\sp2\sp2

Updating The XP Setup Files

You can update all of the XP Setup files in the "C:\sp2\winxp" folder with the following command line instruction:
C:\sp2\sp2\i386\update\update.exe -s:c:\sp2\winxp
The Setup Assistant activates all of the updated XP Setup files, as part of which the file named "win51ip.SP2" appears in the "C:\sp2\winxp" folder. Double-click the file named "C:\sp2\winxp\README.HTM" to open that file in your default Web browser. This file should contain the statement that "This release of Windows Microsoft Windows XP includes Service Pack 2 (SP2)" (on versions of Windows XP that integrate SP 2, and on versions of Windows MCE 2005, this text appears when you click the hyperlink that reads "Important Information About This Version of Microsoft XP".

Adding Utilities

Windows XP normally requires more than 1 GB of storage space on a hard disk. To enable the operating system to fit on a 256 MB USB flash drive, all non-essential components must be stripped away. The freeware program PE Builder handles the selection of XP components in this case. It installs something called Bart PE, a much-reduced version of Windows XP that also includes system utilities.

PE Builder



PE-Builder-Setup: If possible, install PE Builder in a folder called "C:\Program Files\pebuilder313"
Install PE Builder. You'll find the program listed under "Computer, USB-Stick-Windows". Accept the default installation path - namely "C:\Program files\pebuilder313". The PE Builder program includes many useful system tools, which it writes to the USB flash drive along with Windows XP. These appear in the sub-folder named "C:\Program Files\plugin" - among which, for example, you'll find the file manager a43 inside a further subfolder named "\a43\files". The file named "a43.inf" contains data otherwise found in the Windows Registry. For some such subfolders in the plugin folder, you'll find the program files to be missing. These belong to third-party tools such as Ad-Aware or Nero Burning ROM that PE Builder doesn't install by default. But these subfolders do contain the necessary INF files that PE Builder can use should you decide to include these programs in what's written to the USB flash drive yourself. Here's how that works:

Nero Burning ROM




First, install the DVD burning program Nero on your PC. Next, copy all the files from the installation folder - usually this will be C:\Program Files\ahead\Nero" - into the PE Builder subfolder named "C:\Program Files\pebuilder313\ plugin\nero burning rom\files". Now, open the file named "penero.inf" with a text editor in the plug-in folder named "nero burning rom" and look for the area where the Nero version you've downloaded is identified: "5.x" or "6.x". Remote all semi-colons from the entry named "[Software.AddReg]" and delete all three numbers that follow as well. Replace those values with your user name, the company name and the serial number for your copy of the software. Save the file, then exit the text editor.

Ad-Aware SE Personal

nstall the anti-spyware program Ad-Aware SE Personal (Freeware). You'll find it under the heading, "Computer, USB-Stick-Windows". Update the program. Copy the files named "defs.ref" and "ad-aware.exe" in the plug-in subfolder named "C:\Program Files\pebuilder313\plugin\adawarese\files".

Drive-Snapshot

The Drive-Snapshot imaging tool belongs to the standard collection of programs that PE Builder installs. This particular version is an evaluation copy that only works for a certain limited trial period. After the trial period elapses you can still restore drive images you've already captured, but it won't let you make any new snapshots thereafter. To make the tool work without such restrictions, you need a full version of the "snapshot.exe" file. You can download this from www.drivesnapshot.de/en and copy it into plug in directory named "C:\Program Files\pebuilder313\plugin\snapshot".

Firefox

A slimmed-down version of the Firefox Web browser (Open Source) was developed especially for PE Builder and the mini-Windows Bart PE implementation. Click under the heading that reads "Computer, USB-Stick-Windows" to download this program. Unpack the contents of the file named "firefox-2.2.zip" into the plug-in directory named "C:\Program Files\pebuilder313\plugin" and the necessary sub-folders will be set up for you automatically.

McAfee Stinger

McAfee's Stinger virus scanner (freeware) keeps track of the most dangerous Trojans and worms and gets rid of malware. Copy the file named "s-t-i-n-g-e-r.exe" into the folder named "C:\Program Files\pebuilder313\plugin\stinger".

Total Commander

The program known as Total Commander (Shareware, $34/28 €) is a Swiss army knife like utility, with built-in file management, compression, FTP and image viewing components. Install this software, then copy all files from its program folder into the folder named "C:\Program Files\pebuilder313\plugin\total commander\files". If you're a registered user of Total Commander, you'll also find a file named "wincmd.key" in its folder. Copy this file into "C:\Program Files\pebuilder313\plugin\total commander\files". Then, use a text editor to open the file named "totalcmd.inf" in the "...\plugin\total commander" folder, and delete the semi-colon at the start of the line that reads '\files\wincmd.key=a"[...]' (note: because the quoted value includes a double-quote mark, we used single quotes to designate this particular literal string).

More Tools

HTML file with install data: You can see here how the imaging plug-in ghost is installed. Click to see a larger image.
Install folders for numerous other PE Builder plug-ins are pre-defined. In each such folder, you'll find an HTML file. Double-click each one to open it in your Web browser. There, you'll find information and instructions on how to add that program into PE Builder.
Warning: The more tools you add, the more storage space you'll need on the USB flash drive. The collection of items we've documented so far will fit on a 256 MB flash drive. If you've got a bigger device at your disposal, you can expand your portable rescue system. For example, you might also decide to include a data recovery tool, a disk partitioning tool and a software firewall.
Use your favorite search engine to look for "PE Builder plug-ins" to rummage around in hundreds of sites where additional plug-in information is indexed and described (our exploratory search on Google turned up over 74,000 hits; everything on the first few results pages looked pretty useful and interesting). Of these, Svenska's XpPe Boot CD site (www.xppe.com) looks like a great place to start hunting down plug-ins and information about how to use them.

Adapting Hardware

To make Bart PE work on your PC, there are a few additional tweaks you must make to load the network interface and a DSL (or other Internet) connection.

Configure A DSL Connection



Configuring DSL: Enter your user name and password for access
If you want to use Bart PE to access the Internet, you must activate the freeware PPPoE plug-in and configure it for your DSL connection. Create a folder named "C:\Program Files\pebuilder313\plugin\pppoe_xp and extract the contents of the pppoe_xp.cab (Freeware) into that folder. To establish a PPoE connection, after you boot Bart PE you must also start the Network service and the PPoE service. Select "New Connect..." from the available options, accept the connection name you're granted, then provide your username and password as prompted.

Install Windows

With a pre-defined collection of plug-ins copied into the "C:\Program Files\pebuilder313\plugin" folder and the setup files for Windows XP in the "C:\sp2\winxp" folder, you've got everything you need to install Windows and additional utilities on the USB flash drive. Your next step is to generate the files for that drive. Here's how:

Generating Files

Launch this process by selecting "Start, All Programs, PE Builder, PE Builder". For the value of the Source field provide the Main window with the path to the XP Setup files at: C:\sp2\winxp. Leave the Custom: field blank, and leave the default value in the Output file (BartPE) intact. That will be the name of the folder that contains the USB flash drive files, in "C:\Program Files\pebuilder313\BartPE" in other words.
Click on the "Plugins" button at the bottom of the Main window, and check the resulting "Plugins" window to make sure that all the newly-added plug-ins covered in this article show a "Yes" value in the "Enabled" column. If that's not the case, highlight the name of that plug-in in the list, then click the "Enable/Disable" button to turn it on. PE Builder will check your settings, to make sure all of the necessary data is available, and will change the final status accordingly. At this point, you can include more plug-ins using the "Add" button, if you've downloaded more of them from the Internet. Click on the "Close" button when you're finished. Upon returning to the Main windows, make sure that the checkboxes next to "Create ISO image" and "Burn to CD" remain unchecked, then click the "Build" button. The necessary files will be generated at that point.

Load The USB Flash Drive




Using the Bart PE program: This command-line tool copies the configured version of Windows to the USB flash drive
Start the batch file named "peinst.cmd." You'll find it in the "C:\Program Files\pebuilder313\plugin\peinst" folder. It copies the files you generated using PE Builder onto the USB flash drive, as well as the Windows boot files. Open Windows Explorer and erase all files on the USB flash drive. Type 1 at the command line, then in response to the "Enter Source Path" prompt type the location of the generated Windows files: "C:\Program Files\pebuilder313\bartpe". Enter 2 at the command line, and provide the drive letter for the USB flash drive (for example E:). Start the installation by typing 5, then 1. The notification "Installation completed" appears when that process is complete. The USB flash drive is ready for use. If the PC won't boot from this drive, install a RAM disk as explained under the heading "RAM Disk for boot problems" that appears later in this article.

Using Your USB Flash Drive

There are many uses for your USB flash drive with Windows XP in emergency situations. Here are a few of the most important examples:

Virus Recognition And Elimination

Boot Bart PE from the USB flash drive, then start the virus scanner Stinger by selecting "Go, Programs, McAfee Stinger" from the menu. Use the "Add" and "Browse" controls to define the scanner's search targets. By repeatedly clicking on "Add", you can add additional path designations. To make sure Stinger checks the boot sectors, activate the "Boot sectors" option.
Stinger attempts to disinfect any infected files, if you elect the "Repair" option in the "On virus detection" field. If you elect the "Scan self extracting executables" option in the "Detection" field, you can also make sure the program will detect any compressed viruses hidden in executable files.

Back Up Disk Partitions



Drive-Snapshot: The trial version offers limited functionality, and can only capture disk images in the first 30 days after installation.
One uses Drive Snapshot to back up entire drives. The first time you start this program, it checks the calendar date. When the installed version ages past the trial use period, the tool's functionality becomes more limited. But you can install the commercial version any time you like. Grab the latest release fromwww.drivesnapshot.de/en/ . Copy the file named "snapshot.exe" into the folder named "C:\Program Files\pebuilder313\plugin\snapshot". Then, run the "peinst.cmd" batch file from the "C:\Program Files\pebuilder313\plugin\peinst" to write Barts PE Builder onto the USB flash drive.
Launch Drive Snapshot using menu entries "Go, Programs, Drive ShapShot" and click on the entry that reads "Backup Disk to File". That way you can capture a snapshot of the contents of one drive onto another. In the upper window, mark the partition you'd like to back up, then click "Next". In the next window, specify a storage location for the image file - for example, on an external USB drive. Enter a filename, then click on "Browse" to select a designation folder where the image file should be placed.
Click on "Advanced Options". In the field labeled "Maximum image single file size" you can set the maximum size for individual data parcels from the image file. For example, if you pick a size of 700 MB, it then becomes possible to distribute the image across multiple CDs.
Click on "Start Copy" to kick off the backup process. Test the completed image file: it should appear as a virtual disk drive, complete with drive letter. Then, click the main menu entry labeled "View contents of saved Disk Image" and pick a drive letter. Open the Total Command utility and use its "Map and Explore Virtual Drive" to inspect its contents.
The complete backup take the form of one or more SNA files, that you can even use with Nero to burn to a CD or DVD. Should a system crash ever occur, you can use the "Restore Disk from File" command to recreate the contents of that drive at the time the snapshot was taken.

File Rescue

The Total Commander utility also includes a pretty quick file manager with an integrated FTP client and compression software at your disposal. Start this program using the menu sequence "Go, Programs, Total Commander". Total Commander presents the contents of two disk drives, each in one half of its program window. You can use simple drag and drop moves to copy files from one drive to the other. For NTFS formatted drives, you'll also get a pop-up window that asks if you want to also "Copy NTFS permissions" - if you like, this lets you transfer the original permission settings along with the files. You can use this technique to rescue important files from a defective Windows installation and even retain secured copies of important documents on your USB flash drive. If you run low on storage space, use the integrated ZIP tool to compress files you want to rescue. Mark this files by pressing the [Strg] button.

Hard Disk Repair

If your PC won't boot, that might indicate a damaged or defective sector on your hard disk. Check the drive using the Windows Checkdisk tool, which is accessible on your flash drive through the "Go, System, Storage, Check Disk" menu sequence.
If you want to verify your PC's boot drive, enter "C:" when prompted to "Enter drive:". Answer the "locate sectors..." query by striking the Y key, to instruct Checkdisk to find defective sectors and attempt their repair. Strike the Y key one more time to launch the disk check. If repairs on damaged sectors fail, Checkdisk writes the readable contents of all such sectors to files, and stores them in the root directory of the checked drive. On a partially defective drive, there's still a good chance that you can save at last portions of the damaged files.
Rescue the saved files and sector images once the scan has completed by copying them to your flash drive. Should Checkdisk repair the defective sectors, you can keep using that disk drive. But should such problems recur in a short period of time, you'll want to replace that drive immediately thereafter.

RAM Disk For Boot Problems

When the computer won't boot from the USB flash drive, it's often because the motherboard initializes all USB ports during start-up. A RAM disk often provides an effective remedy in such cases.
A RAM disk works like a virtual disk drive and copies all of the files from the flash drive during boot-up, before it's fully initialized. That RAM disk also replaces the flash drive as the boot medium. To use a RAM disk you need Service Pack 1 for Windows Server 2003 (free) and the program Pe2usb.cmd (Freeware). Download Service Pack 1 (it's approximately 350 MB in size) into a folder of your choosing (for example, C:\server2003sp1". Create a subdirectory in your PE Builder folder ("C:\Program Files\pebuilder313") named srsp1 and copy the file named "C:\server2003sp1\i386\setupldr.bin" into that directory.
Open a Command window using the "Start, Run..." menu sequence, typing "cmd" into the Open: dialog box, then click OK. Extract the file named "ramdisk.sy_" into the same folder as follows:
expand -r C:\server2003sp1\i386\ramdisk.sy_ \pebuilder313\srsp1
Reformat your flask drive. To do this, click through the following menu sequence "Start, All Programs, HP Company," then select the "USB Disk Storage Format Tool". Select the USB flash drive from the "Device" list, select FAT at the file system, then click "Start".
Download the "Pe2usb" tool into the PE Builder file on your hard disk ("C:\Program Files\pebuilder313". Inside Windows Explorer, navigate to that directory, then drag the file named "Pe2usb.cmd" into a Command window and drop it there. The file with a complete path specification appears on the command line. Add the drive letter for the USB flash drive to this line, then launch the command with the Enter key:
<path>\pe2usb <drive letter>:
After that, the USB flash drive is ready for booting.

Glossary: What Does It Mean?

Bart PE: This slimmed down version of Windows XP fits on a CD-ROM or a USB flash drive. If your PC won't boot from the hard disk, you can then use a CD or the USB to boot your machine. Bart PE is generated from the original files on the XP Setup CD and the program files for a number of system tools, using the PE Builder program from Bart Lagerweij. The author retains all rights to this software, but the program is free and may be used and shared according to the terms of the PE Builder license.
Boot device order: (aka "Boot device priority" in some BIOS')
This collection of BIOS settings determines which device provides boot information to a PC. During system start-up the PC loads the boot sectors from the first operational drive it finds in this list. On hard disks, this means it loads the Master Boot Record (MBR). This contains the boot loader, which ultimately loads the operating system.
FAT file system: The partition format on a hard disk derives either from a File Allocation Table or a Master File Table, and specifies which files are stored on which sectors. A FAT formatted drive can be up to a maximum of 2 GB in size.
Plug-in: This combination of an executable program's files and a configuration file serves as the installation driver for a system tool in the PE Builder environment. But the programs available when Bart PE is running are not installed after the fact as in a normal Windows runtime environment. The user must specify all such items before PE Builder generates the mini operating system known as Bart PE.
RAM disk: This software uses the main memory on a PC as a virtual drive. It provides a workaround for PCs that initialize USB flash drives as part of their boot processes. When such a workaround is needed, the PC boots from the RAM disk instead of the flash drive.

- Copyright © .Hacking Cracking Tricks And Tutorials, Paid Scripts, Latest Exploits, 0Day Vulnerability, - Skyblue - Powered by Blogger - Designed by Johanes Djogan -