<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="pretty-atom-feed.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  
  <title>wifight.club</title>
  <subtitle>DEF CON Wi-Fi hacking workshop.</subtitle>
  <link href="https://wifight.club/feed/feed.xml" rel="self" />
  <link href="https://wifight.club/" />
  <updated>2026-07-06T00:00:00Z</updated>
  <id>https://wifight.club/</id>
  <author>
    <name>t3rp</name>
  </author>
  <entry>
    <title>Nzyme Setup Guide</title>
    <link href="https://wifight.club/blog/nzyme-setup/" />
    <updated>2026-07-06T00:00:00Z</updated>
    <id>https://wifight.club/blog/nzyme-setup/</id>
    <content type="html">&lt;p&gt;This guide walks through setting up both the &lt;strong&gt;Nzyme Node&lt;/strong&gt; and &lt;strong&gt;Nzyme TAP&lt;/strong&gt; on &lt;strong&gt;Debian 12 (Bookworm)&lt;/strong&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This guide was written for Debian 12 Bookworm but also works on &lt;strong&gt;Raspberry Pi OS 12 (Bookworm)&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2 id=&quot;nzyme-node-setup&quot;&gt;Nzyme Node Setup&lt;/h2&gt;
&lt;h3 id=&quot;install-debian&quot;&gt;Install Debian&lt;/h3&gt;
&lt;p&gt;Download the Debian 12 Bookworm ISO:&lt;/p&gt;
&lt;p&gt;https://cdimage.debian.org/cdimage/archive/12.10.0/arm64/iso-cd/&lt;/p&gt;
&lt;p&gt;Once the operating system is installed, update the system and install the required packages.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;apt&lt;/span&gt; update &lt;span class=&quot;token operator&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;apt&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-y&lt;/span&gt; openjdk-17-jre-headless postgresql-15&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Download the Nzyme Node package:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;wget&lt;/span&gt; https://github.com/nzymedefense/nzyme/releases/download/2.0.0-alpha.17/nzyme-node_rpios-12bookworm-noarch-2.0.0-alpha.17.deb&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Install it:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; dpkg &lt;span class=&quot;token parameter variable&quot;&gt;-i&lt;/span&gt; nzyme-node_rpios-12bookworm-noarch-2.0.0-alpha.17.deb&lt;/code&gt;&lt;/pre&gt;
&lt;hr&gt;
&lt;h2 id=&quot;configure-postgresql&quot;&gt;Configure PostgreSQL&lt;/h2&gt;
&lt;p&gt;Launch the PostgreSQL shell:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-u&lt;/span&gt; postgres psql&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Run the following commands:&lt;/p&gt;
&lt;pre class=&quot;language-sql&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-sql&quot;&gt;&lt;span class=&quot;token keyword&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;DATABASE&lt;/span&gt; nzyme&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token keyword&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;USER&lt;/span&gt; nzyme &lt;span class=&quot;token keyword&quot;&gt;WITH&lt;/span&gt; ENCRYPTED PASSWORD &lt;span class=&quot;token string&quot;&gt;&#39;YOUR_PASSWORD_HERE&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token keyword&quot;&gt;GRANT&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;ALL&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;PRIVILEGES&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;DATABASE&lt;/span&gt; nzyme &lt;span class=&quot;token keyword&quot;&gt;TO&lt;/span&gt; nzyme&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
&#92;c nzyme
&lt;span class=&quot;token keyword&quot;&gt;GRANT&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;SCHEMA&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;token keyword&quot;&gt;TO&lt;/span&gt; nzyme&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
&#92;q&lt;/code&gt;&lt;/pre&gt;
&lt;hr&gt;
&lt;h2 id=&quot;configure-the-node&quot;&gt;Configure the Node&lt;/h2&gt;
&lt;p&gt;Determine the IP address of the system we are hosting the node on:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;ip&lt;/span&gt; a&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/1oc2sk0xAj-2206.avif 2206w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/1oc2sk0xAj-2206.webp 2206w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/1oc2sk0xAj-2206.png&quot; alt=&quot;an image of commands&quot; width=&quot;2206&quot; height=&quot;286&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;p&gt;Open the configuration file:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;nano&lt;/span&gt; /etc/nzyme/nzyme.conf&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Update the following values:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;PostgreSQL password
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/q-ycE7zrWK-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/q-ycE7zrWK-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/q-ycE7zrWK-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;72&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;rest_listen_uri&lt;/code&gt; and &lt;code&gt;http_external_uri&lt;/code&gt; with the IP address from &lt;code&gt;ip a&lt;/code&gt;
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/EZjh7SCLY2-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/EZjh7SCLY2-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/EZjh7SCLY2-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;264&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Save and exit the file using CTRL + X then Y&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;initialize-the-database&quot;&gt;Initialize the Database&lt;/h2&gt;
&lt;p&gt;Run the database migration:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; nzyme --migrate-database&lt;/code&gt;&lt;/pre&gt;
&lt;hr&gt;
&lt;h2 id=&quot;start-the-node-and-enable-it-as-a-service&quot;&gt;Start the Node and Enable it as a Service&lt;/h2&gt;
&lt;p&gt;Enable the service:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl &lt;span class=&quot;token builtin class-name&quot;&gt;enable&lt;/span&gt; nzyme&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Start it:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl start nzyme&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Verify it is running:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl status nzyme&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/8o-dwzaOSv-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/8o-dwzaOSv-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/8o-dwzaOSv-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;308&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;access-the-web-interface&quot;&gt;Access the Web Interface&lt;/h2&gt;
&lt;p&gt;After a few minutes the web interface should become available.&lt;/p&gt;
&lt;p&gt;Connect to the Web Interface:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;https://&amp;lt;NODE_IP&amp;gt;:22900
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Create an administrator account.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The email address does &lt;strong&gt;not&lt;/strong&gt; need to be a real email address.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Once inside the web ui, you should see the landing page.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/iBwq4xvpIq-1560.avif 1560w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/iBwq4xvpIq-1560.webp 1560w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/iBwq4xvpIq-1560.png&quot; alt=&quot;an image&quot; width=&quot;1560&quot; height=&quot;1753&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;create-a-tap&quot;&gt;Create a TAP&lt;/h2&gt;
&lt;p&gt;From the web interface:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Expand &lt;strong&gt;System&lt;/strong&gt; and Open &lt;strong&gt;TAPs&lt;/strong&gt;
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/0PNSAdTJAI-440.avif 440w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/0PNSAdTJAI-440.webp 440w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/0PNSAdTJAI-440.png&quot; alt=&quot;an image&quot; width=&quot;440&quot; height=&quot;693&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Add TAP&lt;/strong&gt;
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/49CKbXvYOO-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/49CKbXvYOO-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/49CKbXvYOO-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;148&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Give the TAP a name and description
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/FNonc7-XH1-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/FNonc7-XH1-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/FNonc7-XH1-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;540&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open the newly created TAP
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/egtrmUhOH6-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/egtrmUhOH6-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/egtrmUhOH6-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;340&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy the &lt;strong&gt;TAP Secret&lt;/strong&gt;
&lt;em&gt;You will need this secret later when configuring the TAP.&lt;/em&gt;
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/1Tun2sLroS-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/1Tun2sLroS-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/1Tun2sLroS-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;332&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id=&quot;nzyme-tap-setup&quot;&gt;Nzyme TAP Setup&lt;/h2&gt;
&lt;p&gt;For this lab, the TAP is installed on the same system as the Node.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;TAPs can also be installed on additional systems (such as Raspberry Pis) to increase wireless coverage.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Download the TAP package:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;wget&lt;/span&gt; https://github.com/nzymedefense/nzyme/releases/download/2.0.0-alpha.17/nzyme-tap_rpios-12bookworm-arm64-2.0.0-alpha.17.deb&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Install it:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; dpkg &lt;span class=&quot;token parameter variable&quot;&gt;-i&lt;/span&gt; nzyme-tap_rpios-12bookworm-arm64-2.0.0-alpha.17.deb&lt;/code&gt;&lt;/pre&gt;
&lt;hr&gt;
&lt;h2 id=&quot;configure-the-tap&quot;&gt;Configure the TAP&lt;/h2&gt;
&lt;p&gt;Open the configuration file:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;nano&lt;/span&gt; /etc/nzyme/nzyme-tap.conf&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Update the following fields:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;leader_secret&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;TAP Secret copied from the web interface&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;leader_uri&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;IP address of the Node&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;accept_insecure_certs&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;true&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/MUNgNzeGTl-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/MUNgNzeGTl-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/MUNgNzeGTl-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;160&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Why set &lt;code&gt;accept_insecure_certs&lt;/code&gt; to true?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Nzyme uses HTTPS with a self-signed certificate by default. Unless you replace it with a trusted certificate, this setting should remain enabled in lab environments.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The configuration should look like the picture below once you input all the required information.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/Zr6A0mRg5E-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/Zr6A0mRg5E-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/Zr6A0mRg5E-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;132&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;p&gt;Save and exit the file using CTRL + X then Y&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;configure-ethernet&quot;&gt;Configure Ethernet&lt;/h2&gt;
&lt;p&gt;Determine the interface information:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;ip&lt;/span&gt; a&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You will need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Interface name&lt;/li&gt;
&lt;li&gt;CIDR subnet&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/Vcpnghst0z-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/Vcpnghst0z-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/Vcpnghst0z-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;148&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;p&gt;Open the configuration again:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;nano&lt;/span&gt; /etc/nzyme/nzyme-tap.conf&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Update the Ethernet section using data from &lt;code&gt;ip a&lt;/code&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ethernet_interfaces.&amp;lt;interface_name&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;CIDR&lt;/li&gt;
&lt;li&gt;DNS servers&lt;/li&gt;
&lt;li&gt;&lt;code&gt;injection_interface&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For this lab, the injection interface should normally be the same as the Ethernet interface.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/ZCGwyGn59N-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/ZCGwyGn59N-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/ZCGwyGn59N-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;132&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;p&gt;Save the configuration.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;configure-the-wireless-interface&quot;&gt;Configure the Wireless Interface&lt;/h2&gt;
&lt;p&gt;List wireless devices:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;iw dev&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/zC-iHNtdtG-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/zC-iHNtdtG-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/zC-iHNtdtG-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;220&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;p&gt;Record:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Wireless interface name&lt;/li&gt;
&lt;li&gt;PHY number&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Interface wlan0
phy#2
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Check the capabilities of the adapter:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;iw phy phy&lt;span class=&quot;token comment&quot;&gt;# info&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Replace &lt;code&gt;phy#&lt;/code&gt; with the PHY number reported by &lt;code&gt;iw dev&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Verify which frequency bands the adapter supports:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;the output is large and you will need to scroll through it.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;2.4 GHz&lt;/li&gt;
&lt;li&gt;5 GHz&lt;/li&gt;
&lt;li&gt;6 GHz&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&quot;configure-regulatory-domain-region&quot;&gt;Configure Regulatory Domain (Region)&lt;/h2&gt;
&lt;p&gt;Check the current regulatory domain (Region):&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;iw reg get&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For this guide, set it to the United States:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; iw reg &lt;span class=&quot;token builtin class-name&quot;&gt;set&lt;/span&gt; US&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/8j91kjemxi-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/8j91kjemxi-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/8j91kjemxi-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;668&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;configure-wi-fi-monitoring&quot;&gt;Configure Wi-Fi Monitoring&lt;/h2&gt;
&lt;p&gt;Edit the TAP configuration:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;nano&lt;/span&gt; /etc/nzyme/nzyme-tap.conf&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Locate the &lt;code&gt;wifi_interfaces&lt;/code&gt; section.&lt;/p&gt;
&lt;p&gt;Update the interface name to match the output from &lt;code&gt;iw dev&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;wifi_interfaces.wlan0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;wifi_interfaces.wlx00c0cab56641
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/IFMHBoLzVS-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/IFMHBoLzVS-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/IFMHBoLzVS-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;260&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;using-a-single-wireless-adapter&quot;&gt;Using a Single Wireless Adapter&lt;/h3&gt;
&lt;p&gt;If only one adapter is installed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set the unused interface to:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;active = false
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;or comment out the unused interface entirely.&lt;/p&gt;
&lt;p&gt;Copy the full channel list into the interface you are using.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/N6CjmOWtV6-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/N6CjmOWtV6-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/N6CjmOWtV6-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;136&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Verify that every configured channel is legal in your regulatory domain. Some 5 GHz channels available in other countries are not permitted in the United States.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Save the configuration.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;start-the-tap&quot;&gt;Start the TAP&lt;/h2&gt;
&lt;p&gt;Enable the service:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl &lt;span class=&quot;token builtin class-name&quot;&gt;enable&lt;/span&gt; nzyme-tap&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Start it:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl start nzyme-tap&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Verify that it is running:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl status nzyme-tap&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/JCf-OHrahW-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/JCf-OHrahW-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/JCf-OHrahW-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;240&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;verify-operation&quot;&gt;Verify Operation&lt;/h2&gt;
&lt;p&gt;Return to the Nzyme web interface.&lt;/p&gt;
&lt;p&gt;If everything is configured correctly, the TAP should appear as connected and begin reporting wireless activity.&lt;/p&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/Y1O2WaMic4-936.avif 936w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/nzyme-setup/Y1O2WaMic4-936.webp 936w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/nzyme-setup/Y1O2WaMic4-936.png&quot; alt=&quot;an image&quot; width=&quot;936&quot; height=&quot;368&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;command-round-up&quot;&gt;Command Round Up&lt;/h2&gt;
&lt;h3 id=&quot;show-ip-configuration&quot;&gt;Show IP Configuration&lt;/h3&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;ip&lt;/span&gt; a&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;show-wireless-interfaces&quot;&gt;Show Wireless Interfaces&lt;/h3&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;iw dev&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;show-wireless-capabilities&quot;&gt;Show Wireless Capabilities&lt;/h3&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;iw phy phy2 info&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;show-regulatory-domain&quot;&gt;Show Regulatory Domain&lt;/h3&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;iw reg get&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;set-regulatory-domain&quot;&gt;Set Regulatory Domain&lt;/h3&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; iw reg &lt;span class=&quot;token builtin class-name&quot;&gt;set&lt;/span&gt; US&lt;/code&gt;&lt;/pre&gt;
&lt;hr&gt;
&lt;h2 id=&quot;configuration-files&quot;&gt;Configuration Files&lt;/h2&gt;
&lt;p&gt;Node configuration:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/etc/nzyme/nzyme.conf
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;TAP configuration:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/etc/nzyme/nzyme-tap.conf
&lt;/code&gt;&lt;/pre&gt;
&lt;hr&gt;
&lt;h2 id=&quot;services&quot;&gt;Services&lt;/h2&gt;
&lt;p&gt;Node:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl status nzyme&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Restart:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl restart nzyme&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;TAP:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl status nzyme-tap&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Restart:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; systemctl restart nzyme-tap&lt;/code&gt;&lt;/pre&gt;
</content>
  </entry>
  <entry>
    <title>Workshop Lab Guide</title>
    <link href="https://wifight.club/blog/lab-guide/" />
    <updated>2026-07-05T00:00:00Z</updated>
    <id>https://wifight.club/blog/lab-guide/</id>
    <content type="html">&lt;p&gt;Do not use the stuff in this guide to do bad things. This information is provided for educational purposes only. Only test against networks you own or you have explicit permission to test against.&lt;/p&gt;
