- Как заставить Alfa awus036nha работать с Kali Linux?
- Установка драйвера Alfa AWUS036ACH в Kali Linux
- Using Alfa awus036nha kali linux
- Introduction
- Kali linux configuration steps
- Using awus036nha with aircrack
- Common errors
- Solution to «wlan0 is not injecting or proximity is low»
- How to get Alfa awus036nha to work with Kali Linux?
- AWUS036AC (rtl8812au) driver setup in Kali Linux
- Hardware – AWUS036AC
- AWUS036AC (rtl8812au) Driver Installation
- Verify your device
- Update: 11/01/2021
Как заставить Alfa awus036nha работать с Kali Linux?
Я использую Kali Linux 64bit 1.07 в качестве гостя через virtualbox 4.3.12 r93733. Я также установил VirtualBox 4.3.12 Oracle VM VirtualBox Extension Pack. Я подключил сетевое подключение моего хоста (Intel® Wireless-N 7260) к Kali, и я настроил Alfa 036nha в качестве USB-устройства для Kali через VirtualBox.
iwconfig в кали не дает беспроводных расширений.
ifconfig показывает мое мостовое соединение и локальный шлейф.
lsusb показывает: автобус 001 . Atheros Communications, inc. AR9271 802.11n
Я подумал, что, возможно, у него не было подходящих драйверов, поэтому я попытался apt-get install firmware-atheros, но он сказал, что он уже установлен.
Я действительно не знаю, что мне здесь делать .. кто-нибудь хочет мне помочь? Теперь вы должны знать, что я не слишком хорош в Linux и т.д.
Изменить: я нашел этот https://www.youtube.com/watch?v=K1ETBeRQBs4, который помог мне заставить карту Альфа работать в Кали. Хитрость заключалась в том, чтобы добавить новое пользовательское USB-устройство в virtualbox, где вы просто берете идентификатор поставщика и идентификатор продукта с устройства alfa и оставляете другие поля пустыми.
Поэтому теперь, когда я запускаю ifconfig, я получаю, что wlan0 работает (Alfa), а eth0 не работает (Intel (R) Wireless-N 7260).
Однако теперь проблема заключается в том, что когда я подключаю устройство Alfa, мое сетевое соединение с другого Wi-Fi перестает работать (Intel® Wireless-N 7260) (соединение соединяется с моим хостом). Он отключается в хосте, а также. Если я подключаюсь к Wi-Fi (с 7260) в хосте с запущенным Кали и Альфа, Альфа перестает работать в Кали . Я хочу, чтобы они оба бежали.
Источник
Установка драйвера Alfa AWUS036ACH в Kali Linux
Чтобы двухдиапазонный Wi-Fi адаптер Alfa AWUS036ACH можно было использовать в операционной системе Kali Linux, необходимо установить драйвер.
Мы провели установку драйвера и проверили его работоспособность на следующем оборудовании:
- Компьютер с установленной программой виртуализации VMware Workstation 12 Pro 12.5.5
- Образ Kali Linux 32 bit VM PAE 2017.1 для VMware
- Адаптер Alfa AWUS036ACH
Скачайте образ Kali-Linux-2017.1-vm-i686.7z (Torrent) для VMware и распакуйте его.
Запустите VMware Workstation, откройте меню File — Open и укажите путь к распакованному образу Kali Linux.
Запустите ОС Kali Linux и в появившемся окне выберите I Copied It.
При входе введите логин root и пароль toor.
Подключите Wi-Fi адаптер Alfa AWUS036ACH в USB порт компьютера. Если адаптер автоматически не подключился в VMware, то подключите его через меню VM — Removable Devices — Realtek 802.11n — Connect.
Приступаем к установке драйвера. Откройте терминал и выполните следующие команды:
git clone -b v4.3.21 https://github.com/astsam/rtl8812au.git # скачиваем драйвер из репозитория github или качаем с нашего сайта и распаковываем
cd rtl8812au # переходим в каталог со скачанным драйвером
make # компилируем драйвер
sudo make install # устанавливаем драйвер
Теперь можно перезагрузить операционную систему или выполнить следующие команды, чтобы драйвер начал работать:
modprobe 8812au
airmon-ng check kill
Далее переведем Wi-Fi адаптер в режим monitor:
sudo ip link set wlan0 down # отключаем Wi-Fi интерфейс wlan0
sudo iwconfig wlan0 mode monitor # переводим интерфейс wlan0 в режим мониторинга
sudo iwconfig wlan0 txpower 30 # если нужно увеличиваем выходную мощность до 30 dBi
sudo ip link set wlan0 up # включаем Wi-Fi интерфейс wlan0
Проведем сканирование Wi-Fi сетей:
airodump-ng wlan0 —wps
Как видите, все работает. Остальной функционал из Kali Linux тоже работает 🙂
- В VMware беспроводной адаптер иногда перестает сканировать Wi-Fi сети. В этом случае его нужно переподключить в виртуалке через меню VM — Removable Devices — Realtek 802.11n и заново ввести в режим monitor.
- Встроенный в ОС Kali Linux визуальный сканер видит Wi-Fi сети, но подключиться к ним не может с правильным паролем. Постоянно переспрашивает пароль. Не подключается даже к открытым Wi-Fi сетям. Когда-то у меня была аналогичная ситуация в Ubuntu. Если кто-то знает, как это исправить, напишите в комментарии.
Источник
Using Alfa awus036nha kali linux
Created: Oct 27, 2018
Introduction
Alfa wifi adapters became famous because of its quality and the power of the device. If you are working as a pentester and you need to do a audit to a wifi network, this device is a must have.
In this short tutorial we will use the Alfa AWUS036NHA , which is a newer model that has more capabilities (check apenddix). The awus036nha comes with an atheros ar9271 chip. Alfa has a lot of counterfeit models, make sure you buy the original. This adapter is only for 2.4ghz and it has a sma connector. This usb wifi card is compatible with 802.11g or 802.11n, mimo and supports data rate up to 150 mbps.
We also recommend to switch the antenna for a better one, like the 8dBi TP-LINK omni directional a or the Alfa 2.4HGz 7dBi .
Kali linux configuration steps
Using awus036nha with aircrack
First check which is the name of your wireless adapter:
To properly use aircrack we need ot start the wireless adapter in monitor mode:
The command will create a new wireless interface which ends with “mon” prefix. Now you can use airodump-ng, aireplay-ng commands:
You can also try to use the command wash
Common errors
Solution to «wlan0 is not injecting or proximity is low»
Two things could cause this situation:
- Distance from the Access point
- Driver for the card does not support injection.
Since AWUS036NHA supports injections, make sure you are more close (use a better antenna )
Источник
How to get Alfa awus036nha to work with Kali Linux?
I’m running Kali Linux 64bit 1.07 as a guest os through virtualbox 4.3.12 r93733. I’ve also installed the VirtualBox 4.3.12 Oracle VM VirtualBox Extension Pack. I have bridged my hosts network connection (Intel(R) Wireless-N 7260) with Kali and I have set up the Alfa 036nha as a usb device for Kali through virtualbox.
iwconfig in Kali gives no wireless extensions.
ifconfig shows my bridged connection and Local loopback.
lsusb shows: Bus 001. Atheros Communications, inc. AR9271 802.11n
I thought that maybe it didn’t have the right drivers so i tried to apt-get install firmware-atheros but it said that it was already installed.
I really don’t know what I should do here.. anyone care to help me out? You should now that I’m not too good with Linux etc.
Edit: I found this https://www.youtube.com/watch?v=K1ETBeRQBs4 Which helped me getting the Alfa card to work in Kali. The trick was to add a new custom USB device in virtualbox where you just take the vendor ID and product ID from the alfa device and leave the other boxes blank.
So now when i run ifconfig I get that wlan0 is up (Alfa) but eth0 is down (Intel(R) Wireless-N 7260).
Now however the problem is that when I plug in the Alfa device my network connection from my other wifi ceases to work (Intel(R) Wireless-N 7260) (the connection bridged from my host). It disconnects in the host aswell. If I connect to a wifi (with 7260) in the host with kali and alfa running the alfa stops working in Kali. I want to have them both running.
Источник
AWUS036AC (rtl8812au) driver setup in Kali Linux
I am planning a number of articles which focus on using aircrack-ng and hashcast to recover WPA wireless security passwords. However to get into that you need to have a specific wireless device which supports monitor mode and packet injection. I decided on the Alfa AWUS036AC, but some work was required to get the drivers installed.
This guide is based on Kali Linux 2019.4 – but the drivers are certified for earlier versions of Kali and the kernel that 2019.4 uses. See updates below for getting this working on Kali 2020.4.
Hardware – AWUS036AC
My choice of hardware for WPA password recovery was the Alfa Networks AWUS036AC – https://amzn.to/34LlqXY
Increased Wireless Signal Penetration
With unmatched Wi-Fi signal strength and coverage. AWUS036AC not only has maximum WiFi range, it helps to penetrate walls, and eliminate Wi-Fi dead spots in your living space easily.
If you are conductin a wireless assessment, this is great news because you can conduct your testing from the comfort of your desk chair.
Chipset | Realtek RTL8812AU |
WiFi Standards | IEEE 802.11ac/a/b/g/n |
WiFi Frequency | Dual Band 2.4GHz or 5GHz |
Antenna Connector | RP-SMA female x 2 |
Antenna Type | 2.4G/5GHz Dual-Band 5dBi dipole antenna |
Wireless Performance | 802.11a: up to 54Mbps 802.11b: up to 11Mbps 802.11g: up to 54Mbps 802.11n: up to 300Mbps 802.11ac: up to 867Mbps |
Wireless Security | 64/128 bit WEP,WPA/WPA2,WPA-PSK/WPA2-PSK,WPS |
Interface | USB 3.0 |
OS Requirement | Windows XP, Vista, 7, 8/8.1 and Windows 10 32/64bit, macOS 10.5 to 10.14 or later Linux |
AWUS036AC (rtl8812au) Driver Installation
Assuming that you are loged into a terminal session on your kali linux machine as root, the following commands are required to download and install the drivers from source:
Clone the aircrack-ng git repository:
Enter the newly downloaded directory:
Build and install the source files:
Reboot the Kali instance to complete:
There are a number of other git repositories where you can obtain drivers for this usb wireless adaptor. My findings were that the aircrack-ng repo was the only place which supplied drivers supported in the current kernel version for Kali 2019.4 – kernel 5.3.9
Verify your device
To ensure that your device is available and ready to be used in Kali, you can run the following command to confirm that the OS can recognise the adapter:
Update: 11/01/2021
As you can see from the Github issue reports, https://github.com/aircrack-ng/rtl8812au/issues, there are a lot of active issues with these drivers.
As of 11/01/2021, I was able to get this chipset working on Kali with the following driver install method:
And just to verify, here is my curent Kali version:
…and here is proof of function with airodump-ng:
Some yummy WEP networks in there for my troubles!
Источник