Article View: alt.hacker
Article #50Re: shadow file
From: Lensman
Date: Mon, 13 Dec 2004 13:01
Date: Mon, 13 Dec 2004 13:01
50 lines
3670 bytes
3670 bytes
Having nothing better to do that spam and xpost in alt.hacking, roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote : >In article <cp6ki9$je4$05$1@news.t-online.com>, Frank <lol@privacy.net> wrote: >:i'd like to see if it's possible to decode this file.... > >:root:$1$BZftq3sP$xEeZmr2fGEnKjVAxzj/o51:12747:0:99999:7::: > >That looks like a standard /etc/shadow line in an OS that allows >the glibc extensions to encrypted passwords. According to > >http://unixhelp.ed.ac.uk/CGI/man-cgi?crypt+3 > > GNU EXTENSION > > The glibc2 version of this function has the following additional fea- > tures. If salt is a character string starting with the three charac- > ters "$1$" followed by at most eight characters, and optionally termi- > nated by "$", then instead of using the DES machine, the glibc crypt > function uses an MD5-based algorithm, and outputs up to 34 bytes, > namely "$1$<string>$", where "<string>" stands for the up to 8 charac- > ters following "$1$" in the salt, followed by 22 bytes chosen from the > set [a-zA-Z0-9./]. The entire key is significant here (instead of only > the first 8 bytes). > > >Thus, in order to decode the password, one would have to find a >password whose MD5 was represented in base64 as xEeZmr2fGEnKjVAxzj/o51 . > >MD5 is a 128 bit hash, so brute force would require an >average of 2^127 operations to find a match. That's a lot of >computation. > >There are services which are generating pretty much all 8 bit >lowercase + digit plaintexts and using MD5 to encrypt them and >saving the result, but these services don't work with the "salted" >MD5 of shadow password files. > >http://passcracking.com/ What was wrong with leaving that in its original froups (there were only two at that point), spamming twat. -- /------------------------------------------------------------\ | It's too bad that stupidity isn't painful | | --Anton Szandor LaVey | \------------------------------------------------------------/
Technical Details
Message-ID:
<v65rr0dkc9g0vpopi0u5ere0dq2h120ik5@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!news-peer0-test!btnet-feed5!btnet!news.btopenworld.com!not-for-mailReferences:
<cp6ki9$je4$05$1@news.t-online.com> <cp7cjq$sqh$1@canopus.cc.umanitoba.ca>Show Full Headers
Complete Article Headers
X-Google-Thread: 102c45,4a0979912b4865b8 X-Google-Thread: fbc6f,4a0979912b4865b8 X-Google-Thread: 113446,4a0979912b4865b8 X-Google-Thread: 106e9e,4a0979912b4865b8 X-Google-Thread: ff723,4a0979912b4865b8 X-Google-Thread: 10952f,4a0979912b4865b8 X-Google-Attributes: gid102c45,gidfbc6f,gid113446,gid106e9e,gidff723,gid10952f,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!news-peer0-test!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Lensman <putin@kremvax.ru> Newsgroups: alt.hacker,alt.hacking,be.comp.security,comp.os.linux.security,comp.security.misc,comp.security.unix Subject: Re: shadow file Date: Mon, 13 Dec 2004 13:01:26 +0000 (UTC) Organization: Bechtel Nevada Black Operations Group Lines: 50 Message-ID: <v65rr0dkc9g0vpopi0u5ere0dq2h120ik5@4ax.com> References: <cp6ki9$je4$05$1@news.t-online.com> <cp7cjq$sqh$1@canopus.cc.umanitoba.ca> Reply-To: op09_Black@bechtel.com NNTP-Posting-Host: host217-45-254-49.in-addr.btopenworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: hercules.btinternet.com 1102942886 20272 217.45.254.49 (13 Dec 2004 13:01:26 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Mon, 13 Dec 2004 13:01:26 +0000 (UTC) X-Newsreader: Forte Free Agent 2.0/32.652