Linux scan wifi networks

Top 6 WiFi Scanning Tools in Linux

Today, there is no home, school, or office that can function without a high-speed WiFi network. From taking online classes to working in the office, every task that is related to the Internet requires a WiFi network. With the explosion of so many WiFi devices around us, it sometimes becomes hard to detect, manage, and maintain WiFi networks.

Often users are likely to face many Wi-Fi-related issues, such as dropping out of WiFi signals, slow performance, or poor connectivity. Understanding and analyzing wireless networks can help resolve these issues. You can do WiFi scanning in order to analyze the details and working of wireless networks.

In this article, we will discuss what WiFi scanning is and how WiFi scanning tools work? Also, we will discuss some of the best WiFi scanning tools in Linux.

What is WiFi Scanning?

Wifi scanning is a process of scanning available wifi networks within the range of your computer or device. People use different scanning tools to get details about nearby wifi networks. Surrounded wifi networks possess a lot of information, including signal strength, channel, security configuration, capabilities of nearby networks, etc. A wifi scanner can help you detect this information.

Benefits of WiFi Scanning Tools

WiFi scanning tools allow you to:

  • Locate available wifi networks within range of your computer or device
  • Identify details related to the available wifi networks
  • Install a wireless network
  • Optimize a wifi network
  • Identify rogue access points
  • Enhance work efficiency

6 Best WiFi Scanning Tools

While wifi scanning tools help you locate available wifi networks nearby, it can become challenging to find the best tools. Here, we will talk about the six best wifi scanning tools for Linux.

LinSSID

LinSSID is an open-source WiFi analyzer that has an easy-to-use and graphical user interface. Maintaining its ideal performance, the LinSSID WiFi analyzer can scan both 2.4GHz and 5GHZ networks with an adjustable speed and real-time updates. Being written in C++ using Linux tools, it can even work on low-end systems.

Читайте также:  Настраиваем 360 wi fi

Key Features

  • It can detect nearby wifi networks and ad-hoc connections.
  • Simple and functional user interface.
  • It can show details of SSID names, MAC Id, Channel, Privacy, Cipher, Signal, Protocol, etc.
  • AP bandwidth is displayed.
  • Provide different information in sortable and movable columns.

nmcli

nmcli is a command line tool that can scan available WiFi networks to quickly see their signal strength and channels. It can show you available wireless networks SSID, mode, channel, transfer rate, signal strength, bars, and security. It can also be used to create, display, edit, delete, activate, and deactivate network connections. Moreover, nmcli can control and display the network device status.

Key Features

  • It can control NetworkManager without a graphical user interface.
  • nmcli can help utilize NetworkManager instead of managing network connections manually.
  • It helps you watch changes in connectivity state, devices, or connection profiles by observing NetworkManager activity.

Wavemon

Wavemon is a free wifi scanning tool available for all Linux distributions. Unlike LinSSID, it doesn’t have a graphical user interface. However, it can effectively display live signal, noise levels, packet statistics, device configuration, and network parameters of your wireless network hardware. You can use the command “ :~$ sudo apt install wavemon ” to install wavemon on Linux.

Key features

  • A ncurses-based monitoring application for wireless network devices
  • Provides information about all the characteristics of a wifi network, including SSID, MAC address, received wireless signal, security, and authentication of the wireless network
  • Has a Text User Interface (TUI)
  • Easy operation and installation
  • Can support connection up to 5GHz band
  • Flexible and easy to use

Kismet

Kismet is a free wireless network and device detector distributed with Kali Linux. It is one of the most used and up-to-date wifi monitoring tools. Moreover, it supports a variety of scanning plugins, including DECT, Bluetooth, etc.

Key features

  • Can log all sniffed packets and save them in tcpdump/Wireshark or Airsnort compatible file format
  • Can capture “Per-Packet Information” headers.
  • It can also detect default or not configured networks, and determine what level of wireless encryption is used on a given access point.
  • Supports channel hopping to find as many nearby networks as possible
  • Supports logging of the geographical coordinates of the network.

sparrow-wifi

sparrow-wifi is another Graphical User Interface WiFi and Bluetooth analyzer written entirely in Python for Linux. sparrow-wifi integrates wifi, software-defined radio (hackrf), advanced Bluetooth tools (traditional and Ubertooth), traditional GPS (via GPS), and drone/rover GPS via mavlink in one solution. You can hunt multiple samples within a matter of a few seconds and use the telemetry windows to track a wifi source.

Читайте также:  Преимуществами вай фай технологии является

Key features

  • It provides basic wifi SSID identification.
  • Suitable for both 2.4 GHz and 5 GHz spectrum.
  • Can produce Google maps with available GPS for both discovered SSIDs / Bluetooth devices or plot the wifi telemetry over time.
  • Integration with Elasticsearch to feed wireless scan data into Elastic Common Schema compliant indices.

Kismon

Kismon is a graphical user interface client for kismet and a wifi scanning tool for Linux. It consists of several other features.

