@night 1803 access accessdata active directory admissibility ads aduc aim aix ajax alex levinson alissa torres amcache analysis anjp anssi answer key antiforensics apfs appcompat appcompatflags applocker april fools argparse arman gungor arsenal artifact extractor attachments attacker tools austin automating automation awards aws azure azuread back to basics backstage bam base16 best finds beta bias bitcoin bitlocker blackbag blackberry enterprise server blackhat blacklight blade blanche lagny book book review brute force bsides bulk extractor c2 carved carving case ccdc cd burning ceic cfp challenge champlain chat logs Christmas Christmas eve chrome cit client info cloud forensics command line computer forensics computername conference schedule consulting contest cool tools. tips copy and paste coreanalytics cortana court approved credentials cryptocurrency ctf cti summit cut and paste cyberbox Daily Blog dbir deep freeze defcon defender ata deviceclasses dfa dfir dfir automation dfir exposed dfir in 120 seconds dfir indepth dfir review dfir summit dfir wizard dfrws dfvfs dingo stole my baby directories directory dirty file system disablelastaccess discount download dropbox dvd burning e01 elastic search elcomsoft elevated email recovery email searching emdmgmt Encyclopedia Forensica enfuse eric huber es eshandler esxi evalexperience event log event logs evidence execution exfat ext3 ext4 extended mapi external drives f-response factory access mode false positive fat fde firefox for408 for498 for500 for526 for668 forenisc toolkit forensic 4cast forensic lunch forensic soundness forensic tips fraud free fsutil ftk ftk 2 full disk encryption future gcfe gcp github go bag golden ticket google gsuite guardduty gui hackthebox hal pomeranz hashlib hfs honeypot honeypots how does it work how i use it how to howto IE10 imaging incident response indepth information theft infosec pro guide intern internetusername Interview ios ip theft iphone ir itunes encrypted backups jailbreak jeddah jessica hyde joe sylve journals json jump lists kali kape kevin stokes kibana knowledgec korman labs lance mueller last access last logon lateral movement leanpub libtsk libvshadow linux linux forensics linux-3g live systems lnk files log analysis log2timeline login logs london love notes lznt1 mac mac_apt macmini magnet magnet user summit magnet virtual summit mari degrazia mathias fuchs md viewer memorial day memory forensics metaspike mft mftecmd mhn microsoft milestones mimikatz missing features mlocate mobile devices mojave mount mtp multiboot usb mus mus 2019 mus2019 nccdc netanalysis netbios netflow new book new years eve new years resolutions nominations nosql notifications ntfs ntfsdisablelastaccessupdate nuc nw3c objectid offensive forensics office office 2016 office 365 oleg skilkin osx outlook outlook web access owa packetsled paladin pancake viewer path specification pdf perl persistence pfic plists posix powerforensics powerpoint powershell prefetch psexec py2exe pyewf pyinstaller python pytsk rallysecurity raw images rdp re-c re-creation testing reader project recipes recon recursive hashing recycle bin redteam regipy registry registry explorer registry recon regripper remote research reverse engineering rhel rootless runas sample images san diego SANS sans dfir summit sarah edwards saturday Saturday reading sbe sccm scrap files search server 2008 server 2008 r2 server 2012 server 2019 setmace setupapi sha1 shadowkit shadows shell items shellbags shimcache silv3rhorn skull canyon skype slow down smb solution solution saturday sop speed sponsors sqlite srum ssd stage 1 stories storport sunday funday swgde syscache system t2 takeout telemetry temporary files test kitchen thanksgiving threat intel timeline times timestamps timestomp timezone tool tool testing training transaction logs triage triforce truecrypt tsk tun naung tutorial typed paths typedpaths uac unc understanding unicorn unified logs unread updates usb usb detective usbstor user assist userassist usnjrnl validation vhd video video blog videopost vlive vmug vmware volatility vote vss web2.0 webcast webinar webmail weekend reading what are you missing what did they take what don't we know What I wish I knew whitfield windows windows 10 windows 2008 windows 7 windows forensics windows server winfe winfe lite winscp wmi write head xboot xfs xways yarp yogesh zimmerman zone.identifier

Daily Blog #242: How to build WinFe to add to the Multiboot Thumbdrive

Hello Reader,
           If you've played around with our Multiboot Thumbdrive image you've no doubt thought about expanding it to make it even more awesome! One of those boot images we'd like to offer prebuilt is WinFE but licensing restrictions prevent us from doing that. So we decided to go put up our tested instructions written by Kevin Stokes in our office for getting WinFE built and loaded on to the Multiboot Thumbdrive. Next week I'll be posting Kevin's write up on building WinFE Lite as well.



Prerequisites:
1.       Create a Folder called “WinBuilder” at the root directory.  So “C:\WinBuilder”
2.       Download WinBuilder -- http://reboot.pro/files/file/4-winbuilder/
a.       Place this file in the WinBuilder file created in Step 1.
b.      Once executed, a “Projects” folder will be created, as well as “WinBuilder.ini”
3.       Download and extract the WinBuilder Write Protect Script -- http://www.ramsdens.org.uk/repository/winbuilder/WP.zip
4.       VMWare Player (Optional for testing, but you should test!) -- http://www.filehippo.com/download_vmware_player/download/9ec2395bb8eecf20e1295355adb2dc23/
5.       Window 7 install DVD – I used Win 7 Ultimate
a.       32 bit is recommended for compatibility with older systems.
b.      Make a folder, in the WinBuilder folder, called “WindowsDVD” and copy the contents of the DVD to this directory (Optional, to save some time later)
c.       Alternatively, use an ISO of the install DVD and mount it with an ISO mounter.  This is my method of choice.  I used Elaborate Bytes Virtual CloneDrive.


