Monday 2 May 2011

Desktop Phishing – Step by step tutorial

Hii Friends, I think now you know about phishing & how to create fake login page. If you new in TRICKS4INDYA then before proceeding read my previous two article about “what is phishing?” & “How to create & use fake login page”. Today I am going to write an article about Desktop Phishing which is an advance form of phishing.


Difference between phishing and desktop phishing is as follows: -

In phishing: -

·      Attacker convinces the victim to click on the link of fake login page which resembles a genuine login page.
·      Victim enters his credentials in fake login page that goes to attacker.
·      Victim is then redirected to an error page or genuine website depending on attacker.

But main drawback in phishing is that victim can easily differentiate between fake and real login page by looking at the domain name. We can overcome this in desktop phishing by spoofing domain name.

In desktop phishing:-

·      Attacker sends an executable/batch file to victim and victim is supposed to double click on it. Attacker's job is done.
·      Victim types the domain name of original/genuine website and is taken to our fake login page. But the domain name remains the same as typed by victim and victim doesn't come to know.
·      Rest of the things is same as in normal phishing.



What is Hosts File?

The hosts file is a text file containing domain names and IP address associated with them. Location of hosts files in windows: C:\Windows\System32\drivers\etc\

Whenever we visit any website, say www.anything.com , an query is sent to  Domain Name Server(DNS) to  look up for the IP address associated with that website/domain. But before doing this the hosts file on our local computer is checked for the IP address associated to the domain name.

Suppose we make an entry in hosts file as shown. When we visit www.anywebsite.com , we would be taken to this 115.125.124.50. No query for resolving IP address associated with www.anywebsite.com would be sent to DNS.



What is attack?

I hope you have got an idea that how modification of this hosts file on victim's computer can be misused. We need to modify victim's hosts file by adding the genuine domain name and IP address of our fake website /phishing page. Whenever victim would visit the genuine website, he would be directed to our fake login page and domain name in the URL box would remain genuine as typed by victim. Hence domain name is spoofed.


Two Steps to perform attack: -

1.   Create and host phishing page on your computer.
2.   Modify victim's host file


Step 1:-

Since the webhosting sites like 110mb.com, ripway.com etc where we usually upload our phishing page do not provide a IP that points to your website like www.anything.110mb.com. An IP address points to a web server and not a website. So we need to host the phishing page on our computer using a  web server software like wamp or xampp.

Kindly read my simple tutorial on setting up XAMPP webserver here and this step would be clear to you.


Step 2: -

This step can performed in two different ways. 


Method 1 - Send victim a zip file containing modified host file. When Zip file would be clicked, it would automatically replace victim's original hosts file with modified hosts file.

Copy your hosts file and paste it anywhere. Modify it according to yourself..Edit it with any text editor and associate your public IP address with domain you wish as show.


Like in this case, when victim would visit gmail.com , he would be taken to website hosted on IP 'xxx.xxx.xxx.xxx'. Replace it with your public IP.Compress hosts file such that when victim opens it, it automatically gets copied to default location C:\Windows\system32\drivers\etc and victim's hosts file get replaced by our modified hosts file.

To setup modified host zip file follow the below image: -







Then you can bind this file with any exe/image (using a binder) or directly give it to victim. He is supposed to click it and you are done.


Method 2 - Create a batch file which would modify hosts file as per your need.

Open your notepad and type the following text: -


echo xxx.xxx.xxx.xxx www.watever.com >> C:\windows\system32\drivers\etc\hosts

echo xxx.xxx.xxx.xxx watever.com >> C:\windows\system32\drivers\etc\hosts 


Obviously replace it with your IP and website acc. to yourself.


Save file as 'all files' instead of txt files and name it anything.bat . Extension must be .bat 

When victim would run this file, a new entry will be made in hosts file.

You can test both the above methods to modify your own hosts file


Limitations of attack: -

1.   Since our pubilc IP address is most probably dynamic that it gets changed everytime we disconnect and connect. To overcome this we need to purchase static IP from our ISP.
2.   The browser may warn the victim that Digital Certificate of the website is not genuine.


Countermeasures:-

Never just blindly enter your credentials in a login page even if you yourself have typed a domain name in web browser. Check the protocol whether it is "http" or "https". https is secure.


Note: This is illegal and is for educational purpose only. Any loss/damage happening will not be in any way our responsibility.


If u like then ple follow my blog & also help to promote. Don’t forget to leave comment.

2 comments:

CONTACT: onlineghosthacker247 @gmail. com
-Find Out If Your Husband/Wife or Boyfriend/Girlfriend Is Cheating On You
-Let them Help You Hack Any Website Or Database
-Hack Into Any University Portal; To Change Your Grades Or Upgrade Any Personal Information/Examination Questions
-Hack Email; Mobile Phones; Whatsapp; Text Messages; Call Logs; Facebook And Other Social Media Accounts
-And All Related Services
onlineghosthacker Will Get The Job Done For You
onlineghosthacker247 @gmail. com
TESTED AND TRUSTED!!!

Selling USA FRESH SPAMMED SSN Leads/Fullz, along with Driving License/ID Number with EXCELLENT connectivity.

**PRICE**
>>1$ FOR EACH FULLZ WITHOUT DL NUMBER
>>2$ FOR EACH LEAD/FULLZ/PROFILE
>>5$ FOR EACH PREMIUM LEAD/FULLZ/PROFILE

**DETAILS IN EACH LEAD/FULLZ**

->FULL NAME
->SSN
->DATE OF BIRTH
->DRIVING LICENSE NUMBER WITH EXPIRY DATE
->ADDRESS WITH ZIP
->PHONE NUMBER, EMAIL, I.P ADDRESS
->EMPLOYEE DETAILS
->REALTIONSHIP DETAILS
->MORTGAGE INFO
->BANK ACCOUNT DETAILS

>All Leads are Tested & Verified.
>Invalid info found, will be replaced.
>Serious buyers will be welcome & I will give discounts on bulk orders.
>Fresh spammed data of USA Credit Bureau
>Good credit Scores, 700 minimum scores
>Bulk order will be preferable
>Minimum order 20 leads/fullz
>Hope for the long term business
>You can asked for samples, specific states & zips (if needed)
>Payment mode BTC, ETH, LTC, Paypal & PERFECT MONEY

Email > leads.sellers1212@gmail.com
Telegram > @leadsupplier
ICQ > 752822040

''OTHER GADGETS PROVIDING''

>SSN Fullz
>CC fullz
>Dead Fullz
>Carding Tutorials
>Hacking Tutorials
>SMTP Linux Root
>DUMPS with pins track 1 and 2
>Sock Tools
>Server I.P's
>USA emails with passwords (bulk order preferable)

**Contact 24/7**

Email > leads.sellers1212@gmail.com
Telegram > @leadsupplier
ICQ > 752822040

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Twitter Delicious Facebook Digg Stumbleupon Favorites More