&lt;p&gt;If you want to set up a VM on your own, all the tools used in the workshop are listed below.&lt;/p&gt;
&lt;p&gt;For recon practice, use your home network.&lt;/p&gt;
&lt;p&gt;For Evil Twin testing, you can add a network to your phone. You can add pretty much any type of network to test against. Just make sure you delete it once you are done.&lt;/p&gt;
&lt;h2 id=&quot;lab-0-linux-fu&quot;&gt;Lab 0: Linux-FU&lt;/h2&gt;
&lt;p&gt;Task:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Troubleshooting commands&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token comment&quot;&gt;# Common Troubleshooting and Linux Commands&lt;/span&gt;
lsusb
iwconfig
iw dev
iw dev wlan&lt;span class=&quot;token comment&quot;&gt;# info&lt;/span&gt;
iw phy phy&lt;span class=&quot;token comment&quot;&gt;# info&lt;/span&gt;
iw list 
nmcli device status
rfkill
airmon-ng check &lt;span class=&quot;token function&quot;&gt;kill&lt;/span&gt;

&lt;span class=&quot;token comment&quot;&gt;# Region&lt;/span&gt;
iw reg get
iw reg &lt;span class=&quot;token builtin class-name&quot;&gt;set&lt;/span&gt; US
iw wlan&lt;span class=&quot;token comment&quot;&gt;# scan&lt;/span&gt;

