<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=VKrennwallner</id>
	<title>Elvis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=VKrennwallner"/>
	<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php/Special:Contributions/VKrennwallner"/>
	<updated>2026-09-10T18:25:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=NFCGate:_Setup_and_Execution_of_a_Relay_Attack&amp;diff=17992</id>
		<title>NFCGate: Setup and Execution of a Relay Attack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=NFCGate:_Setup_and_Execution_of_a_Relay_Attack&amp;diff=17992"/>
		<updated>2025-10-23T20:39:36Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
We used NFCGate to do a relay attack. In this attack, the data from a real card is sent to a phone and then to the card reader. The card doesn’t need to be close to the reader. This can be used to trick the system, for example in contactless payments or door access.&lt;br /&gt;
&lt;br /&gt;
== Architecture ==&lt;br /&gt;
&lt;br /&gt;
The following diagram illustrates the architecture we used to implement our relay attack. One smartphone functions as the Tag, while the other acts as the Reader. Communication between the two devices is routed through a server, which for the purpose of this project, was hosted on a laptop.&lt;br /&gt;
&lt;br /&gt;
[[File:Architecture.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
=== smartphones used ===&lt;br /&gt;
* Samsung Galaxy A40&lt;br /&gt;
* LG nexus 5G&lt;br /&gt;
&lt;br /&gt;
=== smartphone Applications ===&lt;br /&gt;
* Magisk v26.0 [1]&lt;br /&gt;
* LineagesOS v18.1 [2]&lt;br /&gt;
* NFC Gate [[#Smartphones|install NFC Gate]]&lt;br /&gt;
=== Laptop Applications ===&lt;br /&gt;
* NFC Gate Server [[#Ubuntu Server|install NFC Server]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== Smartphones ===&lt;br /&gt;
&lt;br /&gt;
==== Download NFC Gate ====&lt;br /&gt;
&lt;br /&gt;
Download the APK v2.4.4.apk: [https://github.com/nfcgate/nfcgate/releases Download NFCGate]&lt;br /&gt;
&lt;br /&gt;
==== Install NFC Gate ====&lt;br /&gt;
&lt;br /&gt;
Install via ADB:&lt;br /&gt;
&lt;br /&gt;
 adb install Downloads/NFCGate.2.4.4.apk&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
==== Download NFC Server ====&lt;br /&gt;
&lt;br /&gt;
Create a folder:&lt;br /&gt;
&lt;br /&gt;
 mkdir nfcGate&lt;br /&gt;
 cd nfcGate&lt;br /&gt;
&lt;br /&gt;
==== Install NFC Server ====&lt;br /&gt;
&lt;br /&gt;
Clone the repository:&lt;br /&gt;
&lt;br /&gt;
 sudo git clone https://github.com/nfcgate/server.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Attack ==&lt;br /&gt;
&lt;br /&gt;
=== Hotspot ===&lt;br /&gt;
&lt;br /&gt;
Enable hotspot from smartphone and connect the server (Ubuntu)&lt;br /&gt;
&lt;br /&gt;
=== Run server ===&lt;br /&gt;
&lt;br /&gt;
go to the folder:&lt;br /&gt;
&lt;br /&gt;
 cd nfcGate/server&lt;br /&gt;
&lt;br /&gt;
run the server:&lt;br /&gt;
&lt;br /&gt;
 python3 server.py&lt;br /&gt;
&lt;br /&gt;
[[File:ServerListening.png|550px]]&lt;br /&gt;
&lt;br /&gt;
=== Ip server ===&lt;br /&gt;
&lt;br /&gt;
Check the IP address (from hotspot)&lt;br /&gt;
&lt;br /&gt;
 ip a&lt;br /&gt;
&lt;br /&gt;
[[File:IpHotspot.png|450px]]&lt;br /&gt;
&lt;br /&gt;
=== NFC Gate settings ===&lt;br /&gt;
&lt;br /&gt;
Open the NFCGate app and go to settings:&lt;br /&gt;
&lt;br /&gt;
[[File:AppNFCGate.png|150px]] [[File:NfcGateMenue.jpg|150px]]&lt;br /&gt;
&lt;br /&gt;
Go to &amp;quot;Hostname and Port&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:HostnamePortnumber.jpg|150px]]&lt;br /&gt;
&lt;br /&gt;
The hostname is the same IP address as the server:&lt;br /&gt;
&lt;br /&gt;
[[File:NFCGateHostname.jpg|150px]] [[File:IpHotspot.png|450px]]&lt;br /&gt;
&lt;br /&gt;
Port number is always &#039;&#039;&#039;5566&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
[[File:NFCGatePortnumber.jpg|150px]]&lt;br /&gt;
&lt;br /&gt;
In the NFCGate app, go to &#039;&#039;&#039;Relay mode&#039;&#039;&#039;.&lt;br /&gt;
Use the &#039;&#039;&#039;Tag&#039;&#039;&#039; option for the card and the &#039;&#039;&#039;Reader&#039;&#039;&#039; option for the NFC terminal.&lt;br /&gt;
&lt;br /&gt;
[[File:RelayModeReaderTag.jpg|200px]]&lt;br /&gt;
&lt;br /&gt;
Now you have a connection through the server:&lt;br /&gt;
&lt;br /&gt;
[[File:ConnectionStatus.jpg|200px]]&lt;br /&gt;
&lt;br /&gt;
=== Relay Attack ===&lt;br /&gt;
&lt;br /&gt;
Hold the smartphone with the &#039;&#039;&#039;Tag&#039;&#039;&#039; side near the card:&lt;br /&gt;
&lt;br /&gt;
[[File:SmartphoneToCard.jpeg|150px]]&lt;br /&gt;
&lt;br /&gt;
Hold the smartphone with the &#039;&#039;&#039;Reader&#039;&#039;&#039; side near the terminal:&lt;br /&gt;
&lt;br /&gt;
[[File:PhoneToAutomate.jpg|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
* 2 Smarthones with root and [[https://github.com/nfcgate/nfcgate/blob/v2/doc/Compatibility.md Compatibility]] &lt;br /&gt;
* Laptop as Server [[https://ubuntu.com/download/desktop Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* 1. https://github.com/topjohnwu/Magisk/releases&lt;br /&gt;
* 2. https://github.com/LSPosed/LSPosed&lt;br /&gt;
* https://github.com/nfcgate/nfcgate&lt;br /&gt;
* https://github.com/nfcgate/nfcgate/blob/v2/doc/Compatibility.md&lt;br /&gt;
* https://github.com/nfcgate/server&lt;br /&gt;
* https://ubuntu.com/download/desktop&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=ANT-2YAG16_-_YAGI-Antenne,_2400_bis_2483MHz,_%2B16dBi,_2m_langes_Kabel,_SMA-Steckverbinder&amp;diff=17991</id>
		<title>ANT-2YAG16 - YAGI-Antenne, 2400 bis 2483MHz, +16dBi, 2m langes Kabel, SMA-Steckverbinder</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=ANT-2YAG16_-_YAGI-Antenne,_2400_bis_2483MHz,_%2B16dBi,_2m_langes_Kabel,_SMA-Steckverbinder&amp;diff=17991"/>
		<updated>2025-09-29T08:44:24Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=ANT-2YAG16 -  YAGI-Antenne, 2400 bis 2483MHz, +16dBi, 2m langes Kabel, SMA-Steckverbinder|manufacturer=RF Solutions|link=https://at.farnell.com/rf-solutions/ant-2yag16/ant-2-4ghz-yagi-2m-koax-sma-16dbi/dp/2305887?srsltid=AfmBOoo_0eHxC2o97eN37JI-cHUzSFvkSWjPD1pmSSXYEad72hBfpvI3|image_link=https://stuff.elvis.science/uploads/models/yagijpg.jpg|description=|technicalSpecification=https://at.farnell.com/rf-solutions/ant-2yag16/ant-2-4ghz-yagi-2m-koax-sma-16dbi/dp/2305887?srsltid=AfmBOoo_0eHxC2o97eN37JI-cHUzSFvkSWjPD1pmSSXYEad72hBfpvI3|supportedTechnologies=|includedEquipment=|elviscategory=Networking}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036NHA_Long_Range_USB_Adapter&amp;diff=17990</id>
		<title>Alfa AWUS036NHA Long Range USB Adapter</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036NHA_Long_Range_USB_Adapter&amp;diff=17990"/>
		<updated>2025-09-29T08:42:23Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Alfa AWUS036NHA Long Range USB Adapter|manufacturer=Alfa Network|link=https://www.alfa.com.tw/products/awus036nha?variant=36473966166088|image_link=https://stuff.elvis.science/uploads/models/164-alfalrjpg.jpg|description=long-range WiFi USB adapter|technicalSpecification=https://alfa-network.eu/media/sparsh/product_attachment/UG-AWUS036NHA_1.pdf?srsltid=AfmBOopMlucP6VE-95Nul3PMzF6YIre1apB-2SfoGWSMlyxcGpTqk04N|supportedTechnologies=WiFi 802.11b,g,n 2,4 GHz, USB 2.0|includedEquipment=1x Alfa  adapter, 1x antennas, 1x USB cable, 1x montage kit|elviscategory=Networking}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036NHA_Long_Range_USB_Adapter&amp;diff=17989</id>
		<title>Alfa AWUS036NHA Long Range USB Adapter</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036NHA_Long_Range_USB_Adapter&amp;diff=17989"/>
		<updated>2025-09-29T08:41:23Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Alfa AWUS036NHA Long Range USB Adapter|manufacturer=Alfa Network|link=https://www.alfa.com.tw/products/awus036nha?variant=36473966166088|image_link=https://stuff.elvis.science/uploads/models/164-alfalrjpg.jpg|description=long-range WiFi USB adapter|technicalSpecification=https://www.alfa.net.my/products/Alfa-AWUS036NHA-Atheros-AR9271-Wireless-B-G-N-USB-Adapter/15|supportedTechnologies=WiFi 802.11b,g,n 2,4 GHz, USB 2.0|includedEquipment=1x Alfa  adapter, 1x antennas, 1x USB cable, 1x montage kit|elviscategory=Networking}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036EAC_AC1200_USB_Wireless_Adapter&amp;diff=17988</id>
		<title>Alfa AWUS036EAC AC1200 USB Wireless Adapter</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036EAC_AC1200_USB_Wireless_Adapter&amp;diff=17988"/>
		<updated>2025-09-29T08:40:28Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Alfa AWUS036EAC AC1200 USB Wireless Adapter|manufacturer=Alfa Network|link=https://alfa-network.eu/wi-fi/awus036eac?srsltid=AfmBOorzCLlN0I9PCO-Iu8lPRjjz3ukL7FTQdlIo2_rYBWNPSpTdkHhz|image_link=https://stuff.elvis.science/uploads/models/165-alfa1200jpg.jpg|description=usb wireless adapter|technicalSpecification=https://alfa-network.eu/media/sparsh/product_attachment/awus036eac-datasheet.pdf?srsltid=AfmBOoo64mj-yUtkQJQaioRklIzD-9DmGaCZOvqfJg_ymhYkmbjF11Uv|supportedTechnologies=802.11a,b,g,n,ac 300Mbps 2.4GHz or 867Mbps 5GHz, USB 3.0|includedEquipment=USB cable, cable clip, wireless stick|elviscategory=Networking}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036EAC_AC1200_USB_Wireless_Adapter&amp;diff=17987</id>
		<title>Alfa AWUS036EAC AC1200 USB Wireless Adapter</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036EAC_AC1200_USB_Wireless_Adapter&amp;diff=17987"/>
		<updated>2025-09-29T08:39:26Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Alfa AWUS036EAC AC1200 USB Wireless Adapter|manufacturer=Alfa Network|link=https://alfa-network.eu/wi-fi/awus036eac?srsltid=AfmBOorzCLlN0I9PCO-Iu8lPRjjz3ukL7FTQdlIo2_rYBWNPSpTdkHhz|image_link=https://stuff.elvis.science/uploads/models/165-alfa1200jpg.jpg|description=usb wireless adapter|technicalSpecification=https://www.alfa.com.tw/service_1_detail/12.htm|supportedTechnologies=802.11a,b,g,n,ac 300Mbps 2.4GHz or 867Mbps 5GHz, USB 3.0|includedEquipment=USB cable, cable clip, wireless stick|elviscategory=Networking}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036ACH_Wide_Range_AC1200_Wireless_Adapter&amp;diff=17986</id>
		<title>Alfa AWUS036ACH Wide Range AC1200 Wireless Adapter</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036ACH_Wide_Range_AC1200_Wireless_Adapter&amp;diff=17986"/>
		<updated>2025-09-29T08:38:28Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Alfa AWUS036ACH Wide Range AC1200 Wireless Adapter|manufacturer=Alfa Network|link=https://www.alfa.com.tw/products/awus036ach_1?variant=40319795789896|image_link=https://stuff.elvis.science/uploads/models/163-alfawidejpg.jpg|description=wide-range  802.11ac dual band WiFi USB adapter|technicalSpecification=https://www.wirelesshack.org/review-alfa-awus036ach-ac-1200-wireless-usb-adapter.html|supportedTechnologies=WiFi 802.11a,b,g,n,ac 2,4 GHz 5 GHz, USB 2.0|includedEquipment=1x Alfa  adapter, 2x antennas, 1x USB cable, 1x montage kit|elviscategory=Networking}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036ACH_Wide_Range_AC1200_Wireless_Adapter&amp;diff=17985</id>
		<title>Alfa AWUS036ACH Wide Range AC1200 Wireless Adapter</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Alfa_AWUS036ACH_Wide_Range_AC1200_Wireless_Adapter&amp;diff=17985"/>
		<updated>2025-09-29T08:37:12Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Alfa AWUS036ACH Wide Range AC1200 Wireless Adapter|manufacturer=Alfa Network|link=https://www.alfa.com.tw/products/awus036ach_1?variant=40319795789896|image_link=https://stuff.elvis.science/uploads/models/163-alfawidejpg.jpg|description=wide-range  802.11ac dual band WiFi USB adapter|technicalSpecification=https://www.alfa.net.my/webshaper/store/viewProd.asp?pkProductItem=66|supportedTechnologies=WiFi 802.11a,b,g,n,ac 2,4 GHz 5 GHz, USB 2.0|includedEquipment=1x Alfa  adapter, 2x antennas, 1x USB cable, 1x montage kit|elviscategory=Networking}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=ALA_COACH_smart_runner_-_heart_rate_strap_CS009&amp;diff=17984</id>
		<title>ALA COACH smart runner - heart rate strap CS009</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=ALA_COACH_smart_runner_-_heart_rate_strap_CS009&amp;diff=17984"/>
		<updated>2025-09-29T08:35:41Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=ALA COACH smart runner - heart rate strap CS009|manufacturer=ALATECH|link=https://www.alatech.com/CS009+BLE+4.0+Heart+Rate+Strap/action-products_detail-did-1038-spec_code1-B.htm|image_link=https://asset.conrad.com/media10/isa/160267/c1/-/de/556021_AB_00_FB/image.jpg?x=640&amp;amp;amp;y=640&amp;amp;amp;format=jpg&amp;amp;amp;ex=640&amp;amp;amp;ey=640&amp;amp;amp;align=center|description=Bluetooth heart rate strap|technicalSpecification=supportedTechnologies: Bluetooth 4.0|supportedTechnologies=Bluetooth 4.0|includedEquipment=1x heart rate strap CS009, 1x band|elviscategory=Smart Home}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Adafruit_ADC_Data_Conversion_IC_Development_Tools_ADS1115_16-Bit_ADC&amp;diff=17983</id>
		<title>Adafruit ADC Data Conversion IC Development Tools ADS1115 16-Bit ADC</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Adafruit_ADC_Data_Conversion_IC_Development_Tools_ADS1115_16-Bit_ADC&amp;diff=17983"/>
		<updated>2025-09-27T10:46:33Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Adafruit ADC  Data Conversion IC Development Tools ADS1115 16-Bit ADC|manufacturer=Adafruit|link=https://www.adafruit.com/product/1085?srsltid=AfmBOooER0k5robn7szpYog9fg4LUItxpYaV0lLJ-u-FSl1tKE1xiFe4|image_link=https://stuff.elvis.science/uploads/accessories/accessory-yjfg3sETDd9Mc6e8W0.jpg|description=|technicalSpecification=|supportedTechnologies=|includedEquipment=|elviscategory=}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Access_Point&amp;diff=17982</id>
		<title>Access Point</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Access_Point&amp;diff=17982"/>
		<updated>2025-09-27T10:40:40Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Access Point|manufacturer=Homematic IP|link=https://homematic-ip.com/en/product/access-point|image_link=https://stuff.elvis.science/uploads/models/assetmodel-image-ZWMOiZUhvB.png|description=access point connect smartphone with all Homematic IP devices|technicalSpecification=https://homematic-ip.com/en/product/access-point#technical-data|supportedTechnologies=radio communication 868/869.525 MHz, Ethernet|includedEquipment=1x Access point, 1x plug-in power supply, 1x network cable, 1x user manual|elviscategory=Smart Home}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Access_Point&amp;diff=17981</id>
		<title>Access Point</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Access_Point&amp;diff=17981"/>
		<updated>2025-09-27T10:39:11Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Access Point|manufacturer=Homematic IP|link=https://homematic-ip.com/en/product/access-point|image_link=https://stuff.elvis.science/uploads/models/assetmodel-image-ZWMOiZUhvB.png|description=access point connect smartphone with all Homematic IP devices|technicalSpecification=https://www.homematic-ip.com/en/products/detail/homematic-ip-access-point.html|supportedTechnologies=radio communication 868/869.525 MHz, Ethernet|includedEquipment=1x Access point, 1x plug-in power supply, 1x network cable, 1x user manual|elviscategory=Smart Home}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Access_Point&amp;diff=17980</id>
		<title>Access Point</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Access_Point&amp;diff=17980"/>
		<updated>2025-09-27T10:37:59Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=Access Point|manufacturer=Homematic IP|link=https://homematic-ip.com/de/produkt/access-point|image_link=https://stuff.elvis.science/uploads/models/assetmodel-image-ZWMOiZUhvB.png|description=access point connect smartphone with all Homematic IP devices|technicalSpecification=https://www.homematic-ip.com/en/products/detail/homematic-ip-access-point.html|supportedTechnologies=radio communication 868/869.525 MHz, Ethernet|includedEquipment=1x Access point, 1x plug-in power supply, 1x network cable, 1x user manual|elviscategory=Smart Home}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=ABUS_smart_security_WiFi_pan/tilt_camera,_full_HD(1080p)&amp;diff=17979</id>
		<title>ABUS smart security WiFi pan/tilt camera, full HD(1080p)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=ABUS_smart_security_WiFi_pan/tilt_camera,_full_HD(1080p)&amp;diff=17979"/>
		<updated>2025-09-27T10:35:13Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=ABUS smart security WiFi pan/tilt camera, full HD(1080p)|manufacturer=ABUS Security Tech Germany|link=https://www.abus.com/int/Archive/ABUS-Smart-Security-World-Wi-Fi-Pan-Tilt-Indoor-Camera|image_link=https://stuff.elvis.science/uploads/models/ppic32020-rechts-webljpg.jpg|description=ABUS Smart Security World Wi-Fi Pan/Tilt Indoor Camera|technicalSpecification=https://www.abus.com/int/abusproductsheet.pdf/191189/eng-ZZ|supportedTechnologies=WiFi  IEEE 802.11 b/g/n, Ethernet|includedEquipment=1x WiFi Pan/Tilt Camera, 1x Power supply, 5V DC / 1.5A, 1x Network cable 1m, 1x Antenna, 1x Ceiling mount, 1x Mounting material|elviscategory=Smart Home}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=ABUS_smart_security_WiFi_pan/tilt_camera,_full_HD(1080p)&amp;diff=17978</id>
		<title>ABUS smart security WiFi pan/tilt camera, full HD(1080p)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=ABUS_smart_security_WiFi_pan/tilt_camera,_full_HD(1080p)&amp;diff=17978"/>
		<updated>2025-09-27T10:32:50Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Device|device_name=ABUS smart security WiFi pan/tilt camera, full HD(1080p)|manufacturer=ABUS Security Tech Germany|link=https://www.abus.com/int/Archive/ABUS-Smart-Security-World-Wi-Fi-Pan-Tilt-Indoor-Camera|image_link=https://stuff.elvis.science/uploads/models/ppic32020-rechts-webljpg.jpg|description=ABUS Smart Security World Wi-Fi Pan/Tilt Indoor Camera|technicalSpecification=https://www.abus.com/eng/Home-Security/Video-Surveillance/Surveillance-cameras/WLAN-network-cameras/WLAN-pan-tilt-cameras/ABUS-Smart-Security-World-Wi-Fi-Pan-Tilt-Indoor-Camera#Tabcontent1|supportedTechnologies=WiFi  IEEE 802.11 b/g/n, Ethernet|includedEquipment=1x WiFi Pan/Tilt Camera, 1x Power supply, 5V DC / 1.5A, 1x Network cable 1m, 1x Antenna, 1x Ceiling mount, 1x Mounting material|elviscategory=Smart Home}}&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17522</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17522"/>
		<updated>2024-12-18T17:04:50Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Summary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This demonstration illustrates a Man-in-the-Middle (MITM) DNS spoofing attack using the Hak5 Packet Squirrel. By intercepting and altering DNS requests, the Packet Squirrel redirects the target device to a malicious, cloned version of www.google.com. When the victim enters their credentials, these are captured by the attacker for potential exploitation.&lt;br /&gt;
&lt;br /&gt;
Key Learning Points:&lt;br /&gt;
&lt;br /&gt;
* The importance of securing DNS communication against spoofing.&lt;br /&gt;
&lt;br /&gt;
* Understanding how tools like the Packet Squirrel and SET can be used for penetration testing.&lt;br /&gt;
&lt;br /&gt;
* Recognizing the need for HTTPS and DNSSEC to protect sensitive user data&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.26&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|500px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17521</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17521"/>
		<updated>2024-12-18T17:03:49Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Step 3: Execute the Attack */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.26&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|500px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17520</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17520"/>
		<updated>2024-12-18T17:03:33Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.26&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17519</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17519"/>
		<updated>2024-12-18T17:03:22Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Packet Squirrel Initalization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.26&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17518</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17518"/>
		<updated>2024-12-18T17:03:13Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Verify Connection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|300px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.26&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17508</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17508"/>
		<updated>2024-12-18T16:57:29Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Step 1: Web Server Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.26&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17507</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17507"/>
		<updated>2024-12-18T16:57:14Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Step 2: Configure DNS Spoofing on Packet Squirrel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.26&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.26).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17506</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17506"/>
		<updated>2024-12-18T16:55:58Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Verify Connection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17505</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17505"/>
		<updated>2024-12-18T16:55:43Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Packet Squirrel Initalization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17504</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17504"/>
		<updated>2024-12-18T16:55:29Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17503</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17503"/>
		<updated>2024-12-18T16:55:14Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17502</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17502"/>
		<updated>2024-12-18T16:55:05Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Packet Squirrel Initalization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17501</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17501"/>
		<updated>2024-12-18T16:54:07Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Packet Squirrel Initalization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17500</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17500"/>
		<updated>2024-12-18T16:54:00Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17498</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17498"/>
		<updated>2024-12-18T16:53:46Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17497</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17497"/>
		<updated>2024-12-18T16:53:30Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17496</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17496"/>
		<updated>2024-12-18T16:53:04Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Step 3: Execute the Attack */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17495</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17495"/>
		<updated>2024-12-18T16:52:52Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Verify Connection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17494</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17494"/>
		<updated>2024-12-18T16:52:38Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Packet Squirrel Initalization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17493</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17493"/>
		<updated>2024-12-18T16:52:29Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|250px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17492</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17492"/>
		<updated>2024-12-18T16:52:21Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Packet Squirrel Initalization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|250px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17491</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17491"/>
		<updated>2024-12-18T16:52:13Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Packet Squirrel Initalization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|200px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17490</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17490"/>
		<updated>2024-12-18T16:51:55Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17489</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17489"/>
		<updated>2024-12-18T16:51:13Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Step 3: Execute the Attack */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|middle|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17488</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17488"/>
		<updated>2024-12-18T16:50:50Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|middle|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17487</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17487"/>
		<updated>2024-12-18T16:50:40Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Packet Squirrel Initalization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17486</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17486"/>
		<updated>2024-12-18T16:50:11Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17485</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17485"/>
		<updated>2024-12-18T16:49:57Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Packet Squirrel Initalization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17484</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17484"/>
		<updated>2024-12-18T16:49:47Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Verify Connection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17482</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17482"/>
		<updated>2024-12-18T16:49:33Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Verify Connection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.jpg|400px|thumb|right|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17481</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17481"/>
		<updated>2024-12-18T16:48:54Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Verify Connection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelssh.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Squirrelssh.jpg&amp;diff=17479</id>
		<title>File:Squirrelssh.jpg</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Squirrelssh.jpg&amp;diff=17479"/>
		<updated>2024-12-18T16:48:28Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17472</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17472"/>
		<updated>2024-12-18T16:39:08Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Used Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Packet Squirrel + Field Guide]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17470</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17470"/>
		<updated>2024-12-18T16:38:50Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Courses */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Device to be used with this documentation]]&lt;br /&gt;
[[Maybe another device to be used with this documentation]]&lt;br /&gt;
&lt;br /&gt;
To carry out a DNS spoofin g attack using the man-in-the-middle tool, Packet Squirrle, a web server is set up using setoolkit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17468</id>
		<title>Hak5 Packet Squirrel: DNS-Spoofing Demo</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Hak5_Packet_Squirrel:_DNS-Spoofing_Demo&amp;diff=17468"/>
		<updated>2024-12-18T16:38:31Z</updated>

		<summary type="html">&lt;p&gt;VKrennwallner: /* Step 3: Execute the Attack */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
The purpose of this demonstration is to perform a DNS spoofing attack using the Hak5 Packet Squirrel to redirect a target device to a cloned malicious website. This attack aims to capture user credentials by presenting a fake login page that mimics a legitimate website.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Packet Squirrel from Hak5&lt;br /&gt;
* target device (Laptop, virtual machine: Ubuntu)&lt;br /&gt;
* Network (WLAN-Router)&lt;br /&gt;
* Two Ethernet Cable &lt;br /&gt;
* One USB Cable to supply Packet Squirrel with power&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
* Connect the LAN port of the router to the Ethernet OUT port of the Packet Squirrel&lt;br /&gt;
* Connect the target device (laptop) to the Ethernet IN port of the Packet Squirrel&lt;br /&gt;
&lt;br /&gt;
[[File:setupsquirrel.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Packet Squirrel Initalization ==&lt;br /&gt;
1. Set the Packet Squirrel to Arming Mode (switch to the far-right position).&lt;br /&gt;
&lt;br /&gt;
2. On the virtual Machine (VM), go to Settings &amp;gt; Network and select Adapter1.&lt;br /&gt;
* Set the network adapter to Bridge Mode.&lt;br /&gt;
* Choose USB Realtek USB Gbe Family Controller for DHCP to assign an IP automatically.&lt;br /&gt;
3. Save the configuration and start the VM.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelubuntu.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Verify Connection ==&lt;br /&gt;
1. In the Ubuntu VM, check the IP address assigned to enp0s3 (e.g., 172.16.32.181/24), ensuring it matches the Packet Squirrel subnet (172.16.32.0/24).&lt;br /&gt;
&lt;br /&gt;
2. Test communication by pinging the Packet Squirrel’s default gateway (172.16.32.1).&lt;br /&gt;
&lt;br /&gt;
3. Establish an SSH connection to the Packet Squirrel:&lt;br /&gt;
  ssh root@172.16.32.1&lt;br /&gt;
  Password: hak5squirrel&lt;br /&gt;
&lt;br /&gt;
== Step 1: Web Server Setup ==&lt;br /&gt;
&lt;br /&gt;
The web server hosts the cloned website that the target will be redirected to.&lt;br /&gt;
&lt;br /&gt;
1. Configure the VM to be in the same subnet as the router:&lt;br /&gt;
&lt;br /&gt;
* Shutdown the VM.&lt;br /&gt;
&lt;br /&gt;
* In Settings &amp;gt; Network, set Adapter 2 to Bridge Mode and choose Intel Wi-Fi 6E AX211 160MHz for DHCP.&lt;br /&gt;
&lt;br /&gt;
* Restart the VM and verify the IP address assigned to enp0s8 (e.g., 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
2. Install and set up the Social-Engineer Toolkit (SET):&lt;br /&gt;
&lt;br /&gt;
  sudo apt update&lt;br /&gt;
  sudo apt install git python3 python3-pip build- &lt;br /&gt;
  essential&lt;br /&gt;
  git clone https://github.com/trustedsec/social- &lt;br /&gt;
  engineer-toolkit.git&lt;br /&gt;
  cd social-engineer-toolkit&lt;br /&gt;
  sudo python3 setup.py&lt;br /&gt;
  sudo setoolkit&lt;br /&gt;
&lt;br /&gt;
3. Configure SET to clone a website:&lt;br /&gt;
&lt;br /&gt;
* Select the following options in SET:&lt;br /&gt;
&lt;br /&gt;
   1. Social Engineering Attacks&lt;br /&gt;
&lt;br /&gt;
   2. Website Attack Vectors&lt;br /&gt;
&lt;br /&gt;
   3. Credential Harvester Attack Method&lt;br /&gt;
&lt;br /&gt;
   4. Web Templates&lt;br /&gt;
&lt;br /&gt;
* Enter the POST back IP address (192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
* Choose Google as the website to clone.&lt;br /&gt;
&lt;br /&gt;
== Step 2: Configure DNS Spoofing on Packet Squirrel ==&lt;br /&gt;
&lt;br /&gt;
1. Navigate to the payload directory for switch 2:&lt;br /&gt;
&lt;br /&gt;
 cd payloads/switch2&lt;br /&gt;
 nano spoofhost&lt;br /&gt;
&lt;br /&gt;
2. Modify the spoofhost file to include the following entry:&lt;br /&gt;
&lt;br /&gt;
 www.google.com 192.168.1.16&lt;br /&gt;
&lt;br /&gt;
This redirects requests to www.google.com to the cloned website hosted on the web server (IP: 192.168.1.16).&lt;br /&gt;
&lt;br /&gt;
3. Save the changes and exit.&lt;br /&gt;
&lt;br /&gt;
4. Power off the Packet Squirrel by unplugging the USB cable.&lt;br /&gt;
&lt;br /&gt;
5. Set the switch to Payload 2 and reconnect the power.&lt;br /&gt;
&lt;br /&gt;
== Step 3: Execute the Attack ==&lt;br /&gt;
&lt;br /&gt;
1. On the target device, open a browser (e.g., Firefox) and navigate to www.google.com.&lt;br /&gt;
&lt;br /&gt;
2. The browser will redirect to the cloned website hosted on the web server.&lt;br /&gt;
&lt;br /&gt;
3. Enter login credentials on the cloned site.&lt;br /&gt;
&lt;br /&gt;
4. The attacker can now view the captured credentials in the SET interface.&lt;br /&gt;
&lt;br /&gt;
[[File:squirrelsignin.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[Device to be used with this documentation]]&lt;br /&gt;
[[Maybe another device to be used with this documentation]]&lt;br /&gt;
&lt;br /&gt;
To carry out a DNS spoofin g attack using the man-in-the-middle tool, Packet Squirrle, a web server is set up using setoolkit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
* [[Another one]] (2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/&lt;br /&gt;
* https://docs.hak5.org/cloud-c2/&lt;br /&gt;
* https://docs.hak5.org/packet-squirrel/payload-development/ducky-script-for-packet-squirrel&lt;br /&gt;
* https://downloads.hak5.org/&lt;br /&gt;
* https://github.com/hak5/packetsquirrel-payloads/tree/master/payloads&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>VKrennwallner</name></author>
	</entry>
</feed>