yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) General] Government:
nice write-up, easy install

Multirom makes this a snap. I'm really more interested in the linux aspect of it than the pen-test portion of things, but.... I got more than one thing out of this install. I'm Waaaaaaaay more knowledgeable in multirom now, and what it can really do. Or maybe what it was supposed to be doing but I was failing at doing.

I'm messing with the vnc portion of things now, but I have the rom up and running, all the kali stuff is there and I'm kinda limited on what I'd be able to do without the proper wifi adapters and Ycable.

I've messed with alternate wifi dongles before, ndiswrapper and modprobe with other workarounds are daunting but valuable lessons, not tryin to do that here :P I'll spend the $20 some odd bucks. If the TP-link dongle works, I'll do it. I have a question about the validity of the Y cable though...

Why not just get a Qi charger? I'm seeing these things for $35 average, and $15 on the low. Wouldn't that sorta alleviate the need for the Ycable and the special OTG plus charge stuff? Then you just plug in any ol powered hub, right? I mean, there has to be a really obvious reason... you guys are very "outside the box" thinkers... why is the Qi ruled out?
[Nexus 7 (2013) General] pppaul:
Hello droidshadow,

first of all, thanks a lot for your enourmous effort.

I m just doing the whole thing for the second time, because I encounter the same issues as user jonathanxx1 on page 10, 11 although I have enogh free memory.

Just to be sure... You mean Flash zip instead of add zip?... because I have no "ADD ZIP" at this step.

Thank you!
[Nexus 7 (2013) General] ironmaskusa:
yea flash it after you flash your ROM along with support kernel for your y cable and WiFi adapter.
[Nexus 7 (2013) General] pppaul:
Thank you!

After doing the same thing again, everything works fine now.

Now I have a "problem" with the internal rom. I do not know what I ve done wrong, but the GUI of the internal rom looks now like the second. It seems that I ve overwritten somehow my original internal rom with the one given here althogh I still have my data (photos, books etc..., no Kali)... but what happened? Can I somehow change the internal rom back to original google rom?

Thanks for advices.
[Nexus 7 (2013) General] TheMatosek:
WiFi

Do i need a Wifi adapter for OTG to make it's works, or just use built-in WiFi modem??
[Nexus 7 (2013) General] aurazero:
You need external Wifi adapter to be able to use monitor mode (to crack WAPs) but other tools work with internal wifi adapter (at leas most of them).
[Nexus 7 (2013) General] rulk:
I just got a notification that my original (internal) rom has an update available.

It has downloaded it and wants me to install it.

I am afraid if I install this 4.4.3 update it will over write the multirom and additional roms. Can this be installed without causing other issues?

I have 3 roms currently installed on this Nexus. The internal is the original rom, the second is the cryanogen rom originally used in this thread and the third is the same cryanogen rom with the pwn pad stuff loaded on top of it. I was thinking since this is a 32gig nexus to try adding a 4th rom with the latest setup in this thread.

Just curious at this point. Thanks!

Rodney
[Nexus 7 (2013) General] ZaraByte:
Update will fail i don't believe you will be able to update atleast i wasn't able to update. After it failed twice i haven't seen the update message since.
[Nexus 7 (2013) General] :
3000?

I tend to turn my wan device off first

Sometimes I have issues so I will turn the radio off first then set the dbi

I would think 27dbi would be max you could try 30dbi but that might be pushing it

ifconfig wlan1 down

iwconfig wlan1 set txpower off

iwconfig wlan1 set txpower 27

ifconfig wlan1 up
[Nexus 7 (2013) General] aurazero:
ifconfig wlan1 down
iwconfig wlan1 set txpower off
iwconfig wlan1 set txpower 27
ifconfig wlan1 up

i get

iwconfig: unknown command "set"
[Nexus 7 (2013) General] z7x9r0:
Internal Wi-Fi card not working.