&lt;span class=&quot;token comment&quot;&gt;# Monitor Mode&lt;/span&gt;
airmon-ng 
airmon-ng start wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;

&lt;span class=&quot;token function&quot;&gt;ifconfig&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# down&lt;/span&gt;
iwconfig wlan&lt;span class=&quot;token comment&quot;&gt;# mode monitor&lt;/span&gt;
&lt;span class=&quot;token function&quot;&gt;ifconfig&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# up&lt;/span&gt;

&lt;span class=&quot;token function&quot;&gt;ip&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;token builtin class-name&quot;&gt;set&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# down&lt;/span&gt;
iw dev wlan&lt;span class=&quot;token comment&quot;&gt;# interface add wlan0mon type monitor&lt;/span&gt;
iw dev wlan&lt;span class=&quot;token comment&quot;&gt;# set channel #&lt;/span&gt;
&lt;span class=&quot;token function&quot;&gt;ip&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;link&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;#mon up&lt;/span&gt;
iw dev wlan&lt;span class=&quot;token comment&quot;&gt;#mon info&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;lab-1-open-ap&quot;&gt;Lab 1: Open AP&lt;/h2&gt;
&lt;p&gt;Task:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use airodump-ng or kismet to conduct recon of the in-scope SSIDs&lt;/li&gt;
&lt;li&gt;Create an open Evil Twin that is not providing Internet&lt;/li&gt;
&lt;li&gt;Create an OWE rogue AP&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tools:
&lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airmon-ng&quot;&gt;Airmon-ng&lt;/a&gt;, &lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airodump-ng&quot;&gt;Airodump-ng&lt;/a&gt;, &lt;a href=&quot;https://www.kismetwireless.net/docs/readme/alerts/alerts/&quot;&gt;Kismet&lt;/a&gt;, &lt;a href=&quot;https://w1.fi/hostapd/&quot;&gt;Hostapd&lt;/a&gt;, &lt;a href=&quot;https://github.com/s0lst1c3/eaphammer/wiki&quot;&gt;Eaphammer&lt;/a&gt;, &lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airbase-ng&quot;&gt;Airbase-ng&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&quot;solution-task-1&quot;&gt;Solution - Task 1&lt;/h3&gt;
&lt;h5 id=&quot;ssid&quot;&gt;SSID&lt;/h5&gt;
&lt;p&gt;Sweet-B#.#&lt;/p&gt;
&lt;h4 id=&quot;airmon-ng&quot;&gt;Airmon-ng&lt;/h4&gt;
&lt;p&gt;Put your card into monitor mode&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airmon-ng start wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;airodump-ng&quot;&gt;Airodump-ng&lt;/h4&gt;
&lt;p&gt;Scan for the in-scope SSIDs&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airodump-ng &lt;span class=&quot;token parameter variable&quot;&gt;--band&lt;/span&gt; abg wlan&lt;span class=&quot;token comment&quot;&gt;#mon&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Identify the channel, BSSID, and security suite used by the in-scope SSIDs. Press the space bar to pause the output, which makes it easier to copy.&lt;/p&gt;
&lt;p&gt;Press the &#39;a&#39; button to filter the stdout display.&lt;/p&gt;
&lt;p&gt;Run airodump-ng again with the information from above to lock in on our in-scope networks and write the output to a file for further analysis with Wireshark.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airodump-ng &lt;span class=&quot;token parameter variable&quot;&gt;-c&lt;/span&gt;&lt;span class=&quot;token comment&quot;&gt;# wlan#mon --bssid &amp;lt;BSSID&gt; -w &amp;lt;file.pcap&gt; --output-format pcap&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;kismet&quot;&gt;Kismet&lt;/h4&gt;
&lt;p&gt;Kismet will run in the terminal, but the main interface can be accessed from a web browser of your choice. You can run kismet without any arguments and it outputs a kismetdb file. Run it with a &lt;code&gt;-t&lt;/code&gt; to give it a specific file name. &lt;code&gt;-c&lt;/code&gt; lets you specify the interface on the command line. You don&#39;t have to specify the interface on the command line; you can also select it in the GUI.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;kismet
kismet &lt;span class=&quot;token parameter variable&quot;&gt;-t&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;filename&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; 
kismet &lt;span class=&quot;token parameter variable&quot;&gt;-c&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In a web browser, navigate to http://localhost:2501. The first-time setup will ask you to configure a username and password.&lt;/p&gt;
&lt;p&gt;Once in the GUI, click on the hamburger menu in the top left corner. Select Data Sources -&amp;gt; Select your Card -&amp;gt; Enable&lt;/p&gt;
&lt;p&gt;Convert kismet file to pcap:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;kismetdb_to_pcap &lt;span class=&quot;token parameter variable&quot;&gt;-i&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;filename&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-o&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;filename.pcap&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;wireshark&quot;&gt;Wireshark&lt;/h4&gt;
&lt;p&gt;Open the file you just created in Wireshark.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;wireshark &lt;span class=&quot;token parameter variable&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;file.pcap&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To view all traffic from one BSSID:
&lt;code&gt;wlan.bssid== &amp;lt;BSSID&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To view all traffic from one SSID:
&lt;code&gt;wlan.ssid==&amp;quot;&amp;lt;ID&amp;gt;&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For more filters for further recon, reference the &amp;quot;wireshark-802.11-filters-reference_sheet.pdf&amp;quot; provided with the workshop materials.&lt;/p&gt;
&lt;h3 id=&quot;solution-task-2&quot;&gt;Solution - Task 2&lt;/h3&gt;
&lt;h4 id=&quot;hostapd&quot;&gt;Hostapd&lt;/h4&gt;
&lt;h5 id=&quot;ssid-2&quot;&gt;SSID&lt;/h5&gt;
&lt;p&gt;Sweet-B#.#&lt;/p&gt;
&lt;p&gt;Create a configuration file:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token comment&quot;&gt;# Create the file &lt;/span&gt;
&lt;span class=&quot;token function&quot;&gt;nano&lt;/span&gt; open.conf 

