Call Sahil Baghla for Seminar, Workshop & Guest Lecture



Subscribe & Don't Miss A Free Ethical Hacking Course

Enter your email address:



Click Here for Company Website of EH1-Infotech Knowledge Solutions

How FTP Passwords are Cracked Using Dictionary Attacks

Dictionary Attack ?

In layman language, Dictionary attack means using a tool that picks passwords from a wordlist and tries them one by one until one works

How to make a wordlist ?

A wordlist can consist of all possible combinations of letter,numbers,special characters. It can have some common or default passwords. You can download the wordlist generators or google the wordlists for bruteforcing and configure them according to yourself.

How fruitful attack can be ?

If we are try all possible combinations of letter,numbers,special characters, theoretically chances of success are 100%. But practically it is not possible to try every combination because it can take a lot of time. This attack just depends on the time you give,processing power and ofcourse your luck.

Tool I will be using ?

Step 1

Download THC Hydra from here

Step 2

(a) Make a usename wordlist consisting of some common usernames like this

(b) Get a wordlist of passwords
(c) Copy both wordlists to your hydra folder

Step 3

(a)Open the command prompt and change directory to your hydra folder using cd command.

(b) Type “hydra” without quotes and it will show you the options to use.

(c) Now to start attak,

Type “hydra -L userslist.txt -P passlist.txt xxx.xxx.xxx.xxx ftp” and press enter

where userslist.txt is the list of usernames, passlist.txt is the list of passwords and xxx.xxx.xxx.xxx is the IP address of target, Now it will start cracking

To use a single username instead of wordlist , Replace capital L with small l , like this

Type “hydra -l username -P passlist.txt xxx.xxx.xxx.xxx ftp

Note : Ftp port must be open.

Warning: I highly recommend you to use a chain of proxies to spoof your identity because proper logs of user’s IP addresses who try to connect to ftp server is made on the server. Here is an example of the same.



Countermeasures to protect yourself from this attack:

1. Use strong passwords
2. Enable Autoban of IPs or anyother option like this.

Regards: Anshuman Kak a Script Kiddie…

What do you think of this post?
Awesome (1) Interesting (2) Useful (1) Good (1)

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my Email and get articles like this delivered automatically to your Email.

Comments

Hay itz really gud… u no in India the Spidigo internet providers all of them have same username and password to get into there internet settings!!!

Leave a comment

(required)

(required)




EHacking
Website Hacking
Windows
Security
Facebook Hacking
Wifi- Hacking
Mobile Hacking
Reverse Engineering
Interesting Tricks
Linux
Programming
Hacking News