FB COOKIE STEALING AND SESSION HACKING
HACKED BY THE HACKER |
COOKIE: datr=1276721606b7f94f977295759399293c5b0767618dc02111ede159a827030fc;
HOW TO STEAL FACEBOOK SESSION COOKIES AND HIJACK AN ACCOUNT ?
AN ATTACKER CAN USE VARIETY OF METHODS IN ORDER TO STEAL YOUR FACEBOOK AUTHENTICATION COOKIES DEPENDING UPON THE NETWORK HE IS ON, IF AN ATTACKER IS ON A HUB BASED NETWORK HE WOULD JUST SNIFF TRAFFIC WITH ANY PACKET SNIFFER AND GAIN ACCESS TO VICTIMS ACCOUNT.
IF AN ATTACKER IS ON A SWITCH BASED NETWORK HE WOULD USE AN "ARP" POISONING REQUEST TO CAPTURE AUTHENTICATION COOKIES. IF AN ATTACKER IS ON A WIRELESS NETWORK HE JUST NEEDS TO USE A SIMPLE TOOL CALLED "FIRESHEEP" IN ORDER TO CAPTURE AUTHENTICATION COOKIE AND GAIN ACCESS TO VICTIMS ACCOUNT. IN THE EXAMPLE BELOW I WILL BE EXPLAINING HOW AN ATTACKER CAN CAPTURE YOUR AUTHENTICATION COOKIES AND HACK YOUR FACEBOOK ACCOUNT WITH WIRESHARK.
STEP 1: - FIRST OF ALL DOWNLOAD "WIRESHARK" FROM THE OFFICIAL WEBSITE AND INSTALL IT.
STEP 2: - NEXT OPEN UP WIRESHARK CLICK ON ANALYZE AND THEN CLICK ON INTERFACES.
STEP 3: - NEXT CHOOSE THE APPROPRIATE INTERFACE AND CLICK ON START.
STEP 5: - AFTER 10MINUTES STOP THE PACKET SNIFFING BY GOING TO THE CAPTURE MENU AND CLICKING ON STOP.
STEP 6: - NEXT SET THE FILTER TO HTTP.COOKIE CONTAINS “datr” AT TOP LEFT, THIS FILTER WILL SEARCH FOR ALL THE HTTP COOKIES WITH THE NAME datr, AND datr AS WE KNOW IS THE NAME OF THE FACEBOOK AUTHENTICATION COOKIE.
STEP 8: - NEXT YOU’LL WANT TO OPEN UP FIREFOX. YOU’LL NEED BOTH "GREASEMONKEY" AND THE "COOKIEINJECTOR SCRIPT". NOW OPEN UP FACEBOOK.COM AND MAKE SURE THAT YOU ARE NOT LOGGED IN.
STEP 9: - PRESS ALT C TO BRING UP THE COOKIE INJECTOR, SIMPLY PASTE IN THE COOKIE VALUE INTO IT.
****** NOTE *******
THIS ATTACK WILL ONLY WORK IF VICTIM IS ON A "HTTP:// CONNECTION" AND EVEN ON "HTTPS://" IF END TO END ENCRYPTION IS NOT ENABLED.
****** COUNTER-MEASURES ******
THE BEST WAY TO PROTECT YOURSELF AGAINST A SESSION HIJACKING ATTACK IS TO USE "HTTPS:// CONNECTION". EACH AND EVERY TIME YOU LOGIN TO YOUR FACEBOOK, GMAIL, HOTMAIL OR ANY OTHER EMAIL ACCOUNT. AS YOUR COOKIES WOULD BE ENCRYPTED SO EVEN IF AN ATTACKER MANAGES TO CAPTURE YOUR SESSION COOKIES HE WON’T BE ABLE TO DO ANY THING WITH YOUR COOKIES.
i am using mobile broadband so,which method i hava to use?
ReplyDelete