Friday, August 21, 2020

How To Crack A Password

What is Password Cracking?

Password cracking is the process of attempting to gain Unauthorized access to restricted systems using common passwords or algorithms that guess passwords. In other words, it's an art of obtaining the correct password that gives access to a system protected by an authentication method.

Password cracking employs a number of techniques to achieve its goals. The cracking process can involve either comparing stored passwords against word list or use algorithms to generate passwords that match

How to crack password of an Application

In this Tutorial, we will introduce you to the common password cracking techniques and the countermeasures you can implement to protect systems against such attacks.

Topics covered in this tutorial

What is password strength?

Password strength is the measure of a password's efficiency to resist password cracking attacks. The strength of a password is determined by;

  • Length: the number of characters the password contains.
  • Complexity: does it use a combination of letters, numbers, and symbol?
  • Unpredictability: is it something that can be guessed easily by an attacker?

Let's now look at a practical example. We will use three passwords namely

1.  password

2.  password1

3.  #password1$

 For this example, we will use the password strength indicator of Cpanel when creating passwords. The images below show the password strengths of each of the above-listed passwords.

How to crack password of an Application

Note: the password used is password the strength is 1, and it's very weak.

How to crack password of an Application

Note: the password used is password1 the strength is 28, and it's still weak.

How to crack password of an Application

Note: The password used is #password1$ the strength is 60 and it's strong.

The higher the strength number, better the password.

Let's suppose that we have to store our above passwords using md5 encryption. We will use an online md5 hash generator to convert our passwords into md5 hashes.

 The table below shows the password hashes

PasswordMD5 HashCpanel Strength Indicator
password5f4dcc3b5aa765d61d8327deb882cf991
password17c6a180b36896a0a8c02787eeafb0e4c28
#password1$29e08fb7103c327d68327f23d8d9256c60


 We will now use http://www.md5this.com/ to crack the above hashes. The images below show the password cracking results for the above passwords.

How to crack password of an Application

How to crack password of an Application

How to crack password of an Application

As you can see from the above results, we managed to crack the first and second passwords that had lower strength numbers. We didn't manage to crack the third password which was longer, complex and unpredictable. It had a higher strength number.

Password cracking techniques

There are a number of techniques that can be used to crack passwords. We will describe the most commonly used ones below;

  • Dictionary attack– This method involves the use of a wordlist to compare against user passwords.
  • Brute force attack– This method is similar to the dictionary attack. Brute force attacks use algorithms that combine alpha-numeric characters and symbols to come up with passwords for the attack. For example, a password of the value "password" can also be tried as p@$$word using the brute force attack.
  • Rainbow table attack– This method uses pre-computed hashes. Let's assume that we have a database which stores passwords as md5 hashes. We can create another database that has md5 hashes of commonly used passwords. We can then compare the password hash we have against the stored hashes in the database. If a match is found, then we have the password.
  • Guess– As the name suggests, this method involves guessing. Passwords such as qwerty, password, admin, etc. are commonly used or set as default passwords. If they have not been changed or if the user is careless when selecting passwords, then they can be easily compromised.
  • Spidering– Most organizations use passwords that contain company information. This information can be found on company websites, social media such as facebook, twitter, etc. Spidering gathers information from these sources to come up with word lists. The word list is then used to perform dictionary and brute force attacks.

Spidering sample dictionary attack wordlist

1976 <founder birth year>

smith jones <founder name>

acme <company name/initials>

built|to|last <words in company vision/mission>

golfing|chess|soccer <founders hobbies

Password cracking tool

These are software programs that are used to crack user passwords. We already looked at a similar tool in the above example on password strengths. The website www.md5this.com uses a rainbow table to crack passwords. We will now look at some of the commonly used tools

John the Ripper

John the Ripper uses the command prompt to crack passwords. This makes it suitable for advanced users who are comfortable working with commands. It uses to wordlist to crack passwords. The program is free, but the word list has to be bought. It has free alternative word lists that you can use. Visit the product website http://www.openwall.com/john/ for more information and how to use it.

Cain & Abel

Cain & Abel runs on windows. It is used to recover passwords for user accounts, recovery of Microsoft Access passwords; networking sniffing, etc. Unlike John the Ripper, Cain & Abel uses a graphic user interface. It is very common among newbies and script kiddies because of its simplicity of use. Visit the product website http://www.softpedia.com/get/Security/Decrypting-Decoding/Cain-and-Abel.shtml for more information and how to use it.

