Another Malware/AntiVirus Inquiry: How to properly examine for possible Malware? (Sierra)

Hi I know this topic has been posted too many times to count. But a lot of the posts seem outdated and I'm wondering what the opinions have been for Sierra. I'm a graduate student studying economics. And having recently had to install so many windows based statistical analysis softwares on my MacBook Pro (10.12.3), I had to bypass gatekeeper quite a few times. I'm not terribly concerned as most of these installs came from trustworthy institutions. But I also had to install some scripts from Github and do some tinkering that I wouldn't ordinarily do. Most of them involved Python through terminal.


All in all, I just did a bunch of things that I have no clue of, and know isn't up to Apple "protocol". So I'm curious if anybody has a few methods of making sure the computer hasn't been compromised or tampered with in any way to make it less secure. The university offers free versions of Sophos but I opted for Bitdefender out of recommendations. I know some people don't believe in Anti-virus' in general and I've been down that road, but rather be safe than sorry for now. I know it's a vague question but just anything general would be helpful. It's also safe to say everything I download is either from an institution or Github.


Main reason I ask is I have sensitive data on the computer that I wouldn't wanna compromise; it's mainly work I've done for companies that includes my data analysis. I regularly backup/upload then delete from local HD to preserve security. But this can't be done extremely regularly which leads me to my question. What ways are there to check the network status, or activity of the system for irregularities? The system runs fine. I have Little Snitch installed, as well as the Sierra internal Firewall. I've ran scans but obviously that entire issue brings up the dilemma of having a signature for the malware etc etc.. So I know other than OS X being stupidly malware ridden, the scans aren't gonna be of much use.


Any help is much appreciated as I'm attempting a more preventative monitoring of the system. I'll have to continue using some experimental softwares made by professors, install scripts, and browse the internet from databases that require unorthodox settings for OS X to gain access to.

I've already disabled Java for everything on web except for the site specifics. I don't accept cookies unanimously unless I need to for a short period of time.


Again sorry for the millionth ask of OS X security but all help is much appreciated.

MacBook Pro, Mac OS X (10.5.7)

Posted on Mar 6, 2017 11:09 AM

Reply
9 replies

Mar 6, 2017 12:23 PM in response to alisheikhpour

Just to add to what has already been said, there is no such thing as 100% security. If that's what you would like, buy a new Mac and never open the box.


The biggest threat to a Mac is incompatible or poorly written software. Personally I think malware's biggest impact is it causes users an inordinate amount of time and stress, thinking about it and looking for it.


I've used Macs for 30 years and have yet had one infected. Could I get one? Yes. Could I be hit by lightning? Yes. I'm not going to spend one second of my time trying to prevent lightning strikes to my personage.


I run no AV software or Little Snitch type monitoring software.

Mar 8, 2017 1:22 AM in response to alisheikhpour

I know some people don't believe in Anti-virus' in general and I've been down that road, but rather be safe than sorry for now.


Security cannot be reduced to a trite expression. Modifying a Mac with non-Apple "anti-virus" products increases its exposure to threats due to the significant potential for vulnerabilities in those products.


But I also had to install some scripts from Github and do some tinkering that I wouldn't ordinarily do. Most of them involved Python through terminal.


It's incumbent upon you to know what you're installing, its purpose, its proper use and limitations, as well as its potential for unexpected operation. It's also incumbent upon you to know how to get rid of whatever you installed if you no longer need or want it installed. No one else knows what it is you installed, so all you could hope for is meaningless speculation based on literally no information. If you are concerned about something then the best solution would be to erase that Mac completely and reconfigure it as if it were new.


I'll have to continue using some experimental softwares made by professors, install scripts, and browse the internet from databases that require unorthodox settings for OS X to gain access to.


Next time you install something that you may not completely understand, install it on a sacrificial partition containing no personal or sensitive information. Erase that partition when it is no longer required.


The application firewall does not protect a Mac from malware.


I've ran scans but obviously that entire issue brings up the dilemma of having a signature for the malware etc etc.. So I know other than OS X being stupidly malware ridden, the scans aren't gonna be of much use.


That's correct, and is one reason that those products cannot provide the assurance you seek. To protect your Mac I suggest you read Effective defenses against malware and other threats.


If that's not enough for you, read: It might be time to stop using antivirus

Pull quote:

"The problem, from the perspective of the browser makers, is that antivirus software is incredibly invasive. Antivirus, in an attempt to catch viruses before they can infect your system, forcibly hooks itself into other pieces of software on your computer, such as your browser, word processor, or even the OS kernel.

"Furthermore, because of the aforementioned knotweed-style rhizomes of antivirus programs, the AV software itself presents a very large attack surface. As in, without AV installed, a hacker might have to find a vulnerability in the browser or operating system—but if there's AV present, the hacker can also look for a vulnerability there. This wouldn't necessarily be a problem if AV makers made secure software, but for the most part they don't."


The only suggestion would be to amend the title of that article. At least in the case of macOS and its OS X predecessors, there has never been a good time to install AV software on a Mac.

Mar 8, 2017 1:21 AM in response to alisheikhpour

Hello alisheikhpour,

I don't think that anymore, or at least very few people, don't believe in antivirus in general. Most people here on Apple Support Communities will not recommend any antivirus software for the following reasons:

  1. Apple already includes antivirus software.
  2. Most Mac antivirus software programs are converted from Windows and are not optimized for the Mac.
  3. Most Mac antivirus software programs focus almost entirely on Windows malware that are harmless on the Mac.
  4. There is still relatively little Mac malware activity. Most Mac malware takes the form of adware that is relatively harmless and easy to remove.
  5. Most Mac antivirus software does a particularly bad job on the Mac. They tend to flag legitimate files in error and ignore the adware that causes most problems.
  6. In general, pound-for-point, Mac antivirus software causes more problems than Mac malware.


For your specific situation, I have the following advice:

  • If you have to bypass Gatekeeper on case-by-case basis, make sure to control-click on files and choose "Open". Never completely disable Gatekeeper.
  • Python scripts from GitHub are probably going to be safe, as is most "tinkering". If you ever have a question, you can always ask here on Apple Support Communities. We can tell you exactly what those scripts are going to do.
  • If you have sensitive data, I strongly suggest enabling FileVault.
  • Firewalls, both the incoming one built into Sierra, and the outgoing one in Little Snitch, are essentially useless. For the internal firewall, it is a far better idea to turn off all sharing services in System Preferences. By default, the firewall will not stop any connection to them. And if you did a manual configuration to stop them from working, then they wouldn't work. So why use them? Little Snitch is a bit more useful because it prevents apps from "phoning home". But it is more likely to block legitimate activity. There is no way that most end users could differentiate legitimate network activity from something malicious.


My recommendation would be to run a little diagnostic program to help show what might be running in the background. Download EtreCheck from https://www.etrecheck.com, run it, and paste the results here. EtreCheck is perfectly safe to run, does not ask for your password to install, and is signed with my Apple Developer ID.


You don't have to paste the content here, of course, if you recognize everything in the report. But if you have questions, people here can explain what is going on in more detail. I am also actively trying to make EtreCheck more end-user friendly.


Disclaimer: Although EtreCheck is free, there are other links on my site that could give me some form of compensation, financial or otherwise.

Mar 6, 2017 4:39 PM in response to alisheikhpour

What others have said and...


I'm strongly in favour of having a privileged admin account and a second account for day-to-day use. In your case, you can add additional non-admin accounts for your economics, etc. In this way you can make a diy sandbox for your data and make sure that some rogue Python script doesn't hose your personal files while trying to calculate the national debt repayments.


C.

Mar 8, 2017 2:49 AM in response to John Galt

My apologies on the title; the fact that I included (Sierra) that way I thought would signify it wasn't really the crux of my concern. But I nonetheless appreciate your suggestion as well. I read through the above links and thought the information insightful. But it brought to my attention what I believe to be the real problem:


"It's important to understand the nature of threats that exist today, and to appreciate the fact that "anti-virus" software peddlers have been reduced to abject panic as their traditional Windows PC market suffers its inevitable decline.The cottage industry described in the first paragraph has since grown to a multi-billion dollar behemoth with entrenched interests — an enormous beast that demands to be fed."


The cottage industry that is end-user anti-virus includes the rest of the internet - now prone to all the same consequences (as well as rewards of course) that come with the endless pursuit of financial gains aka entrenched interests. I think it's incomplete to isolate the anti-virus segment of the tech industry, and with one fell swoop group them into the category of self-seeking capitalistic hordes who can't be trusted. Because when I hear "beasts that demand to be fed", I dont hear anything that discriminates between companies. All of us demand to be fed; no different if it comes from Adobe, Apple or some crap off CNet. So I believe your notions of what these anti-virus companies are trying to do, although might be accurate, can also be misleading. Everyone and everything that has a financial impact more or less has an agenda. That's why I even have the problem. Even this Apple Support Blog is not accidentally on Apple's domain.


Where there're financial pursuits, there will always be knowledge asymmetry. People who know more, and people who know less. Naturally, the next step is making money off the knowledge disparity. That disparity exists whether it be "reporting" the news, "reviewing" Apps, or even giving suggestions on Apple support. There's financial motives at play in all scenarios. All of this, of course, is only my opinion and leads to a conclusion that makes it difficult to trust information. But I don't think there's anything useful that comes from


"Use common sense and caution when you use your Mac, just like you would in any social context. There is no product, utility, or magic talisman that can protect you from all the evils of mankind."


1. Because this isn't "common sense". We're talking about scripts and code that I'm sure you didn't learn overnight. This is that same knowledge disparity I was referring to that even allows "average Joe's like me" to have questions like this. I have the need of highly advanced statistical analysis software but do I need to learn computer programming before I even touch the analytics? If I knew the purpose of every script I ran as you suggest, I couldn't imagine having this question. The need for computers these days need not be questioned, and to think everybody who needs one is going to be able to learn the ins and outs as you describe again is not likely.


2. This same knowledge gap, for instance, leads to stark contradictions from highly acclaimed sources. I wish I were kidding, but in undergraduate school, I took a basics computing course that happened to be taught by a professor in charge of the universities entire securities. He did this for CalTech and was also among the more famous expert witness' used by the federal state to recover illegal data erased for white-collar crime CEO computers. I'm not saying he was a God, but he was I would think reliable. He also had a Ph.D. I had no reason to doubt his credibility remotely. And he said, "those who don't install anti-virus on a Mac thinking they're less prone to a virus are naive." He brought up some anecdote about a company sponsored yearly competition to crack a computer for a prize. And the Mac being always the one easier to "crack".

So when people are telling you to install, then everyone accredited on the internet telling you otherwise we again have knowledge disparity problems. If all of us knew everything about proper security, you'd never see a question on support sites.

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.

Another Malware/AntiVirus Inquiry: How to properly examine for possible Malware? (Sierra)

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