From 0d5a71d627c60612ac633b20575604364dc2e7b2 Mon Sep 17 00:00:00 2001 From: r4ulcl Date: Sat, 8 Jun 2024 15:39:36 +0100 Subject: [PATCH] Remove unattended-upgrades, change tablets config and add hyper v info --- APs/config/mgt/hostapd_wpe_relay.eap_user | 3 ++- APs/config/mgt/hostapd_wpe_relay_tablets.eap_user | 1 - README.md | 10 ++++++++-- vagrant/install.sh | 3 +++ vagrant/vagrantfile | 12 ++++-------- 5 files changed, 17 insertions(+), 12 deletions(-) diff --git a/APs/config/mgt/hostapd_wpe_relay.eap_user b/APs/config/mgt/hostapd_wpe_relay.eap_user index 557bf45..1ea0487 100644 --- a/APs/config/mgt/hostapd_wpe_relay.eap_user +++ b/APs/config/mgt/hostapd_wpe_relay.eap_user @@ -111,4 +111,5 @@ #"t" GTC,TTLS-PAP,TTLS-CHAP,TTLS-MSCHAP,MSCHAPV2,MD5,GTC,TTLS,TTLS-MSCHAPV2 "password" [2] -"CONTOSOREG\luis.da" MSCHAPV2 "u89gh68!6fcv56ed" [2] \ No newline at end of file +"CONTOSOREG\luis.da" MSCHAPV2 "u89gh68!6fcv56ed" [2] +"CORPO\god" MSCHAPV2 hash:cbdc3e5938885b7a507775cf22d56351 [2] \ No newline at end of file diff --git a/APs/config/mgt/hostapd_wpe_relay_tablets.eap_user b/APs/config/mgt/hostapd_wpe_relay_tablets.eap_user index 1ea0487..0feec11 100644 --- a/APs/config/mgt/hostapd_wpe_relay_tablets.eap_user +++ b/APs/config/mgt/hostapd_wpe_relay_tablets.eap_user @@ -112,4 +112,3 @@ #"t" GTC,TTLS-PAP,TTLS-CHAP,TTLS-MSCHAP,MSCHAPV2,MD5,GTC,TTLS,TTLS-MSCHAPV2 "password" [2] "CONTOSOREG\luis.da" MSCHAPV2 "u89gh68!6fcv56ed" [2] -"CORPO\god" MSCHAPV2 hash:cbdc3e5938885b7a507775cf22d56351 [2] \ No newline at end of file diff --git a/README.md b/README.md index 70c55e3..7e5f74b 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ The principal changes from version 1.0.5 to 2.0.3 are the following. - More clients - Monitorization and detection using nzyme WIDS. -## Install +## Using WiFiChallenge Lab ### Using the VM @@ -84,6 +84,7 @@ Go to the folder where the tools will be installed and execute `Attacker/install - A host with at least 4 CPU cores and 4 GB of RAM. - vagrant +- VirtualBox, VMware or Hyper-V #### Create the VM with vagrant @@ -105,11 +106,16 @@ If you want a VMWare VM: vagrant up vmware_vm ``` -And for a VirtualBox VM: +For a VirtualBox VM: ``` bash vagrant up virtualbox_vm ``` +And for a Hyper-v VM, in a admin console: +``` bash +vagrant up hyper-v_vm --provider=hyperv +``` + ## Usage ### Attack from Ubuntu VM diff --git a/vagrant/install.sh b/vagrant/install.sh index d910c2d..65c9d16 100644 --- a/vagrant/install.sh +++ b/vagrant/install.sh @@ -2,6 +2,9 @@ # update package lists sudo apt-get update +sudo apt-get full-upgrade -y + +sudo apt remove unattended-upgrades -y ## Install drivers modprobe sudo apt-get install -y linux-generic diff --git a/vagrant/vagrantfile b/vagrant/vagrantfile index 17e841f..eaa64d7 100644 --- a/vagrant/vagrantfile +++ b/vagrant/vagrantfile @@ -24,10 +24,8 @@ Vagrant.configure("2") do |config| virtualbox_vm.vm.define "WiFiChallengeLab vbox" virtualbox_vm.vm.hostname = "WiFiChallengeLab" virtualbox_vm.vm.provider "virtualbox" do |vb| - #vb.memory = "2048" - #vb.cpus = 2 - vb.memory = "8192" - vb.cpus = 8 + vb.memory = "2048" + vb.cpus = 2 vb.name = "WiFiChallenge Lab v2.0.4" end virtualbox_vm.vm.provision :shell, path: "./install.sh" @@ -43,11 +41,9 @@ Vagrant.configure("2") do |config| v.clone_directory = "E:/VMWare" v.force_vmware_license = "workstation" # force the licence for fix some vagrant plugin issue v.gui = true - #v.memory = "2048" - #v.cpus = 2 + v.memory = "2048" + v.cpus = 2 v.vmx["displayName"] = "WiFiChallenge Lab v2.0.4" - v.memory = "8192" - v.cpus = 8 end #vmware_vm.vm.network "private_network", ip: "192.168.57.10" vmware_vm.vm.hostname = "WiFiChallengeLab"