<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HAbdalla</id>
	<title>Elvis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HAbdalla"/>
	<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php/Special:Contributions/HAbdalla"/>
	<updated>2026-09-10T00:18:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Security,_Threats_and_Measures&amp;diff=17555</id>
		<title>Password Security, Threats and Measures</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Security,_Threats_and_Measures&amp;diff=17555"/>
		<updated>2024-12-18T17:37:54Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation provides an overview of the threats to passwords and the security measures taken against them. Furtheron, this article provides a presentation on how to crack a password with the pentesting tool &amp;quot;John The Ripper&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Password Security ==&lt;br /&gt;
&lt;br /&gt;
Passwords are the most used authentication method. Therefore, the security of a password is of significant importance. The strenght of a password can be measured through the quality of the password or its entropy. Besides the quality and entropy of a password, factors like personal data or known passwords have to be considered.&lt;br /&gt;
&lt;br /&gt;
The quality of a password is described as the time it takes to crack a password using the trial and error method. Passwords which take longer to crack are considered to be of higher quality.&lt;br /&gt;
The entropy of a password is described as the randomness and unpredictability of a password. The entropy of a password can be impacted through factors like the length and character set size.&lt;br /&gt;
&lt;br /&gt;
=== Hashing ===&lt;br /&gt;
&lt;br /&gt;
To minimize security risks, it is not only crucial to choose strong passwords but also to implement effective security measures.&lt;br /&gt;
&lt;br /&gt;
One of the most important ways to securely store passwords is by using cryptographic methods like hashing, which is a core element of modern password security.&lt;br /&gt;
&lt;br /&gt;
Passwords are transformed into a non-reversible, fixed-length string of characters known as hash values using a mathematical algorithm. Cryptographic hash functions must meet certain criteria, such as being one-way (irreversible), collision-resistant, efficient, and deterministic.&lt;br /&gt;
&lt;br /&gt;
While both cryptographic hash functions and PBKDFs (Password-Based Key Derivation Functions) are used to securely process passwords, they operate differently. A cryptographic hash function, such as SHA-256, converts an input into a fixed-length hash value, which is typically computed quickly. In contrast, PBKDFs (e.g., PBKDF2, bcrypt, scrypt) use multiple iterations and additional salt values to deliberately slow down attackers, particularly in brute-force attacks.&lt;br /&gt;
&lt;br /&gt;
=== Salt and Pepper ===&lt;br /&gt;
&lt;br /&gt;
Salting:&lt;br /&gt;
Salting is a technique used to enhance password security by adding a random, unique value (the &amp;quot;salt&amp;quot;) to a password before hashing it. This protects against attacks like Rainbow-Table attacks, as identical passwords will generate different hash values due to the unique salt. Salting makes it harder for attackers to quickly crack passwords using precomputed tables.&lt;br /&gt;
&lt;br /&gt;
Peppering:&lt;br /&gt;
Peppering adds another layer of security by appending a secret, constant value (the &amp;quot;pepper&amp;quot;) to the password. Unlike the salt, the pepper is not stored in the database but is kept secret on the server side. &lt;br /&gt;
&lt;br /&gt;
=== Password Managers ===&lt;br /&gt;
&lt;br /&gt;
Password managers can store the passwords, guide the creation and provide security when sharing passwords. Password managers can include aid in the cases of long, complex and important passwords as they store the passwords of the user and provide a certain level of security. These managers often consist of several authentication steps in order to achieve this certain level of security. The functionality can differ as there are different types of managers.&lt;br /&gt;
&lt;br /&gt;
Types of password managers:&lt;br /&gt;
* Cloud-Based Password Managers&lt;br /&gt;
* Local Password Managers&lt;br /&gt;
* Browser-Based Managers&lt;br /&gt;
* Enterprise Managers&lt;br /&gt;
* Hardware Password Managers&lt;br /&gt;
&lt;br /&gt;
== Vulnerabilities and Threats ==&lt;br /&gt;
&lt;br /&gt;
Passwords are mostly created by humans and are therefore a subject to vulnerabilities. Humans seek simplicity and comfort and they try to create easy to remember passwords. They often use personal information in order to provide a memorable word. Most of them use the same passwords on multiple websites and neither do they change them frequently. Close to two thirds of users do not use special characters in their passwords.&lt;br /&gt;
&lt;br /&gt;
These factors create many vulnerabilities as they make the passwords predictable, of low quality or entropy and therefore easier to crack.&lt;br /&gt;
&lt;br /&gt;
=== Threats ===&lt;br /&gt;
&lt;br /&gt;
These weakly created passwords are often the victim to different threats. Most of these threats require some sort of fraud or deception.&lt;br /&gt;
&lt;br /&gt;
Some of these threats are:&lt;br /&gt;
* Phishing&lt;br /&gt;
Is trying to gain login credentials by impersonating a person or faking a website.&lt;br /&gt;
&lt;br /&gt;
* Keylogging&lt;br /&gt;
Is recording the keystrokes which a user puts in.&lt;br /&gt;
&lt;br /&gt;
==== Attacks ====&lt;br /&gt;
These attacks vary and can be successful at compromising the victims password. Different attacks require different computational power, memory and time when cracking passwords.  &lt;br /&gt;
&lt;br /&gt;
Some of these attacks are:&lt;br /&gt;
* Brute-Force&lt;br /&gt;
Systematic testing of every possible combination of characters until the password is found.&lt;br /&gt;
* Dictionary Attack&lt;br /&gt;
Test passwords from a prepared list of common or frequently used passwords.&lt;br /&gt;
* Hybrid Attack&lt;br /&gt;
A hybrid attack combines the concepts of dictionary and brute force attacks. It starts with a list of known passwords and expands these with systematic combinations.&lt;br /&gt;
* Rainbow-Table Attack&lt;br /&gt;
Use of pre-calculated tables containing plaintext passwords and their hashes to quickly crack passwords.&lt;br /&gt;
* Social Engineering Attack&lt;br /&gt;
Social engineering uses psychological manipulation to trick people into disclosing confidential information or performing unsafe acts.&lt;br /&gt;
&lt;br /&gt;
== Security Measures ==&lt;br /&gt;
In order to prevent attackers from gaining unauthorized access, developers have came up with different security measures. These measures can provide further steps of authentication and achieve more security.&lt;br /&gt;
&lt;br /&gt;
These are some security measures which can help to withstand most of the named threats:&lt;br /&gt;
* Two-Factor Authentication&lt;br /&gt;
This measure requires and additional step of authentication on system access.&lt;br /&gt;
&lt;br /&gt;
* Security Questions&lt;br /&gt;
Security questions also require an additional step of authentication by requiring the answer to personal questions.&lt;br /&gt;
&lt;br /&gt;
* Account Policies&lt;br /&gt;
Account policies force the user to frequently change the password or to lock the account if the password is entered wrong multiple times.&lt;br /&gt;
&lt;br /&gt;
* Activity Monitoring&lt;br /&gt;
The monitoring of suspicious activity like a login attempt of a new devices can alert the user to pay attention to a certain account and maybe change the login credentials.&lt;br /&gt;
&lt;br /&gt;
== Password Cracking Tools ==&lt;br /&gt;
These are only some of the cracking tools which can be used to attack a victims account:&lt;br /&gt;
* John The Ripper&lt;br /&gt;
A widely used open-source password cracking tool that supports various hashing algorithms and can crack passwords using dictionary, brute force and hybrid attacks. John the Ripper (JtR) offers various modes: &lt;br /&gt;
The Single Crack Mode uses personal information such as user names&lt;br /&gt;
to guess passwords efficiently. &lt;br /&gt;
The Wordlist Mode uses prefabricated word lists to test known terms or patterns.&lt;br /&gt;
Incremental mode relies on brute force attacks in which all possible character combinations are systematically tried out. &lt;br /&gt;
In external mode, users can develop their own methods for cracking passwords.&lt;br /&gt;
&lt;br /&gt;
This tool will be used later in this documentation to present a password cracking process.&lt;br /&gt;
&lt;br /&gt;
* Hashcat &lt;br /&gt;
Hashcat is a powerful open-source password cracking tool that runs on Linux, Windows and macOS and supports a variety of hashing algorithms and attack methods including brute force, dictionary, hybrid and mask attacks. Hashcat combines CPU and GPU-based calculations in a single application. A highlight is the ability to create customised rules to flexibly adapt attacks to known vulnerabilities or patterns.&lt;br /&gt;
&lt;br /&gt;
* RainbowCrack&lt;br /&gt;
RainbowCrack is a password cracking tool that uses the Rainbow Table technique to crack passwords efficiently, based on the time-memory trade-off concept. It supports common hash algorithms such as LM, NTLM, MD5, SHA1 and SHA256 and uses the reduction function to save memory space. &lt;br /&gt;
&lt;br /&gt;
* OPH Crack&lt;br /&gt;
Implements the rainbow table attack.&lt;br /&gt;
&lt;br /&gt;
* Medusa &lt;br /&gt;
Medusa is a parallel brute force tool that can attack multiple network protocols (such as SSH, FTP, HTTP) to crack passwords. Thanks to its modular structure, protocols can be flexibly adapted, and parallel processing enables up to 2000 password attempts per minute.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Operating system/Platform: Kali Linux&lt;br /&gt;
* Packages: git openwall/john&lt;br /&gt;
&lt;br /&gt;
== Cracking a password ==&lt;br /&gt;
The following steps are necessary in order to crack a password. Kali linux is used as the operating system as it provides different cracking tools and more. The used tool for this crack process is &amp;quot;John The Ripper&amp;quot;.&lt;br /&gt;
* NOTE: Password cracking is unethical. This demonstration serves for educational purposes and should not be recreated.&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
Create a .zip password secured archive.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install zip&lt;br /&gt;
&lt;br /&gt;
 sudo nano document.txt&lt;br /&gt;
