If you’re at university you can get VMware Fusion (Henceforth “Fusion”) free or at a discounted price via OnTheHub.
Snapshot liberally!
Initial Setup
(Alternatively you can use vfuse by Joseph Chilcote)
- Download macOS XXX installer from App Store
- Once the download completes quit the installer
- Open Disk Utility and unmount the
InstallESD
disk image
- Open Disk Utility and unmount the
- In Fusion create a new VM via the “Install from disc or image” option
- Select the
Install macOS XXX
installer located in/Applications
- Select the
- Click “Customise Settings” at the bottom of the Finish screen
- Save the VM with an appropriate name
- The “Creating Install Media” step can take up to five (5) minutes
VM Settings
Rational: You almost certainly don’t need the camera. 2 cores and 3GB of RAM has worked well for me over the years, your mileage may vary.
- Remove Camera
- Processors & Memory
- Processors: 2 cores
- Memory: 3072MB (3GB)
- Do not enabled accelerated 3D graphics
Edit VMX File
(Not required if you’re using Fusion ≥ 11.5)
Rational: Prevents the VM from searching for a Touch ID sensor or SEP. This search introduces a delay when the system prompts for your password to carry out an action as root.
In the Virtual Machine Library (⇧⌘L):
- Right click the VM
- Press option key (⌥)
- Click “Open Config File in Editor”
Change
board-id.reflectHost = "TRUE"
to
board-id.reflectHost = "FALSE"
See Preventing macOS VM Authentication Delays for more info.
macOS Install
- Boot the VM
- Take Snapshot
- Select a language
- Select “Install macOS” option in the “macOS Utilities” window then click “Continue“
- Agree to the terms/ license
- Select “Macintosh HD” as the install disk, click “Install”
- Wait approximately thirty (30) minutes for install to finish
- Select a country
- Click through setup
- Click “Set Up Later” for Apple ID
- Agree to terms & conditions
- Create an account (Will have Administrator privileges)
- Maybe consider some #opsec if you’re going to be running malware in this VM e.g. Don’t use your real name
- At the “Express Set Up” screen click “Customise Settings”
- Disable Location Services
- Select your time zone
- Disable all analytics
- Take Snapshot
Install VMWare Tools
- Virtual Machine > Install VMware Tools
- Take Snapshot
- Click “Install”
- Double click “Install VMware Tools” package
- Follow the installer instructions (the defaults are all fine)
- When the “System Extension Blocked” window appears click “Open Security Preferences”
- Click “Allow”
- Click “Restart”
- Once the VM restarts if the display resolution doesn’t automatically adjust you’ll need to install VMware Tools again and restart the VM
macOS Configuration
Optional: Will probably make your lifer easier, basically stops the VM going to sleep.
- System Preferences > Desktop & Screen Saver > Screen Saver
- Set “Start after” to “Never”
- System Preferences > Energy Saver
- Set “Computer Sleep” & “Display Sleep” to “Never”
- Uncheck “Put hard disks to sleep when possible”
- System Preferences > Security & Privacy
- Uncheck “Require password x minutes after sleep or screen saver begins”
Third Party Tools
- Hopper Disassembler
- The Unarchiver
- Sublime Text
- jtool2
- Suspicious Package
- FireEye Monitor
- Doesn’t work on Catalina (
10.15.x
)
- Doesn’t work on Catalina (
- Crescendo
- Only works on Catalina as it uses the Endpoint Security Framework (ESF)
- Remember to grant Full Disk Access
- Appmon
- Only works on Catalina as it uses the ESF
- ProcessMonitor
- Only works on Catalina as it uses the ESF
- FileMonitor
- Only works on Catalina as it uses the ESF
Builtin Tools
fs_usage
codesign
pkgutil
dtrace