wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Hash password! Is it really secured?

profile
Uzma Behlim
Aug 13, 2022
3 Likes
0 Discussions
158 Reads

In our daily lives we tend to enter passwords over multiple places including our bank accounts, mobile Lock Screen, website or application login and many more places.

Have you ever wondered, how the passwords are stored or how they travel through the network?

If all information were plaintext and had no encryption or cryptography surrounding it, sensitive materials like password information, health records, and even bank account information could be stolen and sold to the highest bidder. One of the first steps of basic security hygiene is to not store sensitive data in plaintext—especially passwords. This is where password hashing comes in.

Password hashing is used to verify the integrity of your password, sent during login, against the stored hash so that your actual password never has to be stored. Not all cryptographic algorithms are suitable for the modern industry.

If the passwords are hashed then how are accounts compromised?

There are many ways to hack into an account. Password cracking is one of them – involves using various computational and other methods to break through the password authentication step.

Even the passwords can be cracked by using different methods. Password cracking means recovering passwords from a computer or from data that a computer transmits. This doesn’t have to be a sophisticated method. A brute-force attack where all possible combinations are checked is also password cracking.

Rainbow Tables

Rainbow tables are tables of reversed hashes used to crack password hashes. Computer systems requiring passwords typically store the passwords as a hash value of the user's password. When a computer user enters a password, the system hashes the password and compares it to the stored hash.

It is a table of commonly used password and their hash combinations to match with the plain text and guess the password. These are easily available on google and are downloadable in csv form

Now, here, there is something to be noted! The passwords cracked using the methods given above are for unsalted hashed password.

Yeah! There exists a concept called salting, which makes it impossible to use lookup tables and rainbow tables to crack a hash.

Lookup tables and rainbow tables only work because each password is hashed the exact same way. If two users have the same password, they'll have the same password hashes. We can prevent these attacks by randomizing each hash, so that when the same password is hashed twice, the hashes are not the same.

We can randomize the hashes by appending or prepending a random string, called a salt, to the password before hashing. As shown in the example above, this makes the same password hash into a completely different string every time. To check if a password is correct, we need the salt, so it is usually stored in the user account database along with the hash, or as part of the hash string itself.

The salt does not need to be secret. Just by randomizing the hashes, lookup tables, reverse lookup tables, and rainbow tables become ineffective. An attacker won't know in advance what the salt will be, so they can't pre-compute a lookup table or rainbow table. If each user's password is hashed with a different salt, the reverse lookup table attack won't work either.

 


Comments ()


Sign in

Read Next

Satellite Based Positioning

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

Cybersecurity Standards for Automotive

Blog banner

Big O Notation

Blog banner

What is a Dumpster Diving Attack?

Blog banner

semaphores

Blog banner

Raid

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

CRISP-DM Methodology

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

Guidelines for a low sodium diet.

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

This is my first blog.

Blog banner

MORDERN UNIX SYSTEM

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

Mutual exclusion

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

E-Cash (Electronic Cash)

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

Social engineering in cyber security

Blog banner

Social Engineering Attacks

Blog banner

Deadlocks in Operating System

Blog banner

Education: Key to your Prosperity

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Evolution of Operating system.

Blog banner

The Future of Cybersecurity: Trends, Challenges, and Strategies

Blog banner

How GIS in Agriculture Eliminates Guesswork

Blog banner

5 Stages of Digital Marketing

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

The IT Service Lifecycle

Blog banner

Android Application Components and Activity Lifecycle

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

What if COVID does not exist!

Blog banner

Deadlock and Starvation

Blog banner

Importance of Morning Routines for Students During the Festive Season

Blog banner

Online Games

Blog banner

DATA WRANGLING

Blog banner

The Future of Web Development in 2026: Trends Every Business Must Know

Blog banner

The Importance of Eating on Time: How Meal Timing Affects Your Health

Blog banner

How to Plan a Week of Healthy Meals Without Stress

Blog banner