[ROM][Official] Kali NetHunter for the OnePlus One LineageOS 18.1 R

Search This thread

yesimxev

Senior Member
May 8, 2017
503
173
68747470733a2f2f6769746c61622e636f6d2f6b616c696c696e75782f6e657468756e7465722f6275696c642d736372697074732f6b616c692d6e657468756e7465722d70726f6a6563742f7261772f6d61737465722f696d616765732f6e657468756e7465722d6769742d6c6f676f2e706e67

I present to you: Kali NetHunter for the OnePlus One LineageOS 18.1 R

This is the latest (experimental) version for the OnePlus One.

Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
NetHunter is an open-source project developed by Offensive Security and the community.

~ Prerequisites ~
- Lineage 18.1 - https://download.lineageos.org/bacon
- Gapps if needed - https://opengapps.org
- TWRP - https://twrp.me/oneplus/oneplusone.html
- Magisk – https://forum.xda-developers.com/apps/magisk

~~ Downloads ~~
- NetHunter: https://www.kali.org/get-kali/#kali-mobile

~~ How to Install ~~
Assuming you have unlocked bootloader
- Flash TWRP
- Copy Lineage, Magisk and NetHunter image to USB drive or the device
- Boot into TWRP, insert USB drive.
- Flash Lineage, and Gapps if needed, Magisk, reboot and do initial setup
- Reboot into TWRP
- Flash NetHunter

- Reboot
- Update and run NetHunter app
- Reboot

~~~ Notes & Updates ~~~
- RTL88XXAU driver added, tested with AWUS1900
- Y-cable is still supported, just need to have it as a Custom Command or in a script (AndroidSU)
Code:
bootkali ycable start
To stop:
Code:
bootkali ycable stop

- Mana is being replaced, for the time being you can downgrade iptables with the following :
Code:
wget http://old.kali.org/kali/pool/main/i/iptables/iptables_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip4tc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip6tc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libiptc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libxtables12_1.6.2-1.1_armhf.deb

dpkg -i *.deb

apt-mark hold iptables
apt-mark hold libip4tc0
apt-mark hold libip6tc0
apt-mark hold libiptc0
apt-mark hold libxtables12

- Bluetooth Arsenal is supported, but you need to downgrade Bluez to 4.101 by compiling it in Kali chroot and installing "on top of" current Bluez so the bluetooth service will be able to run
- To downgrade to bluez-4.101:
Code:
apt-get update && apt-get install libdbus-1-dev libglib2.0-dev
apt-mark hold bluez
wget http://www.kernel.org/pub/linux/bluetooth/bluez-4.101.tar.gz
tar xvf bluez-4.101.tar.gz && cd bluez-4.101
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib --build=arm
make && make install

Please note that BLE is not supported in bluez-4.x. If you prefer to use that, keep bluez-5.x

- KeX may not work out of the box - the latest kali repo's xstartup is different, hence needs replacing
Code:
sudo wget -O /root/.vnc/xstartup https://gitlab.com/kalilinux/packages/kali-win-kex/-/raw/kali/master/usr/lib/win-kex/xstartup
chmod a+x /root/.vnc/xstartup

Credits: The Offensive Security Team and the NetHunter community

Android Version: 11.0

XDA: DevDB Information
Kali Nethunter, Kernel & ROM for the OnePlus One

Contributors
@yesimxev

Source Code: https://gitlab.com/kalilinux/nethunter/
Kernel Source: https://github.com/yesimxev/android_kernel_oppo_msm8974

Follow me on Twitter!
 
Last edited:

agcjoker

Member
Nov 29, 2015
18
2
OnePlus One
68747470733a2f2f6769746c61622e636f6d2f6b616c696c696e75782f6e657468756e7465722f6275696c642d736372697074732f6b616c692d6e657468756e7465722d70726f6a6563742f7261772f6d61737465722f696d616765732f6e657468756e7465722d6769742d6c6f676f2e706e67

I present to you: Kali NetHunter for the OnePlus One LineageOS 18.1 R

This is the latest (experimental) version for the OnePlus One.

Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
NetHunter is an open-source project developed by Offensive Security and the community.

