Order now, get prices:
  Use credit card
 
  By bank transfer
 
Products
 
Find out more about X-Ways Forensics X-Ways Forensics
Integrated computer forensics software
 
Find out more about X-Ways Investigator X-Ways Investigator
Investigator version of X-Ways Forensics
 
Find out more about WinHex! WinHex
  More information
  License types
  Upgrade
  Forensic features
  All features
 
Find out more about X-Ways Imager X-Ways Imager
Disk imaging
 
Find out more about X-Ways Capture X-Ways Capture
Seize evidence
 
Find out more about X-Ways Trace X-Ways Trace
User activity
 
Find out more about Davory Davory
Data recovery
 
Find out more about X-Ways Security X-Ways Security
Permanent erasure
 
Services
 
Training
 

 
Contact X-Ways Contact X-Ways
Support forum
 
Corporate info Corporate info
Find us on Facebook Find us on Facebook
  X-Ways Software Technology AG
Deutsch
 
 

WinHex/X-Ways Forensics: Installation Details

The following information shall help you tailor your installation of WinHex/X-Ways Forensics or automate the installation on multiple machines (e.g. in a network). Please consider the license agreement and the number of licenses purchased.

Platforms

WinHex and X-Ways Forensics can be run under Windows 2000/XP/2003 Server/Vista/2008 Server/7, 32-bit and 64-bit. No testing has been done under Windows 2000, Windows 98/Me any more for years, and compatibility with Windows 98/Me version has been lost gradually since around v12/v13. The last version to run on Windows 3.1x was v7.54. Old versions are available to registered users on request.

System optimization

WinHex/X-Ways Forensics/X-Ways Investigator are not resource hungry at all! You can execute these programs on old computers running Windows 2000, with 256 MB RAM and 1 GB free hard disk space. With just 512 MB RAM you can already open and analyze volumes with around 5 million files! Good to know if you ever have to run it on live systems that you encounter on site, to preview them.

The following are tips for highest performance, in no particular order:

  • The higher the processor frequency, the better.

  • 2 processor cores are better than 1, 4 better than 2, in many situations.

  • Use a 64-bit Windows version. If a 32-bit version, run Windows with the /3GB switch.

  • Use > 4 GB of RAM. 4 GB can be addressed directly under 64-bit Windows, 3 GB under 32-bit Windows. More indirectly.

  • Within the above limits, the more RAM, the larger volume snapshots are supported (i.e. volumes with many files).

  • Under low memory conditions with large volume snapshots, have XWF keep less data in memory (see Volume Snapshot Options) and don't open many evidence objects that contain many files at the same time if you don't have to (volume snapshot refinements and simultaneous searches can open the evidence objects themselves on demand when needed, and automatically close them again).

  • Do not permanently and unnecessarily collect millions of search hits. If you get too many search hits with too unspecific search terms, delete search hits that you don't need any more, to free up memory.

  • On a terminal server with multiple users, even more cores and more RAM make sense.

  • If possible, don't store cases and images on the same disk.

  • If possible, don't store temporary files and images on the same disk.

  • Use faster disks, with a higher data transfer rate and quicker access.

  • Store images on a RAID instead of on a disk, for a higher transfer rate.

  • Avoid using media that are connected via USB.

  • Format your own volumes with NTFS, not FAT.

  • Don't use NTFS encryption (EFS) or NTFS compression.

  • Use a large cluster size such as 16 KB or more for the volume that will hold your images. 

  • Don't use compressed .e01 evidence files created with tools other than X-Ways Forensics (avoid normal or strong compression).

  • Avoid an active virus scanner in the background if you can.

  • v15.9 and earlier only: Don't select all file types for file carving  (file header signature search) if you don't have to.

  • For simultaneous searches, use GREP syntax instead of the simple wildcard option.

  • For simultaneous searches with 4 or more keywords, use v15.9 or later.

  • For indexing, don't include more characters and shorter or longer word lengths than absolutely necessary. Don't index substrings unless absolutely necessary.

  • Defragment the hard disks to analyze before imaging them. Stop, that was a joke! Rumour has it a well-known computer forensics service company in the US actually did this a few years ago before acquiring and analyzing the disk.

Differences between WinHex and X-Ways Forensics, co-existence between both programs

