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

I have a trojan on my mac. The trojan downloads illegal content until my hard drive is full. How do I remove the trojan?

I noticed that my hard drive was getting full to the point that my computer had no space left. OmniDiskSweeper told me where all the data was. When I went to that folder I saw a TON of illegally downloaded content. I immediately trashed it to get my drive space back, but noticed something was downloading these files again. ClamAV did not find anything and Sophos has been running very slowly. Does anyone know what this is or how to remove it?

iMac, Mac OS X (10.6.8)

Posted on Aug 7, 2013 5:27 AM

Reply
Question marked as Best reply

Posted on Aug 7, 2013 5:31 AM

This sounds like you might have downloaded something and then authenticated and installed it.

Did you download something recently and subsequently started noticing this problem?

If so, the sure way to elimiate it would be to reinstall OS X after using Disk Utility to reformat the drive, perhaps doing a secure erase as well. I hope you've got a good backup of any files that you can't recreate easily.

53 replies

Aug 9, 2013 3:26 PM in response to Linc Davis

"That's the PID file. All it would contain is a process number."


Yes, we've been discussing it off-line with a colleague, but it's the next logical step to try and identify the parent process that's using the script. Problem is that I sense that it's shut down due to the HD being full or user activity.


The only other approach I can think of at this point would be to check the date the "update" file was created and see if the installer log for that date would tell us what else was installed and the name of the installer package file.

Aug 10, 2013 5:11 AM in response to Topher Kessler

Topher Kessler wrote:

...but if you want to limit your uses to the Mac App Store, then go ahead and install iAntivirus from the store, which has a couple of decent drawbacks over Sophos and others, primarily because Apple's policies for apps in the store limit their abilies, not only in keeping updated in a timely manner but also in the scope of what they can do for the user.

Since Apple does strictly limit the capabilities of apps downloaded from the Mac App Store, users needing more powerful, full-featured apps are often advised to download them only from "well-known" or "trusted" developers.


That's fine, but in practice it often isn't easy to determine if a developer is very well-known or trustworthy, or even if the download has arrived intact & free of any malicious tampering.


To help with that, Apple developed GateKeeper, a new feature of 10.7.5 & Mountain Lion. That gives users several options, one of which is to allow applications downloaded from both MAS & "identified developers" to open & run. (This is the default setting in Mountain Lion.)


It isn't foolproof -- "identified developers" are basically just those that have obtained an Apple developer ID -- but supporting Gatekeeper is a pretty good indication that the developer is legitimate, & maybe just as importantly that the developer is actively maintaining the app to keep it compatible with the latest versions of OS X. Another benefit is that Gatekeeper detects tampering in developer ID-signed apps.


BTW, in case anyone is wondering, Sophos supports Gatekeeper. The company has also released an updated version of its Mac app specifically for Mountain Lion, so if you decide to install it, make sure you download the right version for the OS you are running.

Aug 13, 2013 6:19 AM in response to skier53091

I haven't heard anything back from contacts at several anti-virus companies yet, though of course it was the weekend. So I'm no wiser as to whether this is actually malware or is just something weird being done by legit software.


According to Linc, the "payload" is in the file named "bash." If you could, go to the /Library/Updates folder and look for that file. Assuming you find it there, please upload it to VirusTotal. Then post a link to the analysis page that you are directed to.

Aug 13, 2013 8:36 AM in response to Linc Davis

Honestly I don't. Around the time that it was sited the first time I had a big deadline coming up, so I wasn't installing much (if anything at all). Given that, I won't be able to remember what it is without somehow jogging my memory. Do you think there is any way to see what it was claiming to be when I installed it?


To answer the previous question about the PID, it is 255 which is associated with bash.

Aug 13, 2013 9:49 AM in response to Linc Davis

total 2584

-rw-r--r-- 1 501 80 4 Aug 8 10:50 .apache

-rw-r--r-- 1 501 80 14664 Feb 18 18:51 .syatem

-rw-r--r-- 1 501 80 14664 Feb 18 18:50 .syatem~

-rw-r--r-- 1 501 80 228 Aug 13 12:45 .system

-rw-r--r-- 1 501 80 228 Aug 13 12:42 .system~

-rw-rw-r-- 1 0 80 776582 Aug 5 16:01 ProductMetadata.plist

-rwxr-xr-x 1 501 80 486672 Dec 6 2012 bash

-rw-r--r-- 1 501 80 5976 Aug 6 15:22 l

-rwxr-xr-x 1 501 80 542 Dec 6 2012 update

drwxrwxr-x 4 0 80 136 Sep 4 2012 zzzz041-6245



/Library/Updates/zzzz041-6245:

total 1936

-rw-rw-r-- 1 0 80 10123 Sep 4 2012 041-6245.English.dist

-rw-rw-r-- 1 0 80 976792 Jun 15 2012 iTunesLibrary.pkg

I have a trojan on my mac. The trojan downloads illegal content until my hard drive is full. How do I remove the trojan?

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