Hack YOUR Mac in 30 secs

Feel free to talk about anything and everything in this board.
Post Reply
codemonkey
Newbie
Posts: 15
Joined: Fri Feb 12, 2010 5:08 pm
Contact:

Hack YOUR Mac in 30 secs

Post by codemonkey » Sat Feb 13, 2010 3:00 pm

This information is for security purposes only. It displays a important security hole left in Macs from 10.4 on.
restart the target computer in single user mode
when the command prompt is ready for input

Code: Select all

fsck -fy
(we dont want to hurt or volume when we mount it)

Code: Select all

mount -uw /

Code: Select all

systemStarter
(case sensitive)
now while system starter is loading, wait for it to load kernels
quick control x to get to prompt

Code: Select all

passwd root
(even if it wasnt enabled it is now. bad apple.)
enter your new root password and viola, you are now in.
Image

G[v]N
Green Beret
Posts: 3460
Joined: Thu Oct 18, 2007 5:18 am
Location: Ò_ô

Re: Hack YOUR Mac in 30 secs

Post by G[v]N » Sat Feb 13, 2010 3:14 pm

Wat
Image
Moxus wrote:Many thanks to the people who have made my years on MGM and on Halo Demo so memorable.

Dirk Gently
Commando
Posts: 2047
Joined: Sun Oct 21, 2007 2:34 pm
Location: 3C0E9056
Contact:

Re: Hack YOUR Mac in 30 secs

Post by Dirk Gently » Sat Feb 13, 2010 3:26 pm

oh wow, so pro. You can reset the root password because you login as root. GJ

sorry if I am not phased by this at all, after cracking security permissions from a simple finder managed account this is child's play.

Also, enabling root account is a BAD idea because there is no need to be logged in as it under and normal circumstances. Sudo works just fine.

EDIT: it is not a security hole. It is BSD, so BSD is a security hole now. There goes all of OS X then.

Zanghfei
Ranger
Posts: 1590
Joined: Tue Jul 01, 2008 1:52 pm

Re: Hack YOUR Mac in 30 secs

Post by Zanghfei » Sat Feb 13, 2010 3:53 pm

WTF IS THAT!
No one Tell i won't do it.

codemonkey
Newbie
Posts: 15
Joined: Fri Feb 12, 2010 5:08 pm
Contact:

Re: Hack YOUR Mac in 30 secs

Post by codemonkey » Sat Feb 13, 2010 4:00 pm

Dirk Gently wrote:oh wow, so pro. You can reset the root password because you login as root. GJ

sorry if I am not phased by this at all, after cracking security permissions from a simple finder managed account this is child's play.

Also, enabling root account is a BAD idea because there is no need to be logged in as it under and normal circumstances. Sudo works just fine.

EDIT: it is not a security hole. It is BSD, so BSD is a security hole now. There goes all of OS X then.
UM. WOW. i knew it wouldnt take long. though you log in as root via single user, you cannot command the GUI, not access components such as diskutil. Now even if you are in single user it does not mean root is enabled you idiot. you need to wait for netinfo or directory utility to load to access the ability to enable the root user. once you have gained FULL privileges to the OS THAT MAKES IT A SECURITY HOLE. thanks for your un necessary assholish reply. i am glad to see that the mac gaming community is still full of opinionated douche bags. This was again posted as a simple security whole. How do you 1337 hax0r propose a way to get into YOUR mac? The problem is the abillity to enable root within the OS from single user not change roots password while in root. /facepalm
Image

Dirk Gently
Commando
Posts: 2047
Joined: Sun Oct 21, 2007 2:34 pm
Location: 3C0E9056
Contact:

Re: Hack YOUR Mac in 30 secs

Post by Dirk Gently » Sat Feb 13, 2010 4:16 pm

codemonkey wrote:UM. WOW. i knew it wouldnt take long. though you log in as root via single user, you cannot command the GUI, not access components such as diskutil.
no shit eh?
codemonkey wrote:Now even if you are in single user it does not mean root is enabled you idiot. you need to wait for netinfo or directory utility to load to access the ability to enable the root user.
ofcourse, there is a reason why apple does not enable root on default, that is not needed, and leaves your computer open as a security risk.
codemonkey wrote:once you have gained FULL privileges to the OS THAT MAKES IT A SECURITY HOLE.
Single user is hardly a security hole.
codemonkey wrote:thanks for your un necessary assholish reply. i am glad to see that the mac gaming community is still full of opinionated douche bags. This was again posted as a simple security whole. How do you 1337 hax0r propose a way to get into YOUR mac?
Since I have reported the ways I have broken into OS X tiger they have been since patched. If you get your hands on a mac that is tiger before 10.4.10 update you will be able to do the following:

