Hey everyone, as it seems that a lot of you guys seem to be in high school and want to be like the “War Games” hackers I figured I’d write a tutorial on how to steal logins for online grading systems. In this tutorial, I will let you know how to hack school system for login data. If you’re school still uses paper to write down and keep track of grades this tutorial is not for you.
How to hack school system?
Here are few steps that will make you know how to hack school system for login data.
Step One – Understanding Some Basics
Now you’ve got to understand some basics about how computers communicate on a network (if you are familiar with this and have a general understanding of how TCP/IP works then skip this section as it is only for those who want to learn what’s happening behind the scenes!).
I’ll try to cut down on most information.
So basically every computer on a network has an IP address be it “192.168.1.101” or “10.0.0.10” that is your IP for your computer on your current network. This is your computer’s “address” much like every house has a mailing address to receive postage.
So basically all the computers send information through the “router” or “switch” which passes it on out to the internet and vise versa. The router broadcasts it’s address to every computer on the network and says “Hey everyone! I’m 192.168.1.1 and I’m your default gateway! Send all your requests through me and I’ll serve you!” and all the computers happily send their requests through the router.
But what if someone lied about being a certain IP address?
In an ARP cache poising situation, this is exactly what a hacker would do.
Hacker’s Computer: “Hey 192.168.1.1 (router)! I’m 192.168.1.100!”
Router: (Didn’t ask, but accepts this information) “OK thank you I’ll send future data your way!”
Hacker’s Computer: “Hey user 192.168.1.100 (Vlictim)! I’m you’re router!”
Vlctim’s Computer: (Didn’t ask, but accepts this information) “OK thank you I’ll send my requests through you!”
Now the hacker has places himself in a very great position! He is now a “proxy” or a computer that both the router and the vlctim must push their information through.
So now if the vlctim wants to visit a webpage all of his data is sent through the hacker’s computer and on to the router and vise versa.
The advantage here is now the hacker can read everything the user is doing online.
The main problem with this is that most sites that do “Online Grading” encrypt their data before sending it to the router so that this attack is thwarted.
Using software like “Cain & Abel” you can get around this problem. This is done by spoofing the SSL certificate for the vlctim, however this can not be done completely as the vlctim will get a “SSL certificate error” warning message. Luckily in the most used version of Internet Explorer this message is just a simple “blalla error, click here to continue” and most users just ignore this and click ok. Now they are connected to the website but you can still see what they are doing!
Congrads, you now (kinda) get how an ARP Cache Poising attack works & SSL Spoof attack.
Step Two – Starting out:
A nice warning you’ll be doing all this on a school computer, please be careful not to get caught.
No you’re going to need to install Cain & Abel for doing this attack! This is a Windows hacktool with all sorts of fun built in!
Great! Now install the thing (I’m not going to hold your hand on this as it’s really straightforward, just say yes to installing everything).
Eventually you install everything and you start up Cain, please be sure you’ve allowed it internet accept if Windows prompts you for it. Now, you’re going to need to click the sniffer button in the top left corner.
This has started the “sniffing” process where your computer will capture any traffic that it sends/receives. At this point this is only the websites you visit but you want to see everyone else’s internet activity as well.
Step Three – Gathering victims:
Now we are going to get a list of all computers currently on the network so we can poison them.
To do this go to the sniffing tab.
Now you’ve got to start the ARP Cache poising. Click this button. Great! Now you need to select some computers to poison.
Click the “+” button to add some computers to your list. A pop up will appear.
The default settings are perfectly fine, so scan everyone on your current subnet (which means everyone who’s behind the same router/switch as you)
Wait for it to finish scanning, once it’s done move on to the next step.
Step Four – Poising some ARP Caches!
You are now going to direct everyone’s traffic through your own computer so you can see what they are doing and steal their online passwords.
Now click the Click the “+” button to add some computers to your list of to poison. A new window should now pop up.
Now you’re going to want to select the first IP address on the left, this is the router address so you can capture all data being sent to the router. Select EVERYTHING in the right column. Then click “OK”
You are now intercepting all data on the network! Pat yourself on the back! You’re screen should look like this.
Step Five – Viewing intercepted data
Great now that you’re intercepting traffic you’re going to want to view all the passwords you’re stealing.
Those are all of the different types of passwords you’re currently capturing. Since you’re trying to get the online school grading passwords, click the “HTTP” section. Now you can see all the passwords you’re capturing in realtime.
Wow that’s cool! Now just wait until a teach logs onto the online grading system and you’ve then captured their password!
Important – Read this
Something important to remember is that Cain is currently only capturing password data that it recognizes. It may not understand what data is a password and what isn’t.
You can specify what you want Cain to capture by clicking the “Configure” button at the top:
You should see the menu below, go to the “HTTP Fields” tab and select everything in the top column and “Removal all” do this for the bottom section too.
Now you need to know the field names for the username and password of the school grading system. Go to the grading login page (if you don’t know the URL just grab it from the data above).
Now you want to view the source of the page (Ctrl + U in Firefox)
Look for something like this :
<input name=”txtTeacherUsername” id=”txtTeacherUsername” size=”18″ value=”” class=”gaia le val” type=”text”>
<input type=”hidden” name=”txtTeacherPassword” id=”txtTeacherPassword” size=”18″ value=”” class=”gaia le val” type=”text”>
As you can see the two fields are “txtTeacherUsername” and “txtTeacherPassword”
So now go back to Cain and add those field names in by inputting the field names and clicking the plus button and click “OK”.
A nice little warning is that anyone who is connecting to a website via SSL will see this most will just click to continue.
Congrats! You have learnt how to hack school system for login data.