maddev-engenuity / AdversaryEmulation

MAD ATT&CK Defender: ATT&CK Adversary Emulation Repository
Apache License 2.0
104 stars 20 forks source link

Create disable-defender-ec2.ps1 #73

Open Pwn20wn opened 1 year ago

Pwn20wn commented 1 year ago

The setup-dc.ps1 file errors out because there is no "disable-defender.ps1" file in the vm_setup_scripts when following the instructions from the Cybrary Lab 1.8 instructions after running git clone https://github.com/maddev-engenuity/AdversaryEmulation.git

With these 30 lines of powershell code, this script is able to uninstall all of the virus and threat protection on a Windows 2019 EC2 Base AMI after doing a restart of the server.