I've read the instructions several times and followed everything step by step. I've also read and searched the thread and even "Googled" for any helpful info on why my internal Wi-Fi card isn't showing/working. I believe it should be shown as wlan0 when I use the ifconfig command in terminal (clarify if I'm right or wrong). I have noticed that it stops working when I flash the el-kitkatkaliflo2.2.zip file. Just in case it fixes itself later on I've followed the rest of the instructions. So far the internal card is still not working and I have no idea why. Even tried using the down and then up command on wlan0 but it seems to not exist. When using ifconfig only lo shows and not wlan0 or wlan1 when I connect my TP-Link usb wifi adapter, but I'll get to that another time since I've only tried once at getting it to connect (Also I have a OTG cable but it's not the split one as recommended. My guess is that the Nexus 7 2013 can't feed it enough power to work and that's why it doesn't show. I'll look up the power needed for it to work and the amount of power the Nexus can feed it another time).

Any ideas on what's going on?

I've reflashed the cm-11-20140615-bruce2728-linaro-flo.zip file = internal Wi-Fi works

Then reflashed the pa_gapps-full4.4-20131119-signed.zip file = Wi-Fi continues to work

Then I flash the el-kitkatkaliflo2.2.zip file = Wi-Fi stops working from there on

As for the type of tablet I'm using, I believe I have the exact same tablet model that is being used in the tutorial, Nexus 7 (2013) 32Gb Wi-Fi only.

Any ideas or instructions to try to see if the Wi-Fi card comes back on?

(I don't think it matters but my internal ROM is 4.3 rooted. I don't think the CM ROM uses different drivers since it's just a OS update to Android 4.4. Let me know if that's true. Thank you.)
[Nexus 7 (2013) General] Kempain:
Same issue for me as well and it's really quite annoying.

