Shadow file encryption method


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Shadow file encryption method
# 8  
Old 02-22-2009
Question Decrypt

Can i get back the clear text password by copy the encrypted value from /etc/passwd and put this value in the function 'decrypt()'......is that possible ???
# 9  
Old 02-22-2009
No. crypt() is actually a bad name, since it doesn't do any encryption, but only runs your password through a hashing function (MD5/Blowfish/...).
# 10  
Old 02-23-2009
Is there any way to get back clear text password from /etc/shadow encrypted data ??
# 11  
Old 02-23-2009
Quote:
Originally Posted by abir
Is there any way to get back clear text password from /etc/shadow encrypted data ??
Yeah, there are several programs that do this. The best available is called "john the ripper", JtR for short. It works by trying all possible passwords until it hits a match. Last November I started JtR running to try and crack a list of 168 passwords. (This is a security test and its part of my job. My manager knows I am doing this.) So far it has broken 9 passwords. It is slowing down. It breaks the easy passwords first. It's been over a month since password 9 was broken. My guess it that it will take several decades to break all 168. I'm using a somewhat souped up sunblade-1000. With a top of the line overclocked quad extreme rig, it could probably crack them all in under a decade.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Cybersecurity

File encryption tools with MAC address as an encryption key

Hi all, I'm looking for secure file encryption tools that use MAC address as encryption key. FYI, I'm using Red Hat Enterprise Linux OS. For example: when A wants to send file to B A will encrypt the file with B's computer MAC/IP address as an encryption key This file can only be decrypted... (2 Replies)
Discussion started by: sergionicosta
2 Replies

2. UNIX for Dummies Questions & Answers

Shadow file help

As a part of linux hardening In shadow file all Application accounts which are not locked must contain only an asterisk “*” in the Passwd field. But how would i do it by using command? Is there any way other than modifying shadow file to accomplish this task? (3 Replies)
Discussion started by: pinga123
3 Replies

3. Shell Programming and Scripting

Shadow file

Hi, In shadow file smithj:Ep6mckrOLChF.:10063:0:99999:7::: 3rd Field 10063 indicates the number of days (since January 1, 1970) since the password was last changed. I want to get the result with script the date on which the password was last changed in YYYY-MM-DD format. can... (8 Replies)
Discussion started by: pinnacle
8 Replies

4. UNIX for Dummies Questions & Answers

Shadow File

I see conflicting definitions for the shadow file. For Solaris, what are the fields please? Thanks. (3 Replies)
Discussion started by: DavidS
3 Replies

5. UNIX for Advanced & Expert Users

/etc/shadow file....

Does anyone know what "!!" represents in the password field of the /etc/shadow file? :confused: (6 Replies)
Discussion started by: avcert1998
6 Replies

6. Solaris

*LK* in /etc/shadow file

my etc/shadow file showing *LK* for a particular user.. can u tell me under which circumstances a user is locked (5 Replies)
Discussion started by: vikashtulsiyan
5 Replies

7. UNIX for Dummies Questions & Answers

File encryption/Key encryption ????

My dilemma, I need to send, deemed confidential, information via e-mail (SMTP). This information is sitting as a file on AIX. Typically I can send this data as a e-mail attachment via what we term a "mail filter" using telnet. I now would like to somehow encrypt the data and send it to a e-mail... (1 Reply)
Discussion started by: hugow
1 Replies

8. UNIX for Dummies Questions & Answers

shadow file

Sirs, What is a shadow file,How it be usefull.For my project i have to keep the password in shawdow file also i am doing in php how can i do it. Thanks in advance, ArunKumar (3 Replies)
Discussion started by: arunkumar_mca
3 Replies

9. Shell Programming and Scripting

which encryption method?

hello ppl, i've been coding a perl script for xchat and i need to store the nick's passwords. i was wondering which encryption to use. picture this situation: i've got a system flaw and some guy hacks the machine and gets his hands on the passwd file; he has access to the script. what encryption... (2 Replies)
Discussion started by: crashnburn
2 Replies
Login or Register to Ask a Question