Simple WiFi pentest

Hardware

The OS is Kali Linux. Don’t forget to do rm /boot/*cloud-arm64* && /usr/sbin/u-boot-update after apt update && apt upgrade otherwise you can’t boot after reboot. In my case, the main reason for the appearance incorrect kernel is apt install wireguard. As you can see

└─# apt depends wireguard
@@ -12,6 +12,14 @@
     linux-image-cloud-arm64
 

you can use it in any place with powerbank.

Some computer with video card

In my case it’s Gentoo with GeForce RTX 3070 Lite Hash Rate

Orange PI 5

Prepare

apt update
 apt install tshark hcxdumptool hcxtools iw bettercap
+

Exclude wlan0 from NodeManager

Update /etc/NetworkManager/NetworkManager.conf and restart NetworkManager

[main]
+plugins=ifupdown,keyfile
+
+[ifupdown]
+managed=false
+
+[keyfile]
+unmanaged-devices=interface-name:wlan0
 

Run

# Setup monitor mode
 ip link set wlan0 down && iw wlan0 set monitor none && ip link set wlan0 up
 # Run tool for hcxdumptool 6.3.1 (C) 2023 ZeroBeat
diff --git a/ru/sitemap.xml b/ru/sitemap.xml
index 0d7f59a..479bb96 100644
--- a/ru/sitemap.xml
+++ b/ru/sitemap.xml
@@ -1 +1 @@
-/tags/gentoo/2023-11-17T08:50:42+04:00/tags/kali/2023-11-17T08:50:42+04:00/tags/orange-pi5/2023-11-17T08:50:42+04:00/posts/2023-11-17T08:50:42+04:00/posts/wifi-pentest/2023-11-17T08:50:42+04:00/tags/2023-11-17T08:50:42+04:00/tags/wifi/2023-11-17T08:50:42+04:00/2023-11-17T08:50:42+04:00/tags/3d-%D0%BF%D0%B5%D1%87%D0%B0%D1%82%D1%8C/2023-11-16T22:10:23+04:00/tags/ender/2023-11-16T22:10:23+04:00/tags/ender-5/2023-11-16T22:10:23+04:00/posts/ender-5-pro-marlin/2023-11-16T22:10:23+04:00/tags/%D1%85%D0%BE%D0%B1%D0%B1%D0%B8/2023-11-16T22:10:23+04:00/tags/oh-my-zsh/2023-01-30T22:50:17+03:00/tags/termux/2023-01-30T22:50:17+03:00/posts/termux-/2023-01-30T22:50:17+03:00/tags/zsh/2023-01-30T22:50:17+03:00/tags/brewcask/2023-01-30T22:50:17+03:00/tags/macos/2023-01-30T22:50:17+03:00/posts/macos-default-soft/2023-01-30T22:50:17+03:00/posts/3d-print-advanced/2023-01-30T22:50:17+03:00/posts/3d-print-example/2023-01-30T22:50:17+03:00/tags/3%D0%B4-%D0%BF%D0%B5%D1%87%D0%B0%D1%82%D1%8C/2023-01-30T22:50:17+03:00/posts/3d-print-intro/2023-01-30T22:50:17+03:00/posts/hammock/2023-08-31T10:57:42+04:00/tags/%D1%82%D1%83%D1%80%D0%B8%D0%B7%D0%BC/2023-08-31T10:57:42+04:00/about/2022-11-16T10:01:43+04:00/categories/
\ No newline at end of file
+/tags/gentoo/2023-11-26T22:54:58+04:00/tags/kali/2023-11-26T22:54:58+04:00/tags/orange-pi5/2023-11-26T22:54:58+04:00/posts/2023-11-26T22:54:58+04:00/posts/wifi-pentest/2023-11-26T22:54:58+04:00/tags/2023-11-26T22:54:58+04:00/tags/wifi/2023-11-26T22:54:58+04:00/2023-11-26T22:54:58+04:00/tags/3d-%D0%BF%D0%B5%D1%87%D0%B0%D1%82%D1%8C/2023-11-16T22:10:23+04:00/tags/ender/2023-11-16T22:10:23+04:00/tags/ender-5/2023-11-16T22:10:23+04:00/posts/ender-5-pro-marlin/2023-11-16T22:10:23+04:00/tags/%D1%85%D0%BE%D0%B1%D0%B1%D0%B8/2023-11-16T22:10:23+04:00/tags/oh-my-zsh/2023-01-30T22:50:17+03:00/tags/termux/2023-01-30T22:50:17+03:00/posts/termux-/2023-01-30T22:50:17+03:00/tags/zsh/2023-01-30T22:50:17+03:00/tags/brewcask/2023-01-30T22:50:17+03:00/tags/macos/2023-01-30T22:50:17+03:00/posts/macos-default-soft/2023-01-30T22:50:17+03:00/posts/3d-print-advanced/2023-01-30T22:50:17+03:00/posts/3d-print-example/2023-01-30T22:50:17+03:00/tags/3%D0%B4-%D0%BF%D0%B5%D1%87%D0%B0%D1%82%D1%8C/2023-01-30T22:50:17+03:00/posts/3d-print-intro/2023-01-30T22:50:17+03:00/posts/hammock/2023-08-31T10:57:42+04:00/tags/%D1%82%D1%83%D1%80%D0%B8%D0%B7%D0%BC/2023-08-31T10:57:42+04:00/about/2022-11-16T10:01:43+04:00/categories/
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 52ec35e..a669207 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-/en/sitemap.xml/ru/sitemap.xml2023-11-17T08:50:42+04:00
\ No newline at end of file
+/en/sitemap.xml/ru/sitemap.xml2023-11-26T22:54:58+04:00
\ No newline at end of file
diff --git a/tags/gentoo/index.xml b/tags/gentoo/index.xml
index 4eb0131..cabb68f 100644
--- a/tags/gentoo/index.xml
+++ b/tags/gentoo/index.xml
@@ -15,6 +15,16 @@ linux-image-cloud-arm64
 <h3 id="prepare">Prepare</h3>
 <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>apt update
 </span></span><span style="display:flex;"><span>apt install tshark hcxdumptool hcxtools iw bettercap
+</span></span></code></pre></div><h3 id="exclude-wlan0-from-nodemanager">Exclude wlan0 from NodeManager</h3>
+<p>Update <code>/etc/NetworkManager/NetworkManager.conf</code> and restart NetworkManager</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-ini" data-lang="ini"><span style="display:flex;"><span><span style="color:#66d9ef">[main]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">plugins</span><span style="color:#f92672">=</span><span style="color:#e6db74">ifupdown,keyfile</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#66d9ef">[ifupdown]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">managed</span><span style="color:#f92672">=</span><span style="color:#e6db74">false</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#66d9ef">[keyfile]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">unmanaged-devices</span><span style="color:#f92672">=</span><span style="color:#e6db74">interface-name:wlan0</span>
 </span></span></code></pre></div><h3 id="run">Run</h3>
 <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#75715e"># Setup monitor mode</span>
 </span></span><span style="display:flex;"><span>ip link set wlan0 down <span style="color:#f92672">&amp;&amp;</span> iw wlan0 set monitor none <span style="color:#f92672">&amp;&amp;</span> ip link set wlan0 up
diff --git a/tags/kali/index.xml b/tags/kali/index.xml
index b943efb..5b7d779 100644
--- a/tags/kali/index.xml
+++ b/tags/kali/index.xml
@@ -15,6 +15,16 @@ linux-image-cloud-arm64
 <h3 id="prepare">Prepare</h3>
 <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>apt update
 </span></span><span style="display:flex;"><span>apt install tshark hcxdumptool hcxtools iw bettercap
+</span></span></code></pre></div><h3 id="exclude-wlan0-from-nodemanager">Exclude wlan0 from NodeManager</h3>
+<p>Update <code>/etc/NetworkManager/NetworkManager.conf</code> and restart NetworkManager</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-ini" data-lang="ini"><span style="display:flex;"><span><span style="color:#66d9ef">[main]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">plugins</span><span style="color:#f92672">=</span><span style="color:#e6db74">ifupdown,keyfile</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#66d9ef">[ifupdown]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">managed</span><span style="color:#f92672">=</span><span style="color:#e6db74">false</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#66d9ef">[keyfile]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">unmanaged-devices</span><span style="color:#f92672">=</span><span style="color:#e6db74">interface-name:wlan0</span>
 </span></span></code></pre></div><h3 id="run">Run</h3>
 <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#75715e"># Setup monitor mode</span>
 </span></span><span style="display:flex;"><span>ip link set wlan0 down <span style="color:#f92672">&amp;&amp;</span> iw wlan0 set monitor none <span style="color:#f92672">&amp;&amp;</span> ip link set wlan0 up
diff --git a/tags/orange-pi5/index.xml b/tags/orange-pi5/index.xml
index 18af9dd..70467a3 100644
--- a/tags/orange-pi5/index.xml
+++ b/tags/orange-pi5/index.xml
@@ -15,6 +15,16 @@ linux-image-cloud-arm64
 <h3 id="prepare">Prepare</h3>
 <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>apt update
 </span></span><span style="display:flex;"><span>apt install tshark hcxdumptool hcxtools iw bettercap
+</span></span></code></pre></div><h3 id="exclude-wlan0-from-nodemanager">Exclude wlan0 from NodeManager</h3>
+<p>Update <code>/etc/NetworkManager/NetworkManager.conf</code> and restart NetworkManager</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-ini" data-lang="ini"><span style="display:flex;"><span><span style="color:#66d9ef">[main]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">plugins</span><span style="color:#f92672">=</span><span style="color:#e6db74">ifupdown,keyfile</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#66d9ef">[ifupdown]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">managed</span><span style="color:#f92672">=</span><span style="color:#e6db74">false</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#66d9ef">[keyfile]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">unmanaged-devices</span><span style="color:#f92672">=</span><span style="color:#e6db74">interface-name:wlan0</span>
 </span></span></code></pre></div><h3 id="run">Run</h3>
 <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#75715e"># Setup monitor mode</span>
 </span></span><span style="display:flex;"><span>ip link set wlan0 down <span style="color:#f92672">&amp;&amp;</span> iw wlan0 set monitor none <span style="color:#f92672">&amp;&amp;</span> ip link set wlan0 up
diff --git a/tags/wifi/index.xml b/tags/wifi/index.xml
index fc912e3..ae165e6 100644
--- a/tags/wifi/index.xml
+++ b/tags/wifi/index.xml
@@ -15,6 +15,16 @@ linux-image-cloud-arm64
 <h3 id="prepare">Prepare</h3>
 <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>apt update
 </span></span><span style="display:flex;"><span>apt install tshark hcxdumptool hcxtools iw bettercap
+</span></span></code></pre></div><h3 id="exclude-wlan0-from-nodemanager">Exclude wlan0 from NodeManager</h3>
+<p>Update <code>/etc/NetworkManager/NetworkManager.conf</code> and restart NetworkManager</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-ini" data-lang="ini"><span style="display:flex;"><span><span style="color:#66d9ef">[main]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">plugins</span><span style="color:#f92672">=</span><span style="color:#e6db74">ifupdown,keyfile</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#66d9ef">[ifupdown]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">managed</span><span style="color:#f92672">=</span><span style="color:#e6db74">false</span>
+</span></span><span style="display:flex;"><span>
+</span></span><span style="display:flex;"><span><span style="color:#66d9ef">[keyfile]</span>
+</span></span><span style="display:flex;"><span><span style="color:#a6e22e">unmanaged-devices</span><span style="color:#f92672">=</span><span style="color:#e6db74">interface-name:wlan0</span>
 </span></span></code></pre></div><h3 id="run">Run</h3>
 <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#75715e"># Setup monitor mode</span>
 </span></span><span style="display:flex;"><span>ip link set wlan0 down <span style="color:#f92672">&amp;&amp;</span> iw wlan0 set monitor none <span style="color:#f92672">&amp;&amp;</span> ip link set wlan0 up