&lt;span class=&quot;token comment&quot;&gt;# Enter the following contents (making sure to update the interface number e.g. wlan0 or wlan1):&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;interface&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;wlan&lt;span class=&quot;token comment&quot;&gt;# &lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;ssid&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;SSID&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;hw_mode&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;b
&lt;span class=&quot;token assign-left variable&quot;&gt;channel&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;6&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;beacon_int&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;100&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;country_code&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;US
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Execute the config file with hostapd or hostapd-mana:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;hostapd open.conf 

hostapd-mana open.conf
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;eaphammer&quot;&gt;Eaphammer&lt;/h4&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; eaphammer &lt;span class=&quot;token parameter variable&quot;&gt;--interface&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# --essid &amp;lt;SSID&gt; --channel 6 --auth open&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;airbase-ng&quot;&gt;Airbase-ng&lt;/h4&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; airbase-ng &lt;span class=&quot;token parameter variable&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;SSID&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;10&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;solution-task-3&quot;&gt;Solution - Task 3&lt;/h3&gt;
&lt;h5 id=&quot;ssid-3&quot;&gt;SSID&lt;/h5&gt;
&lt;p&gt;Sweet-B#.#&lt;/p&gt;
&lt;h4 id=&quot;eaphammer-2&quot;&gt;Eaphammer&lt;/h4&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; eaphammer &lt;span class=&quot;token parameter variable&quot;&gt;--interface&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# --auth owe --essid &amp;lt;SSID&gt; --pmf enable&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;lab-2-wifiphisher-captive-portal&quot;&gt;Lab 2: Wifiphisher / Captive Portal&lt;/h2&gt;
&lt;p&gt;Task:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a captive portal using wifiphisher&lt;/li&gt;
&lt;li&gt;Create a captive portal using wifipumpkin3 (At Home)&lt;/li&gt;
&lt;li&gt;Pick a webpage to copy (At Home)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tools:
&lt;a href=&quot;https://github.com/wifiphisher/wifiphisher&quot;&gt;Wifiphisher&lt;/a&gt;, &lt;a href=&quot;https://docs.wifipumpkin3.com/&quot;&gt;Wifipumpkin3&lt;/a&gt;, &lt;a href=&quot;https://man7.org/linux/man-pages/man1/wget.1.html&quot;&gt;Wget&lt;/a&gt;, &lt;a href=&quot;https://pypi.org/project/pywebcopy/&quot;&gt;Pywebcopy&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&quot;solution-task-1-2&quot;&gt;Solution - Task 1&lt;/h3&gt;
&lt;h5 id=&quot;ssid-4&quot;&gt;SSID&lt;/h5&gt;
&lt;p&gt;Sweet-B#.#&lt;/p&gt;
&lt;h4 id=&quot;wifiphisher&quot;&gt;Wifiphisher&lt;/h4&gt;
&lt;p&gt;Interactive mode:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;wifiphisher
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;All-in-one command. When adding a phishing page, you will need to add it to &lt;code&gt;/usr/lib/python3/dist-packages/wifiphisher/data/phishing-pages/&lt;/code&gt;. Then you will need to reinstall wifiphisher.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; wifiphisher &lt;span class=&quot;token parameter variable&quot;&gt;-aI&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# -iAM &amp;lt;BSSID mac&gt; -nD -nE -e &amp;lt;SSID&gt; -p starbucks-login&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;solution-task-2-2&quot;&gt;Solution - Task 2&lt;/h3&gt;
&lt;h4 id=&quot;wifipumpkin3&quot;&gt;Wifipumpkin3&lt;/h4&gt;
&lt;p&gt;Wifipumpkin requires an interface that provides internet or it will be problematic.
There are some issues with wifipumpkin if you have multiple interfaces up. Try to limit it to one wireless adapter and the interface providing the internet.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;ip&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;token builtin class-name&quot;&gt;set&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# down&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Interactive mode:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;wp3 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Next, set up the AP. Please note that 5GHz channels will break your setup.
&lt;code&gt;ap&lt;/code&gt; will show you the properties of the AP.
&lt;code&gt;set ssid &amp;lt;SSID&amp;gt;&lt;/code&gt;
&lt;code&gt;set interface wlan#&lt;/code&gt;
&lt;code&gt;set channel #&lt;/code&gt;
&lt;code&gt;set security false&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For the captive portals, wp3 calls them captiveflask.
First, make sure the captiveflask module is enabled.
&lt;code&gt;proxies&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If it is not enabled, enable it with:
&lt;code&gt;set proxy captiveflask&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Assign it a portal to use; there is a list to look through.
&lt;code&gt;set captiveflask.DarkLogin true&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If you need to fix any IP issues, your rogue AP should not be using the same IP as any other interface or the redirect to the captive portal will fail:
&lt;code&gt;dhcpconf&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To change, use:
&lt;code&gt;dhcpconf #&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Now we just need to:
&lt;code&gt;start&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&quot;solution-task-3-2&quot;&gt;Solution - Task 3&lt;/h3&gt;
&lt;h4 id=&quot;wget&quot;&gt;Wget&lt;/h4&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;wget&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-l2&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;website&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;pywebcopy&quot;&gt;Pywebcopy&lt;/h4&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; python3 &lt;span class=&quot;token parameter variable&quot;&gt;-m&lt;/span&gt; pywebcopy &lt;span class=&quot;token parameter variable&quot;&gt;--page&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;--url&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;url&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;lab-3-wpa-wpa2-evil-twin&quot;&gt;Lab 3: WPA/WPA2 Evil Twin&lt;/h2&gt;
&lt;p&gt;Task:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use airodump-ng to conduct recon of the in-scope SSIDs&lt;/li&gt;
&lt;li&gt;Create an Evil Twin for a WPA2 network&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tools:
&lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airmon-ng&quot;&gt;Airmon-ng&lt;/a&gt;, &lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airodump-ng&quot;&gt;Airodump-ng&lt;/a&gt;, &lt;a href=&quot;https://github.com/s0lst1c3/eaphammer/wiki&quot;&gt;Eaphammer&lt;/a&gt;, &lt;a href=&quot;https://github.com/sensepost/hostapd-mana/wiki/Creating-PSK-or-EAP-Networks&quot;&gt;Hostapd-mana&lt;/a&gt;, &lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airbase-ng&quot;&gt;Airbase-ng&lt;/a&gt;, &lt;a href=&quot;https://github.com/sensepost/berate_ap&quot;&gt;Berate_ap&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&quot;solution-task-1-3&quot;&gt;Solution - Task 1&lt;/h3&gt;
&lt;h5 id=&quot;ssid-5&quot;&gt;SSID&lt;/h5&gt;
&lt;p&gt;Sweet-B-IOT#.#&lt;/p&gt;
&lt;h4 id=&quot;airmon-ng-2&quot;&gt;Airmon-ng&lt;/h4&gt;
&lt;p&gt;Put your card into monitor mode&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airmon-ng start wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;airodump-ng-2&quot;&gt;Airodump-ng&lt;/h4&gt;
&lt;p&gt;Scan for the in-scope SSIDs&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airodump-ng &lt;span class=&quot;token parameter variable&quot;&gt;--band&lt;/span&gt; abg wlan&lt;span class=&quot;token comment&quot;&gt;#mon&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Identify the channel, BSSID, and security suite used by the in-scope SSIDs. Press the space bar to pause the output, which makes it easier to copy.&lt;/p&gt;
&lt;p&gt;Run airodump-ng again with the information from above to lock in on our in-scope networks and write the output to a file for further analysis with Wireshark.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airodump-ng &lt;span class=&quot;token parameter variable&quot;&gt;-c&lt;/span&gt;&lt;span class=&quot;token comment&quot;&gt;# wlan#mon --bssid &amp;lt;BSSID&gt; -w &amp;lt;file.pcap&gt; --output-format pcap&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;wireshark-2&quot;&gt;Wireshark&lt;/h4&gt;
&lt;p&gt;Open the file you just created in Wireshark.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;wireshark &lt;span class=&quot;token parameter variable&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;file.pcap&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To view all traffic from one BSSID:
&lt;code&gt;wlan.bssid== &amp;lt;BSSID&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To view all traffic from one SSID:
&lt;code&gt;wlan.ssid==&amp;quot;&amp;lt;ID&amp;gt;&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To view EAP messages:
&lt;code&gt;eap&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For more filters for further recon, reference the &amp;quot;wireshark-802.11-filters-reference_sheet.pdf&amp;quot; provided with the workshop materials.&lt;/p&gt;
&lt;h3 id=&quot;solution-task-2-3&quot;&gt;Solution - Task 2&lt;/h3&gt;
&lt;h5 id=&quot;ssid-6&quot;&gt;SSID&lt;/h5&gt;
&lt;p&gt;Sweet-B-IOT#.#&lt;/p&gt;
&lt;h4 id=&quot;eaphammer-3&quot;&gt;Eaphammer&lt;/h4&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; eaphammer &lt;span class=&quot;token parameter variable&quot;&gt;--interface&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# -c 6 --auth wpa-psk -e &amp;lt;SSID&gt; --creds&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;airbase&quot;&gt;Airbase&lt;/h4&gt;
&lt;p&gt;First, put the card in monitor mode:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airmon-ng start wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;
airbase-ng &lt;span class=&quot;token parameter variable&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;9&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;SSID&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-Z&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;4&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;#mon&lt;/span&gt;
airodump-ng &lt;span class=&quot;token parameter variable&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;9&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;#mon --essid &amp;lt;SSID&gt; -w handshakecapture&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;berate-ap&quot;&gt;Berate_ap&lt;/h4&gt;
&lt;p&gt;To get berate_ap to work, you will need to open &lt;code&gt;/usr/bin/berate_ap&lt;/code&gt; and add a &lt;code&gt;#&lt;/code&gt; to the front of line 1855.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;nano&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-l&lt;/span&gt; /usr/bin/berate_ap
&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; berate_ap &lt;span class=&quot;token parameter variable&quot;&gt;-n&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# &amp;lt;SSID&gt; &amp;lt;randopassword&gt; --mana-wpa --mana-wpaout &amp;lt;file.hccapx&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;hostapd-mana&quot;&gt;Hostapd-Mana&lt;/h4&gt;
&lt;p&gt;Create a file &lt;code&gt;twin.conf&lt;/code&gt;. It doesn&#39;t matter what password we use in &lt;code&gt;wpa_passphrase&lt;/code&gt;.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token comment&quot;&gt;# the basic stuff &lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;interface&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;hw_mode&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;g 
&lt;span class=&quot;token assign-left variable&quot;&gt;channel&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;3&lt;/span&gt; 
&lt;span class=&quot;token assign-left variable&quot;&gt;country_code&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;US 
&lt;span class=&quot;token assign-left variable&quot;&gt;ssid&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;SSID&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;ignore_broadcast_ssid&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;0&lt;/span&gt; 
&lt;span class=&quot;token assign-left variable&quot;&gt;beacon_int&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;100&lt;/span&gt;