&lt;br /&gt;
 zip -e archive.zip document.txt&lt;br /&gt;
&lt;br /&gt;
You will be prompted to enter a password.&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
Now the hash of the password needs to be achieved.&lt;br /&gt;
&lt;br /&gt;
 zip2john archive.zip &amp;gt; hash.txt&lt;br /&gt;
&lt;br /&gt;
This command saves the hash of the password which is used to secure the archive.zip archive in a hash.txt file.&lt;br /&gt;
&lt;br /&gt;
=== Step 3 ===&lt;br /&gt;
&lt;br /&gt;
Now the hash can be cracked. The crack is only successful if the password is in the password list that john uses to compare the hashes.&lt;br /&gt;
&lt;br /&gt;
 john hash.txt&lt;br /&gt;
&lt;br /&gt;
The passwordlist in this case is the default password list of john. However, different password lists can be used by specifying the file they are saved as.&lt;br /&gt;
&lt;br /&gt;
 john --wordlist=/tmp/password-list.txt hash.txt&lt;br /&gt;
&lt;br /&gt;
This way john will try to crack the password with the password-list.txt password list file.&lt;br /&gt;
* In the case of a successful attack, john will provide a confirmation message about the successful attack and display the password.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.overleaf.com/project/64fc39ddb97b168fb7bd033d&lt;br /&gt;
* https://www.openwall.com/john/&lt;br /&gt;
* https://www.kali.org/tools/john/&lt;br /&gt;
* https://www.kali.org/&lt;br /&gt;
* https://ieeexplore.ieee.org/document/6234434&lt;br /&gt;
* https://ieeexplore.ieee.org/document/8936178&lt;br /&gt;
* https://doi.org/10.1145/359168.359172&lt;br /&gt;
* https://ieeexplore.ieee.org/document/9023888&lt;br /&gt;
* https://ieeexplore.ieee.org/document/9609778&lt;br /&gt;
* https://ieeexplore.ieee.org/document/8400211&lt;br /&gt;
* https://ieeexplore.ieee.org/document/10127057&lt;br /&gt;
* https://hashcat.net/hashcat/&lt;br /&gt;
* https://ieeexplore.ieee.org/document/8500257&lt;br /&gt;
* https://ieeexplore.ieee.org/document/9821858?signout=success&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Security,_Threats_and_Measures&amp;diff=17546</id>
		<title>Password Security, Threats and Measures</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Security,_Threats_and_Measures&amp;diff=17546"/>
		<updated>2024-12-18T17:32:04Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation provides an overview of the threats to passwords and the security measures taken against them. Furtheron, this article provides a presentation on how to crack a password with the pentesting tool &amp;quot;John The Ripper&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Password Security ==&lt;br /&gt;
