Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mac was hacked on local network by roommate-how to re-install my files w/o reistalling command/terminal hack codes?

I have a Mac Book Pro running latest version on Mountian Lion
Processor 2.3 GHz Intel Core i7

Graphics Intel HD Graphics 4000 512 MB

Memory 8 GB 1600 MHz DDR3

Software OS X 10.8.3 (12D78)


My roommate hacked my Mac. I assume he did this via an old Mac he use to have access to, & then made changes via his PC & his Android phone (can tell by comparing Terminal to Access & Little Snitch) & since the codes I found all were as my User name & as Root Access... Thinking he started gaining access through the weak spot via Reboot Disk & Terminal access from there-though he denys it completely... (But I printed it all out) He accessed ALL my passwords & at the time I didn't know that as I kept trying to change things & lock things up... he was getting hidden files of EVERYTHING I WAS DOING & had remote access to my system, anything I did & camera on my mac.

He hid files with sudo codes in Terminal & had constant any access via remote access, booting, starting or turning off as well as secretly deleting any files or notactions he wanted. He was ghost.

So now not only did he has complete access to my computer & camera... He would enter my room & take what he wants & then access my computer to delete EvoCam files/videos/pics.

He also has been tracking everything I do on my computer and assume he has figured out how to hack my phone by now as well.

He will be an EX-ROOMMATE as soon as I can legally get him out. But until then I am stuck. (Buying locks for all 3 of my bedroom & closet room access doors too!)

I currently have him blocked off the local network & internet. But that won't last long.

I jcopied over to my external hard drive all my important info, pics, files and just deleted the rest.
It took many hours to get my mac to actually delete everything (I HOPE) & then finally let me re-load Mountain Lion. Now I am slowly adding back programs. I think he was also using the Windows interface & some Windows program to sneak past my firewall & all the stops I put up to block him off local.net.

Changed ALL my passwords again-already. Hopefully by zeroing out my hard drive numerous times that it deleted his lines of codes.

Tested in Terminal some of the lines of codes he used (Just lsof & ls -a, history, etc)


SOOO MY QUESTIONS ARE:

Is there a way to let him use the network without him being able to access my Mac??

I have ALL ways I can find to turn off any file sharing, local or remote access... but I did that last time & he figured out a way around it!

My Nework is on a NETGEAR Range Max N wireless router. I configured it this time via Ethernet instead of by Wireless-made my Mac only machine to make changes & only via Ethernet access. (Gave Ethernet & Wireless each their own IP address.)

I also turned off the remote access again, locked in IP addresses to specific machines/phones/Pads... IE 192.168.1.2... on Router.

I also installed Little Snitch, Have Tech Tools 6... Need a good virus protection... (did find some crap only in a couple of my emails when I used one I downloaded as a trial before the re-format... )

Worried about installing Windows again.

How do I block him from getting root access again?

How do I keep him from hidding any codes?

Thank you in advance for your help & suggestions! 🙂

MacBook Pro (Retina, Mid 2012), OS X Mountain Lion (10.8.3), Netgear router

Posted on Apr 23, 2013 4:52 AM

Reply
19 replies

Feb 11, 2017 2:15 AM in response to felix10005

Don't be so quick to judge.. Same thing happened to me.