~ Prerequisites ~
- Lineage 18.1 - https://download.lineageos.org/bacon
- Gapps if needed - https://opengapps.org
- TWRP - https://twrp.me/oneplus/oneplusone.html
- Magisk – https://forum.xda-developers.com/apps/magisk

~~ Downloads ~~
- NetHunter: https://images.kali.org/nethunter/nethunter-2021.2-oneplus1-eleven-kalifs-full.zip

~~ How to Install ~~
Assuming you have unlocked bootloader
- Flash TWRP
- Copy Lineage, Magisk and NetHunter image to USB drive or the device
- Boot into TWRP, insert USB drive.
- Flash Lineage, and Gapps if needed, Magisk, reboot and do initial setup
- Reboot into TWRP
- Flash NetHunter

- Reboot
- Update and run NetHunter app
- Reboot

~~~ Notes & Updates ~~~
- RTL88XXAU driver added, tested with AWUS1900
- Y-cable is still supported, just need to have it as a Custom Command or in a script (AndroidSU)
Code:
bootkali ycable start
To stop:
Code:
bootkali ycable stop

- Mana is being replaced, for the time being you can downgrade iptables with the following :
Code:
wget http://old.kali.org/kali/pool/main/i/iptables/iptables_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip4tc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip6tc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libiptc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libxtables12_1.6.2-1.1_armhf.deb

dpkg -i *.deb

apt-mark hold iptables
apt-mark hold libip4tc0
apt-mark hold libip6tc0
apt-mark hold libiptc0
apt-mark hold libxtables12

- Bluetooth Arsenal is supported, but you need to downgrade Bluez to 4.101 by compiling it in Kali chroot and installing "on top of" current Bluez so the bluetooth service will be able to run
- To downgrade to bluez-4.101:
Code:
apt-get update && apt-get install libdbus-1-dev libglib2.0-dev
apt-mark hold bluez
wget http://www.kernel.org/pub/linux/bluetooth/bluez-4.101.tar.gz
tar xvf bluez-4.101.tar.gz && cd bluez-4.101
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib --build=arm
make && make install

Please note that BLE is not supported in bluez-4.x. If you prefer to use that, keep bluez-5.x

- KeX may not work out of the box - the latest kali repo's xstartup is different, hence needs replacing
Code:
sudo wget -O /root/.vnc/xstartup https://gitlab.com/kalilinux/packages/kali-win-kex/-/raw/kali/master/usr/lib/win-kex/xstartup
chmod a+x /root/.vnc/xstartup

Credits: The Offensive Security Team and the NetHunter community

Android Version: 11.0

XDA: DevDB Information
Kali Nethunter, Kernel & ROM for the OnePlus One

Contributors
@yesimxev

Source Code: https://gitlab.com/kalilinux/nethunter/
Kernel Source: https://github.com/yesimxev/android_kernel_oppo_msm8974

Follow me on Twitter!
Link for NH download broken, please fix
 

yesimxev

Senior Member
May 8, 2017
503
173
Unable to free up 50 mb of space on system!
Means i need to use other versions twrp or not to flash opengapps before,how can i do please sir
Sorry I've been so busy. Just updated the link @agcjoker can you flash that please? You have to scroll down to OnePlus One, this way the link will be always up to date after each release
 

agcjoker

Member
Nov 29, 2015
18
2
OnePlus One
I can now flash gapps without error messege for not enough space by rebooting into recovery after flashing Lineage and then installing gapps and magisk. After initial setup I flash NH but now it says not enough space for NH. What am I missing?
 

agcjoker

Member
Nov 29, 2015
18
2
OnePlus One
I have Ralink rt2800/rt3070 chipset. I can put in monitor mode but it will not show any targets. I have tried other adapters with same issue, no targets. How to fix please?
 
  • Like
Reactions: _alibi_

GoDieNow

Member
Jun 4, 2012
27
14
@yesimxev seems like the NH 2021.3 zip file is corrupted, tried to install it while downloading from different sources (Mac, Linux and phone itself) and checking the SHA256 and it always yields this error:
Error: Unable to extract! The zip may be corrupted or your device may not have enough RAM to proceed.
Consider using a smaller installer if it is available
 
  • Like