&lt;span class=&quot;token comment&quot;&gt;# authentication and security &lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;wpa&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;3&lt;/span&gt; 
&lt;span class=&quot;token assign-left variable&quot;&gt;wpa_passphrase&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;randopassword&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; 
&lt;span class=&quot;token assign-left variable&quot;&gt;wpa_key_mgmt&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;WPA-PSK 
&lt;span class=&quot;token assign-left variable&quot;&gt;wpa_pairwise&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;TKIP CCMP 
&lt;span class=&quot;token assign-left variable&quot;&gt;rsn_pairwise&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;CCMP 
&lt;span class=&quot;token assign-left variable&quot;&gt;auth_algs&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt; 
&lt;span class=&quot;token assign-left variable&quot;&gt;macaddr_acl&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;0&lt;/span&gt; 

&lt;span class=&quot;token comment&quot;&gt;# Mana stuff &lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;mana_wpaout&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;creds.hccapx 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Execute the file:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; hostapd-mana twin.conf
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;lab-4-wpa2-hash-cracking&quot;&gt;Lab 4: WPA2 Hash Cracking&lt;/h2&gt;
&lt;p&gt;Task:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Crack the hashes from Lab 3: WPA/WPA2&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Hashes:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# COPY OF HASHES HERE

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Tools:
&lt;a href=&quot;https://hashcat.net/wiki/doku.php?id=cracking_wpawpa2&quot;&gt;Hashcat&lt;/a&gt;, &lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=aircrack-ng&quot;&gt;Aircrack-ng&lt;/a&gt;, &lt;a href=&quot;https://openwall.info/wiki/john/WPA-PSK&quot;&gt;John&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Wordlists:
In your VM:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token comment&quot;&gt;# Extract the rockyou dict&lt;/span&gt;
&lt;span class=&quot;token function&quot;&gt;tar&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-xvf&lt;/span&gt; /home/rogue1/opt/rockyou.tar.gz 

&lt;span class=&quot;token comment&quot;&gt;# Extract only words longer than 8 characters&lt;/span&gt;
&lt;span class=&quot;token function&quot;&gt;cat&lt;/span&gt; /home/rogue1/opt/rockyou.txt &lt;span class=&quot;token operator&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;grep&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&#39;[^ ]&#92;{8&#92;}&#39;&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; rockyou8Plus.txt

