News for hackers. Stuff that matters.
Re:Xerox Alto zero-day: cracking disk password protection on... by mmjaa on Thursday January 04, 2018 @03:49PM (#16073947)
Turns out I need to do that with my old SGI. Got any tips?
Re:Xerox Alto zero-day: cracking disk password protection on... by Keyframe on Thursday January 04, 2018 @05:03PM (#16074500)
Multiple ways to do it. All lead to you getting to the /etc/passwd file and the hash inside for the root.

If you have IRIX installation CD then you can even set the new password, but you probably don't have it? You can also put the disk into another SGI, also not what everyone has. If guest account is enabled, login with guest (no password) and just cat the /etc/passwd. If guest account is not enabled, you can do the cat via sash, which is a bit more compicated, like this: https://web.archive.org/web/20151023042224/http://crackaddic...

Once you have your hash, do it with John the Ripper (GPU version). Store the password int a text file in format of root:hash and run john the ripper on it. Encryption is, AFAIK, DES so use john --format=des passwd.txt if john doesn't autodetect which encryption it is (I remember I had to set it manually). It can take awhile, depending on the GPU, but not that long.

If you run into trouble, I can have a look. I think I wrote down somewhere what to do, in case I need it again.

Re:Xerox Alto zero-day: cracking disk password protection on... by mmjaa on Friday January 05, 2018 @08:55AM (#16078540)
Thanks for this, looks to be not a problem at all! Well, now I've got one less reason to keep the SGI boxes wrapped up, thanks!
Re:Xerox Alto zero-day: cracking disk password protection on... by Aloha on Thursday January 04, 2018 @04:46PM (#16074357)
Boot from a CD, mount the drive, change the password or remove it - if it were linux I'd edit /etc/shadow - obviously easier with another IRIX machine to put the drive into.
Re:Xerox Alto zero-day: cracking disk password protection on... by neko_koneko on Thursday January 04, 2018 @05:55PM (#16074896)
When I was in similar situation (bought an old SGI O2 box and didn’t had any other SGI machines to plug HDD into to get /etc/passwd), I used telnet RCE/privilege escalation exploit: https://www.exploit-db.com/exploits/20149/, worked like a charm. These old systems have many vulnerable services running by default, including telnet.
Re:Xerox Alto zero-day: cracking disk password protection on... by mmjaa on Friday January 05, 2018 @08:57AM (#16078550)
Had some great suggestions, but this one wets my whistle the most, haha!

Probably what I'll do, though, is set up SCSI on a linux box somewhere and try to xxx the shadow, seems to be the smoothest route .. don't wanna mess too much, because after all, 20 years later .. I still wanna boot my old SGI like the good ol' days. :)

Re:Xerox Alto zero-day: cracking disk password protection on... by jjwiseman on Thursday January 04, 2018 @03:52PM (#16073976)
Not quite what you're asking, but if you just want to get a shell on the machine, IRIX often had a bunch of accounts with no password. Try lp, demo, games, and guest.
Re:Xerox Alto zero-day: cracking disk password protection on... by DanBC on Thursday January 04, 2018 @04:24PM (#16074226)
Would something like John the Ripper, first with wordlists and then with incremental mode, be acceptable? http://www.openwall.com/john/

http://www.openwall.com/john/doc/

Re:Xerox Alto zero-day: cracking disk password protection on... by atkbrah on Thursday January 04, 2018 @06:50PM (#16075211)
You will need /etc/passwd file from SGI the disk. Either use irix installation CDs or boot the system over network [1]. You could also try booting openbsd [2] to get your hands to it.

Next you would use something like hashcat [3] to bruteforce the password.

1. http://software.majix.org/irix/install-network.shtml

2. https://ftp.openbsd.org/pub/OpenBSD/6.2/sgi/INSTALL.sgi

3. https://hashcat.net/hashcat/

Re:Xerox Alto zero-day: cracking disk password protection on... by contingencies on Thursday January 04, 2018 @06:24PM (#16075063)
Try logging in as lp. Often no password.