Kali NetHunter for moto g4 plus/any android [nougat] [marshmallow] - Moto G4 Plus Guides, News, & Discussion

INTRODUCTION:
The Kali NetHunter is an Android ROM overlay that includes a robust Mobile Penetration Testing Platform. The overlay includes a custom kernel, a Kali Linux chroot, and an accompanying Android application, which allows for easier interaction with various security tools and attacks. Beyond the penetration testing tools arsenal within Kali Linux, 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.
IMPORTANT NOTE:
1. Your warranty is void now as you have unlocked your bootloader.
2. Although Kali Nethunter should be safe to use, I am not responsible for whatever happens to your device, router, or whatever networking infrastructure because of You misusing the available facilities of Kali.
3. Remember that while Kali can be absolutely safe, if you handle root access improperly, no one will help you.
4. Make sure you read all of the info here and have some basic knowledge about networking, kernels and Linux/Unix.
5. Even if you're able to find a vulnerability on a different host , don't misuse the advantage you have.
6. Report the issue to the device's owner..
Kali NetHunter Application
Home Screen - General information panel, network interfaces and HID device status
Kali Chroot Manager - For managing chroot metapackage installations.
Check App Update - For checking Kali NetHunter Android App updates.
Kali Services - Start / stop various chrooted services. Enable or disable them at boot time.
Custom Commands - Add your own custom commands and functions to the launcher.
MAC Changer - Change your Wi-Fi MAC address (only on certain devices)
VNC Manager - Set up an instant VNC session with your Kali chroot.
HID Attacks - Various HID attacks, Teensy style.
DuckHunter HID - Rubber Ducky style HID attacks
BadUSB MITM Attack - Nuff said.
MANA Wireless Toolkit - Setup a malicious Access Point at the click of a button.
MITM Framework - Inject binary backdoors into downloaded executables on the fly.
NMap Scan - Quick Nmap scanner interface.
Metasploit Payload Generator - Generating Metasploit payloads on the fly.
Searchsploit - Easy searching for exploits in the Exploit-DB.
3rd Party Android Applications
NH-App-Terminal
DriveDroid
USB Keyboard
Shodan
Router Keygen
cSploithttps://github.com/offensive-security/kali-nethunter/wiki/NH-App-Csploit
DOWNLOADS
1. For Nougat Based Custom ROMs/Stock ROMs :
Android Filehost
2. For Marshmallow Custom ROMs/Stock ROMs:
Android Filehost
3. Kernel(only for moto g4 plus)
coming soon (got zImage last step is remaining
INSTALLATION
IMPORTANT NOTE: Kali NetHunter is NOT an Android ROM, but it is an overlay ( you have to flash it above android).
The builds currently provided are to be used on Nougat based custom ROM)s (which use the LineageOS kernel) as well as for Stock ROMs also.(examples include all of our N/MM custom ROMs like Lineage, AEX, AICP, AOKP, DU and Stock ROMs) :
1. Make sure you are running the latest available build of the ROM you have installed.
2. Root is required. i.e SuperSu.
3. Reboot to TWRP.
4. Make sure you backup Boot, System and Data partitions, just in case you want to remove Kali, you can restore it.
5. Wipe Cache and Dalvik Cache. Do NOT wipe your data partition.
6. Install the zip file.
7. Reboot to System.
POST INSTALLATION:
1. You have to download the real packages knows as Kali Chroot Packages which might be around 700-800 MB in size.
Kali Nethunter Full Chroot Download
2. After downloading put it into your internal storage(don't place it in any folder).
3. Open the NetHunter App and start the Kali Chroot Manager(it will take 10 to 15 mins to extract and install full packages).
3. Set up Hacker Keyboard.
4. Configure Kali Services, such as SSH.
5. Set up custom commands.
6. Initialize the Exploit Database.
Supporting external wireless adapter(only for moto g4 plus)
1.TP-Link TL-WN722N V.2 with realtek drivers(RTL8187CU/RTL8188CU) currently atheros chipset is not supported for g4 plus
NOTE
You can flash it in any android devices everything will work but external wifi adapter and HID attack will not work. so if you are happy with it then go for it and enjoy:good:
For VNC Installation
1. apt-get install tightvncserver
2. Run VNC Server
vncserver :1 -geometry 1280x720 -depth 16
Arguments:
:1 (Display 1,2,3,4 etc..)
-geometry (Resolution width x height)
-depth (16, 24, Color Depth, use 16)
3. Connect to VNC
4. Open AndroidVNC
Alias: Kali Linux
Password: The password you set before
Address: 127.0.0.1 or your IP
Port: 5901 (Depend on display ex. Display 2, Port 5902)*
Username: root
For Metasploit
Initialize the database
1. msfdb init (you must initialize it every time if you do not set "Start at boot" in the Kali Services Tab on Nethunter App)
2. Run Metasploit
msfconsole or use setoolkit
FUTURE WORK
1. Support for external wireless adapter for more devices
2. HID support for more devices
Please comment for the kernel for supporting external wireless adapter and HID support
If you like my work please consider thanks.

Just copy paste from https://forum.xda-developers.com/moto-g4-plus/development/kalilinux-nethunter-t3639411?

Appears to be a duplicate of KaliLinux NetHunter v1.0 [Kali v2.0/Backtrack 5][athene]
Closed.

Related

Danuntu, a custom Ubuntu distro for android sticks!

Hello!
I have created a custom Ubuntu distro called Danuntu. It can be installed on any device (not only sticks but also tablets) that have a recovery kernel and a Ubuntu kernel ported for their CPU. Here are danuntu's main features in a nicely formatted text column:
Easy to install.
Danuntu is extremely easy to install. All you need is a windows or linux system (you can even use a SE208BW or a raspberry pi!), your android stick,an internet connection and ten minutes.
Easy to use.
Danuntu is made to be easy to configure and use.Wireless configuration is simplified by wpa gui, and then you can have fun browsing the internet and playing games!
Lots of flavours.
Lxde, xfce, gnome, unity and kde desktop versions are aviable. Also a base version without desktops is provided. I am working on the enlightenment e19 flavour.
Pure Ubuntu experience.
Only a few additional programs are installed and everything is up to date.
Can be installed everywhere.
Danuntu can be installed not only on rk3066 sticks but also on any other arm(hf) stick, phone or tablet. I am providing danuntu versions without a kernel so that you can install your own.​
To install danuntu simply follow the instructions on my danuntu website: danuntu.magix.net
Daniil Gentili

[Android-x86] All in One - Tips, Tricks, Apps & Etc | Bug & Issues | Q&A

Hi XDA ,Hi Friends And Welcome Guest
Before everything Remember that Please hit Thanks when someone helps you out!
Download Android x86:
There are several versions, but I suggest you Download this version :
Android-x86 4.4-r1 live & installation iso
on Aug 8, 2014, by Chih-Wei Huang
Install Android x86:
There are several methods, but I suggest you follow me
Make the system R/W for root access
[HOW-TO] Install Android x86 on any PCs / Laptops / VM
Manage Ext Partition from Windows:
You need to install ext2fsd
Ext2Fsd is an ext2 file system driver for Windows (2k, XP, Vista and Win7). It’s a free software. Anyone can modify or distribute it under GPL2.
Downloads:
View and download Ext2Fsd packages
Express Installation with Ext2Fsd installer:
Double click on Ext2Fsd-version.exe to execute Ext2Fsd installer and follow the setup wizard to install and configure Ext2Fsd.
To uninstall Ext2Fsd, just click “Uninstall Ext2Fsd” in start menu, or use Add/Remove programs in control panel to uninstall. Need restart your computer to get it finished.
Done
if you wanna add something to sd card just follow this path:
X:\android-4.4-r1\data\media\0
Please hit Thanks when someone helps you out!
Edit Grub Bootloader
Follows this path on windows
X:\grub
And find menu.lst
Then open with Notepad or Notepad++ and edit lines.
The example of menu.lst ( don't use for yourself )
HTML:
default=0
timeout=6
splashimage=/grub/android-x86.xpm.gz
root (hd0,4)
title Android-x86 KitKat
kernel /android-4.4-r1/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 video=-16 SRC=/android-4.4-r1
initrd /android-4.4-r1/initrd.img
title Windows
rootnoverify (hd0,0)
chainloader +1
Install App on Android x86:
Tap the clock on the taskbar, tap the pop out that appears, and then tap Settings.
Scroll down the list and tap Security, then on the right, scroll down and tap Unknown sources.
Tap OK on the prompt that appears.
1. Install Apps From Google Play Store
2. Installing app Using The Conventional Method
Step 1: Use Windows and Copy .apk file to this path
X:\android-4.4-r1\data\media\0
Step 2: Run File manager from Android and install file from this path:
\data\media\0
3. Installing app using Dropbox
Tweaks:
Android Xposed: tweak your phone's UI
[ROOT] Kernel Tweaker | Original Thread
Clean Master Phone Boost
Check Post #2 & #3. ​
Bug & Issues
Recovery:
CWM - TWRP ???
Flash Gordon????
Not work
If you have any idea pleas help us. :laugh:
Apps - Tools - Utility
Mount internal hard drive:
Automatically mount and dismount USB sticks on various devices like the Galaxy Nexus, Nexus 7 and Nexus 10. The Nexus 4 is not supported - this is an issue with the device, not with StickMount !
[APP][01.07.2014] StickMount v3.10 [ROOT]
Change Language on HW Keyboard:
A non visible soft keyboard (Input Method) intended to be used with hardware Bluetooth and USB keyboards. It automaticly detects Bluetooth keyboards (and in some cases also USB keyboards) and brings up the Input Method dialog. It also supports a lot of different keylayouts for non-US external keyboards.
[Android 1.6+] External Keyboard Helper Pro
Turn Ethernet To Wifi:
If you want an app that needs wifi And you want it to run on ethernet Go here
[MOD][Xposed] Fake Wifi Connection [1.6]
Fake GPS or Mock Locations:
Go Here and check it : [APP][OSS] Fake GPS Path
Rotate everything In landscape Mode:
Rotation manager is a tool that lets you choose which application you want to rotate or which one you don't want to rotate. It is a really simple app designed for the least possible power and RAM consumption.
Download From Here

			
				
Duel Boot for Windows:
Easy BCD:
EasyBCD Community Edition allows you to create a multiboot environment in order to run multiple operating systems on the same computer.
The application also features BCD (Boot Configuration Data) Backup/Repair utilities that provide users with the possibility to reset the BCD configuration or recreate and repair boot files.
Download Link
http://www.softpedia.com/get/System/OS-Enhancements/EasyBCD.shtml
Installing Windows After Android-x86
There are two different approaches:
Recovering GRUB after re-installing Windows
Please refer to the Reinstalling GRUB2 guide.
Master Boot Record backup and re-replacement
This method does not work for computers with UEFI boot. In consequence, it won't work for pre-installed Windows8 and some pre-installed Windows7.
Back-up the existing MBR, install Windows, replace your backup overwriting the Windows boot code:
Create an NTFS partition for Windows (using fdisk, GParted or whatever tool you are familiar with)
Backup the MBR e.g. dd if=/dev/sda of=/mbr.bin bs=446 count=1
Install Windows
Boot into a LiveCD
Mount your root partition in the LiveCD
Restore the MBR e.g. dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1
Restart and Ubuntu will boot
Setup GRUB to boot Windows
reserved
The Android-x86 4.4-r2 released (the second stable release of kitkat-x86).
http://www.android-x86.org/releases/releasenote-4-4-r2
Stable - Fast

Gapps for android 6 marshmallow (and for other android versions too)

opengapps.org
OPEN PROJECT FOR ALL ANDROID GAPPS
GO TO : http://opengapps.org/
Pre-selection
If you are a e.g. a ROM developer and want to hotlink to certain pre-select choices, you can pass some extra parameters to the opengapps.org website. These passed parameters will then be selected by the radio buttons. Fields that are not specified will be set to their default (currently those are: arm, 5.1 and stock).
Platform
Setting the platform architecture is via the arch variable, valid values are:
arm
arm64
x86
x86_64
Android
Setting the android version is via the api variable, valid values are:
4.4
5.0
5.1
6.0
Variant
Setting the package variant is via the variant variable, valid values are:
aroma
stock
full
mini
micro
nano
pico
Example
An example URL with some pre-selections could be: http://opengapps.org/?arch=arm64&api=5.0&variant=aroma
Download Hotlink
If you are passing parameters for pre-selection, you can also add an extra parameter to automatically trigger the download of given selection. After loading the website and querying GitHub for the latest available release, the browser will automatically be redirected to the download URL. This can be achieved by passing the download parameter with the value true.
Example
An example URL with automatic download of the chosen pre-selection could be: http://opengapps.org/?download=true&arch=arm64&api=5.0&variant=aroma
Mirroring
Please don't publicly mirror the prebuilt packages without explicit consent of @Mfonville, to ensure that users will always be directed to the very latest version and the source code of the project. With our support for hotlinking, there is no need for outdated mirrors!

[Completed] Csploit new penetration test tool

cSploit
The most complete and advanced IT security professional toolkit on Android.
cSploit target
The final goal is to write an application that is able to:
- enumerate local hostsdone
- find vulnerabilitiesdone
- find exploits for these vulnerabilitiesdone
- use those exploits to gain access to the targetdone
- crack wifi passwords
- install backdoors for later access
settings
Portability
Thanks to the new core, cSploit will be easily portable.
Basically it can run on any UNIX-based system, but for now only Android is supported. When I reach a beta-state version I will consider working on iOS, OSX, GTK+ and QT.
requirements:
•rooted device
•busybox installed
I tested on A500FU running on 5.0.2 lollipop
chance to support marshmallow
Features:
WiFi Cracking(not working)
RouterPWN
Trace
Port Scanner
Inspector
Vulnerability finder
Login cracker
Packet forger
Man in the middle
Simple sniff
Password sniff
Session Hijacker
Kill connections
Redirect
Replace images
Replace videos
Script injector
Custom filter
the most stable version of csploit is 1.6.6 RC2
Thread closed as this is not what Assist is here for
Learn how to use Assist here
http://forum.xda-developers.com/showthread.php?t=2764768

[Linux] Install postmarketOS Linux on the Poco F1

postmarketOS (or pmOS for short) is a full Linux distribution for mobile devices and has a rather stable and actively developed port for the Poco (albeit missing key features). You can even choose your desktop environment with choices ranging from mobile friendly like Librem 5's Phosh to full desktop environments like XFCE4.
postmarketOS website: https://postmarketos.org/
postmarketOS wiki: https://wiki.postmarketos.org/wiki/Main_Page
postmarketOS Poco F1 wiki page: https://wiki.postmarketos.org/wiki/Xiaomi_Poco_F1_(xiaomi-beryllium)
Is it possible to install apps like JDownloader?
amn1987 said:
Is it possible to install apps like JDownloader?
Click to expand...
Click to collapse
If they have linux arm builds yes
Nice video. Thanks for creating a video on our work!
CedArctic said:
If they have linux arm builds yes
Click to expand...
Click to collapse
JDownloader runs in Raspberry Pi and a bunch of other SBCs and NAS devices which are mostly ARM and run Linux. So I guess it's doable?
LibreOffice can now be installed on a PinePhone running PostmarketOS. The Pocophone F1 is faster than the first PinePhone. To have LibreOffice on a PostmarketOS Poco F1 would be highly desirable.
An Instruction how to install LibreOffice on a PinePhone with PostmarketOS can be found on my personal website. The instruction can eventually be used to install LibreOffice on a PostmarketOS Poco F1:
https://petergamma.org/how-to-resol...ice-running-on-a-pinephone-with-postmarketos/
it is very complex the postmark to install ...
there is another possibility postmark to install
install with fastboot or twrp possible?
kafitüfo said:
it is very complex the postmark to install ...
there is another possibility postmark to install
install with fastboot or twrp possible?
Click to expand...
Click to collapse
It's not that complicated actually, try to follow this after installing pmbootstrap:
postmarketOS - Mate
-pmbootstrap init
-pmbootstrap install
-pmbootstrap flasher flash_rootfs --partition userdata
-Fist thing that I recommend after installation is to move the top bar to the bottom due to the notch covering it, than you can persoalise as you want.
Display
set display scaling to 200%, apply and logout
On our pocof1 I don't recommend yet to change screen rotation unless you know what you are doing, turning the screen to landscape via the displays settings will make your touch screen not follow the screen rotation and you will have hard time to put it back.
Store app
-Install "Discover" store (sudo apk add discover)
-sudo apk update, to make Discovery work you should open a KDE installation link from web browser or "Discover" will close itself when opened (e.g. search for kde clock on google and open the first link "Clock - KDE Applications") hit the "Install on linux blue icon" hit open link and Discover will open, this time you will have lots of apps available.
obs: launch apps from Discovery does not work however you can uninstall apps from it.
Firefox
to make Firefox touch screen friendly follow the postmarketOS wiki
https://wiki.postmarketos.org/wiki/Xfce4#Firefox
phone apps
-sudo apk add calls
-sudo apk add chatty
-sudo apk add gnome-contacts
-sudo apk add modemmanager
-sudo rc-service modemmanager start
-sudo rc-update add modemmanager default
this is just a compilation of information gathered from the wiki and my experience on it.
i don't own nothing here.
Hi
Can I run whatsapp.apk without compatibility issues?
cesarbrofc said:
Hi
Can I run whatsapp.apk without compatibility issues?
Click to expand...
Click to collapse
Since postmarketos is Linux, not Android, you'll either need to use the web whatsapp version or run it through Waydroid

Categories

Resources