&lt;span class=&quot;token comment&quot;&gt;# For a shortcut, download the WIFIGHT-WORDS.rtf file from the Google Drive&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;solution-task-1-4&quot;&gt;Solution - Task 1&lt;/h3&gt;
&lt;h4 id=&quot;hashcat&quot;&gt;Hashcat&lt;/h4&gt;
&lt;p&gt;Your tools output the old hash format that is no longer supported by Hashcat :&#39;(.
The &lt;code&gt;2500&lt;/code&gt; hash mode is deprecated; now we need to use &lt;code&gt;22000&lt;/code&gt; to run hashcat. There is a Python script in &lt;code&gt;/home/rogue1/opt/hash/cvt.py&lt;/code&gt; that will allow us to convert it.&lt;/p&gt;
&lt;p&gt;Once you have converted the hashes, you can go ahead and crack them:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;hashcat &lt;span class=&quot;token parameter variable&quot;&gt;-m&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;22000&lt;/span&gt; creds.hccapx &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;wordlist&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;another-method-to-convert-to-the-correct-hashcat-format&quot;&gt;Another method to convert to the correct hashcat format&lt;/h4&gt;
&lt;p&gt;Once you have the .hccapx file, run:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;hcxhash2cap &lt;span class=&quot;token parameter variable&quot;&gt;--hccapx&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;creds.hccapx &lt;span class=&quot;token parameter variable&quot;&gt;-c&lt;/span&gt; handshake.pcap 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;hcxpcapngtool handshake.pcap &lt;span class=&quot;token parameter variable&quot;&gt;-o&lt;/span&gt; hash.22000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And finally:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;hashcat &lt;span class=&quot;token parameter variable&quot;&gt;-m&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;22000&lt;/span&gt; creds.hccapx &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;wordlist&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;aircrack-ng&quot;&gt;Aircrack-ng&lt;/h4&gt;
&lt;p&gt;Aircrack still works on the legacy &lt;code&gt;-m 2500&lt;/code&gt; formatting, so you don&#39;t need to do a conversion unless you plan on popping it into a more powerful cracking utility like hashcat.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;aircrack-ng creds.hccapx &lt;span class=&quot;token parameter variable&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;SSID&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-w&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;wordlist&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;john&quot;&gt;John&lt;/h4&gt;
&lt;p&gt;You can use john like hashcat, or just use its wordlist rules to mangle your dictionary and feed that into aircrack.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;john &lt;span class=&quot;token parameter variable&quot;&gt;--wordlist&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;wordlist&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;--rules&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;--stdout&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;|&lt;/span&gt; aircrack-ng &lt;span class=&quot;token parameter variable&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;SSID&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-w&lt;/span&gt; - creds.hccapx
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;lab-5-eap-evil-twin&quot;&gt;Lab 5: EAP Evil Twin&lt;/h2&gt;
&lt;p&gt;Task:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use airodump-ng to conduct recon of the in-scope SSIDs&lt;/li&gt;
&lt;li&gt;Create a Rogue AP for an EAP network&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tools:
&lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airmon-ng&quot;&gt;Airmon-ng&lt;/a&gt;, &lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airodump-ng&quot;&gt;Airodump-ng&lt;/a&gt;, &lt;a href=&quot;https://github.com/s0lst1c3/eaphammer/wiki&quot;&gt;Eaphammer&lt;/a&gt;, &lt;a href=&quot;https://github.com/sensepost/hostapd-mana/wiki/Creating-PSK-or-EAP-Networks&quot;&gt;Hostapd-mana&lt;/a&gt;, &lt;a href=&quot;https://gist.github.com/singe/40bda2a1772aaf4903515cc4e436afe5#file-extract_eap-sh&quot;&gt;extract_cert.sh&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&quot;solution-task-1-5&quot;&gt;Solution - Task 1&lt;/h3&gt;
&lt;h5 id=&quot;ssid-7&quot;&gt;SSID&lt;/h5&gt;
&lt;p&gt;Sweet-B-Secure#.#&lt;/p&gt;
&lt;h4 id=&quot;airmon-ng-3&quot;&gt;Airmon-ng&lt;/h4&gt;
&lt;p&gt;Put your card into monitor mode&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airmon-ng start wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;airodump-ng-3&quot;&gt;Airodump-ng&lt;/h4&gt;
&lt;p&gt;Scan for the in-scope SSIDs&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airodump-ng &lt;span class=&quot;token parameter variable&quot;&gt;--band&lt;/span&gt; abg wlan&lt;span class=&quot;token comment&quot;&gt;#mon&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Identify the channel, BSSID, and security suite used by the in-scope SSIDs. Press the space bar to pause the output, which makes it easier to copy.&lt;/p&gt;
&lt;p&gt;Run airodump-ng again with the information from above to lock in on our in-scope networks and write the output to a file for further analysis with Wireshark.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;airodump-ng &lt;span class=&quot;token parameter variable&quot;&gt;-c&lt;/span&gt;&lt;span class=&quot;token comment&quot;&gt;# wlan#mon --bssid &amp;lt;BSSID&gt; -w &amp;lt;file.pcap&gt; --output-format pcap&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;wireshark-3&quot;&gt;Wireshark&lt;/h4&gt;
&lt;p&gt;Open the file you just created in Wireshark.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;wireshark &lt;span class=&quot;token parameter variable&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;file.pcap&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To view all traffic from one BSSID:
&lt;code&gt;wlan.bssid== &amp;lt;BSSID&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To view all traffic from one SSID:
&lt;code&gt;wlan.ssid==&amp;quot;&amp;lt;ID&amp;gt;&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To view EAP messages:
&lt;code&gt;eap&lt;/code&gt;
&lt;code&gt;eap.identity&lt;/code&gt;
&lt;code&gt;eap.type&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To view EAP Server Cert:
&lt;code&gt;tls.handshake.type == 11&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For more filters for further recon, reference the &amp;quot;wireshark-802.11-filters-reference_sheet.pdf&amp;quot; provided with the workshop materials.&lt;/p&gt;
&lt;h3 id=&quot;solution-task-2-4&quot;&gt;Solution - Task 2&lt;/h3&gt;
&lt;p&gt;First, you must extract a copy of the client&#39;s certificate, because we will be using this for spoofing.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;./extract_cert.sh &lt;span class=&quot;token parameter variable&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;pcap&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;eaphammer-4&quot;&gt;Eaphammer&lt;/h4&gt;
&lt;p&gt;Create a certificate in Eaphammer and then execute the Rogue AP. You will use the values you extracted with &lt;code&gt;extract_cert.sh&lt;/code&gt; to populate the questions in Eaphammer&#39;s cert wizard.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token comment&quot;&gt;# Create the certificate&lt;/span&gt;
eaphammer --cert-wizard

&lt;span class=&quot;token comment&quot;&gt;# Execute Eaphammer using the new cert&lt;/span&gt;
&lt;span class=&quot;token builtin class-name&quot;&gt;cd&lt;/span&gt; certs
&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; eaphammer &lt;span class=&quot;token parameter variable&quot;&gt;--interface&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;# --negotiate balanced --auth wpa-eap --bssid &amp;lt;BSSID&gt; --essid &amp;lt;SSID&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;hostapd-mana-2&quot;&gt;Hostapd-Mana&lt;/h4&gt;
&lt;p&gt;Create the &lt;code&gt;eap_user&lt;/code&gt; file (you probably want to type this out because spacing can be problematic):&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;nano&lt;/span&gt; hostapd.eap.user
&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token comment&quot;&gt;# Phase 1 (outer authentication)&lt;/span&gt;
*      PEAP,TTLS,TLS,FAST
&lt;span class=&quot;token string&quot;&gt;&quot;t&quot;&lt;/span&gt;    GTC,MSCHAPV2,TTLS-MSCHAPV2,TTLS,TTLS-CHAP,TTLS-PAP,TTLS-MSCHAP,MD5   &lt;span class=&quot;token string&quot;&gt;&quot;t&quot;&lt;/span&gt;  &lt;span class=&quot;token punctuation&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Create the Hostapd-Mana file &lt;code&gt;rogueMana.conf&lt;/code&gt;:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token comment&quot;&gt;# the basic stuff &lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;interface&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;hw_mode&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;g 
&lt;span class=&quot;token assign-left variable&quot;&gt;channel&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;3&lt;/span&gt; 
&lt;span class=&quot;token assign-left variable&quot;&gt;country_code&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;US 
&lt;span class=&quot;token assign-left variable&quot;&gt;ssid&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;SSID&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;ignore_broadcast_ssid&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;0&lt;/span&gt; 
&lt;span class=&quot;token assign-left variable&quot;&gt;beacon_int&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;100&lt;/span&gt; 

&lt;span class=&quot;token comment&quot;&gt;# authentication and security &lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;wpa&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;3&lt;/span&gt; 
&lt;span class=&quot;token comment&quot;&gt;#wpa_passphrase=password1 &lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;wpa_key_mgmt&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;WPA-EAP 
&lt;span class=&quot;token assign-left variable&quot;&gt;wpa_pairwise&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;TKIP CCMP 
&lt;span class=&quot;token comment&quot;&gt;#rsn_pairwise=CCMP &lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;auth_algs&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;3&lt;/span&gt; 
&lt;span class=&quot;token assign-left variable&quot;&gt;macaddr_acl&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;0&lt;/span&gt; 