I saw a post from someone else earlier saying they fixed it but didn't say how and now I can't find that post to ask them how :(
[Nexus 7 (2013) General] z7x9r0:
Let us hope this thread is still alive. It's such a convenient idea to have Kali on the go and in a tablet friendly way. After I get it all to work and toy around with it I'll try to have a friend of mine create a video tutorial on it since that usually is the easiest way to follow the step by step process.

We do need to either get the instructions on how to fix the Wi-Fi card issue and/or get an explanation on what "could" be going on with our attempts so that we know what it is that we need to do or find out any possibilities as of why we're having the same issue. Hate to do it but... I'll try to reread all 37 pages and see if I could find the post you mentioned and see if there's a way to message that user if they did find a way to fix it, and how.

I have a feeling it's a really simple fix but I'm only familiar with a device having a driver issue when this happens. Also curious why we make a VNC but it seems to me that we use a VNC the same way we would use a virtual machine for specific "things". I also have to do my own Google research on chroot. Still not sure what "chroot" is exactly.

Again I'm not a pro, just been teaching myself and learning from others since network security is interesting/exciting. Also know other people into network security that would find this toy/tool to be helpful/educational.
[Nexus 7 (2013) General] z7x9r0:
Still reading but haven't come across it. Other people are asking how to use the internal wifi chipset inside the Nexus 7 (2013) in monitor mode instead of an external wifi usb. I'm going to send droidshadow a message and post back if we get anything to work. It's been two weeks since my first response so sad to say this thread maybe dead..
[Nexus 7 (2013) General] fernandoavc:
I might be wrong but I guess that as it is a thread about "hackering" stuffs we are suppose to be able to find the solutions ourselves...

I'm not affirming that I'm just guessing because nobody answer ... Sometimes I just don't ask because of this attitude...

A time ago I've mentioned about my USB WiFi broke connection whenever I block my N7 and nobody even say it's normal or its not or whatever related to that it was simple ignored.

For your specific case I've found by some researches that you need to have a kernel able to that and also the bcmon.apk installed ... I've tried it myself without success but I can tell you that despite the battery consumption the USB signal gets more result by going wider...
[Nexus 7 (2013) General] z7x9r0:
Thanks for a response. I do know from reading through the Nexus 7 (2013) General forums that asking past questions is looked down upon (especially when it's literally on the first 3 pages) and that this project is not really for those not familiar with Linux, but I know what you mean by "hackering". Some of us are just copying and pasting tools the devs make. And thank you devs. Programming is a love/hate/sometimes-painful relationship with instructions. Some of us are still script kiddies but we're trying. The internet is our library/teacher.. unless it ever gets heavily censored..

With that being said this seems to be great for those in network security with the device already, and those that might be looking for a useful toy/tool to get familiar with Linux on a daily basis/OTG.

Thank you for your input as well with using the bcmon.apk. I read about that some where, but thought I should try changing my internal ROM into 4.4 instead of 4.3 in case for some weird reason that would trigger something to start working. Start from the ground up. Which to me doesn't make sense but then again I don't know how the kernel was written/rewritten. We just need a clue that way we can use the internal wifi for personal use when we're not using it to pen test. Also the N7 community might migrate to the newer Nexus models in the near future so I'm trying to grab one last hold of this thread before it's done for good.
[Nexus 7 (2013) General] lostboykev:
rtl8187

Just installed pwnpad on my N7 2013. I have an alpha with rtl8187 connecting through a powered hub. But I don't see it on iwconfig. Any ideas?

UPDATE: Never mind I just rebooted the device and it works. Cracking WPS right now :)
[Nexus 7 (2013) General] fernandoavc:
Have you issued the command lsusb just to see if it's been detected? ( even without a powered hub it should print the USB id)
[Nexus 7 (2013) General] lostboykev:
I didn't try that but after a reboot it detected it. Thanks though. I do have a question about wifite. Is there a way to make it more verbose? This 0/0 success/ttl is not giving me enough info. Who knows what it's doing.
[Nexus 7 (2013) General] fernandoavc:
I guess wifite is the ”verbosity ” WiFi attack ever cause it put aircrack and reaver all together in a friendly graphic ui....

Despite that I've found some intriguing differences between my PC with Kali and my N7 with PwniePad related to wifite... Some things that I notice:

- I wasnt able to break WPS on N7.. The TTL responses WHEN start they just stops right after... It never pass the 15% completion

- WEP worked better in the tablet then into the PC

All these issues might be related to the network interface ( Athero's tp link tl-wn722n on the tablet and AWUS360H on the PC) as it also might be related to the signal range I really don't know exactly...
[Nexus 7 (2013) General] emiel89:
config kali does not work.

Hi,

I flashed smoothrom 5.2 on my N7 2012 with UPDATE-SuperSU-v1.80.zip, gapps-jb-20130812-signed.zip, kang-kali-patched2.zip, update-kalipwn-v0.5-2. all with multirom. And i get this error when starting config kali.Why is this and what can i do about it?
[Nexus 7 (2013) General] emiel89:
I got my PWN pad working on N7 (2012) grouper

I,ve got it to work on my N7 (2012) (wifi only) grouper. With Milturom manager. i did the following.

download latest Purity Rom : purity_grouper_ota_2014-02-17.zip

download latest core gaps : pa_gapps-modular-mini-4.4.2-20140608-signed.zip

download binkies 5.1 image : update-kalipwn-v5-1.zip

download Android 4.4 Based off Kang-aroo1.2. Supports y-cable charging: Based off Kang-aroo1.2. Supports y-cable charging.

Download SuperSU: UPDATE-SuperSU-v2.01.zip

plug your nexus 7 into computer and copy all your downloaded zip files to the nexus 7

reboot the nexus 7 into TWRP recovery.

install Purity Rom by flashing zip in TWRP recovery, advanced, Multirom, add ROM, select file.

-reboot, back to TWRP recovery

install SuperSU in TWRP recovery. dvanced, Multirom, add ROM, select file.

-reboot, back to TWRP recovery

installthe newest Gapps by flashing zip in TWRP recovery. Advanced, Multirom, List ROMs, select purity ROM, Flash ZIP, select file.

-reboot, back to TWRP recovery

-Install update-kalipwn-v5-1.zip by flashing zip in TWRP recovery. Advanced, Multirom, List ROMs, select purity ROM, Flash ZIP, select file.

-reboot, back into TWRP recovery

-Install Android 4.4 Based off Kang-aroo1.2. Supports y-cable charging by flashing zip in TWRP, Advanced, Multirom, List ROMs, select purity ROM, Flash ZIP, select file.

-reboot
[Nexus 7 (2013) General] lostboykev:
Oh duh it uses reaver. Well that makes more sense. Thank goodness i can do it the old fashioned way. not big on mindless button mashing :P
[Nexus 7 (2013) General] AlchemicalVibrations:
Thank you! I'll give it a test run tomorrow morning and report back
[Nexus 7 (2013) General] p4rot:
I tried with the latest Bruce ROM and the latest super su with the pa gapps in Bruce folder, and I got every system apps force closing on boot
[Nexus 7 (2013) General] cLeAv0:
I would like to add that some commands need selinux to be in permissive mode. And that how can you fix the resolution in androidvnc?
[Nexus 7 (2013) General] :
Great tutorial, thanks so much. Now I try some apps and if I have trouble I'll write to you in this post.

One thing: I don't need to re-install the terminal emulator for now, Kali config and androidvnc works without error. Is it possible?
[Nexus 7 (2013) General] rulk:
I messed up my tablet by over writing the initial stock rom. I had to reinstall. I didn't see the delete option as I was trying to make use of the "backup/restore" option. I had backed up the new rom and did not see a restore option so I used the main restore option which then took the secondary rom and wrote it over my primary rom. Opps...

Deleting the bad rom is a much better idea... ;)

I will be trying to follow your original directions to a T and making sure I get it up and running with the version you have. I don't really have time to try something new and get the bugs out myself especially when someone else has already done that on a slightly older version. ;)

Did you ever post that link about using the internal WiFi and I missed it?
[Nexus 7 (2013) General] TarantuL_Russia:
thaNKS!! i use it!
[Nexus 7 (2013) General] dlightman:
Just wanted to say THANKs for this awesome tutorial! :good:

I followed it to the letter, even installing the older CM11 ROM and it seems to have all worked out just fine.

I should have my TP link adapter Thursday and Ill report back on my status. If that works, Ill upgrade to the newest (cm-11-20131222-bruce2728-bricked-linaro-flo.zip) and report back...

ETA: One question: I notced on the zetaboard.com thread, there is the follow note on update-kalipwn-v05.1.zip:

Does this mean that we should not run the "update everything" option in KaliConfig?

I already did, so I may be hosed, but figured I'd ask if anyone ran into problems doing so...
[Nexus 7 (2013) General] rulk:
Two notes.. When the kalipwned is being burned you can touch the screen if you want the screen to come back and you don't have to have the screen up for it to finish.

I installed it twice and it still gave the ramdisk failed message.

I am using all of the original files as posted originally. (I must have gotten the files before they were changed.)

Still installing at this point for hopefully the last time.. ;)

