The first few hours of every Hackathon typically starts with limited to no internet. As I notice everyone around me beginning to tether their phones, I always think of doing the same. I realized that my phone hotspot key was just my phone number, which would be extremely easy to crack. Everyone's packets are easily available to be sniffed, and enough data packet collection would allow for cracking on a distant machine. So it got me thinking...
What it does
If I ever forgot my password and needed a way to get back into my system, I would be pretty stuck. This web application allows me to wisely crack (I like to say recover) my WiFi keys using Aircrack-ng after I have sniffed sufficient amounts of data packets. The problem that would occur is that I only really have my phone to sniff packets or my laptop. Performing "recovery" would drain the battery easily, and everyone knows the computing power to perform "recovery" is just not there. That's where the cloud comes in. Why use up your resources when you can allow supercomputer clusters to do your bidding? I mean... uh, help you get back in your systems.
WiseCrack is a titularly sarcastic approach to packet sniffing and cracking.
How I built it
The process was simply sniffing for packets in monitor mode with PCAP, uploading them into the WiseCrack web application, then deploying Aircrack-ng to do it's thing.
Challenges I ran into
Before deciding to create a web app, it was going to be an Android App. This made a lot of things difficult because the App would do it's own packet sniffing (without PCAP). It would then connect to my laptop's local server as a proof of concept and run Aircrack. After the key is extracted it would be sent back and logged into the App. There were just so many different moving parts and at one point I was going to use Cordova to just let web apps become available to Android, but even that was not for sure going to work. I pivoted way more times than just this instance, so the final product left much to be desired.
Accomplishments that I'm proud of
I have an app that works. I got better at web development.
What I learned
What's next for WiseCrack
Potentially create this into a standalone Android app. Less moving parts (no more PCAP, Meteor shenanigans, web dev, less application servers) tends to make a more robust product.