Ophcrack

Ophcrack is a cross-platform Windows password cracker that uses rainbow tables to crack passwords. It runs on Windows, Linux and Mac OS. It also has a module for brute force attacks among other features. Visit the product website http://ophcrack.sourceforge.net/  for more information and how to use it.

Password Cracking Counter Measures

  • An organization can use the following methods to reduce the chances of the passwords been cracked
  • Avoid short and easily predicable passwords
  • Avoid using passwords with predictable patterns such as 11552266.
  • Passwords stored in the database must always be encrypted. For md5 encryptions, its better to salt the password hashes before storing them. Salting involves adding some word to the provided password before creating the hash.
  • Most registration systems have password strength indicators, organizations must adopt policies that favor high password strength numbers.

Hacking Activity: Hack Now!

In this practical scenario, we are going to crack Windows account with a simple passwordWindows uses NTLM hashes to encrypt passwords. We will use the NTLM cracker tool in Cain and Abel to do that.

Cain and Abel cracker can be used to crack passwords using;

  • Dictionary attack
  • Brute force
  • Cryptanalysis

We will use the dictionary attack in this example. You will need to download the dictionary attack wordlist here 10k-Most-Common.zip

For this demonstration, we have created an account called Accounts with the password qwerty on Windows 7.

How to crack password of an Application

Password cracking steps

  • Open Cain and Abel, you will get the following main screen

How to crack password of an Application

  • Make sure the cracker tab is selected as shown above
  • Click on the Add button on the toolbar.

How to crack password of an Application

  • The following dialog window will appear

How to crack password of an Application

  • The local user accounts will be displayed as follows. Note the results shown will be of the user accounts on your local machine.

How to crack password of an Application

  • Right click on the account you want to crack. For this tutorial, we will use Accounts as the user account.

How to crack password of an Application

  • The following screen will appear

How to crack password of an Application

  • Right click on the dictionary section and select Add to list menu as shown above
  • Browse to the 10k most common.txt file that you just downloaded

How to crack password of an Application

  • Click on start button
  • If the user used a simple password like qwerty, then you should be able to get the following results.

How to crack password of an Application

  • Note: the time taken to crack the password depends on the password strength, complexity and processing power of your machine.
  • If the password is not cracked using a dictionary attack, you can try brute force or cryptanalysis attacks.

Summary

  • Password cracking is the art of recovering stored or transmitted passwords.
  • Password strength is determined by the length, complexity, and unpredictability of a password value.
  • Common password techniques include dictionary attacks, brute force, rainbow tables, spidering and cracking.
  • Password cracking tools simplify the process of cracking passwords.
@EVERYTHING NT