&lt;span class=&quot;token comment&quot;&gt;# EAP &lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;ieee8021x&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;eapol_key_index_workaround&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;0&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;eap_server&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;eap_user_file&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;hostapd.eap_user
&lt;span class=&quot;token assign-left variable&quot;&gt;server_cert&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;eaphammer/certs/active/fullchain.pem
&lt;span class=&quot;token assign-left variable&quot;&gt;private_key&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;eaphammer/certs/active/fullchain.pem
&lt;span class=&quot;token assign-left variable&quot;&gt;dh_file&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;eaphammer/certs/dh

&lt;span class=&quot;token comment&quot;&gt;# mana stuff &lt;/span&gt;
&lt;span class=&quot;token comment&quot;&gt;#mana_wpaout=test.hccapx&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;mana_wpe&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;mana_eapsuccess&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token number&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;mana_credout&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;hostapd.creds
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Execute the file:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; hostapd-mana rogueMana.conf
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;lab-6-eap-hash-cracking&quot;&gt;Lab 6: EAP Hash Cracking&lt;/h2&gt;
&lt;p&gt;Task:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Crack the hashes from Lab 5: EAP Rogue AP&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tools:
&lt;a href=&quot;https://github.com/joswr1ght/asleap&quot;&gt;Asleap&lt;/a&gt;, &lt;a href=&quot;https://hashcat.net/hashcat/&quot;&gt;Hashcat&lt;/a&gt;, &lt;a href=&quot;https://openwall.info/wiki/john&quot;&gt;John&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Wordlists:
In your VM:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;ls&lt;/span&gt; /usr/share/wordlists
/home/rogue1/opt/rockyou.txt
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For a shortcut, download WIFIGHT-WORDS.rtf from the Google Drive and use that.&lt;/p&gt;
&lt;h3 id=&quot;solution-task-1-6&quot;&gt;Solution - Task 1&lt;/h3&gt;
&lt;h4 id=&quot;asleap&quot;&gt;Asleap&lt;/h4&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;asleap &lt;span class=&quot;token parameter variable&quot;&gt;-C&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;challenge&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-R&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;response&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-W&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;wordlist&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;hashcat-2&quot;&gt;Hashcat&lt;/h4&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;hashcat &lt;span class=&quot;token parameter variable&quot;&gt;-m&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;5500&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-a&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;hashwiththeusername / file&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;wordlist&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id=&quot;john-2&quot;&gt;John&lt;/h4&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;john &lt;span class=&quot;token parameter variable&quot;&gt;--format&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;netntlm &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;filewithhash&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;--wordlist&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;wordlist&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;lab-7-kismet-detections-at-home&quot;&gt;Lab 7: Kismet Detections (at home)&lt;/h2&gt;
&lt;p&gt;Task:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set up detections on your home network&lt;/li&gt;
&lt;li&gt;Set up an evil twin to see the detection&lt;/li&gt;
&lt;li&gt;Deauthenticate a client to see the alert&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tools:
&lt;a href=&quot;https://www.kismetwireless.net/docs/readme/alerts/alerts/&quot;&gt;Kismet&lt;/a&gt;, &lt;a href=&quot;https://github.com/s0lst1c3/eaphammer/wiki&quot;&gt;Eaphammer&lt;/a&gt;, &lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airmon-ng&quot;&gt;Airmon-ng&lt;/a&gt;, &lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=airodump-ng&quot;&gt;Airodump-ng&lt;/a&gt;, &lt;a href=&quot;https://www.aircrack-ng.org/doku.php?id=aireplay-ng&quot;&gt;Aireplay-ng&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&quot;solution-task-1-7&quot;&gt;Solution - Task 1&lt;/h3&gt;
&lt;p&gt;To fully run this Lab you will need two wireless cards.
Get your home network&#39;s BSSID (MAC address) using kismet or airodump-ng.&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; airmon-ng start wlan&lt;span class=&quot;token comment&quot;&gt;#&lt;/span&gt;
&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; airodump-ng &lt;span class=&quot;token parameter variable&quot;&gt;--band&lt;/span&gt; abg wlan&lt;span class=&quot;token comment&quot;&gt;#mon&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Update the kismet alerts file with your home BSSID:&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;span class=&quot;token function&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;nano&lt;/span&gt; /etc/kismet/kismet_alerts.conf
&lt;span class=&quot;token assign-left variable&quot;&gt;apspoof&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;Foo1:ssid&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&quot;Foobar&quot;&lt;/span&gt;,validmacs&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&quot;00:11:22:33:44:55,aa:bb:cc:dd:ee:ff&quot;&lt;/span&gt;
&lt;span class=&quot;token assign-left variable&quot;&gt;apspoof&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;Foo2:ssid&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&quot;(?i:foobar)&quot;&lt;/span&gt;,validmacs&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&quot;00:11:22:33:44:55&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Monitor the network!&lt;/p&gt;
&lt;h3 id=&quot;solution-task-2-5&quot;&gt;Solution - Task 2&lt;/h3&gt;
&lt;p&gt;You can use the steps from Lab 1, 3, or 5 to set up your evil twin with your home network SSID.&lt;/p&gt;
&lt;h3 id=&quot;solution-task-3-3&quot;&gt;Solution - Task 3&lt;/h3&gt;
&lt;p&gt;Deauthentication Flood&lt;/p&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;aireplay-ng &lt;span class=&quot;token parameter variable&quot;&gt;-0&lt;/span&gt; &lt;span class=&quot;token number&quot;&gt;7&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-a&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;BSSID&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;Station&lt;span class=&quot;token operator&quot;&gt;&gt;&lt;/span&gt; wlan&lt;span class=&quot;token comment&quot;&gt;#mon&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&quot;lab-8-nzyme-setup-at-home&quot;&gt;Lab 8: Nzyme Setup (at home)&lt;/h2&gt;
&lt;p&gt;Task:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set up Nzyme to monitor your home network&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tools:
&lt;a href=&quot;https://docs.nzyme.org/&quot;&gt;Nzyme&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&quot;solution-task-1-8&quot;&gt;Solution - Task 1&lt;/h3&gt;
&lt;p&gt;Set up Nzyme and identify your home network as the one to monitor.&lt;/p&gt;
&lt;p&gt;Log into Nzyme. Then, on the left-hand side, there are different menu tabs.
Go to WiFi -&amp;gt; Monitoring&lt;/p&gt;
&lt;p&gt;Once you start typing in the SSID field, Nzyme will suggest an available SSID from what it can see.
&lt;a href=&quot;https://docs.nzyme.org/wifi/monitoring/network-monitoring/&quot;&gt;Nzyme Network Monitoring&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now you can redo the Evil Twin attacks and deauthentication attacks against your network.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Getting Started with the VM</title>
    <link href="https://wifight.club/blog/getting-started-vm/" />
    <updated>2026-07-04T00:00:00Z</updated>
    <id>https://wifight.club/blog/getting-started-vm/</id>
    <content type="html">&lt;h2 id=&quot;download-the-vm&quot;&gt;Download the VM&lt;/h2&gt;