Should point out that a terminal IS needed for this.. I have a bunch of programs that exited out right away and after I installed a terminal it seems to be working. I will edit this message with any problems I am having after I try the fixes already mentioned.

May be the reason why my original attempt also did not work..

Rodney
[Nexus 7 (2013) General] droidshadow:
Hey everyone...

Well i finally uploaded the bruce2728-odexed.zip (custom cyanogenmod 11) zip file for everyone to download. This is the exact zip file that I used to install Kali Pwn Pad v0.5 on my Nexus 7 2013 32GB wifi only Model: FLO tablet.

Here is the download link: http://www.filedropper.com/cm-11-20131213-bruce2728-odexed-flo

The newer versions of bruce2728's cm11 zip files should work just fine but if you feel more comfortable using the exact zip file that I did go for it..

I will be adding this link to the main tutorial but i just wanted to put that link here for anyone that is still working this tutorial.

-droidshadow
[Nexus 7 (2013) General] AlchemicalVibrations:
Hey, I appreciate the upload of the original file but I am having trouble retrieving it. I attempted to download on Chrome, Chrome Beta, and Firefox Beta to no avail. Not sure if this is just me but the download will never start in Mobile or Desktop version. One of the time it downloaded a file that was 9.7KB. Thank you though

Edit:

I downloaded on my laptop with no problems.
[Nexus 7 (2013) General] rulk:
I tried the cm-11-20131222-bruce2728-bricked-linaro-flo rom and it was NOT compatible with the el-kitkatkaliflo2.2 kernel. It will bomb out with a long and very small log listing and a failure. The same kernel with the proper rom works fine.

Still would like to try using the wlan0 in monitor mode instead of the wlan1 so I can try using my tablet as a hacking device quietly.

I will try the mentioned graphics mode for the vnc and see if it changes my experience. I had a very wierd looking screen that was hard to view.

Couldn't we use the full resolution of the tablet? (1920 x 1200 )

If I understand what I am seeing this looks like we are setting up a linux box to run off our tablets.