&lt;br /&gt;
Passwords are the most used authentication method. Therefore, the security of a password is of significant importance. The strenght of a password can be measured through the quality of the password or its entropy. Besides the quality and entropy of a password, factors like personal data or known passwords have to be considered.&lt;br /&gt;
&lt;br /&gt;
The quality of a password is described as the time it takes to crack a password using the trial and error method. Passwords which take longer to crack are considered to be of higher quality.&lt;br /&gt;
The entropy of a password is described as the randomness and unpredictability of a password. The entropy of a password can be impacted through factors like the length and character set size.&lt;br /&gt;
&lt;br /&gt;
=== Hashing ===&lt;br /&gt;
&lt;br /&gt;
To minimize security risks, it is not only crucial to choose strong passwords but also to implement effective security measures.&lt;br /&gt;
&lt;br /&gt;
One of the most important ways to securely store passwords is by using cryptographic methods like hashing, which is a core element of modern password security.&lt;br /&gt;
&lt;br /&gt;
Passwords are transformed into a non-reversible, fixed-length string of characters known as hash values using a mathematical algorithm. Cryptographic hash functions must meet certain criteria, such as being one-way (irreversible), collision-resistant, efficient, and deterministic.&lt;br /&gt;
&lt;br /&gt;
While both cryptographic hash functions and PBKDFs (Password-Based Key Derivation Functions) are used to securely process passwords, they operate differently. A cryptographic hash function, such as SHA-256, converts an input into a fixed-length hash value, which is typically computed quickly. In contrast, PBKDFs (e.g., PBKDF2, bcrypt, scrypt) use multiple iterations and additional salt values to deliberately slow down attackers, particularly in brute-force attacks.&lt;br /&gt;
&lt;br /&gt;
=== Salt and Pepper ===&lt;br /&gt;
&lt;br /&gt;
Salting:&lt;br /&gt;
Salting is a technique used to enhance password security by adding a random, unique value (the &amp;quot;salt&amp;quot;) to a password before hashing it. This protects against attacks like Rainbow-Table attacks, as identical passwords will generate different hash values due to the unique salt. Salting makes it harder for attackers to quickly crack passwords using precomputed tables.&lt;br /&gt;
&lt;br /&gt;
Peppering:&lt;br /&gt;
Peppering adds another layer of security by appending a secret, constant value (the &amp;quot;pepper&amp;quot;) to the password. Unlike the salt, the pepper is not stored in the database but is kept secret on the server side. &lt;br /&gt;
&lt;br /&gt;
=== Password Managers ===&lt;br /&gt;
&lt;br /&gt;
Password managers can store the passwords, guide the creation and provide security when sharing passwords. Password managers can include aid in the cases of long, complex and important passwords as they store the passwords of the user and provide a certain level of security. These managers often consist of several authentication steps in order to achieve this certain level of security. The functionality can differ as there are different types of managers.&lt;br /&gt;
&lt;br /&gt;
Types of password managers:&lt;br /&gt;
* Cloud-Based Password Managers&lt;br /&gt;
* Local Password Managers&lt;br /&gt;
* Browser-Based Managers&lt;br /&gt;
* Enterprise Managers&lt;br /&gt;
* Hardware Password Managers&lt;br /&gt;
&lt;br /&gt;
== Vulnerabilities and Threats ==&lt;br /&gt;
&lt;br /&gt;
Passwords are mostly created by humans and are therefore a subject to vulnerabilities. Humans seek simplicity and comfort and they try to create easy to remember passwords. They often use personal information in order to provide a memorable word. Most of them use the same passwords on multiple websites and neither do they change them frequently. Close to two thirds of users do not use special characters in their passwords.&lt;br /&gt;
&lt;br /&gt;
These factors create many vulnerabilities as they make the passwords predictable, of low quality or entropy and therefore easier to crack.&lt;br /&gt;
&lt;br /&gt;
=== Threats ===&lt;br /&gt;
&lt;br /&gt;
These weakly created passwords are often the victim to different threats. Most of these threats require some sort of fraud or deception.&lt;br /&gt;
&lt;br /&gt;
Some of these threats are:&lt;br /&gt;
* Phishing&lt;br /&gt;
Is trying to gain login credentials by impersonating a person or faking a website.&lt;br /&gt;
&lt;br /&gt;
* Keylogging&lt;br /&gt;
Is recording the keystrokes which a user puts in.&lt;br /&gt;
&lt;br /&gt;
==== Attacks ====&lt;br /&gt;
These attacks vary and can be successful at compromising the victims password. Different attacks require different computational power, memory and time when cracking passwords.  &lt;br /&gt;
&lt;br /&gt;
Some of these attacks are:&lt;br /&gt;
* Brute-Force&lt;br /&gt;
Systematic testing of every possible combination of characters until the password is found.&lt;br /&gt;
* Dictionary Attack&lt;br /&gt;
Test passwords from a prepared list of common or frequently used passwords.&lt;br /&gt;
* Hybrid Attack&lt;br /&gt;
A hybrid attack combines the concepts of dictionary and brute force attacks. It starts with a list of known passwords and expands these with systematic combinations.&lt;br /&gt;
* Rainbow-Table Attack&lt;br /&gt;
Use of pre-calculated tables containing plaintext passwords and their hashes to quickly crack passwords.&lt;br /&gt;
* Social Engineering Attack&lt;br /&gt;
Social engineering uses psychological manipulation to trick people into disclosing confidential information or performing unsafe acts.&lt;br /&gt;
&lt;br /&gt;
== Security Measures ==&lt;br /&gt;
In order to prevent attackers from gaining unauthorized access, developers have came up with different security measures. These measures can provide further steps of authentication and achieve more security.&lt;br /&gt;
&lt;br /&gt;
These are some security measures which can help to withstand most of the named threats:&lt;br /&gt;
* Two-Factor Authentication&lt;br /&gt;
This measure requires and additional step of authentication on system access.&lt;br /&gt;
&lt;br /&gt;
* Security Questions&lt;br /&gt;
Security questions also require an additional step of authentication by requiring the answer to personal questions.&lt;br /&gt;
&lt;br /&gt;
* Account Policies&lt;br /&gt;
Account policies force the user to frequently change the password or to lock the account if the password is entered wrong multiple times.&lt;br /&gt;
&lt;br /&gt;
* Activity Monitoring&lt;br /&gt;
The monitoring of suspicious activity like a login attempt of a new devices can alert the user to pay attention to a certain account and maybe change the login credentials.&lt;br /&gt;
&lt;br /&gt;
== Password Cracking Tools ==&lt;br /&gt;
These are only some of the cracking tools which can be used to attack a victims account:&lt;br /&gt;
* John The Ripper&lt;br /&gt;
A widely used open-source password cracking tool that supports various hashing algorithms and can crack passwords using dictionary, brute force and hybrid attacks. John the Ripper (JtR) offers various modes: &lt;br /&gt;
The Single Crack Mode uses personal information such as user names&lt;br /&gt;
to guess passwords efficiently. &lt;br /&gt;
The Wordlist Mode uses prefabricated word lists to test known terms or patterns.&lt;br /&gt;
Incremental mode relies on brute force attacks in which all possible character combinations are systematically tried out. &lt;br /&gt;
In external mode, users can develop their own methods for cracking passwords.&lt;br /&gt;
&lt;br /&gt;
This tool will be used later in this documentation to present a password cracking process.&lt;br /&gt;
&lt;br /&gt;
* Hashcat &lt;br /&gt;
Hashcat is a powerful open-source password cracking tool that runs on Linux, Windows and macOS and supports a variety of hashing algorithms and attack methods including brute force, dictionary, hybrid and mask attacks. Hashcat combines CPU and GPU-based calculations in a single application. A highlight is the ability to create customised rules to flexibly adapt attacks to known vulnerabilities or patterns.&lt;br /&gt;
&lt;br /&gt;
* RainbowCrack&lt;br /&gt;
RainbowCrack is a password cracking tool that uses the Rainbow Table technique to crack passwords efficiently, based on the time-memory trade-off concept. It supports common hash algorithms such as LM, NTLM, MD5, SHA1 and SHA256 and uses the reduction function to save memory space. &lt;br /&gt;
&lt;br /&gt;
* OPH Crack&lt;br /&gt;
Implements the rainbow table attack.&lt;br /&gt;
&lt;br /&gt;
* Medusa &lt;br /&gt;
Medusa is a parallel brute force tool that can attack multiple network protocols (such as SSH, FTP, HTTP) to crack passwords. Thanks to its modular structure, protocols can be flexibly adapted, and parallel processing enables up to 2000 password attempts per minute.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Operating system/Platform: Kali Linux&lt;br /&gt;
* Packages: git openwall/john&lt;br /&gt;
&lt;br /&gt;
== Cracking a password ==&lt;br /&gt;
The following steps are necessary in order to crack a password. Kali linux is used as the operating system as it provides different cracking tools and more. The used tool for this crack process is &amp;quot;John The Ripper&amp;quot;.&lt;br /&gt;
* NOTE: Password cracking is unethical. This demonstration serves for educational purposes and should not be recreated.&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
Create a .zip password secured archive.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install zip&lt;br /&gt;
&lt;br /&gt;
 sudo nano document.txt&lt;br /&gt;
