LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-01-2003, 06:33 PM   #1
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Rep: Reputation: 30
Help using Crack for testing password strength


Hi all Ive configured and installed Crack to work with Tara however as Im using Shadow passwords Tara isnt checking /etc/shadow only /etc/passwd

Ive tried running Crack /etc/Shadow manually then I try running ./Reporter

and get output similar to following: -

---- passwords cracked as of Tue Jul 1 23:57:37 UTC 2003 ----


---- errors and warnings ----

bad format: /etc/shadow: adm:*:9797:0:::::
bad format: /etc/shadow: bin:*:9797:0:::::
bad format: /etc/shadow: chroot:$dfgregjpij454r0ffegr4tg4
bad format: /etc/shadow: rpc:*:9797:0:::::
bad format: /etc/shadow: shutdown:*:9797:0:::::
bad format: /etc/shadow: smmsp:*:9797:0:::::
bad format: /etc/shadow: sync:*:9797:0:::::
bad format: /etc/shadow: uucp:*:9797:0:::::
bad format: /etc/shadow: webuser:!:15y5y5y5y54yy:7thytrh453:::

---- done ----


Obviously Ive edited the posted output so no real passwords are included but does this bad format mean that I have chosen a weak password or is there a problem with Crack???? (I am checking /etc/shadow as root).

Just wondering because I tried a password similar to follows: -

1Q_3=+de£_r£3:;[pY&(grcN?><+G|\¬`@fEWQ%C"_eFyT

and it only took like 1 minute for Crack to end and for it to be added to the above list.

Can Anybody help??? Ive tried searching for help with the Reporter tool but cant fibnd anything
 
Old 07-02-2003, 05:24 AM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Hi Dai,

I haven't tried crack on Linux, but I have run it a lot on AIX. As far as I know, it only works on traditional (i.e. no shadow) format /etc/passwd style files.

In AIX there's a command to merge the shadow and passwd files and get this popping out, which makes life very easy. There should be some similar utility you can run to merge the two. Then you put the merged version in a new file and run crack against that.

Iain.

Edited to add To test this theory, copy /etc/passwd and paste in an encrypted password string for an easily crackable password. Run crack and it should crack it within a few seconds.

Last edited by iainr; 07-02-2003 at 05:36 AM.
 
Old 07-02-2003, 03:34 PM   #3
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
Cheers, Ive now downloaded Jack the Ripper and Apparrently after using the unshadow utility from this it appears that my passwords are actually MD5 hash's, I thought they were Des based.

From what I can see Crack on ly works (by default) on Des based encryption which would seem to be one of the problems that I have.

Jack has been running non-stop since 10 this morning and still hasnt cracked all of my passwords (only 3) So I think I can safely assume that thier relatively strong.

Thanks


Dai
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How TO Crack The Boot Password in linux? shahid_nawaz Linux - Security 21 11-03-2005 05:09 PM
encryption strength? zer0python Programming 2 08-16-2005 10:42 AM
bios password blues- anyone know a crack? Brain Drop Linux - Hardware 21 03-24-2005 05:54 PM
Setup as getting debian testing files from ftp - will it stay with testing BrianHenderson Debian 2 09-02-2004 06:06 PM
How to crack the Grub Password? shahid_nawaz Linux - Security 2 04-21-2004 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration