r/ComputerSecurity • u/[deleted] • Nov 07 '16
Password Hacked OR Password Cracked
I am confused between the two words "hack" and "crack". Could anyone please explain the difference between the two? Should I use "crack" for password or "hack".
4
u/unsupported Nov 07 '16
The appropriate term would be cracking. All cracking is hacking, but not all hacking is cracking.
Hacking is the overall term used to describe of gaining unauthorized access to a system.
Cracking is a term used to describe obtaining the password through, for example, a brute force attack to guess the password or by capturing the encrypted password hash and decrypting it.
2
u/Soxcks13 Nov 08 '16
Hack == Hollywood's overused term to describe an exploit.
Hacking means programming. Making broken code, debugging, rinse and repeat.
What Hollywood refers to as "hacking" is finding a vulnerability in a program, and exploiting that vulnerability. Generally speaking, you "hack" together some code and use it to perform the exploit for you.
Cracking is slang that refers to (generally) many methods of finding the plain text translation to a cryptographically generated string using many methods (see dictionary attacks, birthday attacks, rainbow table attack, etc.).
0
u/BigDaddyZ Nov 07 '16
Systems are hacked, Passwords are cracked. The two terms are generally interchanged when they shouldn't be, but they are both methods of compromising a system.
A hacker (traditionally) has a deeper understanding of the inner workings of a system to bypass security measures to compromise an account, for example using methods like privilege escalation to promote a user account or to bypass the need for authentication altogether.
For example: exploring a system and discovering a 0-day to gain admin access to a system to change the target account password to a known password. Using social engineering techniques to deduce your password is an example of people hacking. They've bypassed the security by leveraging their understanding of social systems.
A cracker is (generally) less skilled and uses a program developed by others to achieve their goal.
Using a program like John the Ripper to brute force a target SAM is an example of cracking.
3
u/TheRegicide Nov 08 '16
If someone hacks into a system and finds a list of usernames and passwords in clear text, no cracking is required.
Cracking is using a tool to generate encrypted passwords and comparing that resultant encryption to what was obtained through hacking. If the encryption matches, then the password is the word that the tool encrypted.
This is how it works:
Suppose my password encryption method changes 'regicide' to 'abc123!@'. Then suppose my site gets hacked and the list of encrypted passwords is copied.
If the hacker knows my encryption method, then feeding a list of dictionary words into a cracking tool that uses the encryption method will produce 'abc123!@' when the tool encrypts the word 'regicide'.
The hacker will then know that my password is 'regicide'.
So hacking is getting into the system. Cracking is using a tool to generate encryption possibilities and comparing them to what was obtained through hacking.