Reactions: agcjoker

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hey Boss, works like a charm, thanks for your help. What was the command for Y-cable to work?
    1
    Thanks Boss, testing my system I setup now. Successfully captured handshakes
  • 4
    68747470733a2f2f6769746c61622e636f6d2f6b616c696c696e75782f6e657468756e7465722f6275696c642d736372697074732f6b616c692d6e657468756e7465722d70726f6a6563742f7261772f6d61737465722f696d616765732f6e657468756e7465722d6769742d6c6f676f2e706e67

    I present to you: Kali NetHunter for the OnePlus One LineageOS 18.1 R

    This is the latest (experimental) version for the OnePlus One.

    Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
    The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
    Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
    NetHunter is an open-source project developed by Offensive Security and the community.

    ~ Prerequisites ~
    - Lineage 18.1 - https://download.lineageos.org/bacon
    - Gapps if needed - https://opengapps.org
    - TWRP - https://twrp.me/oneplus/oneplusone.html
    - Magisk – https://forum.xda-developers.com/apps/magisk

    ~~ Downloads ~~
    - NetHunter: https://www.kali.org/get-kali/#kali-mobile

    ~~ How to Install ~~
    Assuming you have unlocked bootloader
    - Flash TWRP
    - Copy Lineage, Magisk and NetHunter image to USB drive or the device
    - Boot into TWRP, insert USB drive.
    - Flash Lineage, and Gapps if needed, Magisk, reboot and do initial setup
    - Reboot into TWRP
    - Flash NetHunter

    - Reboot
    - Update and run NetHunter app
    - Reboot

    ~~~ Notes & Updates ~~~
    - RTL88XXAU driver added, tested with AWUS1900
    - Y-cable is still supported, just need to have it as a Custom Command or in a script (AndroidSU)
    Code:
    bootkali ycable start
    To stop:
    Code:
    bootkali ycable stop

    - Mana is being replaced, for the time being you can downgrade iptables with the following :
    Code:
    wget http://old.kali.org/kali/pool/main/i/iptables/iptables_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libip4tc0_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libip6tc0_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libiptc0_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libxtables12_1.6.2-1.1_armhf.deb
    
    dpkg -i *.deb
    
    apt-mark hold iptables
    apt-mark hold libip4tc0
    apt-mark hold libip6tc0
    apt-mark hold libiptc0
    apt-mark hold libxtables12

    - Bluetooth Arsenal is supported, but you need to downgrade Bluez to 4.101 by compiling it in Kali chroot and installing "on top of" current Bluez so the bluetooth service will be able to run
    - To downgrade to bluez-4.101:
    Code:
    apt-get update && apt-get install libdbus-1-dev libglib2.0-dev
    apt-mark hold bluez
    wget http://www.kernel.org/pub/linux/bluetooth/bluez-4.101.tar.gz
    tar xvf bluez-4.101.tar.gz && cd bluez-4.101
    ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib --build=arm
    make && make install

    Please note that BLE is not supported in bluez-4.x. If you prefer to use that, keep bluez-5.x

    - KeX may not work out of the box - the latest kali repo's xstartup is different, hence needs replacing
    Code:
    sudo wget -O /root/.vnc/xstartup https://gitlab.com/kalilinux/packages/kali-win-kex/-/raw/kali/master/usr/lib/win-kex/xstartup
    chmod a+x /root/.vnc/xstartup

    Credits: The Offensive Security Team and the NetHunter community

    Android Version: 11.0

    XDA: DevDB Information
    Kali Nethunter, Kernel & ROM for the OnePlus One

    Contributors
    @yesimxev

    Source Code: https://gitlab.com/kalilinux/nethunter/
    Kernel Source: https://github.com/yesimxev/android_kernel_oppo_msm8974

    Follow me on Twitter!
    2
    @P4IM0N

    Greetings, and welcome to XDA. As a "one time" courtesy, I have translated your recent posts. I will politely ask you to please post in English as stipulated by XDA Rule #4:

    4. Use the English language.

    We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.

    Thank you for your cooperation, and enjoy your stay on XDA.

    -Regards: Badger50
    1
    Is this rom activate the HID feature in the kernel ?
    1
    Yes, it also supports Y cable - so use any USB adapters while you charge the phone
    1
    Thanks Boss, testing my system I setup now. Successfully captured handshakes