More articles


  1. Pentest Tools Download
  2. Hack Tools For Games
  3. Hack Tools For Windows
  4. Hacker Tools Software
  5. Pentest Tools For Windows
  6. Hacking Tools Name
  7. Hacking Tools Online
  8. Pentest Tools Free
  9. Hacking Tools For Windows Free Download
  10. Hack App
  11. Free Pentest Tools For Windows
  12. Hacking Tools For Windows
  13. Free Pentest Tools For Windows
  14. Hacker Tools 2019
  15. Hack Tools For Windows
  16. Hack Tools 2019
  17. Tools Used For Hacking
  18. Hacking Tools For Pc
  19. Hacking Tools Software
  20. Kik Hack Tools
  21. Hack Tools Online
  22. Hacking Tools Windows 10
  23. Usb Pentest Tools
  24. Pentest Automation Tools
  25. Hacking Tools For Windows Free Download
  26. Hacking Tools For Windows
  27. Hack Apps
  28. Pentest Tools Alternative
  29. Hacker Tools Apk
  30. Pentest Tools Online
  31. Pentest Recon Tools
  32. Hak5 Tools
  33. Pentest Tools Port Scanner
  34. Install Pentest Tools Ubuntu
  35. Hack Tools 2019
  36. Hack Tools
  37. How To Make Hacking Tools
  38. Game Hacking
  39. Pentest Tools Apk
  40. Pentest Tools Download
  41. Hack And Tools
  42. Hacker
  43. Hacking Apps
  44. Hacker Tools 2019
  45. Pentest Tools For Android
  46. Hacking Tools Name
  47. Pentest Tools List
  48. Blackhat Hacker Tools
  49. Hacker Tools Apk
  50. Pentest Tools Free
  51. Tools 4 Hack
  52. Hacker Tools Apk Download
  53. Best Pentesting Tools 2018
  54. Hacker Tools For Pc
  55. New Hacker Tools
  56. Ethical Hacker Tools
  57. Hacking Tools 2019
  58. Hacking Tools Windows
  59. Pentest Tools Port Scanner
  60. Pentest Tools Nmap
  61. Pentest Automation Tools
  62. Hacker Tools Apk
  63. Hack Apps
  64. Hak5 Tools
  65. Pentest Tools Subdomain
  66. Hacker Hardware Tools
  67. Pentest Tools Port Scanner
  68. Hack Tools Github
  69. Black Hat Hacker Tools
  70. Hacker Tools Free
  71. Pentest Tools For Mac
  72. Hack Tools Github
  73. New Hacker Tools
  74. Hacker Tools List
  75. Best Hacking Tools 2019
  76. Hacking Tools Free Download
  77. Hackers Toolbox
  78. Black Hat Hacker Tools
  79. Pentest Tools Alternative
  80. Bluetooth Hacking Tools Kali
  81. Hack App
  82. Hacker Tools List
  83. Hack Tools Online
  84. Hacker Tools Hardware
  85. Hacking Tools Hardware
  86. Hack Rom Tools
  87. What Are Hacking Tools
  88. World No 1 Hacker Software
  89. Pentest Tools Alternative
  90. Physical Pentest Tools
  91. Top Pentest Tools
  92. Pentest Tools For Windows
  93. Hacker Tools For Ios
  94. Hacker Tools 2020
  95. How To Hack
  96. Hacking Tools Windows 10
  97. Pentest Tools For Mac
  98. Hacker Tools Apk
  99. Hacker Tools For Windows
  100. Hack Tools Github
  101. Hacking Apps
  102. Hacking Tools Hardware
  103. Hacker Tools Github
  104. Pentest Tools Framework
  105. Hacking Tools Windows
  106. Hacking Tools For Windows
  107. Hacking Tools Mac
  108. Pentest Tools Alternative
  109. Hackers Toolbox
  110. Best Hacking Tools 2019
  111. Easy Hack Tools
  112. Hacker Tools For Pc
  113. Hacker Tools 2019
  114. Nsa Hacker Tools
  115. Pentest Tools Linux
  116. Hacking Tools Windows 10
  117. Pentest Tools Alternative
  118. Physical Pentest Tools
  119. Hack Tools For Games
  120. Hacker Tools Windows
  121. Ethical Hacker Tools
  122. How To Make Hacking Tools
  123. Pentest Tools Port Scanner
  124. Hacker Tools Hardware
  125. Pentest Tools Nmap
  126. Android Hack Tools Github
  127. Black Hat Hacker Tools
  128. How To Install Pentest Tools In Ubuntu
  129. Hacking Tools 2020
  130. Free Pentest Tools For Windows
  131. Hack Tools Github
  132. Hackers Toolbox
  133. Hacking Tools Name
  134. Hacking App
  135. Free Pentest Tools For Windows
  136. Pentest Tools Tcp Port Scanner
  137. How To Hack
  138. Pentest Tools Linux
  139. Install Pentest Tools Ubuntu
  140. Hacker Tools Github
  141. Hack Tools For Windows
  142. Pentest Recon Tools
  143. Underground Hacker Sites
  144. Hacker Hardware Tools
  145. World No 1 Hacker Software
  146. Hacker
  147. Hacking Tools For Kali Linux
  148. Hack Website Online Tool
  149. Hacks And Tools
  150. Pentest Tools List
  151. Pentest Tools Download
  152. Pentest Tools Linux
  153. Pentest Tools
  154. Blackhat Hacker Tools
  155. New Hacker Tools
  156. Install Pentest Tools Ubuntu
  157. Pentest Reporting Tools
  158. World No 1 Hacker Software
  159. Best Hacking Tools 2019
  160. Pentest Tools List
  161. What Is Hacking Tools
  162. Hacking Tools Mac
  163. Pentest Tools Apk
  164. Best Hacking Tools 2020
  165. How To Make Hacking Tools
  166. Hacking Tools Software
  167. Tools 4 Hack
  168. Hack Tools 2019

No comments:

Post a Comment