WinHex and X-Ways Forensics share the same code base. X-Ways Forensics offers numerous additional features over WinHex with a license. With a license for X-Ways Forensics, you can alternatively also use WinHex with the same license (and the same dongle). Both programs then offer the same full forensic feature set and are identical except for the following:

  • WinHex (winhex.exe) always identifies itself as WinHex in the user interface, X-Ways Forensics (xwforensics.exe) as X-Ways Forensics. The program help and the manual, however, statically refer to "WinHex" in most cases. 
  • winhex.exe is available as a separate download for users of X-Ways Forensics as an add-on. When adding winhex.exe to an X-Ways Forensics installation, the versions must match, which is safe to assume if both were downloaded at the same time.
  • In X-Ways Forensics, disks, interpreted image files, virtual memory, and physical RAM are strictly opened in view mode (read-only) only, to enforce forensic procedures, where no evidence must be altered in the slightest. This strict write protection of X-Ways Forensics ensures that no original evidence can possibly be altered accidentally, which can be a crucial aspect in court proceedings. Only when not bound by strict forensic procedures and/or when in need to work more aggressively on disks or images (e.g. you have to repair a boot sector) then you could run WinHex instead. With WinHex you can edit disk sectors and wipe entire hard disks, free space, or slack space.
  • The WinHex API can only be used in conjunction with WinHex. 
Setup Program

Actually it is not necessary to install WinHex/X-Ways Forensics using the supplied setup.exe program. This installation program only copies the shipped files to the destination folder (plus all .whx files it finds), sets the desired language (English, German, French, Spanish, Italian, or Portuguese), and creates a program shortcut in the start menu. All other settings are initialized by winhex.exe/xwforensics.exe itself.

However, it is recommended to use the setup program to update an existing installation because it will warn you in case the new version would no longer accept the existing license codes, before actually overwriting the fully working existing installation.

Configuration File

The WinHex.cfg file contains the settings (options, filters, paths, ...). It is created by WinHex/X-Ways Forensics automatically if no generic configuration file and no user-specific WinHex [username].cfg exists on program execution. The insertion of the username (as of v13.2 SR-5) guarantees that different users can share the same installation but have individual settings. Note that there must be a space character before the username. If a generic file WinHex.cfg exists (i.e. without a username), that file will be used instead for all users who do not have an individual .cfg file. If no configuration file is found at all, the configuration is initialized with default values that may be language-specific. The default language is English. To force WinHex/X-Ways Forensics to initialize itself with a different language, create an empty file winhex.ger, winhex.fr, winhex.esp, winhex.ita, or winhex.por in the installation directory.

Registry Configuration

Alternatively, each user can have an individual configuration (own case folder, own folder for image files, and all other settings) in his/her system registry. That way the usage of the WinHex*.cfg files is avoided altogether.

To that end, simply create an empty file named winhex.rgt in the installation folder. If this file is found during startup, WinHex reads the configuration from the local registry instead of a .cfg file. Only if the local registry key does not yet exist, WinHex tries to read an existing winhex [username].cfg file in the installation folder. If this file does not exist either, WinHex starts with initialized settings. At any rate, if a file winhex.rgt is found when exiting, WinHex writes the configuration to the local registry. 

The registry configuration feature is available as of WinHex v9.5.

Case Data Storage

If you suffer from data loss (e.g. your case file or volume snapshot becomes corrupt), you may be able to partially or fully recover your case knowing what is stored in which file. For example, if you spent a long time already refining the volume snapshot, tagging and adding comments to files, and then the main .xfc case file is lost, you can create a new case, add the same images again, and then behind XWF's back (when it's not running or at least that case is not open) replace the Volume *.dir files with those from the original case to restore the volume snapshots, comments and tagmarks.

Volume *.dir: volume snapshot data
Volume Clusters.dir: allocation of the clusters of the file system to the files
Volume Comments.dir: examiner's comments
Volume Extensions.dir: file types encountered
Volume Extra.dir: references into SenRec.dir
Volume Filenames.dir: filenames
Volume Files.dir: file system level file metadata such as ID, size, first sector, attributes, ..., also the examiner's tag/already viewed marks
Volume Files 2.dir: metadata such as owner, SC%, pixels (separately since v15.?, previously in Volume Files.dir)
Volume Files 3.dir: timestamps (since v15.6, previously Volume Files 2.dir, before that in Volume Files.dir)
Volume Hash Values.dir: hash values
Volume Metadata.dir: metadata extracted from the file contents
Volume Search Hits.dir: search hits (since v15.3, previously in .xfc case file)
SenRec.dir: sender and recipients of e-mail encountered in the case, since v15.6
.xfc case file: everything else, e.g. report table names, report table associations, evidence objects properties, search terms that the search hits relate to

