Tools & Commands For Testing Brute Force Vulnerability (White Hat)

Advertisement

Previously we delivered three guides – IPTables Basic Chapter 1, IPTables Basic Chapter 2, IPTables Basic Chapter 3 for the new server users. If you fall among that group, please check the articles for any missing step to arrange a basic security. After Securing Server, Basic Penetration Testing For Security is Needed. Here Are Few White Hat Tools & Commands For Testing Brute Force Vulnerability. These are not intended to run on others server. In very short, the shown methods are incapable to even initiate a genuine planned hacking attempt. But they are not for running these on other’s domain, server etc as your IP can get blacklisted and you are really a trained hacker.

What We Will Do With Tools & Commands For Testing Brute Force Vulnerability?

Brute force attack can be used to attempt to decrypt any encrypted data. For password guessing, this method is very fast for the short passwords and for longer passwords methods like dictionary attack are used. Brute force attacks are like problem solving technique. As theoretical time limit, we can increase the probability of time to be taken to break.

We will show how an attacker gathers the information and plan to run scripts as script kiddie to disturb you. If you can hide some (or most) of the information or broadcast misleading information, basically it becomes difficult to run the automated tools. We really can not make all points 100% fool proof. As we will know our weak points, we can do vigorous monitoring and logging around the weak points. It is obvious that, unlike our other guides we can not show each and every point to make secure.

Kali Linux, WHAX, Backbox, Pentoo etc are penetration test focused GNU/Linux distributions. Normally you’ll not need them for our guide. But you run Kali Linux as desktop OS to test, inform your web host about performing testing on your instance. Kali Linux is good as server OS as the kernel is designed to be injection proof and developers are restricted to directly commit on the project.

Among the tools Nmap, Crack, Ncrack, Aircrack-ng, Kismet, Wireshark, Metasploit Framework, Burp suite, John the Ripper, Social Engineering Toolkit, Maltego, THC Hydra, medusa etc are commonly known tools. Not all tools are possible to run from just another server. Some needs good graphics card (for faster calculation). So, we will show the command line tools and commands. Other tools can be found at Kali Linux’s list :

Vim

1

http://tools.kali.org/tools-listing

List of Tools & Commands For Testing Brute Force Vulnerability

Actually we shown few commands before with tools like nmap, but they were for just scanning port. DO NOT COPY PASTE THE COMMANDS from our and RUN on YOUR SERVER!. For tutorial purpose, we will use our servers or IPs and their output for giving examples. You should type them for your servers or IPs. Hacker can come by IP 23.227.167.33 or domain name thecustomizewindows.com. We will only show test with few which an ordinary user can use to increase security but can not hack in to others server easily :

Vim

1

2

apt-get install ncrack medusa hydra dmitry nmap##fordeb,ubuntu

yum install ncrack medusa hydra dmitry nmap#forcentos,rehl

Advertisement

---

It is obvious to check the basic stuffs by a targeted attacker :

Vim

1

2

3

4

5

curl-I23.227.167.33

curl-Ithecustomizewindows.com

host thecustomizewindows.com

host23.227.167.33

whois thecustomizewindows.com

Importance : Gives data about unmanaged third party services. Unmanaged DNS is easy to spoof.

Importance : Ubuntu is likely not to be hardened unlike REHL. Server runs Nginx, we can find vulnerabilities. We can not fake as bot and put a PDF file. They are using latest OpenSSH. We can check whether the server or domain is using firewall with -sA flag :

Here are useful resources, but I can give warranty, they are not for average user :

Vim

1

https://downloads.skullsecurity.org

Hydra, Medusa and Ncrack

Commonly used passwords are available on security websites as text files. Take that such file’s name is passwords.txt. We stoped Fail2Ban (you’ll not do), use easy password (you’ll not do) to test and run this to test our quality of password, where root is username :

Vim

1

2

3

hydra-lroot-Ppasswords.txt23.227.167.33ssh

ncrack-p22--userroot-Ppasswords.txt23.227.167.33

medusa-uroot-Ppasswords.txt-h23.227.167.33-Mssh

5178 numbered password matched with our dump of 10000 passwords with ncrack most fast. We can make that thing more faster, that is different topic.

This is an example questionable person’s blog. Use Tor browser to read guides how to run genuine bad tools & commands for brute force :

Vim

1

hackersleaked dot blogspot dot com

Conclusion

Usually if logically these are tested with own interest and vulnerabilities closed, it is actually difficult for an novice script kiddie to intrude. On virtual server, it is more common to get knocked out by SSH brute force flood or have XML-RPC attack.

If there is no proper IPTables rules, Fail2Ban like basic security software configured, root user not changed, anyone virtually can get clear password and straightforwardly SSH into. It is not that dedicated servers (with sane hardware, from proper web host and sane number of traffic) costs huge, but managing dedicated really demands intelligence. As the titles tells the intention – Tools & Commands For Testing Brute Force Vulnerability (White Hat) , we are limited by ethics to show anything more. It does take time to crack Facebook account.