

I removed returns and put everyhting on the same line. I copied that data to a clipboard with cmd+c and pasted it to sublime texteditor.

Line I was looking were under “ShadowHashData” surrounded by tags.

On macs terminal I switch path to Desktop, then create a folder for our mission and moved the hash into that folder:Īnd there was lots of stuff in it. The hash is in binary format by default and we want to convert it in to XML. After all this is actually very simple task. Now this part goes little bit tricky and I spent couple of hours thinking what is actually happening. $ sudo cp /var/db/dslocal/nodes/Default/users/ist Desktop/ist Extract the hash for hashcat $ sudo ls /var/db/dslocal/nodes/Default/users It did not worked cause I did not have permissions to that folder. Ls: /var/db/dslocal/nodes/Default/users: Permission denied bash: cd: /var/db/dslocal/nodes/Default/users: Permission denied I opened terminal on my mac and tried to acces to /var/db/dslocal/nodes/Default/users. After reading the article I knew that password hash in Mavericks is located in this path: /var/db/dslocal/nodes/Default/users/.plist. I am not so interested about that since I just like to test how weak my own password is. There is methods to obtain password hash(which is the password protected with mathematical algorithm) when you are unable to log into any account on the machine. It is step by step guide of what I was looking for, perfect! Not so many searches later I found this very decent article about “How to Extract OS X Mavericks Password Hash for Cracking With Hashcat”. Like in router article I did not have any previous experience about cracking OSx password. It is a Finnish word meaning lazy with little bit of leetspeak and it will pass Apples password policy. For this test I changed it to something which I feel is closer to password users normally have. I have actually learned something in past few months and I have very strong password at the moment. I am now going to crack my macbook pro which is running OSx Mavericks. Last time I tested how easy/hard it is to crack my wap2 secured wlan with weak password. When you read regular articles about security you will almost always face paragraph which tells you that it is very important to have a good password. I have been worried about security for a long time.