Key Features

  • It supports file import: netxml (kismet), csv (old kismet version), json (kismon).
  • It also supports file export: kmz (Google Earth) and all import formats
  • Shows a single graph for each network
  • It can connect to multiple kismet servers simultaneously.
  • Provides a live map of the networks

Final Words

WiFi scanning tools help you locate nearby wireless networks and their details. While users may face many WiFi-related issues at some point, choosing the right WiFi scanning tool can help them address those issues. Scanning nearby wireless networks to check their signal strength, channel, security configuration, and capabilities can help you select a better wireless network for yourself.

In this article, we have discussed some of the best WiFi scanning tools in Linux that can scan for any information you may require. Selecting a proper wireless scanner depends entirely on your needs and requirements. Choose the WiFi Scanning tool that fits your needs and resolves wifi-related issues.

Tags

Recent Posts

Источник

HackWare.ru

Этичный хакинг и тестирование на проникновение, информационная безопасность

Как сканировать беспроводные сети обычным Wi-Fi приёмником

Это ещё одна статья о том, что можно делать с помощью обычного Wi-Fi приёмника на Linux, другие статьи:

Как сканировать Wi-Fi обычной картой

Описанный в этой статье способ поможет вам собрать информацию о Wi-Fi сетях в округе с помощью любого Wi-Fi устройства.

Следующий скриншот это не airodump-ng — это результат работы крошечной программы на Linux:

Описанный способ не только является упрощённым вариантом сканирования (airodump-ng для бедных), но и даже имеет несколько преимуществ:

  • во время сканирования не нужно отключаться от Интернета — то есть можно одновременно пользоваться интернетом по Wi-Fi и сканировать беспроводные сети;
  • про второе преимущество я уже написал — подойдёт абсолютно любой Wi-Fi адаптер;
  • можно собрать больше информации о WPS, чем обычно показывают другие программы.

Недостатков тоже хватает — невозможно захватить Wi-Fi рукопожатие, а также получить информацию о количестве передаваемых точками доступа данных и количестве беспроводных клиентов.

Читайте также:  Проверка скорости wifi android

Сбор информации о Точках доступа без режима монитора

Итак, в Linux узнаём имя беспроводного интерфейса:

У меня это интерфейсов два, их имена wlo1 (встроенная беспроводная карта) и wlp0s20f0u2 (USB адаптер), в Kali Linux это будет, скорее всего, wlan0.

Если интерфейс в состоянии down (если он не используется другими программами, например, для подключения к Интернету), то активируем его командой вида:

sudo ip link set ИНТЕРФЕЙС up
sudo ip link set wlp0s20f0u2 up

Теперь мы можем выполнить сканирование сетей:

sudo iw dev ИНТЕРФЕЙС scan
sudo iw dev wlp0s20f0u2 scan

Это пример информации об одной единственной беспроводной сети — примерно это же самое будет показано о всех сетях в пределах досягаемости:

А если указать опцию -u, то дополнительно будет выведена информация, которую не понимает даже сама система:

sudo iw dev wlp0s20f0u2 scan -u

Видно, что информации много — нужно просто её представить в удобном виде. Следующая команда сканирует и показывает таблицу с результатами. В этой команде замените wlp0s20f0u2 на имя вашего беспроводного интерфейса:

sudo iw dev wlp0s20f0u2 scan | awk 'BEGIN /BSS [a-z0-9:]/ /signal: / /SSID: / /DS Parameter set/ /Protected/ /Manufacturer/ /Model:/ /Model Number:/ /Device name:/'; echo

Как можно увидеть, я заострил внимание на WPS свойствах, но ничего не указал про WPA — по той причине, что практически для всех ТД информация о WPA очень схожая:

WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP * Authentication suites: PSK
WPA: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK

PSK — это pre-shared keys, то есть одинаковые ключи (пароли) на точке доступа и у каждого пользователя. Особой практической ценности в этой информации нет, но при желании вы можете сами отредактировать команду и добавить эти данные в таблицу.

Этот скрипт можно сохранить в файл:

#!/bin/bash IFACE=wlan0 sudo iw dev $IFACE scan | awk ' BEGIN /BSS [a-z0-9:]/ /signal: / /SSID: / /DS Parameter set/ /Protected/ /Manufacturer/ /Model:/ /Model Number:/ /Device name:/'; echo

замените wlan0 на имя вашего беспроводного интерфейса.

Интересного эффекта можно достичь в паре с командой watch:

sudo watch -n 5 bash wifi-mon.sh

В результате информация будет постоянно обновляться, примерно как в Airodump-ng:

После каждого сканирования, если какой-либо точки доступа больше не видно, она будет пропадать из списка, а новые будут добавляться. Показанная команда совсем простая, при желании можно сделать некоторые улучшения: настроить сортировку (например, по уровню сигнала или по имени Wi-Fi сети), можно создать базу данных для записей и сохранять информацию туда и т.д.

Работа этого скрипта не препятствует Интернет-подключению на этой же самой карте к беспроводной Точке Доступа.

Связанные статьи:

Источник

Оцените статью
Adblock
detector