&lt;br /&gt;
 zip -e archive.zip document.txt&lt;br /&gt;
&lt;br /&gt;
You will be prompted to enter a password.&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
Now the hash of the password needs to be achieved.&lt;br /&gt;
&lt;br /&gt;
 zip2john archive.zip &amp;gt; hash.txt&lt;br /&gt;
&lt;br /&gt;
This command saves the hash of the password which is used to secure the archive.zip archive in a hash.txt file.&lt;br /&gt;
&lt;br /&gt;
=== Step 3 ===&lt;br /&gt;
&lt;br /&gt;
Now the hash can be cracked. The crack is only successful if the password is in the password list that john uses to compare the hashes.&lt;br /&gt;
&lt;br /&gt;
 john hash.txt&lt;br /&gt;
&lt;br /&gt;
The passwordlist in this case is the default password list of john. However, different password lists can be used by specifying the file they are saved as.&lt;br /&gt;
&lt;br /&gt;
 john --wordlist=/tmp/password-list.txt hash.txt&lt;br /&gt;
&lt;br /&gt;
This way john will try to crack the password with the password-list.txt password list file.&lt;br /&gt;
* In the case of a successful attack, john will provide a confirmation message about the successful attack and display the password.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.overleaf.com/project/64fc39ddb97b168fb7bd033d&lt;br /&gt;
* https://www.openwall.com/john/&lt;br /&gt;
* https://www.kali.org/tools/john/&lt;br /&gt;
* https://www.kali.org/&lt;br /&gt;
* https://ieeexplore.ieee.org/document/6234434&lt;br /&gt;
* https://ieeexplore.ieee.org/document/8936178&lt;br /&gt;
* https://doi.org/10.1145/359168.359172&lt;br /&gt;
* https://ieeexplore.ieee.org/document/9023888&lt;br /&gt;
* https://ieeexplore.ieee.org/document/9609778&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Security,_Threats_and_Measures&amp;diff=17543</id>
		<title>Password Security, Threats and Measures</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Security,_Threats_and_Measures&amp;diff=17543"/>
		<updated>2024-12-18T17:29:40Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation provides an overview of the threats to passwords and the security measures taken against them. Furtheron, this article provides a presentation on how to crack a password with the pentesting tool &amp;quot;John The Ripper&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Password Security ==&lt;br /&gt;
