Results 1 to 4 of 4

Thread: Nexus 5 monitor mode without usb wifi card

  1. #1
    Join Date
    2015-Jun
    Posts
    9

    Nexus 5 monitor mode without usb wifi card

    Hello, Does anyone test this kernel https://dev.seemoo.tu-darmstadt.de/bcm/bcm-public on nethunter ? is it working well ?

  2. #2
    Join Date
    2014-Dec
    Posts
    21
    Hi! I am also interested in this topic, if you look at the official thread source Offensive Security, https://github.com/offensive-security/kali-nethunter there according to the configuration devices.cfg, find the line:
    Code:
    # Nexus 5 with Nexmon Wireless Monitoring
    [hammerheadmon]
    author = "Binkybear"
    version = "1.0"
    kernelstring = "NetHunter kernel Nexmon"
    arch = armhf
    devicenames = hammerhead
    block = /dev/block/platform/msm_sdcc.1/by-name/boot
    I tried to compile this kernel to flash after switching on Nexus'a, internal WiFi to work in normal mode, refused, as I could not translate it in monitor mode and force you to scan the network...
    For your kernel idea, you need to patch the other functions of the HID type Attack, etc...
    ------------------
    I now tried to flash the kernel https://dev.seemoo.tu-darmstadt.de/bcm/bcm-public on top of NetHunter, oddly enough, the system is stable with no errors booted, I was able to load the kernel module, however, after you enter the command ifconfig displays only the local interface and the internal wifi is not working.
    I don't know if this kernel will only work with stock or AOSP, CM, etc...
    Last edited by @nonymous; 2016-07-03 at 18:25. Reason: TESTED.

  3. #3
    Join Date
    2016-Aug
    Posts
    2
    Hi, I am one of the nexmon developers. The nexmon boot.img deactivates the wpa_supplicant and p2p_supplicant services as they always try to pull up the wifi interface, which is very annoying when developing new firmware patches. In the end, you only need to integrate the bcmdhd driver and the resulting firmware from https://dev.seemoo.tu-darmstadt.de/b...atching/nexmon into the Nethunter kernel to activate monitor mode and frame injection for Nethunter on the Nexus 5.

    We also recently figured out, that only three lines of additional code in the bcmdhd driver are sufficient to simply activate monitor mode without injection. See: https://dev.seemoo.tu-darmstadt.de/b...37cc0e4d1cdd0a
    This could help to also activate monitor mode on other Broadcom WiFi chip based devices without patching the firmware.

  4. #4
    Join Date
    2016-Sep
    Posts
    1
    I played around with on my nexus 5 with the hammerheadmon build which should include the nexmon kernel.
    i built from git (nethunter-hammerheadmon-marshmallow-kalifs-full-20160903_015850.zip).

    i also couldn't get it to run. wifi is unusable as the wireless driver isn't loaded by default.

    i tried to load the module
    adb shell
    su
    insmod /data/local/nhsystem/nexus5/bcmdhd.ko
    ifconfig wlan0 up
    it seems the wireless interface gets loaded - although wireless is still unusable on android (normal usage and monitoring mode):

    wlan0 Link encap:UNSPEC
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:20089 errors:0 dropped:20089 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:3451420 TX bytes:0
    does anyone have a clue which steps need to be performed to get wifi running with the hammerheadmon build?

Similar Threads

  1. How to use WiFi with internal card while USB is in monitor mode?
    By IRGeekSauce in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2016-06-28, 17:50
  2. airbase-ng : Wifi card gets out from monitor mode unexpectedly
    By F0cks in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2016-02-17, 17:29
  3. Nexus 7 Monitor mode for Broadcom WiFi Chipset
    By beloadjoker in forum NetHunter General Questions
    Replies: 5
    Last Post: 2015-09-02, 11:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •