Concerned about spyware and drive-by downloads on my Macbook Pro

Hello!


I'd like to preface this discussion by stating that I am a very, very paranoid person. Currently I'm wearing a "tinfoil hat," so to speak. I know that there are a bunch of procedures in the Mac OS Firmware that protect the computer from malware installation, but I came to try and put this paranoia to rest with the help of external input from other users.


A while ago, I became very concerned that I may have gotten a keylogger from an email sent by Google. (It was one of those "security alerts" that I found out was legitimate.) I searched the internet for information regarding whether or not a mac could get infected by such forms of spyware- and I found that the only means to be infected involved someone with my admin password gaining access to my computer, or through downloading programs and providing my own admin password to bypass Gatekeeper. I then stumbled across a thread from 2012, wherein one user provided a URL- http://www.keylogger-for-mac-os-x.com/how-to-detect-a-mac-keylogger.html


Because I was unaware of the link's contents (instead of the URL, there was a hyperlink reading "how to detect a Mac Keylogger") I clicked it blindly. I'm kicking myself for doing this. Essentially, the link led to an HTML page stating something about the Domain Name, or something like that. I panicked afterward, having read about drive-by downloads in the past.


I ran the site through a VirusTotal scan, and 0/64 sites detected it as malicious. I also ran a computer scan with MalwareBytes, which showed that I was clean. However, I am concerned about Mac's vulnerability to drive-by downloads. I am using the Google Chrome browser, rather than Safari- (I feel that's somewhat relevant information.)


My computer is running High Sierra, v 10.13.3. It is a late 2016 model (with a touchbar.)


If someone could update me about the vulnerability of a High Sierra macbook to drive-by downloading on Chrome, that would be great. I just want to ease my paranoia, as it's becoming a pretty serious detriment to my overall mental health.


If any further information is needed, let me know and I can provide it.

MacBook Pro TouchBar and Touch ID

Posted on Aug 27, 2018 11:46 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 27, 2018 5:39 PM

mckaze wrote:


Given my (likely misplaced) concerns about the legitimacy of the file, knowing its function is reassuring. The only thing I am still curious about is why it is unnamed in the activity monitor? (It shows up as a blank entry.)


Is that out of the ordinary?


It's just a bug in the OS. Apple's "FollowUpUI" program (located at /System/Library/PrivateFrameworks/CoreFollowUp.framework/Versions/A/Resources/F ollowUpUI.app) has an error in one of its metadata files. Apps are able to adjust their metadata for various reasons. A common reason is to display differently in different languages. For example, if you change your language to French, your Applications directory will suddenly look a whole lot different:

User uploaded file

Take "Aperçu" for example. That's French for "Preview". There is a "display name" in the French metadata for Preview that makes it display that way in French. If you switch your language back to English, it goes back to "Preview" as if nothing happened.


For whatever reason, the FollowUpUI app from Apple has a "display name" in the language-independent metadata file - and it is blank. Therefore, it shows up in Activity Monitor as a phantom process with no name. Someone else mentioned this issue a while back so that is how I know about it. I wasn't able to find the thread where it was discussed.


To clarify how Safari works, it is possible to do "drive-by" downloads of files. That is how the whole web works in the first place. When you came to this site, you didn't specifically request to download 2 HTML files, 35 images, 25 Javascript files, and 17 stylesheet files, but that's what it did. Safari silently handled most of those files without issue. But sometimes, there can be a bug in the software of the web server and some of those files might get downloaded to your Downloads folder. And sometimes, true malware can attempt a drive-by download too.


But the important thing to remember about a Mac is that your Downloads folder can be stuffed to the brim with real, live malware and it won't hurt a thing. Just having files sitting on disk can't hurt you. They would have to be installed and executed before they could cause any harm. That is where Apple's malware protection that leroydouglas so nicely described above will kick in.


That is also where most antivirus companies try to fool people. They try to make people think that those files are harmful. Maybe you could figure out how to disable all of those layers of Apple security protection (hint - it's not easy). Maybe you would feel a sudden urge to e-mail those Windows viruses in your downloads folder to all your friends using Windows. That is why they want to scan your whole disk. They always find something. But most often is is some critical index file deep within your Mail or Photos database and it quarantines the file, thereby corrupting your Mail or Photos data.


I can't claim that Apple is perfect. After all, I just described a silly bug that would take 2 minutes to fix. But generally, someone's Mac is the most secure they day they open the box. Humans are always the weakest link. Cracking through Apple's defences is hard. Most savvy hackers just display a fake "you've been infected with 3 viruses" pop-up or a pop-up that says "Flash Player outdated - download update to watch Avengers: Infinity Wars for free!". Sadly, too many people will click through, bypass Apple's security, and install the malware. On a Mac, you have to make an effort to install malware.

Similar questions

16 replies
Question marked as Top-ranking reply

Aug 27, 2018 5:39 PM in response to mckaze

mckaze wrote:


Given my (likely misplaced) concerns about the legitimacy of the file, knowing its function is reassuring. The only thing I am still curious about is why it is unnamed in the activity monitor? (It shows up as a blank entry.)


Is that out of the ordinary?


It's just a bug in the OS. Apple's "FollowUpUI" program (located at /System/Library/PrivateFrameworks/CoreFollowUp.framework/Versions/A/Resources/F ollowUpUI.app) has an error in one of its metadata files. Apps are able to adjust their metadata for various reasons. A common reason is to display differently in different languages. For example, if you change your language to French, your Applications directory will suddenly look a whole lot different:

User uploaded file

Take "Aperçu" for example. That's French for "Preview". There is a "display name" in the French metadata for Preview that makes it display that way in French. If you switch your language back to English, it goes back to "Preview" as if nothing happened.


For whatever reason, the FollowUpUI app from Apple has a "display name" in the language-independent metadata file - and it is blank. Therefore, it shows up in Activity Monitor as a phantom process with no name. Someone else mentioned this issue a while back so that is how I know about it. I wasn't able to find the thread where it was discussed.


To clarify how Safari works, it is possible to do "drive-by" downloads of files. That is how the whole web works in the first place. When you came to this site, you didn't specifically request to download 2 HTML files, 35 images, 25 Javascript files, and 17 stylesheet files, but that's what it did. Safari silently handled most of those files without issue. But sometimes, there can be a bug in the software of the web server and some of those files might get downloaded to your Downloads folder. And sometimes, true malware can attempt a drive-by download too.


But the important thing to remember about a Mac is that your Downloads folder can be stuffed to the brim with real, live malware and it won't hurt a thing. Just having files sitting on disk can't hurt you. They would have to be installed and executed before they could cause any harm. That is where Apple's malware protection that leroydouglas so nicely described above will kick in.


That is also where most antivirus companies try to fool people. They try to make people think that those files are harmful. Maybe you could figure out how to disable all of those layers of Apple security protection (hint - it's not easy). Maybe you would feel a sudden urge to e-mail those Windows viruses in your downloads folder to all your friends using Windows. That is why they want to scan your whole disk. They always find something. But most often is is some critical index file deep within your Mail or Photos database and it quarantines the file, thereby corrupting your Mail or Photos data.


I can't claim that Apple is perfect. After all, I just described a silly bug that would take 2 minutes to fix. But generally, someone's Mac is the most secure they day they open the box. Humans are always the weakest link. Cracking through Apple's defences is hard. Most savvy hackers just display a fake "you've been infected with 3 viruses" pop-up or a pop-up that says "Flash Player outdated - download update to watch Avengers: Infinity Wars for free!". Sadly, too many people will click through, bypass Apple's security, and install the malware. On a Mac, you have to make an effort to install malware.

Aug 27, 2018 12:24 PM in response to mckaze

Hello mckaze,

Unless you have disabled the Mac's built-in security protection, then it is not possible to have any "drive-by" installs. Any software you download from the internet will alert you that it was downloaded. If the software isn't signed, as most malware and adware isn't, then you will be blocked from installing it. If you force the OS to bypass that and attempt to install known malware, then the OS will still block it.

Aug 27, 2018 12:24 PM in response to mckaze

Apple uses its Software Update service (which also drives the system software updates that show in the App Store or via the softwareupdate command-line tool) as a mechanism for installing “background and critical” updates that are installed silently in the background with no notifications to the user.


You are not going to find detailed information on GateKeeper, XProtect, MRT, SIP outside the walled garden of Apple. This would give all hackerware/malware a leg up.


The macOS uses these to combat malware:


Gatekeeper mechanism, central to security services, which tries to ensure that any code loaded is ‘safe’. Code signatures are only part of this.


XProtect checks the security and integrity of files in broader ways too. Vulnerable document types, such as JPEG images, are also screened to ensure that they’re not malicious.


Apple’s Malware Removal Tool an app which often complements XProtect’s signature-based screening, and can automatically remove all traces of many different species of malware.


System Integrity Protection which ensures that nothing can tamper with key system files, or even Apple’s bundled apps.

Aug 27, 2018 1:10 PM in response to mckaze

The key philosophy behind what MacOS does is that bit-patterns, even patterns that are the same as known viruses, and not inherently malicious. Feel free download known Viruses onto your Mac all day long.


The real threat is allowing those patterns to become executable, or be stored in system directories, or to modify anything in system directories.


MacOS built-in protections are built around that choke-point.


"Downloaded something bad to my Mac..." -- not to worry. Unless you give permission, it cannot be installed, and it can not hide in System Directories.

Aug 27, 2018 1:23 PM in response to mckaze

that this means I have very little, if anything, to worry about, correct?

yes, BUT: this does not excuse you from being Vigilant.


If you get a Flash Player update that tells you it came from flash.MalwareWorks.net and you install it anyway, then you will have malware installed.


ElCapitan implemented System Integrity Protection, which locked the System Directories and put away the Root user. If you defeat that, you can "catch" spontaneous infections.

Aug 27, 2018 7:49 PM in response to mckaze

MalwareBytes was written by a member of these forums a few years ago. It was called AdwareMedic then. MalwareBytes bought him out and now he jets back and forth to security conferences and doesn't post much here anymore.


DetectX is also written by a member of these forums. This fellow hasn't cracked the big time yet, but is trying. He also hasn't posted here for a long time.


To date, no one has made any offers for EtreCheck. I am continually working on the next great EtreCheck version, so I don't much much anymore either.


We are all more or less reputable, some more and some less. Obviously I'm biased towards EtreCheck, but both MalwareBytes and DetectX are also legitimate apps. It is good to be vigilant though. There are many other apps, with bigger marketing budgets than all of us combined, that are far less legitimate. When in doubt, do a search on Apple Support Communities and look for a consensus. There are a handful of other honest forums you could search too. But a general web search will return mostly scams.

Aug 27, 2018 1:46 PM in response to mckaze

mckaze wrote:


One more thing I found notable;



"/System/Library/PrivateFrameworks/CoreFollowUp.framework/Versions/A/Resources/F ollowUpUI.app/Contents/MacOS/FollowUpUI"




There will literally be 100's if not 1000's of things you are going to see in Activity monitor you will have no idea about.


your ".../FollowUpUI" loads MapKit, CoreFoundation, AppKit, CoreLocation, and Maps etc.



I suppose if you use Xcode you could open the .NIB files to examine the GUI and then you can tell me.

Aug 27, 2018 1:18 PM in response to Grant Bennet-Alder

So even if the site I visited did download some form of malware or a keylogger, are you suggesting that the keylogger would have no way of running without my express permission? (Admin password and an installation process, and all that?)


I'm the only person with access to this computer, so I assume that this means I have very little, if anything, to worry about, correct?


Just to reiterate I'm a very paranoid person by nature, and this field of programming scares me quite a bit. However, it is interesting to learn more about the security protocols that Apple puts into place to protect users against this type of stuff.

Aug 27, 2018 1:32 PM in response to mckaze

One more thing I found notable;


I looked in the Activity Monitor to view all my running processes and found an unnamed process- it had a standard application icon. The area where the process name would be displayed was blank.


Any idea what that might be? I'm probably just taking something minor and blowing it out of proportion, if what has been said already about malware and keylogging programs not being able to install themselves is true. Using Terminal, I looked up the application's PID, which gave me this:


"/System/Library/PrivateFrameworks/CoreFollowUp.framework/Versions/A/Resources/F ollowUpUI.app/Contents/MacOS/FollowUpUI"


If someone could explain to me what this process is and what its function is, I would be super grateful. Thx- mckaze

Aug 27, 2018 1:38 PM in response to leroydouglas

According to terminal, I'm running V2099. That's a relief- my system protection seems up to date. Apple's lack of mentioning these functions seems to be a good security feature in and of itself, honestly- I'm no programmer, but it seems like it would be very difficult to generate malware given only minimal knowledge of how the OS' built-in defensive processes run.


Regarding Grant's answer;


Even so, the installation of this hypothetical malware is still authorized by the user, correct? I'm generally very vigilant about applications and programs that are installed onto the computer- I was more scared of what could potentially be installed without my authorization. However, it seems that there isn't much to worry about given your answers (hopefully 😕)

Aug 27, 2018 12:07 PM in response to etresoft

Ok, so essentially- a Macbook cannot get drive-by downloads because the system notifies the user of any programs that have been installed and requests permissions to proceed with the installation? If so, then that's a sigh of relief.


You also mentioned; "Any software you download from the internet will alert you that it was downloaded."


Is this an OS X-specific security protocol? I've heard that on PCs drive-by installs exploit vulnerabilities in browsers to install software without notifying the user at all, let alone requesting user permissions.


I don't mean to come off as distrustful. I just want to be absolutely certain that my computer is safe. Also, I've used your software to try and diagnose any preexisting issues on the computer- EtreCheck does a great job of running diagnostic and performance checks.

Aug 27, 2018 1:32 PM in response to mckaze

mckaze wrote:


Is the Software Update Service apple's only means of installing programs silently?


Apple, true to form barely mentions these crucial systems in its documentation, and as far as I know never publicly announces pushing these security updates.


Yes the only means—the Software Update Service is how you stay up to date, current and protected.



You can see the current version of XProtect on your machine, the last XProtect update was version 2099.


If you are familiar with running terminal commands, copy and paste:


defaults read /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta Version

Aug 27, 2018 1:53 PM in response to leroydouglas

Given my (likely misplaced) concerns about the legitimacy of the file, knowing its function is reassuring. The only thing I am still curious about is why it is unnamed in the activity monitor? (It shows up as a blank entry.)


Is that out of the ordinary?


Apologies if I'm digging too deep into this. I feel that my computer is otherwise most likely fine.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Concerned about spyware and drive-by downloads on my Macbook Pro

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