right click any document, openwith select the application you want to open it with. if you are not allowed to open said application then it will stop being launched. open an application that do have access to and go to the apple menu, recent documents and your application will be in that list. click that item and it will open.

Bypass all account permissions by running things from dashboard, dashboard acts as a separate user and is not subject to the same restrictions.

cp /location/to/master/password/file ~/Desktop/file
then use one of the two methods above to access a password cracker and wait.

Løki
Ranger
Posts: 1229
Joined: Thu Dec 20, 2007 2:53 pm
Location: 0x4D610000
Contact:

Re: Hack YOUR Mac in 30 secs

Post by Løki » Sat Feb 13, 2010 4:50 pm

codemonkey wrote: UM. WOW. i knew it wouldnt take long. though you log in as root via single user, you cannot command the GUI, not access components such as diskutil. Now even if you are in single user it does not mean root is enabled you idiot. you need to wait for netinfo or directory utility to load to access the ability to enable the root user. once you have gained FULL privileges to the OS THAT MAKES IT A SECURITY HOLE. thanks for your un necessary assholish reply. i am glad to see that the mac gaming community is still full of opinionated douche bags. This was again posted as a simple security whole. How do you 1337 hax0r propose a way to get into YOUR mac? The problem is the abillity to enable root within the OS from single user not change roots password while in root. /facepalm
So... Many... Grammatical errors!
Image

Smythe
Commando
Posts: 2429
Joined: Tue Dec 25, 2007 12:52 am
Location: 'Straya Mate

Re: Hack YOUR Mac in 30 secs

Post by Smythe » Sat Feb 13, 2010 6:24 pm

Yeah don't nobody do this unless they know what they're doing. I'm not cos' i don't understand shit about that shit....
Image

codemonkey
Newbie
Posts: 15
Joined: Fri Feb 12, 2010 5:08 pm
Contact:

Re: Hack YOUR Mac in 30 secs

Post by codemonkey » Sat Feb 13, 2010 11:20 pm

Dirk Gently wrote: Single user is hardly a security hole.
so you dont see a guest user being able to sit down at your mac, load up single user (which takes nothing other than a restart holding the s key for you non privy people) and enable or change your root users password, log on as them and gain complete access to your file systems as a security hole? um ok.
Dirk Gently wrote:Since I have reported the ways I have broken into OS X tiger they have been since patched. If you get your hands on a mac that is tiger before 10.4.10 update you will be able to do the following:

right click any document, openwith select the application you want to open it with. if you are not allowed to open said application then it will stop being launched. open an application that do have access to and go to the apple menu, recent documents and your application will be in that list. click that item and it will open.

Bypass all account permissions by running things from dashboard, dashboard acts as a separate user and is not subject to the same restrictions.

cp /location/to/master/password/file ~/Desktop/file
then use one of the two methods above to access a password cracker and wait.
wow i bet it was just you and not the other thousands of people submitting bug reports and security reports to apple that made those changes. : /
Image

Dirk Gently
Commando
Posts: 2047
Joined: Sun Oct 21, 2007 2:34 pm
Location: 3C0E9056
Contact:

Re: Hack YOUR Mac in 30 secs

Post by Dirk Gently » Sun Feb 14, 2010 2:15 pm

codemonkey wrote:
Dirk Gently wrote: Single user is hardly a security hole.
so you dont see a guest user being able to sit down at your mac, load up single user (which takes nothing other than a restart holding the s key for you non privy people) and enable or change your root users password, log on as them and gain complete access to your file systems as a security hole? um ok.
so you are one of those, "too good for unix" people?

You set a firmware password so other people cannot get access to that.

codemonkey
Newbie
Posts: 15
Joined: Fri Feb 12, 2010 5:08 pm
Contact:

Re: Hack YOUR Mac in 30 secs

Post by codemonkey » Sun Feb 14, 2010 3:58 pm

and so now, you have only validated my previous statement that this is a problem, one which can be countered by setting the firmware password. unfortunately more people know how to do this even less than boot into single user.

also looking this up on the web will garner the same results

