Project Scripts

The MistyPE project scripts can currently be divided into seven distinct sections -

The majority of the configurable options are contained in the main project file. The screenshots below display these options (clicking on the HELP button from within the project displays information about what the individual options do) -




Core Scripts

This section contains two script actually visible to the end user -

Screenshot of LaunchBar running in MistyPE -


Essential Scripts

The following are all what I consider Essential scripts - the majority of which do not require any external programs to be added. These scripts can be enabled or disabled as required, with the exception of the FileManager script which is mandatory -


Program Scripts

The following lists all of the program scripts that are included in MistyPE. The majority of these applications are either included in the download or are downloaded from the internet on first run and cached for later use. You will need to provide your own files for use with the aida64, Ammyy Admin, Ghost, PartitionGuru, PTEDIT and WinHex scripts.

The wallpaper, aida64, Ammyy Admin, Ghost, PartitionGuru, PTEDIT and WinHex scripts contain additional options and you will need to edit the file paths as required to include these programs. The remaining scripts can be selected or deselected as required.


WinFE

The WinFE script must be enabled to add the registry entries required to convert WinPE for use as a windows based Forensic Environment (WinFE). A range of options are included in this script so that different combinations of SANPolicy and NoAutoMount settings can be used. These settings can stop any hard disks attached to the system from being auto mounted, however it is possible to mount disks as required from the command-line (via Diskpart). If you require read/write access to disks during the boot process then do not select this script.

The MistyPE/Mini-WinFE projects include the following tools that can be used to easily change disk attributes (Read-Only / Read-Write and OFFLINE / ONLINE) -

Either of the above programs can be used to mount a disk so that it can be written to - e.g. to copy an internal disk to an external disk. Care should be taken as it's also possible to remove the readonly flag from internal (evidence) disks - something that is not possible when using Diskpart in WinFE 4.0/5.0 systems.

In addition to the WinFE script, this section also includes the programs listed below, two of which (FTK Imager and X-Ways Forensics) contain additional options - you will need to edit the file paths as required to include these programs.


Shell.Then.End

A Shell is another term for the operating systems user interface (or UI). The default WinPE shell is the Windows Command Shell - a command-line user interface. This project uses the BlackBox Lean (version 1.17.1) shell to provide a menu driven UI. This script also contains additional options for LaunchBar.

Although the BBLean script is the only one visible to the user, another (hidden) script is executed to either repack boot.wim (if the EXTRACT method is selected) or add the amended files to an existing boot.wim (if the INJECT method is selected).


Boot.Media

The scripts in this section can either be selected during the build process, or can be executed independently afterwards - as long as the build completed successfully. Files in the %BaseDir%\MistyPE.Project.Output\ directory (where %BaseDir% refers to the directory from which WinBuilder.exe is running) are used.

Please note that the Create USB and Create USB (GPT UEFI) scripts will not work if you are running the project on a Windows 2000/XP/2003 Operating System - if any of these operating systems are detected the script will abort..

To execute any of the Boot.Media scripts simply select the required script and click on the small green play button to the right of the scripts icon -

If using the PEBakery builder, click on the Run Plugin button to the right of the title bar -


Tools

The majority of the scripts in this section cannot be executed during the build process and are designed for pre/post processing - the exception is the Test in QEMU script.

To execute any of the Tools scripts simply select the required script and click on the small green play button to the right of the scripts icon -

If using the PEBakery builder, click on the Run Plugin button to the right of the title bar -

Document date - 20th January 2018