&lt;br /&gt;
Passwords are the most used authentication method. Therefore, the security of a password is of significant importance. The strenght of a password can be measured through the quality of the password or its entropy. Besides the quality and entropy of a password, factors like personal data or known passwords have to be considered.&lt;br /&gt;
&lt;br /&gt;
The quality of a password is described as the time it takes to crack a password using the trial and error method. Passwords which take longer to crack are considered to be of higher quality.&lt;br /&gt;
The entropy of a password is described as the randomness and unpredictability of a password. The entropy of a password can be impacted through factors like the length and character set size.&lt;br /&gt;
&lt;br /&gt;
=== Hashing ===&lt;br /&gt;
&lt;br /&gt;
To minimize security risks, it is not only crucial to choose strong passwords but also to implement effective security measures.&lt;br /&gt;
&lt;br /&gt;
One of the most important ways to securely store passwords is by using cryptographic methods like hashing, which is a core element of modern password security.&lt;br /&gt;
&lt;br /&gt;
Passwords are transformed into a non-reversible, fixed-length string of characters known as hash values using a mathematical algorithm. Cryptographic hash functions must meet certain criteria, such as being one-way (irreversible), collision-resistant, efficient, and deterministic.&lt;br /&gt;
&lt;br /&gt;
While both cryptographic hash functions and PBKDFs (Password-Based Key Derivation Functions) are used to securely process passwords, they operate differently. A cryptographic hash function, such as SHA-256, converts an input into a fixed-length hash value, which is typically computed quickly. In contrast, PBKDFs (e.g., PBKDF2, bcrypt, scrypt) use multiple iterations and additional salt values to deliberately slow down attackers, particularly in brute-force attacks.&lt;br /&gt;
&lt;br /&gt;
=== Salt and Pepper ===&lt;br /&gt;
&lt;br /&gt;
Salting:&lt;br /&gt;
Salting is a technique used to enhance password security by adding a random, unique value (the &amp;quot;salt&amp;quot;) to a password before hashing it. This protects against attacks like Rainbow-Table attacks, as identical passwords will generate different hash values due to the unique salt. Salting makes it harder for attackers to quickly crack passwords using precomputed tables.&lt;br /&gt;
&lt;br /&gt;
Peppering:&lt;br /&gt;
Peppering adds another layer of security by appending a secret, constant value (the &amp;quot;pepper&amp;quot;) to the password. Unlike the salt, the pepper is not stored in the database but is kept secret on the server side. &lt;br /&gt;
&lt;br /&gt;
=== Password Managers ===&lt;br /&gt;
&lt;br /&gt;
Password managers can store the passwords, guide the creation and provide security when sharing passwords. Password managers can include aid in the cases of long, complex and important passwords as they store the passwords of the user and provide a certain level of security. These managers often consist of several authentication steps in order to achieve this certain level of security. The functionality can differ as there are different types of managers.&lt;br /&gt;
&lt;br /&gt;
Types of password managers:&lt;br /&gt;
* Cloud-Based Password Managers&lt;br /&gt;
* Local Password Managers&lt;br /&gt;
* Browser-Based Managers&lt;br /&gt;
* Enterprise Managers&lt;br /&gt;
* Hardware Password Managers&lt;br /&gt;
&lt;br /&gt;
== Vulnerabilities and Threats ==&lt;br /&gt;
&lt;br /&gt;
Passwords are mostly created by humans and are therefore a subject to vulnerabilities. Humans seek simplicity and comfort and they try to create easy to remember passwords. They often use personal information in order to provide a memorable word. Most of them use the same passwords on multiple websites and neither do they change them frequently. Close to two thirds of users do not use special characters in their passwords.&lt;br /&gt;
&lt;br /&gt;
These factors create many vulnerabilities as they make the passwords predictable, of low quality or entropy and therefore easier to crack.&lt;br /&gt;
&lt;br /&gt;
=== Threats ===&lt;br /&gt;
&lt;br /&gt;
These weakly created passwords are often the victim to different threats. Most of these threats require some sort of fraud or deception.&lt;br /&gt;
&lt;br /&gt;
Some of these threats are:&lt;br /&gt;
* Phishing&lt;br /&gt;
Is trying to gain login credentials by impersonating a person or faking a website.&lt;br /&gt;
&lt;br /&gt;
* Keylogging&lt;br /&gt;
Is recording the keystrokes which a user puts in.&lt;br /&gt;
&lt;br /&gt;
==== Attacks ====&lt;br /&gt;
These attacks vary and can be successful at compromising the victims password. Different attacks require different computational power, memory and time when cracking passwords.  &lt;br /&gt;
&lt;br /&gt;
Some of these attacks are:&lt;br /&gt;
* Brute-Force&lt;br /&gt;
Systematic testing of every possible combination of characters until the password is found.&lt;br /&gt;
* Dictionary Attack&lt;br /&gt;
Test passwords from a prepared list of common or frequently used passwords.&lt;br /&gt;
* Hybrid Attack&lt;br /&gt;
A hybrid attack combines the concepts of dictionary and brute force attacks. It starts with a list of known passwords and expands these with systematic combinations.&lt;br /&gt;
* Rainbow-Table Attack&lt;br /&gt;
Use of pre-calculated tables containing plaintext passwords and their hashes to quickly crack passwords.&lt;br /&gt;
* Social Engineering Attack&lt;br /&gt;
Social engineering uses psychological manipulation to trick people into disclosing confidential information or performing unsafe acts.&lt;br /&gt;
&lt;br /&gt;
== Security Measures ==&lt;br /&gt;
In order to prevent attackers from gaining unauthorized access, developers have came up with different security measures. These measures can provide further steps of authentication and achieve more security.&lt;br /&gt;
&lt;br /&gt;
These are some security measures which can help to withstand most of the named threats:&lt;br /&gt;
* Two-Factor Authentication&lt;br /&gt;
This measure requires and additional step of authentication on system access.&lt;br /&gt;
&lt;br /&gt;
* Security Questions&lt;br /&gt;
Security questions also require an additional step of authentication by requiring the answer to personal questions.&lt;br /&gt;
&lt;br /&gt;
* Account Policies&lt;br /&gt;
Account policies force the user to frequently change the password or to lock the account if the password is entered wrong multiple times.&lt;br /&gt;
&lt;br /&gt;
* Activity Monitoring&lt;br /&gt;
The monitoring of suspicious activity like a login attempt of a new devices can alert the user to pay attention to a certain account and maybe change the login credentials.&lt;br /&gt;
&lt;br /&gt;
== Password Cracking Tools ==&lt;br /&gt;
These are only some of the cracking tools which can be used to attack a victims account:&lt;br /&gt;
* John The Ripper&lt;br /&gt;
A widely used open-source password cracking tool that supports various hashing algorithms and can crack passwords using dictionary, brute force and hybrid attacks. John the Ripper (JtR) offers various modes: &lt;br /&gt;
The Single Crack Mode uses personal information such as user names&lt;br /&gt;
to guess passwords efficiently. &lt;br /&gt;
The Wordlist Mode uses prefabricated word lists to test known terms or patterns.&lt;br /&gt;
Incremental mode relies on brute force attacks in which all possible character combinations are systematically tried out. &lt;br /&gt;
In external mode, users can develop their own methods for cracking passwords.&lt;br /&gt;
&lt;br /&gt;
This tool will be used later in this documentation to present a password cracking process.&lt;br /&gt;
&lt;br /&gt;
* Hashcat &lt;br /&gt;
Hashcat is a powerful open-source password cracking tool that runs on Linux, Windows and macOS and supports a variety of hashing algorithms and attack methods including brute force, dictionary, hybrid and mask attacks. Hashcat combines CPU and GPU-based calculations in a single application. A highlight is the ability to create customised rules to flexibly adapt attacks to known vulnerabilities or patterns.&lt;br /&gt;
&lt;br /&gt;
* RainbowCrack&lt;br /&gt;
RainbowCrack is a password cracking tool that uses the Rainbow Table technique to crack passwords efficiently, based on the time-memory trade-off concept. It supports common hash algorithms such as LM, NTLM, MD5, SHA1 and SHA256 and uses the reduction function to save memory space. &lt;br /&gt;
&lt;br /&gt;
* OPH Crack&lt;br /&gt;
Implements the rainbow table attack.&lt;br /&gt;
&lt;br /&gt;
* Medusa &lt;br /&gt;
Medusa is a parallel brute force tool that can attack multiple network protocols (such as SSH, FTP, HTTP) to crack passwords. Thanks to its modular structure, protocols can be flexibly adapted, and parallel processing enables up to 2000 password attempts per minute.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Operating system/Platform: Kali Linux&lt;br /&gt;
* Packages: git openwall/john&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cracking a password ==&lt;br /&gt;
The following steps are necessary in order to crack a password. Kali linux is used as the operating system as it provides different cracking tools and more. The used tool for this crack process is &amp;quot;John The Ripper&amp;quot;.&lt;br /&gt;
* NOTE: Password cracking is unethical. This demonstration serves for educational purposes and should not be recreated.&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
Create a .zip password secured archive.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install zip&lt;br /&gt;
&lt;br /&gt;
 sudo nano document.txt&lt;br /&gt;