All of the specialized programs look to be front ends to the code that is actually running on the linux box. Which is really cool and is something I need to do for my capstone for my degree so I need to find out how they do that...

Rodney
[Nexus 7 (2013) General] droidshadow:
I just wanted to let you know that I tested that link and I a was able to download the cm11-bruce2728-odexed.zip file without issue. I was using chrome and I also tested in firefox.

-droidshadow
[Nexus 7 (2013) General] droidshadow:
about vnc...

Yes all of the apps are basically shell scripts that put you into a chroot environment for Kali Linux. If you do try out the putting your internal wifi card (broadcomm chipset) which runs at wlan0 into monitor mode please let me know how it works! From the research that I have done it will kill your internet connection by putting your internal wifi card on your Nexus 7 into "mutlicast" aka "monitor mode".

As far as not getting elkitkatflo.zip (binky's kernel based off of elementalX) not working on bruce2728's newer (updated) cyanogenmod 11 zip file what was the problem? Laggy graphics? Bricked ROM?

Well i am glad that you were able to get it working with the zip file that i uploaded!

Have fun with Kali Pwn Pad and make sure you do the "update scripts" in the configkali app and make sure you go to that link i posted on how to fix some of the apps with small modifications to code or scripts. Let me get you that link again...

Here is the link -> http://w11.zetaboards.com/Pwnie_Express/single/?p=8259168&t=9369003

A good tip on how to apply those small fixes. Start VNC server either manually "tightvncserver -geometry 800x600 -depth 24" or with the app "configkali". Open up a console terminal and run the commands "apt-get update" && "apt-get install leafpad". Then in the terminal run this example command to edit a given file -> "leafpad /opt/pwnpad/sslstrip/sslstrip.py".

Oh as for your VNC session. I

wouldn't

recommend setting the size at the max resolution for the Nexus 7 device. What I do is setup the vnc session with 800x600 and then hit the "+" button at the bottom of the vnc session and use it to fill up the screen. I know that it won't take up the entire screen i think there is a small black border but its not the end of the world. :cowboy:

Have fun with KaliPwnPad brother!

-droidshadow
[Nexus 7 (2013) General] pan.droid:
[MENTION=5032014]droidshadow[/MENTION]: you're amazing! This looks great! Thanks for being so generous with your discoveries and insights. I highly recommend you cast a hook into the dsploit thread, if you haven't. Also, that you post within whatever category it's in to generate more interest... it might be under "Security"? It's gonna take me a few to come up with the funds for this, but I'm on board with where you're taking things. I really cannot thank you enough for your truly meticulous and clearly formatted/written tutorial. Especially grateful you've kept things in layman's terms=)
[Nexus 7 (2013) General] droidshadow:
Pan.droid thank you so much for the kind words! I think you are right that maybe i should post this in a security thread to gain more interest and I would like to see more people with KaliPwnPad on their nexus devices! Binky has put so much work into this project i think it deserves the recognition it deserves.

I am going to look into the dsploit thread and maybe post a link to this tutorial since dsploit is one of the apps that is included in the KaliPwnPad arsenal of tools.

As for keeping things in layman's terms i think you are 100% right about that! I tried to be as detailed as possible in this tutorial. I didn't want this project to be only for the super advanced power Android users I wanted this tutorial to be for anyone who loves computer security like i do and that has wanted to see "monitor mode" on Android. Ever since I started using "aircrack-ng" or "kismet" or "wifite" i have always thought how cool would this be if i could do that on Android! Because of the hard work of a few my hopes of having "monitor mode" on Android have come true! We all owe them so big...

The next thing i have to wait for is "Ubuntu Touch" for the Nexus 7 2013. I really hope that projects continues on...

Merry X-Mas everyone, and pan.droid thanks again for your message!

-droidshadow
[Nexus 7 (2013) General] AlchemicalVibrations:
Hey, for those that got it working on the CyanogenMod 12-13, when you added a new ROM, did you select share or don't share?
[Nexus 7 (2013) General] vinumsv:
I selected don't share or left it @ its default values :D

thanks to droidshadow :D here is my latest weapon in my arsenal

View attachment 2475311 :highfive:
[Nexus 7 (2013) General] Papa Emeritus:
Would it be easier to chroot Kali with Linux deploy? Or am I misinformed that Linux deploy does chroot distros?