Program Files

The following files are required for proper functioning:

  • winhex.exe/xwforensics.exe (main executable file)
  • external.dll (required for some types of direct hard disk and floppy disk access)*
  • psapi.dll (required only for using the RAM editor under Windows NT/2000/XP)*
  • hi.dll (required only for picture viewing, shipped with X-Ways Forensics only, until v13.7)*
  • DevIL.dll (required only for picture viewing, shipped with X-Ways Forensics only, since v13.7)
  • Chinese.dat, Chinese2.dat (required for the Chinese user interface only, since v13.7)*
  • index*.txt (used for indexing in X-Ways Forensics)
  • zlib1.dll (since v13.7)
  • zip.dll (required only for archive handling, shipped with X-Ways Forensics only, as of v11.7)*
  • rar.dll (required only for RAR archive handling, shipped with X-Ways Forensics only, as of v11.7)*
  • zip.exe (required only for case backups, shipped with X-Ways Forensics only, as of v12.8)*
  • hash.dll (required only for faster hash computation, shipped with X-Ways Forensics, downloadable separately for WinHex here, requires a professional license or higher, as of v12.9)*
  • m.dat (X-Ways Forensics only)
  • nfi.exe (v9.7 through v10.7 only)
  • dialogs.dat (dialog resources, all languages)
  • language.dat (string resources, all languages)
  • EBCDIC.dat (EBCDIC character set support, as of v9.26)*
  • timezone.dat (flexible time zone interpretation feature, as of v12.8)*
  • winhex.hlp, winhex.cnt (English program help)*
  • winhex-d.hlp, winhex-d.cnt (German program help)*
  • winhex-f.hlp, winhex-f.cnt (French program help)*
  • File Type Signatures.txt (file type definition file for file recovery by type, as of v11.2)*
  • File Type Categories.txt (file category definition file for category view, shipped with X-Ways Forensics only, as of v11.5)*
  • Reg Report [Keys].txt (definitions for the registry report function, shipped with X-Ways Forensics only, as of v11.5)*
  • *.tpl (various sample template definition files)*
  • *.whs (various sample scripts, as of v10.0)*

*The files marked with an asterisk are not required if the specified functionality is not needed.

Viewer Component
Hash Database
The viewer component has be downloaded and decompressed separately. It is expected by default in the subfolder \viewer of the installation folder (as of v12.1). 

A hash database does not ship with X-Ways Forensics. By default, an internal hash database found in the subfolder \HashDB of the installation folder will be automatically activated in X-Ways Forensics.

MPlayer
Forensics Framer
The program MPlayer can be used in X-Ways Forensics and X-Ways Investigator to watch and extract JPEG pictures from video files since v14.8. It is expected in the subfolder \mplayer of the installation folder. The separate codec package should be extracted to the subfolder \codecs of the MPlayer installation.

Alternatively, the program Forensic Framer can be used to extract JPEG pictures from video files. It contains MPlayer.

Required Non-Shipped Files

For use of the WinHex API (WinHex 10.1 and later) in a programming language such as C/C++, Pascal, or Visual Basic, some other files are needed. Details

For direct access to CD-ROM sectors under Windows 9x/Me, the ASPI interface must be installed (wnaspi32.dll). This file is available from the Windows setup CD-ROM. However, it should already exist on most Windows installations.

WinHex does not require a specific version of comctl32.dll. WinHex does not rely on the presence any runtime library (e.g. msv*.dll).

Disk Editing

Editing/writing hard disk sectors under Windows NT/2000/XP/Vista/7 requires administrator privileges. Under Windows Vista/7 it is not sufficient to be simplified logged in as administrator. Instead, you need to explicitly run WinHex as administrator.

Bart's PE Builder

This package contains all necessary configuration files and instructions for BartPE.