&lt;p&gt;Grab the workshop virtual machine for your hypervisor:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://drive.google.com/file/d/16xE-mYEo0dLt7FNR3e-pLKH5q-zf73J-/view?usp=drive_link&quot;&gt;VirtualBox&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://drive.google.com/file/d/1HRGapQcj6maKqOosMrofYMkRlxSdKF5A/view?usp=sharing&quot;&gt;VMware&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://drive.google.com/file/d/1ExmOMv2-XqiL6CoLZ03yzpIn3VmqVd51/view?usp=sharing&quot;&gt;QEMU&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Ensure you have VMware, Virtual Box, or Qemu installed on your system.&lt;/p&gt;
&lt;h2 id=&quot;oracle-virtual-box&quot;&gt;Oracle Virtual Box&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Save the zip file to your drive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Unzip&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a new VM&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Name the VM&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Point the VM Folder to the folder you just extracted
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/Sg8YXuKSQf-805.avif 805w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/Sg8YXuKSQf-805.webp 805w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/Sg8YXuKSQf-805.png&quot; alt=&quot;Setup&quot; width=&quot;805&quot; height=&quot;485&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the OS Distribution, &lt;code&gt;Debian&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Expand the &lt;code&gt;Specify virtual hard disk&lt;/code&gt;
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/EWB_Fyyaig-801.avif 801w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/EWB_Fyyaig-801.webp 801w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/EWB_Fyyaig-801.png&quot; alt=&quot;VM&quot; width=&quot;801&quot; height=&quot;389&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;code&gt;Use an Existing Virtual Hard Disk File&lt;/code&gt;, click on the file icon to the right. Click on add and select the .vdi file.
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/I-2-FMPSwl-944.avif 944w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/I-2-FMPSwl-944.webp 944w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/I-2-FMPSwl-944.png&quot; alt=&quot;HD&quot; width=&quot;944&quot; height=&quot;616&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click Finish and once it is done you will see the VM in the panel on the left.
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/ROMQWjkRkq-867.avif 867w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/ROMQWjkRkq-867.webp 867w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/ROMQWjkRkq-867.png&quot; alt=&quot;Panel&quot; width=&quot;867&quot; height=&quot;560&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to the VM settings -&amp;gt; USB. Ensure the USB Controller is enabled and makes sure &lt;code&gt;USB 3.0 (xHCI) Controller&lt;/code&gt; is checked.
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/_m_XMUZkDs-1518.avif 1518w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/_m_XMUZkDs-1518.webp 1518w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/_m_XMUZkDs-1518.png&quot; alt=&quot;USB3&quot; width=&quot;1518&quot; height=&quot;736&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click start .&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Username &lt;code&gt;kali&lt;/code&gt;, password &lt;code&gt;kali&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Navigate to Devices -&amp;gt; USB -&amp;gt; Select you wifi card, It will be listed by the driver
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/hL2mKj1ZV2-868.avif 868w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/hL2mKj1ZV2-868.webp 868w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/hL2mKj1ZV2-868.png&quot; alt=&quot;Wi-FiCard&quot; width=&quot;868&quot; height=&quot;588&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If step 12 doesn&#39;t work poweroff the VM. Go to the VM settings -&amp;gt; USB and add a USB Device Filter. Make sure your Wi-Fi card is plugged in. Click on the USB icon on the right side with a green &lt;code&gt;+&lt;/code&gt;.
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/YegyQiq3OQ-1090.avif 1090w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/YegyQiq3OQ-1090.webp 1090w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/YegyQiq3OQ-1090.png&quot; alt=&quot;Device Filter&quot; width=&quot;1090&quot; height=&quot;394&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the VM again.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Once you are logged in and the Wi-Fi card is connected to the VM Guest. Open a terminal and run:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;iw dev&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;the card should show up as &lt;code&gt;wlan0&lt;/code&gt;&lt;/p&gt;
&lt;h2 id=&quot;vmware&quot;&gt;Vmware&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Save the zip file to your drive.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Unzip&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open Vmware and click on in the home tab &lt;code&gt;Open a Virtual Machine&lt;/code&gt; Navigate to the folder you unzipped and select the .vmx file
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/HXO5ojWDzF-1371.avif 1371w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/HXO5ojWDzF-1371.webp 1371w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/HXO5ojWDzF-1371.png&quot; alt=&quot;Open&quot; width=&quot;1371&quot; height=&quot;484&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Before you start the VM, go to VM settings. Under the Hardware tab select &lt;code&gt;USB Controller&lt;/code&gt; change the &lt;code&gt;USB compatibility&lt;/code&gt; to &lt;code&gt;USB 3.1&lt;/code&gt;
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/sBOuyb-xdB-879.avif 879w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/sBOuyb-xdB-879.webp 879w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/sBOuyb-xdB-879.png&quot; alt=&quot;Usbcontroller&quot; width=&quot;879&quot; height=&quot;300&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start your VM.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Username &lt;code&gt;kali&lt;/code&gt;, password &lt;code&gt;kali&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Connect your Wi-Fi card. It should prompt you to select where the USB device is going.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you are not prompted to select where the card goes. Right Click on the VM tab at the top and click on the Removeable Devices and select the Wi-Fi Card.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Once you are logged in and the Wi-Fi card is connected to the VM Guest. Open a terminal and run:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;iw dev&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;the card should show up as &lt;code&gt;wlan0&lt;/code&gt;&lt;/p&gt;
&lt;h2 id=&quot;qemu&quot;&gt;QEMU&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;If you scrolled this far you know how to virtualize like a g and that linux already has that virtualization goodness built in. Continue with the following steps while feeling superior to those vmware/vbox users before you.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Unzip the VM&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;These steps assume you&#39;re using &lt;code&gt;virt-manager&lt;/code&gt;, if you&#39;re on the CLI you don&#39;t need me&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;File -&amp;gt; New Virtual Machine&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/kUCg0U1dGx-575.avif 575w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/kUCg0U1dGx-575.webp 575w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/kUCg0U1dGx-575.png&quot; alt=&quot;qemu_disk&quot; width=&quot;575&quot; height=&quot;605&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;ol start=&quot;5&quot;&gt;
&lt;li&gt;Select disk image then select Choose Volume&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/ZybiSVXtAn-808.avif 808w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/ZybiSVXtAn-808.webp 808w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/ZybiSVXtAn-808.png&quot; alt=&quot;qemu_disk_select&quot; width=&quot;808&quot; height=&quot;607&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;ol start=&quot;6&quot;&gt;
&lt;li&gt;Choose &amp;quot;Debian 13&amp;quot; under the choose operating system&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/VedrlPTg00-584.avif 584w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/VedrlPTg00-584.webp 584w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/VedrlPTg00-584.png&quot; alt=&quot;qemu_os&quot; width=&quot;584&quot; height=&quot;613&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;ol start=&quot;7&quot;&gt;
&lt;li&gt;
&lt;p&gt;Select ram/cpu count&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Username and password is &lt;code&gt;kali:kali&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From menu bar select Virtual Machine -&amp;gt; Redirect USB Device, then select your USB wifi adapter&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/GXwP8UA8nW-1318.avif 1318w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://wifight.club/blog/getting-started-vm/GXwP8UA8nW-1318.webp 1318w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://wifight.club/blog/getting-started-vm/GXwP8UA8nW-1318.png&quot; alt=&quot;qemu_desktop&quot; width=&quot;1318&quot; height=&quot;885&quot;&gt;&lt;/picture&gt;&lt;/p&gt;
&lt;ol start=&quot;10&quot;&gt;
&lt;li&gt;Confirm the card is available with:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class=&quot;language-bash&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;lsusb
iw dev&lt;/code&gt;&lt;/pre&gt;
&lt;ol start=&quot;11&quot;&gt;
&lt;li&gt;Hack&lt;/li&gt;
&lt;/ol&gt;
</content>
  </entry>
</feed>