I Was living with a family member I have just been intorduced to and he often asked to use my "big screen". ASSUMING he didnt know much about computers because I was told by other family members he is as dumb as a box of rocks. (My family is a bit of a mystery, obviously). I began to notice on my iPhone from looking random request and looking into my data usage. I began to look at my MacBook Pro and there were duplicates of multiple files. What really got me was when I would deny request or view certain things on my iOS devices. I could hear his initial responses from room. I confronted him about it and he blamed my uncle. I'm 100% certain and I do not have a problem CONFRONTING police about it considering I know he has a warrent out for his arrest... but I do not have any real physically evidence . I began to get extremely paranoid getting into fights with my mother and father because no one would hear me out and believe me. Then finally turned to me when all of our iPhones were set with some kind of SIM code. And now because i do not have MUCH knowledge about Mac's(just enough to understand what was happening) I have put myself in the worst possible situation. I had left the house HE was staying at to try and figure things out myself (yes, I called apple but I was assured to bring it in/ which I couldn't because how dire it was for me to get out of the situation OF my living environment). Explaining is a hassel and only you people can understand.

I had moved locations and connected my wifi to somewhere MUCH farther . He had set key passwords into my keychain access (which I didn't even know about) with the same name as the wifi at the house HE stays in. Soon I couldn't enter my OWN login account due to being paranoid and very VERY sensitive to my privacy. Basically I was freaking out. Somehow I entered the computer as root and tried deleting the key access password . BUT I needed a different password for that to. Doing some of my own work, like downloading the OS Sierra and UNENCRYPTING my file fault1(realized how BAD AND STRESSFUL THIS WAS AFTER) I reset my Mac by clicking on the OS Sierra update. I also had reset all keychain access and moved the keychain access SCRATCH FILE to my \system. Once loaded , I was COMPLETELY logged out of my Mac with no way to log into even the root user. I tried putting my Mac through a new boot thinking the new update would wipe out all modified files. JUST THE OPPOSITE. I was confronted with a Lock when I would hold COMMAND + R at shut down ..... Later reading this is a FIRMWARE password. The last 6 days have been nothing but passwords, research , and HEADACHE. Also reading there is no simple and current fix to this solution. Great.. 2000$ MacBook and iPhone with no security or let alone ACCESS. I do not have a problem bringing it either just been extremely busy with work and moving in to the new apartment. I've changed my iCloud password ,but would not be surprised if he somehow gets in and delete this forum comment. If anybody has any general knowledge about SOLUTIONS. Please respond ASAP.

This has come to a point I'm using a old neihbors phone almost 100 miles away.

Apr 23, 2013 6:13 AM in response to R C-R

LOL... You don't know how many times I wanted to do something like that!

Well I have three doors that access my room & I will be putting locks on them today. So he shouldn't have access to my Mac when the doors are locked or I am home. Which should remove that threat.


BUT... by reinstalling Mountain Lion & erasing old hard drive does that remove all the old terminal codes he installed?


AND... how can I install my old documents, pics, etc to my machine safely?


AND... Can he still hack access my Mac via local.net if I have sharing off, remote access off, etc??

Apr 23, 2013 6:17 AM in response to jtassel01

First, it's really not possible to hack a properly-secured Mac over the network. Keep everything in System Preferences -> Sharing turned off, don't install any third-party software that opens your Mac up to remote access (like LogMeIn), properly secure your iCloud account with a strong password that your roommate does not know, etc. Then it won't matter a bit if he's on the same network as you.


The bigger issue, as R C-R as pointed out, is physical access. Someone with unsupervised physical access to your machine can do ANYTHING. If you cannot control that, you will need to add a firmware password to your Mac, start using FleVault to encrypt the entire hard drive and make sure to log out any time you're not using the machine. That will limit what he is able to do pretty significantly.


As for handling the situation now, if he has had u restricted physical access... You have to consider the machine totally compromised. You will need to erase the hard drive and reinstall everything from scratch, and be very cautious about how you restore data. Follow the steps here:


http://www.thesafemac.com/how-to-reinstall-mac-os-x-from-scratch/


Anti-virus software would not help, because there are all manner of ways to set up remote access without using any malicious software at all. Little Snitch won't help for these purposes at all either, nor will Tech Tool.


Finally, if you actually have proof that he hacked you (it's EXTREMELY common for people to misinterpret normal behavior as hacking), it would not be unreasonable to lock him out of your network. Of course, when you're not around, he could always reset the wireless router or unplug it and connect directly via Ethernet... But you don't have to let him use it when you're there. (Make sure he's not paying for that service anymore, to avoid possible legal issues.)

Apr 23, 2013 6:18 AM in response to lkrupp

Yeahhh... reporting to cops would seem logical, but he has friends on the force around here in high places... plus I deleted the old hard drive... All I have are the few print outs of the terminal codes & thumb drive which looks like I did them... (He access says he was me & also hides everything-he is Mensa smart & computer wiz...sooo frustrating... but I'm not that good but I was good enough to figure it out & I understand the concept of Terminal... but it has been wayyyy tooo long since I have actually used it.. time to buy a NEW book I guess!)There is nothing to tie him to atually doing it.


I have confronted him but he has prove track record of being a liar... Just like he didn't steal money, medication (locked in my safe-mind you!) plus didn't drink my alcohol either! It has been ****!

Apr 23, 2013 6:18 AM in response to jtassel01

BUT... by reinstalling Mountain Lion & erasing old hard drive does that remove all the old terminal codes he installed?

Yes. The problem comes in making sure everything you add back to it after that is completely free of code that could be used to compromise the Mac again. I'm afraid I don't have any really good ideas about how to do that.


AND... Can he still hack access my Mac via local.net if I have sharing off, remote access off, etc??

No, he can't do that -- assuming he can no longer gain physical access to the Mac & you don't inadvertently add something back to the Mac that could turn either of those things back on.

Apr 23, 2013 6:43 AM in response to jtassel01

Your Mac is new enough that it can be greatly locked down, to prevent most access even with physical access to the machine. To do this, first enable a firmware password on the system (see here: http://reviews.cnet.com/8301-13727_7-57542601-263/efi-firmware-protection-locks- down-newer-macs/) and then enable FileVault disk encryption in the system preferences. Also be sure to set up all backups to be encrypted as well, and you should be good to go.


Unlike prior systems where the firmware password could be bypassed by altering the system's hardware, new Macs made in 2010 and later include a new firmware protection routine that cannot be reset in this manner. The only way for someone to do this is to either solder an unlocked firmware password chip onto the motherboard, or have an Apple Store call in an unlock code to Apple's headquarters to reset the password.


This firmware password will prevent the system from being booted to Safe Mode, Single User mode, to any secondary boot discs, or have hardware parameters like the PRAM be reset. These are all boot modes that a hacker can use to reset user passwords and other details in order to get into the system.


With FileVault enabled, you will in addition prevent anyone from taking the hard drive out and being able to access your data from a second computer. This is the final bolt that in effect will lock down your Mac.


Beyond this, just be sure you have screensaver/sleep passwords set so if you leave your system the computer will require authentication for people to continue working.

Apr 23, 2013 6:45 AM in response to thomas_r.

Well when he hacked it.. he took control of root & istalled a couple of programs from what I could tell-unforchantly don't have print outs of that.


He added ARDAgent, .user.sbin/aonotifyd lsoscript -e 'tell app ARDAgent diskutil list pdisk ls root ls local.com sudo ~/ .bsh.profile... was the part I started printing at...


WHAT THE HECK IS: jbapps-


then he went into mdworker, then added private screensharing.agent.launchd,

then private event

then private mdsDirectory.db

then private messages mdsDirectory & se_SecurityMessages, & Private screensharing agent

then accessed root access & got a list of every password that I had & used...

Then installed Microsoft office \2011\Office\uniscribe.framework\Versions\12\Uniscribe

the WLMUser.framework then accessed atcp:8254

then core tools

the path/to/file.txt

then netbiosd

then networksetup

then newsyslog

the defaults write com.apple.finder AppleShowAllFiles TRUE

RSA_SecurID_getpasswd

NetBootClientStatus

diskmanagementd

aosnotifyd

asr

automount

avbdeviced

PasswordService

pboard

ocspd

ntptrace

postalias

pwd_mkdb

racoon

sercurityd

slapd

snmetadump

systemkeychain

systemsetup

tcpdump

universalaccessd

autopen

bootpd

Microsoft SyncServicesAgent

Code Signature & Resources

osascript]remote management

lastdate

USER_IS_ADMIN=ADMIN

hostname & domainname

NetAuthAgent.app/Content?MacOS

chflag hidden /mach_kernal

sudo password root

man sudo list

finger lst User EventAgent launch User Event Plugins...



and on & on & on...



He got drunk...really drunk one night & told me that he saw something in my room... and then I found he had hidden the Facetime camera & an account had been setup which I never set up...

A couple of programs got installed that I never install too. Plus when I went to reinstall my Mac there were four choices listed of places I could "istall Mountain Lion" to. One listd was my thumb drive-duh,, one was the hard drive, one was a PC Windows Drive??? the other was the partioned Reinstall part that Lion put on...


Yeahhh... going to have to put the locks on all 3 doors.. the router is in my room as well as the old Mac & the cable modem. But the internet cable runs through his room to get to mine....


I just have to get him out as soon as I can without cleaning me out first & setting it back up to where he has access to my machine or my phone.

I wonder if he has hacked my phone... is there a way to tell?

Apr 23, 2013 7:02 AM in response to jtassel01

You have some very good suggestions here. One that I don't think was mentioned was a clean install. First back up your own data. Then do a clean install install of OS X by booting up cmd-r, erasing the hard drive and using Disk Utility. Then do an interent recovery by choosing Install OS X. After that copy your data from backup back to your Documents folder.

Apr 23, 2013 7:10 AM in response to macjack

macjack wrote:

One that I don't think was mentioned was a clean install.

That was mentioned in his second post, although not in the detail you provided. Topher's suggestions are also good ones but they are after the fact so, as I see it, the big problem here is how to make sure nothing added back to the Mac could compromise it in some way.

Apr 23, 2013 9:27 AM in response to jtassel01

It certainly sounds like he's been up to no good, so I would definitely recommend the clean install, following the directions in the link I gave you to be sure that it is a truly CLEAN reinstall.


As for your phone, that depends on what it is. An Android phone is pretty insecure, though the details on what is possible aren't within the scope of my knowledge. Windows phones and Blackberries are completely outside my experience.


An iPhone is more secure, and if he hasn't had unsupervised physical access to it, it couldn't be hacked. Even if he did have physical access, he probably couldn't have hacked it without your noticing. He would have had to jailbreak it... Search for the Cydia app. If you find it, your phone has been jailbroken.

Apr 23, 2013 9:32 AM in response to jtassel01

Your roommate has demonstrated a complete disregard for your privacy, and may have stolen information such as credit card data and social security number. Check your credit reports at all 3 agencies, then freeze it (frozen means you need to unlock it to open more credit yourself).


Then get money from parents if the housing authority does not act within the week. Too much risk to your personal belongings in my opinion.

Mac was hacked on local network by roommate-how to re-install my files w/o reistalling command/terminal hack codes?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.