Decrypt ssha1 password


 
Thread Tools Search this Thread
Operating Systems AIX Decrypt ssha1 password
# 1  
Old 12-16-2014
Decrypt ssha1 password

hi to all, i have an AIX6.1 machine and i want to decrypt an ssha1 password written on /etc/security/passwd. the reason that i want to do that is because i have some complains about a few users that cannot login and receive the message for invalid login. i suspect that they are entering wrong password because i can see the unsuccessful_login_count attribute of their user to grow when they are entering the password. the problem is that all of them insist that they enter the correct password so i cannot prove that they do something wrong. i did a little search and i read about hashcat but i don't think i can install this on my machine cause the security department probably will not allow me to do this. if somebody knows a way to decrypt it then maybe can send me a private message. thank you

Last edited by omonoiatis9; 12-16-2014 at 02:54 AM.. Reason: correction: hashcat instead of hashtag
# 2  
Old 12-16-2014
Whats wrong in initializing the password again?
If you suspect something wrong what is stopping you to create a new user, you enter the passwd and reconnect... if as you say is seem general then all accounts should be affected...
If these people connect from PCs are you sure they have not CAPSLOCK or NUMLOCK activated?
I have that problem a few times, and most times (99%!), because just before to go bezeurk I go see the folk, and ask them to show me, people confuse with their PC/AD/Novell password and unix host passwd...

A Forum rules reminder:
Quote:
(10) Don't post your email address and ask for an email or private message reply. Don't send a private message with a technical question. The forums are for the benefit of all, so all Q&A should take place in the forums.
# 3  
Old 12-16-2014
well the thing is that users are not in my company. there are users that connect to the server that are located in other offices. also i read that in sha1 encryption even if a user has the same password with someone else it does not have the same encryption code in /etc/security/passwd. so even if i initialize this password to another user i will not get the same hash on my /etc/security/passwd file. i know you are probably right about CAPSLOCK etc but it is so frustrating to arguing with somebody on the phone trying to explain that they do something wrong and yet they insist that they do everything correct.
# 4  
Old 12-16-2014
Well for those users, you give them the new password, saying it works because you have used it to test the connection.. the idea was not to decrypt ssha1 but to see that the password you entered is valid, there is no reason it works for some and not for others, and as I have already said, specially with people not connecting for some time ( have you checked when was last time?) The AD or Novell policy forces the passwd change , the users apply, then when returning to UNIX are suprised and they swear its the correct passwd (yes but its the PC.. not the UNIX) and meanwhile they are so stressed that they have forgotten the UNIX passwd anyway...
# 5  
Old 12-16-2014
the idea of password decryption is that i could decrypt the password from /etc/security/passwd file and use it in order to connect myself and see if its working or not. i can do what you suggest but it will not stop these users to repeat the same behavior again. maybe if i can show to them that they are wrong they are going to pay more attention to what they are doing.

Last edited by omonoiatis9; 12-16-2014 at 07:36 AM.. Reason: word mistype
# 6  
Old 12-16-2014
Have you a strict failed login attempt policy? Because I have seen boxes blocked by "Non intrusive" security scan software, if you have that sort of soft...
# 7  
Old 12-17-2014
yes if a user has 5 unsuccessfull login attempts then the account is locked.
but i check the counter anyway and the number is still below 5 when the user complains.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Encrypt and Decrypt a File with Password

Hello, I have few files on unix which are payroll related and I need them to encrypt with password so others wouldn't see the data. I use ETL tool and would like to know the unix command that does encryption/decryption to use in the ETL. Thank you, Sri (3 Replies)
Discussion started by: eskay
3 Replies

2. Shell Programming and Scripting

Encrypt and decrypt the password in a Shell Script

Hello, I have the following UNIX shell script which connects to the teradata database and executes the SQL Queries. For this, I am passing database name, username and password. I don't want to reveal my password to anyone. So, is there any way that I can encrypt my password and read the... (2 Replies)
Discussion started by: ronitreddy
2 Replies

3. Shell Programming and Scripting

Encrypt and decrypt a password in shell script

Hi All, very good morning all. I am trying to connect to informatica repository by using shell script. I have written pmrep connect command in the script file. But i need to provide repository, domain ,username and password to connect. Username and password are hard coded in the script... (8 Replies)
Discussion started by: SekhaReddy
8 Replies

4. Shell Programming and Scripting

Encrypt Password file and decrypt in a shell script

Hi All, I have stored Oracle database passwords in a hidden file - .pass_file. My shell script reads the hidden file, gets the password and then logs in to the Oracle database and runs some SQL script. My requirement is: I need to provide the shell script to be executed by someone else. So,... (1 Reply)
Discussion started by: sunpraveen
1 Replies

5. AIX

Problem with password algorithm ssha1

Hello, I have an AIX 6.1 machine and a few months ago i changed the default password algorithm to ssha1 after suggestions of our security department that it is a more secure algorithm to encrypt passwords rather than standard AIX algorithm. I noticed that i am having some problems every now and... (0 Replies)
Discussion started by: omonoiatis9
0 Replies

6. Shell Programming and Scripting

Encrypt and Decrypt

I have script for all oracle prod db. I have hard coded the username / password. I need a mechanism to encode and decode the username / password in a shell script. Another challenge is I use the username and password in a Select command for oracle DB. How can call the decrypted... (2 Replies)
Discussion started by: ilugopal
2 Replies

7. Solaris

Very slow decrypt

Hi Folks, Currently restoring some data that has been encrypted using the naitive Solaris encrypt/decrypt commands. Taking ages, anyone used these before and are they usually really slow? Thanks Rgrds Martin (3 Replies)
Discussion started by: callmebob
3 Replies

8. Shell Programming and Scripting

To decrypt encrypted password

Hi folks, What will be the easy way to decrypt encrypted passwords on MySQL table. Googling brought me many suggestions on crypt/decrypt running scripts. Please advise. TIA Remark: I think the encrypt function of MySQL uses the Unix crypt command to encrypt B.R. satimis (1 Reply)
Discussion started by: satimis
1 Replies

9. UNIX for Dummies Questions & Answers

vi -x <filename>.x "script to decrypt w/out asking password"

I'm a newbee in unix. Could anyone help me how to decrypt this using a script w/out asking me for a key. I want the key to be included in the script so everytime I will run the script it will automatically open without aksing me to insert the key. vi -x <myfile>.x (0 Replies)
Discussion started by: Boyet
0 Replies

10. Shell Programming and Scripting

encrypt and decrypt password

how do i encrypt and decrypt a password (2 Replies)
Discussion started by: sanwish
2 Replies
Login or Register to Ask a Question