Installing Kali on a Verizon S5

A problem in the hacker community right now is that a lot of people think you can only run Kali, the Penetration Testing Distribution of Linux, on Google Phone and Tablets. This is only partially true. This is how you can install Kali, or any linux distribution, on a Verizon S5. The point of this walkthrough is to make it easier to deploy Kali enabled rooted phones in the field for responsible techs when that driver is available.

SM-G900V spec sheet:
http://www.gsmarena.com/samsung_galaxy_s5_cdma-6338.php

Broadcom Press Sheet:
https://www.broadcom.com/press/release.php?id=s827695

Wikidevi
https://wikidevi.com/wiki/Broadcom

There is currently no support for monitor mode on the Broadcom 4354 SoC, so if you couldn’t run Reaver because bcmon wouldn’t work, then Kali is not going to find a better driver for your chip until after an update to the bcm driver is released.

http://bcmon.blogspot.com/

Broadcom obviously isn’t going to work on anything it isn’t paid for, and so we must patiently await the reversing of the chip until the linux driver update makes its debut. If you are earning right now and want to donate to XDA and bcmon, we would all appreciate it by the way. If people want to weaponize their smartphones and uphold the 2nd Amendment to protect the 13th in the 21st century, they will, but few equate open drivers as revolutionary so maybe additional development can be fomented. Your support of groups like XDA and bcmon empower the digital world. Now if only they built a kevlar S5 AR mount and waterproof bluetooth throat mic you could be highspeed with some waterproof wireless charging tactical operator S5 action too, but let’s just hope the driver comes out and take it one step at a time.

Root your phone:
http://forum.xda-developers.com/showthread.php?t=2784860

Download older and newer firmware releases.
http://www.galaxys5update.com/galaxy-s5-stock-firmware/

Flash back to previous firmware release that had the exploit towelroot uses.
Sideload towelroot.
http://www.towelroot.com/
Use towelroot to root your phone.
You may want to look at https://towelroot.com/modstrings.html if you get hung up.
Flash newer release back to phone to upgrade with root and superuser preserved.

You can install safestrap as well so you can bounce back and forth between flashings but the built in locked bootloader works fine to do this.

Yes, one day the unlock codes for the S5 will be free but until then you have to send money to Chinese programmers who buy them from Samsung.

Set Permissions:
Now that we are working with a rooted phone, go ahead and open a Terminal on your device. I already had Rom Toolbox Pro installed so once you have the terminal open type:

Acquire Superuser
$ su

Change Directory
# cd /data/data/ru.meefik.linuxdeploy/linux/bin

Remove chroot jail
# rm sh chroot

Symlink shell and busybox
# ln -s /system/bin/mksh sh
# ln -s /system/xbin/busybox chroot

Install Linux Deploy, I set user as root, configured 8192MB for image size (virtual system size) and selected all the packages.

Install
Hit the install button and come back in a half hour.

Verify the VNC server says done not failed.

Start Kali.

Use any VNC client with a display larger than the phone’s to connect to localhost on whatever port you set and you can SSH to the virtual Kali box once you have root as well.

The default Kali VNC user is android and the password is changeme and the default Kali user name and pass is root/toor. You can SSH as root by default in Kali even though you can’t on a lot of systems.

Open LXTerminal in Kali in a new VNC session, verify it is showing root@android and type:

$ passwd

Change the password to something someone won’t guess if they are sniffing your session.

Now the newer releases of Kali for ARM devices are stripped down so have enough space and pick your metapackage.

Type
apt-get install kali-linux-full
for the full 5GB install

apt-get install kali-linux-top10
for the basic set of tools which includes aircrack-ng

or go here and see what else is available in the metapackages
https://www.kali.org/news/kali-linux-metapackages/

Open terminal on the android system side and type ifconfig. Now you have your local subnet IP to SSH from your laptop to your Kali box on your phone over wifi. This can be done with your phone in your pocket.

Take your phone out of your pocket, open terminal on the android system side and ssh to localhost and you can login as root there to run a quick nmap scan or sniff some packets before class now.

You can use your phone to open your own VPN tunnel from private wifi at school to phone and to deposit your homework in your teacher’s cloud storage directory as a root user behind the firewall, totally working around the moodle/peoplesoft/oracle garbage and the time wasting fake authentication security their measly blogified database the internet frontend “provides.”

This doesn’t take much battery standing by with the screen off, but if you put John the Ripper to task while it’s unplugged I bet it’ll burn through battery before it breaks the hash.

Let’s see!

Altcoin Mining: Race from Profit

I have been mining on my CyberpowerPC FANGBOOK EVO AFX7-400 17.3-Inch Laptop for a while, but I could never profitably mine unless I was at the coffeeshop or library.

Now that the hard fork to neoskrypt happened alot of slow to adapt miners are producing stales because they haven’t evolved beyond GUIMiner. Simply replacing “–scrypt” with “–neoscrypt” isn’t enough and for more details and a nifty download of the latest neoscrypt AMD friendly cgminer check out Crypto mining blog.

Right now I can get 102Mh/sec from the Radeon HD 8970M with the fan blowing on full blast at night with no air conditioning using latest drivers and “cgminer.exe –neoscrypt –no-submit-stale -o stratum+tcp://stratum.wemineftc.com:4444 -u gowhitehat.8970 -p 2149 -I 13”

I have to manually restart GPU0 (the 8970) then disable GPU1 (8650) because I haven’t finished the conf yet.

Clearly cloud mining is the next step and I really like what BetaRigs is doing.

Kali Linux “NetHunter” — Turn Your Android Device into Hacking Weapons

gowhitehat:

Cant wait until it works on S5!!

Originally posted on vulnerablelife:

Kali Linux nethunter hacking tool download
The developers of one of the most advance open source operating system for penetration testing, ‘KALI Linux‘ have announced yesterday the release of a new Kali project, known as NetHunter, that runs on a Google Nexus device.
Kali Linux is an open source Debian-based operating system for penetration testing and forensics, which is maintained and funded by Offensive Security, a provider of world-class information security training and penetration testing services. It comes wrapped with a collection of penetration testing and network monitoring tools used for testing of software privacy and security.
After making its influence in hacker and security circles, Kali Linux has now been published with Kali Nethunter, a version of the security suite for Android devices. The tool is a mobile distribution designed to compromise systems via USB when installed and run on an Android phone.
Kali Linux NetHunter project provides much of the power…

View original 356 more words

Bitcoin Mining: Race to Profit

On your mark, get set, go!

You now have about 30 days to get your glory, otherwise the difficulty increment will outrun your Terraminer IV, and the electricity costs will exceed what profit it can produce with it’s now measly but once massive 2000GH/sec.

Even if you run your Terraminer IV from a 3kW biofuel genset, and you made the biofuel from free waste, you might be able to double your time, but right now with a 15c/kW price and 5999 price tage, the Terraminer IV will break even at around 21-31 days, profit for about 110-120 days, and then it actually starts losing money after about 6 years.

Link to my simulation…