mandiant / flare-vm

A collection of software installations scripts for Windows systems that allows you to easily setup and maintain a reverse engineering environment on a VM.
Apache License 2.0
6.35k stars 896 forks source link

Flare-vm Failed to Install After 1st Reboot #453

Closed makin01 closed 1 year ago

makin01 commented 1 year ago

Hello Analyst,

I am having the exact same problem, I have restarted the process over and over again but to avail, and there was no solution given to the previous ticket that was opened on this matter.

This problem starts after the 1st reboot . Please i will need some help in getting this solved. See photo below.

See the steps i followed: Download Chrome: https://www.google.com/chrome/ Download Windows Terminal: Download the VCLibs package. In a PowerShell window, run: wget https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -usebasicparsing -o VCLibs.appx

Download the Windows Terminal MSIX bundle from the provided link: wget https://github.com/microsoft/terminal/releases/download/v1.15.3465.0/Microsoft.WindowsTerminal_Win10_1.15.3465.0_8wekyb3d8bbwe.msixbundle -UseBasicParsing -o winterminal.msixbundle

In a PowerShell admin window, add the VCLibs package: Add-AppxPackage [C:\path\to\downloaded\VCLibs.appx]

In a PowerShell admin window, run: Add-AppxPackage [C:\path\to\downloaded\winterminal.msixbundle]

(Optional) Pin Windows Terminal to the task bar

Disable proxy auto detect setting: In the Windows search bar, search “proxy settings”, Switch "Automatically detect settings" button off

Disable Tamper Protection Search "Defender", open Defender settings and set all Defender Settings to off

Disable AV/Defender in GPO In Windows search bar, search "group policy" In GPO, navigate to → Administrative Templates → Windows Components → Microsoft Defender Antivirus → Enable “Turn off Microsoft Defender Antivirus”

Disable Windows Firewall GPO → Administrative Templates → Network → Network Connections → Windows Defender Firewall → Domain Profile → Disable “Protect All Network Connections” Do the same but for the Standard profile

TAKE A SNAPSHOT! Download and install FLARE-VM: In PowerShell Admin prompt, run: (New-Object net.webclient).DownloadFile('https://raw.githubusercontent.com/mandiant/flare-vm/main/install.ps1',"$([Environment]::GetFolderPath("Desktop"))\install.ps1%5Cinstall.ps1)") Change directories to the Desktop Run: Unblock-File .\install.ps1 Run: Set-ExecutionPolicy Unrestricted Accept the prompt to set the ExecPol to unrestricted if one appears Run: .\install.ps1 -customConfig https://raw.githubusercontent.com/HuskyHacks/PMAT-labs/main/config.xml Follow the rest of the prompts and continue with the installation. When the installation is done, TAKE ANOTHER SNAPSHOT!

Screenshot 2023-05-24 114459

Thanks

HuskyHacks commented 1 year ago

A question for the maintainers to help troubleshoot this: do you need to specify the flarevm.installer.vm package in a custom config.xml file? I ask because I’ve omitted it from the PMAT config file and it is also absent from the official config file on the FLAREVM repo

HuskyHacks commented 1 year ago

@makin01 if this issue is all set, make sure to close it so the maintainers know you are good

this looked like a username spacing issue as seen in a few other issues