here is an example
SecureMac.com wrote: Exploit

Step 1) Restart the computer (or turn it on if it's already off) while holding down the command and s keys at the same time. (If the computer is running Mac OS Public Beta, just press the s key.) They have root privileges at this moment, but now it's time to take advantage of these privileges.

Step 1.5) Type "/sbin/fsck -y". (Type this without the quotes, of course.) (This step really isn't necessary at all, but it just takes a second, and they might as well just do a quick check of the hard disk before mounting it.)

Step 2) Type "/sbin/mount -wu /" (This mounts the volume "/" with read/write access.)

Step 3) Type "/sbin/SystemStarter" (This starts the network services, which is necessary to gain access to NetInfo.)

Step 4) Here, one could now just type "passwd root" and override the existing root password with one of their own, or worse yet, someone could just get the current root password (and/or the administrative user account password) so the administrators of that computer don't know that their security has been compromised. One of the easiest ways to do this is to just type "nidump passwd ." and write down the root account's password hash. (The hash will be the text that looks like just a garbled mess of alphanumeric characters between two colons.)

Step 5) Now one can type up what they wrote down into a plain text file like the following example: "root:rQkFQ37SYveHw:0:0::0:0:System Administrator:/var/root:/bin/tcsh".

Step 6) Finally, they'll use a cracking program like John the Ripper for the PC, or the Meltino, a Classic Macintosh application, to crack the password hash.

And when it's finally cracked it, they've got the password!
now can we play nice?
Image

Dirk Gently
Commando
Posts: 2047
Joined: Sun Oct 21, 2007 2:34 pm
Location: 3C0E9056
Contact:

Re: Hack YOUR Mac in 30 secs

Post by Dirk Gently » Sun Feb 14, 2010 4:32 pm

codemonkey wrote:and so now, you have only validated my previous statement that this is a problem, one which can be countered by setting the firmware password. unfortunately more people know how to do this even less than boot into single user.

also looking this up on the web will garner the same results

here is an example
SecureMac.com wrote: Exploit

Step 1) Restart the computer (or turn it on if it's already off) while holding down the command and s keys at the same time. (If the computer is running Mac OS Public Beta, just press the s key.) They have root privileges at this moment, but now it's time to take advantage of these privileges.

Step 1.5) Type "/sbin/fsck -y". (Type this without the quotes, of course.) (This step really isn't necessary at all, but it just takes a second, and they might as well just do a quick check of the hard disk before mounting it.)

Step 2) Type "/sbin/mount -wu /" (This mounts the volume "/" with read/write access.)

Step 3) Type "/sbin/SystemStarter" (This starts the network services, which is necessary to gain access to NetInfo.)

Step 4) Here, one could now just type "passwd root" and override the existing root password with one of their own, or worse yet, someone could just get the current root password (and/or the administrative user account password) so the administrators of that computer don't know that their security has been compromised. One of the easiest ways to do this is to just type "nidump passwd ." and write down the root account's password hash. (The hash will be the text that looks like just a garbled mess of alphanumeric characters between two colons.)

Step 5) Now one can type up what they wrote down into a plain text file like the following example: "root:rQkFQ37SYveHw:0:0::0:0:System Administrator:/var/root:/bin/tcsh".

Step 6) Finally, they'll use a cracking program like John the Ripper for the PC, or the Meltino, a Classic Macintosh application, to crack the password hash.

And when it's finally cracked it, they've got the password!
now can we play nice?
I did not validate any of your statements, I am saying that everything you have said is cancelled out by the fact that you can install a firmware password. Last time I installed OS X I was able to install a firmware password. Also if it was not for this so called "security hole" I could not have fixed probably at least a dozen macs that had problems and could not boot.

Fortune
Ranger
Posts: 888
Joined: Sun Oct 04, 2009 1:40 pm
Location: NYC, baby

Re: Hack YOUR Mac in 30 secs

Post by Fortune » Wed Feb 17, 2010 5:03 pm

I tried doing this once. I screwed up. Probably cuz i have bad handwriting >.<
Anyways, there are about 200000 (and alot more zero's) tutorials explaining how to do this and explaining it in more depth and giving a full explanation of what it does. Soooo. meh.
no offense. just ive seen it before.
ᕦ( ͡°╭͜ʖ╮͡° )ᕤ

Visiting this website is filled with nostalgia. Its like going to an old home.

Thank you for all the memories. Never change.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 18 guests