Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 39 guests and 2 members online
 
Free Business and Tech Magazines and eBooks

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow help with a hash
EH-Net
May 24, 2013, 01:44:27 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: help with a hash  (Read 2084 times)
0 Members and 1 Guest are viewing this topic.
SephStorm
Hero Member
*****
Offline Offline

Posts: 530


View Profile WWW
« on: June 08, 2011, 02:54:37 AM »

Hello All,

recently I came across a few new tools in my search for knowledge and one of them is the IDS distro Security Onion. Now I wont go over the situation at this time, but long story short, I needed access to the root account. During install you create a user account and according to the project documentation the root password is blank. I found that not to be true.

So I booted from the install media and entered debug mode which allowed me to login as an account that doesnt exist on the install version (the securityonion account referred to in the documentation...) IAC I was able to sudo cat the /etc/shadow file and send it to my linux VM with John on it.

Again, to keep this short, John did not seem to detect this hash, and online hash programs seem to have issue with it as well. I have two questions for you super hackers, 1. what kind of has is this, and 2. what is the password?

FYI, before anyone says anything, I figured out that my user account has suo and changed the password, so there is no risk of disclosure... as long as everyone using this distro changed the default password...

root:$6$AlvPANXN$U01UG4dM95nb/tAdSZe0bFxOuT0E9PX2SgxI2GLWp5QQJHTvxzpDhtW4nk4XZqLozPKzTj13jM1elzfdPV0M71
Logged

Data_Raid
Full Member
***
Offline Offline

Posts: 165



View Profile
« Reply #1 on: June 08, 2011, 04:03:39 AM »

That password is a SHA-512 hash, starts with $6$ (86 characters)
Extra info: SHA-256 hashes start with $5$ (43 Characters)
MD5 hashes start with $1$ (22 characters)
Blowfish hashes start with $2$ or $2a$ (depending on the variant used)

I'll work on the password hash and let you know if I crack it  Wink

Logged

All men by nature desire knowledge.

Aristotle
hell_razor
Jr. Member
**
Offline Offline

Posts: 90


View Profile
« Reply #2 on: June 08, 2011, 09:51:47 AM »

You may not need access to *that* root password.

sudo -s
type in your user password.

Should give you a root prompt.

Then you can

passwd root

to change the password.  I have not played with that distro yet, but should work.
Logged

A+, Network+, Server+, CISSP, GSEC, GCIH, GPEN, GCIA, GISP, GCFW
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.061 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.