&lt;br /&gt;
 zip -e archive.zip document.txt&lt;br /&gt;
&lt;br /&gt;
You will be prompted to enter a password.&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
Now the hash of the password needs to be achieved.&lt;br /&gt;
&lt;br /&gt;
 zip2john archive.zip &amp;gt; hash.txt&lt;br /&gt;
&lt;br /&gt;
This command saves the hash of the password which is used to secure the archive.zip archive in a hash.txt file.&lt;br /&gt;
&lt;br /&gt;
=== Step 3 ===&lt;br /&gt;
&lt;br /&gt;
Now the hash can be cracked. The crack is only successful if the password is in the password list that john uses to compare the hashes.&lt;br /&gt;
&lt;br /&gt;
 john hash.txt&lt;br /&gt;
&lt;br /&gt;
The passwordlist in this case is the default password list of john. However, different password lists can be used by specifying the file they are saved as.&lt;br /&gt;
&lt;br /&gt;
 john --wordlist=/tmp/password-list.txt hash.txt&lt;br /&gt;
&lt;br /&gt;
This way john will try to crack the password with the password-list.txt password list file.&lt;br /&gt;
* In the case of a successful attack, john will provide a confirmation message about the successful attack and display the password.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.overleaf.com/project/64fc39ddb97b168fb7bd033d&lt;br /&gt;
* https://www.openwall.com/john/&lt;br /&gt;
* https://www.kali.org/tools/john/&lt;br /&gt;
* https://www.kali.org/&lt;br /&gt;
* https://ieeexplore.ieee.org/document/6234434&lt;br /&gt;
* https://ieeexplore.ieee.org/document/8936178&lt;br /&gt;
* https://doi.org/10.1145/359168.359172&lt;br /&gt;
* https://ieeexplore.ieee.org/document/9023888&lt;br /&gt;
* https://ieeexplore.ieee.org/document/9609778&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17526</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17526"/>
		<updated>2024-12-18T17:16:40Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|750px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|500px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|600px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|550px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:add.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:added.png||border|center|600px|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png||border|center|600px|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png||border|center|600px|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This experiment clearly shows how effective rainbow tables are at cracking unsalted passwords, and how adding a salt significantly increases security. Unsalted passwords can be cracked quickly using pre-built rainbow tables, while salted passwords resist these attacks because each password is made unique by the individual salt.&lt;br /&gt;
