WinHex White Paper
WinHex White Paper
WinHex
Computer Forensics, Data Recovery, and IT Security Tool.
White Paper
http://www.winhex.com/winhex/WinHex_White_Paper.pdf
Contents
1 Feature Overview................................................................................................................................ 1
1.1 In a Nutshell ................................................................................................................................. 1
1.2 Details .......................................................................................................................................... 1
1.3 Technical Information.................................................................................................................. 4
• Disk editor for hard disks, floppy disks, CD-ROM & DVD, ZIP, Smart Media, Compact Flash
memory cards, and more.
• Powerful directory browser for FAT12, FAT16, FAT32, and NTFS.
• RAM editor, providing access to other processes' virtual memory
• Data interpreter, knowing 20 data types
• Editing data structures (e.g. partition tables, boot sectors) using templates
• Concatenating and splitting files, unifying and dividing odd and even bytes/words
• Analyzing and comparing files
• Particularly flexible search and replace functions
• Drive cloning (tolerates physically damaged source sectors)
• Drive images (optionally compressed or split into e.g. 650 MB archives)
• Scripting. Application programming interface. Professional and Specialist license only.
• Sophisticated undo and backup mechanism.
• Various data recovery mechanisms.
• 128-bit encryption. Hashing: checksums, CRC16, CRC32, MD5, SHA-1, SHA-256, PSCHF.
• Erase (wipe, shred) confidential files or entire hard drives securely.
• Import of all clipboard formats, incl. ASCII hex values.
• Conversion formats: Binary, Hex ASCII, Intel Hex, and Motorola S.
• Character sets: ANSI ASCII, IBM ASCII, EBCDIC, (Unicode).
• Instant window switching.
• Printing.
• Random-number generator.
• Supports files and disks of virtually any size (> 2 GB).
• Very fast. Easy to use. Extensive online help.
Having all the bits and bytes in a computer at your fingertips has become a reality. WinHex is a
universal hexadecimal editor, and at the same time possibly the most powerful system utility ever.
Available in English, German, French, Spanish, Portuguese, and Italian!
1.2 Details
• Analyzing files
e.g. to determine the type of data recovered as lost cluster chains by ScanDisk or chkdsk.
Examples. Tools | Analyze File
1
• Wiping confidential files or disks
...so no one (not even computer forensics specialists) will be able to retrieve them. To securely
erase a file, use File Manager | Delete Irreversibly. For disk wiping, open the disk with the disk
editor and use Edit | Fill Disk Sectors. E.g. fill with zero bytes (hexadecimal value 00) or random
bytes.
• RAM editor
e.g. for debugging purposes (programming), for examining/manipulating any running program and
in particular computer games (cheating). Tools | RAM Editor
• Binary, Hex ASCII, Intel Hex, and Motorola S conversion, Unifying and dividing odd
and even bytes/words
e. g. for (E)PROM programmers. Edit | Convert. File Manager | Unify/Dissect
2
surprised to find text deleted long ago in your .doc files. Maybe text that you really do not wish to
be seen by the person you are going to pass the .doc file to? Discover what various software
programs save in their files. Study unknown file formats and learn how they work. Investigate e.g.
how executable files are structured and how they are loaded in RAM. The possibilities are
practically unlimited. Here is another important one:
• Manipulating text
...that one is not supposed to edit, e.g. in binary files. It is not convenient, but possible to translate
practically any software into another language by editing text in the executable files, e.g. if the
source code is not available (e.g. lost). Or you would like to edit text in files of a certain binary
type that the native application does not let you modify.
• Undo
When editing manually or using any command, be able to reverse your steps. Edit | Undo
3
interface for random access to files and disks (at the sector level). The provided functions are
similar to the scripting commands. Details
• Data recovery
for erroneously deleted files or generally after an experienced loss of data. Can be done manually
(see undeleting files) or automatically. There are automatic recovery modes for FAT12, FAT16,
FAT32, and NTFS drives. On FAT drives, WinHex can re-create entire nested directory structures
in a few seconds (details here). One recovery mode requires just filename patterns to be entered,
another one recovers all files of a certain type at a time (“file recovery by type”, supported file
types: jpg, png, gif, tif, bmp, dwg, psd, rtf, xml, html, eml, dbx, xls/doc, mdb, wpd, eps/ps, pdf,
qdf, pwl, zip, rar, wav, avi, ram, rm, mpg, mpg, mov, asf, mid). In particular owners of digital
cameras quite often encounter problems with their media. WinHex is likely to help with this
automated function that profits from the existence of file headers (characteristic signatures at the
beginning of a file) on a disk. Tools | Disk Tools | File Recovery
• 128-bit encryption
to make files unreadable by others. Edit | Convert
• Checksum/digest calculation
to make sure a file is not corrupt and was not manipulated, or to identify common known files.
Tools | Calculate Hash.
4
2 WinHex as a Computer Forensics Tool
This chapter particularly targets computer investigative specialists in private enterprise and law
enforcement.
2.1 In a Nutshell
WinHex is a powerful hexadecimal file, disk, and RAM editor, but in fact it is even more than that.
WinHex is also designed to serve as a low-level cloning, imaging, and disk analysis tool. WinHex
is able to clone/image most drive formats, and supports drives and files of virtually unlimited size
(terabytes on NTFS volumes!). It integrates various checksum and digests algorithms, including
the common 128-bit MD5 message digest and even 256-bit strong one-way hashes to ensure
absolute data authenticity and an uncompromised evidentiary procedure.
WinHex performs safe recoveries on hard disks, floppy disks, ZIP, JAZ, PC Card ATA flash disks,
and more. WinHex is able to create true mirrors (including all slack space) of most media types. It
incorporates sophisticated, flexible and lightning-fast search functions that you may use to scan
entire media (or image files), including slack, for deleted files, hidden data and more. Via physical
access, this can be accomplished even if a volume is undetectable by the operating system e.g. due
to an unknown or corrupt file system.
2.2 Details
• Disk Editor, File Editor, RAM Editor
WinHex is an advanced binary editor that provides access to all files, clusters, sectors, bytes,
nibbles, and bits inside your computer. It supports virtually unlimited file and disk sizes up to the
terabyte region (thousands of gigabyte)! Memory usage is minimal. Speed of access is top-notch.
5
Besides, a simple DOS-based hard disk cloning tool is included. Most Windows environments
tend to access a newly attached drive without asking, thereby e.g. altering the last access dates of
some files. This is avoided under DOS. X-Ways Replica Specialist license only.
6
• Media Details Report Specialist license only.
Shows information about the currently active disk or file and lets you copy it e.g. into a report you
writing. Most extensive on physical hard disks, where details for each partition and even
unallocated gaps between existing partitions are pointed out.
• Data Interpreter
Knows all integer types, floating-point types, date formats, assembler opcodes, and more, and
converts in both directions. (Details)
• Data Analysis
Find out what kind of binary data you are dealing with. (Details)
7
stored at that particular offset, if any)
That means you are now able to systematically search multiple hard drives and disk images in a
single pass for words like street synonyms for drugs, alternative spellings, names of known dealers,
at the same time! This will narrow down the examination to a list of files upon which to focus.
• Position Manager
Save logged occurrences of search strings or otherwise important addresses within files or disks as
bookmarks for later use. Archive bookmark collections as dedicated position files or export them
as HTML tables (for use in MS Excel etc.).
• Data Recovery
With its sophisticated disk editor, WinHex not only provides for manual file recovery. WinHex is
also able to automatically recover files. There are three data recovery mechanisms integrated:
1. “File Recovery by Name”: Simply specify one or more file masks (like *.gif, John*.doc, etc.)
and let WinHex do the rest. Works on FAT12, FAT16, FAT32, and NTFS.
2. File recovery by type: WinHex can recover all files that can be recognized by a certain file
header (e.g. JPEG files, MS Office documents). This works on all file systems, even on raw
physical disks with no healthy file system at all. (Details)
3. There is a special automatic recovery mode for FAT drives, accessible via the Access button
menu, which is able to re-create entire nested directory structures. (Details)
8
imaging are essential for data recovery and computer investigative purposes.
• Risk-Free Work
In a data recovery scenario, it is mandatory to know that working on damaged media directly can,
and often does, result in the compounding of physical damage and/or corruption of the logic. Using
WinHex to clone or image a disk enables you to work aggressively on a mirror without the
possibility of making matters worse.
• Investigative Analysis/Discovery
In the realm of computer forensics, there is no alternative to disk cloning/imaging. An investigator
must clone a disk before starting the analysis. Cloning/imaging ensures that the original media is
unchanged, both by checksum and digest (MD5) confirmation, and the evidentiary procedure is
uncorrupt.
• Disk Spanning
When imaging to a file, if the target media is smaller than the image file, you may prefer to pre-set
a volume size. E.g. when using CD-Rs to store an image you can indicate a 650 MB volume size.
This allows you to burn the individual volumes created by WinHex using your regular burning
software.
• Restoration
You can recreate an entire image or any portion of that image. For instance, if you ever wish to
restore only the boot sector of a drive, you can extract only this sector without having to wait for
the entire image to restore.
3 About X-Ways
X-Ways Software Technology AG Web: http://www.x-ways.net
Carl-Diem-Str. 32 Product homepage: http://www.x-ways.net/winhex/
32257 Bünde Ordering: http://www.x-ways.net/winhex/order.html
Germany Support forum: http://www.winhex.net
Fax: +49 721-151 322 561 E-mail address: [email protected]
X-Ways Software Technology AG is a stock corporation incorporated under the laws of the
Federal Republic of Germany, originally founded in Munich. WinHex was first released in 1995.
WinHex 11.25 was released in January 2004. WinHex runs on Windows 95, Windows 98,
Windows Me; Windows NT 4.0, Windows 2000, and Windows XP. Further reading: WinHex
manual (http://www.x-ways.net/winhex/winhex.pdf)
WinHex Pricing:
Base License Each Additional License
Professional EUR 75.90 / USD 93 EUR 45.90 / USD 56
Specialist EUR 124.90 / USD 153 EUR 72.90 / USD 89
(subject to change)
9
Excerpt from our customer list (referenced by name with permission): law enforcement and
government agencies (e.g. the German national customs investigation service, the Australian
Department of Defence), military units in various NATO countries, national institutes (e.g. the Oak
Ridge National Laboratory in Tennessee, USA), the Technical University of Vienna, the Technical
University of Munich (Institute of Computer Science), Microsoft Corp., Hewlett Packard, Toshiba
Europe, Siemens AG, Siemens Business Services, Siemens VDO AG, Infineon Technologies Flash
GmbH & Co. KG, Ontrack Data International Inc., National Semiconductor, Lockheed Martin,
BAE Systems, Ericsson, Seoul Mobile Telecom, Visa International, German Aerospace Center,
and many other companies and scientific institutes.
Related products:
Evidor – Electronic evidence acquisition X-Ways Replica – Disk cloning under DOS
X-Ways Trace – Browser log files deciphered X-Ways Security – Reliable erasure
Davory – Data recovery made easy
10