Set up Winbuilder:



Once Winbuilder is running, you will need to download the project “Win7pese.cwcodes.net”.  The name could be changed, so If you’re unsure which project to get, select it, then select the main Project folder in the left pane to read the description of the project in the right pane.  You may leave out some languages if you wish, English is not listed since that is the default.  It is safe to leave something checked if you’re unsure of what it does.  You’re just downloading at this time, not building.  Once you’re sure of what to get, press the “Download” button at the bottom of the left pane.

There are several things to consider at this point.  For this discussion, I’ll keep things pretty minimal:
11.       We should now manually add the write protect script we downloaded to the materials WinBuilder downloaded for us.  Navigate to “C:\Projects\Win7PESE\Tweaks” and add the script directly to this folder.  Now close WinBuilder and re-open it.  There should be an entry in the Tweaks folder for the script.  It will likely be in a separate Tweaks folder, which is okay.  Make sure it is checked.

22.       Now select, “Images configuration” in the left pane.  Here you will set up:
a.       Check “Always use WIMMount Driver” 
As it mentions, this process can be slow, as it will be reading from the DVD or DVD image.  However, if you have mounted the ISO of the DVD or made a copy of the information from the DVD to the “WindowsDVD” directory as mentioned in the prerequisites, which will speed it up some.
b.      Check “Show Wim Tools progress”

33.       If you have copied the DVD contents to “WindowDVD”, select the Sources button, then show WinBuilder where the “Source directory” is for the Windows 7 DVD folder. 
a.       If you are mounting an ISO of the DVD, then simply point to its drive letter.


 


 

44.        (Optional) In the left pane, expand the listing for “VirtualTest”.  This will allow WinBuilder to open up the newly created image VMWare Player (if you installed it) to test it.  Feel free to try other selections.

55.       (Optional)  Go through the listings and make other adjustments that you would like.  Below, I made an addition to this walk-through to mention a few things I changed in my final version.  Keep in mind, however, that building can be a delicate process that can take many attempts to get right.  The more you add, the bigger your build and the better chance for errors.  If you come across a system without much RAM, it could be bulky and slow or not run.  I prefer to keep it simple and add extra utilities to another thumb drive, which can be mounted after booting into WinFE.
a.       WinBuilder will halt on errors.  Though it does keep logs of the activity and will show you where a problem occurred.  I would advise running it first with this basic build to see what it should do, then slowing adding features that you like. It would make troubleshooting much easier. 
66.       Now you’re ready to build!  Just select the “Play” button at the top of the window.
a.       If you get errors, you may have to make adjustments. After you make adjustment, go to the “Main Configuration” link and select “Clean Temporary files”.  This will clean out actions in the Temp folder from the previous build attempt. 

b.      The ISO will be automatically named “Win7PE_x86.ISO”, if you followed this guide.  I will rename mine to “Win7FE_x86.ISO” so I don’t confused it later on.
c.       Here is what the boot screen will look like.

d.      After loading Win7PESE, the Write Protect tool will start.

e.      Set up the Write Protect functions, add drivers, and get other disk information.

f.        After you select continue, WinFE loads up




Adjustments I made:
11.       When booting there is only a 5 second timeout for the boot screen.  It does boot into WinFE by default, but I prefer to control the actions at boot.  I did not find a good way to manage the timer through WinBuilder, however.  So, I opted to edit the boot options manually.  Here is what you can do this with.
a.       Download WinISO and install -- http://www.winiso.com/user/download/winiso.exe
b.      Open WinISO, select “Open File”, navigate to the path for your new ISO (c:\WinBuilder\ISO\), and select “Win7FE_x86.ISO”
c.       Select WIN7PESE (with the ISO icon next to it), in the left pan
d.      In the File List pane, right-click “MENU.LST” and select Extract, save in a place you are familiar with. Leave WinISO running.
e.      In Notepad, or another editor, open MENU.LST.  Delete the line “timeout 5”, or you can adjust the 5 to something longer like 20.  Whatever you like.  Deleting the line will disable the timer.
f.        Go back to WinISO, delete or rename the original MENU.LST, select “Add Files”, and add the new MENU.LST that you edited.
g.       Once added, select the “Save” button and confirm overwriting.
h.      Now you can test it in VMWare Player to make sure it is working properly.
i.         ** You can likely add standalone apps using this tool, but I have not done this.  I prefer to keep this simple and use standalone tools in another location.
22.       You can change the Wallpaper using WinBuilder.  The script is in the Tweaks folder.
33.       An IE 8 script is available in WinBuilder, in the Components folder.  Though after trying this out, I opted to get the portableapps version of Firefox to run from a separate source.
44.       There is a Drivers folder in WinBuilder that would allow for extra support.  USB 3.0 Support can be handy.  Add drivers as needed

Multiboot:
The final version of my WinFE image was added to a 32GB multiboot/multipartition thumb drive that I created for adding to a forensic go bag.  Check out David Cowen’s Daily Blog #228 for details to download this thumb drive image and get it up and running.


Expect a video next week showing how to add this to the Multiboot Thumdrive
Labels: ,

Post a Comment

[blogger][disqus][facebook][spotim]

Author Name

Contact Form

Name

Email *

Message *

Powered by Blogger.