&lt;br /&gt;
== Related ==&lt;br /&gt;
&lt;br /&gt;
[[Password Security, Threats and Measures]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17427</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17427"/>
		<updated>2024-12-18T16:06:53Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|750px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|500px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|600px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|550px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:add.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:added.png||border|center|600px|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png||border|center|600px|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png||border|center|600px|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
This experiment clearly shows how effective rainbow tables are at cracking unsalted passwords, and how adding a salt significantly increases security. Unsalted passwords can be cracked quickly using pre-built rainbow tables, while salted passwords resist these attacks because each password is made unique by the individual salt.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17426</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17426"/>
		<updated>2024-12-18T16:01:56Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 4 - Sorting the rainbow table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|750px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|500px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|600px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|550px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:add.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:added.png||border|center|600px|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png||border|center|600px|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png||border|center|600px|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17425</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17425"/>
		<updated>2024-12-18T16:01:42Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 3 - Creating rainbow table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|750px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|600px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|600px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|550px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:add.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:added.png||border|center|600px|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png||border|center|600px|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png||border|center|600px|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17424</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17424"/>
		<updated>2024-12-18T16:01:12Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 3 - Creating rainbow table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|700px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|600px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|600px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|550px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:add.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:added.png||border|center|600px|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png||border|center|600px|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png||border|center|600px|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17423</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17423"/>
		<updated>2024-12-18T16:00:45Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 8 - Cracking passwords */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|800px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|600px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|600px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|550px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:add.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:added.png||border|center|600px|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png||border|center|600px|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png||border|center|600px|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17422</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17422"/>
		<updated>2024-12-18T16:00:28Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 7 - Inserting the rainbow table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|800px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|600px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|600px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|550px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:add.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:added.png||border|center|600px|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png||border|center|600px|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17421</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17421"/>
		<updated>2024-12-18T16:00:02Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 5 - RainbowCrack UI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|800px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|600px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|600px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|550px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:add.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:added.png||border|center|600px|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17420</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17420"/>
		<updated>2024-12-18T15:59:28Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 6 - Adding the hashed passwords */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|800px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|600px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|800px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|600px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:add.png||border|center|600px|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:added.png||border|center|600px|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17419</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17419"/>
		<updated>2024-12-18T15:58:39Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 5 - RainbowCrack UI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|800px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|600px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png||border|center|800px|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png||border|center|600px|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:add.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:added.png|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Cracked.png&amp;diff=17416</id>
		<title>File:Cracked.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Cracked.png&amp;diff=17416"/>
		<updated>2024-12-18T15:57:50Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:InsertTable.png&amp;diff=17415</id>
		<title>File:InsertTable.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:InsertTable.png&amp;diff=17415"/>
		<updated>2024-12-18T15:57:35Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Added.png&amp;diff=17413</id>
		<title>File:Added.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Added.png&amp;diff=17413"/>
		<updated>2024-12-18T15:57:18Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Add.png&amp;diff=17412</id>
		<title>File:Add.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Add.png&amp;diff=17412"/>
		<updated>2024-12-18T15:57:05Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:AddHashes.png&amp;diff=17410</id>
		<title>File:AddHashes.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:AddHashes.png&amp;diff=17410"/>
		<updated>2024-12-18T15:56:49Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:UiFile.png&amp;diff=17409</id>
		<title>File:UiFile.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:UiFile.png&amp;diff=17409"/>
		<updated>2024-12-18T15:56:27Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Ui.png&amp;diff=17407</id>
		<title>File:Ui.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Ui.png&amp;diff=17407"/>
		<updated>2024-12-18T15:56:06Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17404</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17404"/>
		<updated>2024-12-18T15:55:20Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 4 - Sorting the rainbow table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|800px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png||border|center|600px|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:add.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:added.png|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Rtsort.png&amp;diff=17403</id>
		<title>File:Rtsort.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Rtsort.png&amp;diff=17403"/>
		<updated>2024-12-18T15:54:38Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17402</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17402"/>
		<updated>2024-12-18T15:53:49Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 3 - Creating rainbow table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|border|center|800px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:add.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:added.png|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17397</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17397"/>
		<updated>2024-12-18T15:52:01Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: /* Step 3 - Creating rainbow table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|frame|50px|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:add.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:added.png|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Rtgen.png&amp;diff=17395</id>
		<title>File:Rtgen.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Rtgen.png&amp;diff=17395"/>
		<updated>2024-12-18T15:50:35Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17391</id>
		<title>Password Cracking with RainbowCrack</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=Password_Cracking_with_RainbowCrack&amp;diff=17391"/>
		<updated>2024-12-18T15:49:39Z</updated>

		<summary type="html">&lt;p&gt;HAbdalla: Created page with &amp;quot;== Summary ==   This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure.   == Requirements ==  * Hashing tools/websites: To generate the hash values  * RainbowCrack: A...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
This documentation shows that salted passwords are more secure than unsalted passwords. A practical test was performed using the RainbowCrack tool. Simple passwords were used, both unsalted and salted, and then rainbow tables were created to crack the passwords. The test clearly shows that unsalted passwords were cracked, while salted passwords remained secure. &lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Hashing tools/websites: To generate the hash values &lt;br /&gt;
* RainbowCrack: A tool for creating and using rainbow tables. [http://project-rainbowcrack.com/ RainbowCrack]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1 - Installation ===&lt;br /&gt;
&lt;br /&gt;
Installing the RainbowCrack tool: [http://project-rainbowcrack.com/ Download the RainbowCrack tool from here]&lt;br /&gt;
&lt;br /&gt;
After downloading the .zip folder, it must be unpacked. The tool is then ready for use.&lt;br /&gt;
&lt;br /&gt;
=== Step 2 - Choice of password and password hashing ===&lt;br /&gt;
&lt;br /&gt;
Selection of the passwords to be cracked and the algorithm to be used to hash them.&lt;br /&gt;
&lt;br /&gt;
For this practical test, the following passwords were used and hashed using the md5 algorithm. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Used Passwords&lt;br /&gt;
|-&lt;br /&gt;
! plain text without salt !! hash !! plain text with salt !! hash &lt;br /&gt;
|-&lt;br /&gt;
| abcde || ab56b4d92b40713acc5af89985d4b786 || abcde1 || 0565a9d4889781545eae12fc99050921&lt;br /&gt;
|-&lt;br /&gt;
| abc || 900150983cd24fb0d6963f7d28e17f72 || abcwxz || 7bc7789b9e7a66c74c7222a8db097cbd&lt;br /&gt;
|-&lt;br /&gt;
| abc23 || 3be5ef429769acbb7b9bb73443ea9fee || abc23zyx || da18289e8de951b4a16e3da7ab6e5951&lt;br /&gt;
|-&lt;br /&gt;
| bc23 || 44af58e2ce5327a8f6a846e43085478c || bc23xyz || f4cdbc7a935c6ee7d283963228c3c44a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 - Creating rainbow table ===&lt;br /&gt;
&lt;br /&gt;
The command to create a rainbow table is &amp;quot;rtgen&amp;quot;. This stands for &amp;quot;rainbow table generate&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Syntax for creating the rainbow table: &lt;br /&gt;
&lt;br /&gt;
[[File:rtgen.png|Syntax of the rtgen command]]&lt;br /&gt;
&lt;br /&gt;
For this test we create the following rainbow table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rtgen md5 loweralpha-numeric 1 6 1 2400 100000 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;md5&amp;lt;/u&amp;gt; ... Specifies the hash algorithm to use. In this case, it is the MD5 hashing algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;loweralpha-numeric&amp;lt;/u&amp;gt; ... Defines the character set to be used for the passwords.&lt;br /&gt;
&lt;br /&gt;
- loweralpha = Lowercase letters (a-z)&lt;br /&gt;
&lt;br /&gt;
- numeric = Numbers (0-9)&lt;br /&gt;
&lt;br /&gt;
Combined, the set includes all lowercase letters and numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... This is the minimum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;6&amp;lt;/u&amp;gt; ... This is the maximum password length for the generated Rainbow Table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;1&amp;lt;/u&amp;gt; ... Represents the table index. This is used to distinguish between multiple tables for the same parameters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;2400&amp;lt;/u&amp;gt; ... Specifies the chain length. The chain length determines how many hashes and plaintext combinations will be included in each chain.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;100000&amp;lt;/u&amp;gt; ... Indicates the number of chains in the table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;0&amp;lt;/u&amp;gt; ... Used to split a large rainbow table into smaller files.&lt;br /&gt;
&lt;br /&gt;
=== Step 4 - Sorting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Once the rainbow table has been created, it needs to be sorted so that it can be used correctly.&lt;br /&gt;
&lt;br /&gt;
The command &amp;quot;rtsort .&amp;quot; sorts the rainbow table.&lt;br /&gt;
&lt;br /&gt;
[[File:rtsort.png|rtsort command]]&lt;br /&gt;
&lt;br /&gt;
=== Step 5 - RainbowCrack UI ===&lt;br /&gt;
&lt;br /&gt;
Opening of the RainbowCrack user interface for password cracking.&lt;br /&gt;
&lt;br /&gt;
Click on the following file to open the UI:&lt;br /&gt;
&lt;br /&gt;
[[File:uiFile.png|File to open the UI]]&lt;br /&gt;
&lt;br /&gt;
The UI looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ui.png|The UI]]&lt;br /&gt;
&lt;br /&gt;
=== Step 6 - Adding the hashed passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the hashed passwords can be added.&lt;br /&gt;
&lt;br /&gt;
By clicking on &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Add Hashes...&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:addHashes.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:add.png|Adding the Hashes]]&lt;br /&gt;
&lt;br /&gt;
[[File:added.png|Hashes added]]&lt;br /&gt;
&lt;br /&gt;
=== Step 7 - Inserting the rainbow table ===&lt;br /&gt;
&lt;br /&gt;
Now the created rainbow table can be inserted:&lt;br /&gt;
&lt;br /&gt;
[[File:insertTable.png|Insert the rainbow table]]&lt;br /&gt;
&lt;br /&gt;
=== Step 8 - Cracking passwords ===&lt;br /&gt;
&lt;br /&gt;
Now the tool will try to crack the passwords. &lt;br /&gt;
&lt;br /&gt;
[[File:cracked.png|The cracked passwords]]&lt;br /&gt;
&lt;br /&gt;
The unsalted ones were cracked, the salted ones remained secret.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Courses ==&lt;br /&gt;
&lt;br /&gt;
* [[A course where this documentation was used]] (2017, 2018)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* http://project-rainbowcrack.com/&lt;br /&gt;
* http://project-rainbowcrack.com/generate.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>HAbdalla</name></author>
	</entry>
</feed>