Logo

dev-resources.site

for different kinds of informations.

Hacking Wi-Fi 1: Conociendo aircrack-ng y el modo monitor

Published at
8/6/2023
Categories
wifi
wireless
pentesting
hacking
Author
vay3t
Categories
4 categories in total
wifi
open
wireless
open
pentesting
open
hacking
open
Author
5 person written this
vay3t
open
Hacking Wi-Fi 1: Conociendo aircrack-ng y el modo monitor

Image description

Instalando aircrack-ng y colocando la tarjeta wifi en modo monitor.

¿Que aircrack-ng?

aircrack-ng es una suite para crackeos de redes wifi, se centra en distintos tipos de ataques a protocolos WEP y WPA/WPA2. Para ocupar esta suite necesitamos privilegios de root.

Instalando aircrack-ng

sudo apt install aircrack-ng
Enter fullscreen mode Exit fullscreen mode

¿Que es airmon-ng?

airmon-ng es una de las herramientas de la suite de aircrack-ng, sirve para colocar la tarjeta en modo monitor.

Modo monitor

(No confundir con modo promiscuo) Usualmente nuestra tarjeta escucha y habla con algún punto de acceso (router), al estar la tarjeta en modo monitor solo escucha a otras tarjetas cuando estas están comunicándose entre si.

Para poder capturar estos paquetes y poder posteriormente trabajar con estos paquetes, necesitamos identificar nuestra interfaz de red con la que trabajaremos, en mi caso usare una tarjeta de red externa TL-WN722n v1 (como ya no se fabrican recomiendo usar el AWUS036NHA) que actualmente es la wlan1.

root@vay3t:~# airmon-ng
[sudo] password for francisk0v: 

PHY Interface   Driver      Chipset

phy0    wlan0       iwlwifi     Intel Corporation Wireless 3160 (rev 83)
phy1    wlan1       ath9k_htc   Atheros Communications, Inc. AR9271 802.11n
Enter fullscreen mode Exit fullscreen mode

Ahora usamos el siguiente comando para iniciar el modo monitor, si nos damos cuenta ahora nuestra interfaz de red cambia de nombre a wlan1mon.

root@vay3t:~# airmon-ng start wlan1

Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'

  PID Name
  792 avahi-daemon
  796 NetworkManager
  808 avahi-daemon
  909 wpa_supplicant
 5869 dhclient

PHY Interface   Driver      Chipset

phy0    wlan0       iwlwifi     Intel Corporation Wireless 3160 (rev 83)
phy1    wlan1       ath9k_htc   Atheros Communications, Inc. AR9271 802.11n

        (mac80211 monitor mode vif enabled for [phy1]wlan1 on [phy1]wlan1mon)
        (mac80211 station mode vif disabled for [phy1]wlan1)
Enter fullscreen mode Exit fullscreen mode

Ahora nuestra tarjeta esta lista para trabajar con la suite aircrack-ng o scapy.

No veo mi interfaz como wlanX

En caso de ver la interfaz con otro nombre que no sea wlanX te recomiendo usar el siguiente comando y luego reiniciar el equipo para aplicar las configuraciones:

sudo ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
Enter fullscreen mode Exit fullscreen mode
wireless Article's
30 articles in total
Favicon
Accessing a Laptop's Server on Port 80 from Your Phone via Wireless Debugging
Favicon
Next-Gen Wi-Fi: What to Expect from Wi-Fi 7
Favicon
Wireless Security Configuration: Protect Your Network Now!
Favicon
Unlocking Wireless Security: The Roles of Managed and Monitor Modes
Favicon
Access Points: Enhancing Wireless Connectivity for Businesses and Homes
Favicon
Wi-SUN: The Future of Secure and Scalable IoT Wireless Networks
Favicon
How To Connect Wireless Debugging!
Favicon
The Magic of Wireless Power Transmission Unleashing Teslas Vision
Favicon
Conquering Connectivity Challenges: The Advantages of Wireless Mesh Networks in Today's World
Favicon
Intelligence Home WiFi Solution | ThinkPalm
Favicon
ThinkPalm and Its' State of the Art Wireless Testing Lab
Favicon
Wireless Bridge Market Size [2024 To 2031] Risks Factors Analysis
Favicon
EAP TLS 1.3 Wifi auth
Favicon
Wireless Network Test Equipment Market to Surpass USD 9.06 Billion by 2030 Owing to Enhanced Connectivity
Favicon
Understanding Wi-Fi Protocols: Data and Signal Delivery Mechanisms
Favicon
Deauthentication Attack using Kali Linux
Favicon
DIY vs. Professional Installation: WiFi Access Points Compared
Favicon
latest Soaiy SR2 Air pod Pro in Pakistan
Favicon
Hacking Wi-Fi 3: Crackeando WPA/WPA2 con aircrack-ng
Favicon
Building my own (new) Linux router. WiFi card properties and their explanations (iw phy)
Favicon
Hacking Wi-Fi 1: Conociendo aircrack-ng y el modo monitor
Favicon
Choosing the Right Wireless Router: A Guide to Cambium Network, Ubiquiti Unifi, and TP-Link Products
Favicon
Hacking Wi-Fi 2: Introducción a airodump-ng y crackeos a WEP
Favicon
What is Federated Learning?
Favicon
Brief Overview of the Evolution of Mobile Networks from From 1G to 6G
Favicon
What kind of experience is it when the wireless WiFi is fast and sometimes slow?
Favicon
Application of wireless wake-up in irrigation system
Favicon
The Advantages of a Wireless Temperature Monitoring System
Favicon
Adaptador de red wireless BCM4360 en Kali Linux
Favicon
Wireless Sensor Network and IoT Security - IoT Blog

Featured ones: