TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to secure your Apple Mac against malware/viruses?

25 pointsby questionralmost 9 years ago
Are Macs just as susceptible to viruses&#x2F;malware as PCs? I&#x27;m under the belief that it is, but that less malicious code is written for the platform as its a smaller demographic of users.<p>Do you bother installing any &quot;anti-&quot; software? If so, which?<p>What further recommendations do you have for system configurations and tools?

8 comments

gameofdronesalmost 9 years ago
- IceFloor (since OS X includes pf)<p>- mDNSResponder -NoMulticastAdvertisements<p>- Hands Off!&#x2F;LS<p>- Vera&#x2F;TrueCrypt<p>- Samhain&#x2F;TripWire<p>- GPG Tools<p>- Homebrew packages<p>- a password manager<p>- 5x DNSCrypt-proxy instances round-robin&#x27;ed with dnsmasq<p>- Chrome&#x2F;FF<p>- TorBrowser<p>- i2p<p>- no unnecessary apps<p>- follow the NSA and other guides for securing OS X (FileVault 2, firmware password, don&#x27;t use iCloud Keychain, etc.)<p>- use DBAN on old systems and drives<p>Be aware that security has to be balanced and leave a usable device, and some security measures interfere with and&#x2F;or disable certain features.<p>And no flash&#x2F;adobe, browser java plugin<p>References:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;drduh&#x2F;OS-X-Security-and-Privacy-Guide" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;drduh&#x2F;OS-X-Security-and-Privacy-Guide</a><p><a href="http:&#x2F;&#x2F;docs.hardentheworld.org&#x2F;OS&#x2F;OSX_10.11_El_Capitan&#x2F;" rel="nofollow">http:&#x2F;&#x2F;docs.hardentheworld.org&#x2F;OS&#x2F;OSX_10.11_El_Capitan&#x2F;</a><p><a href="http:&#x2F;&#x2F;www.tenable.com&#x2F;blog&#x2F;hardening-os-x-using-the-nsa-guidelines" rel="nofollow">http:&#x2F;&#x2F;www.tenable.com&#x2F;blog&#x2F;hardening-os-x-using-the-nsa-gui...</a><p><a href="https:&#x2F;&#x2F;ist.mit.edu&#x2F;macosx&#x2F;1011" rel="nofollow">https:&#x2F;&#x2F;ist.mit.edu&#x2F;macosx&#x2F;1011</a><p><a href="https:&#x2F;&#x2F;walterkilar.wordpress.com&#x2F;2016&#x2F;05&#x2F;08&#x2F;apple-os-x-el-capitan-10-11-secure-configuration-guide&#x2F;" rel="nofollow">https:&#x2F;&#x2F;walterkilar.wordpress.com&#x2F;2016&#x2F;05&#x2F;08&#x2F;apple-os-x-el-c...</a>
评论 #12063741 未加载
评论 #12060175 未加载
ams6110almost 9 years ago
Have a separate administrator account that you don&#x27;t use for ordinary work. Your normal account should not have administrator privileges.<p>Don&#x27;t run Flash, Acrobat or anything else from Adobe.<p>Use a good ad-blocker<p>Never click on a link in an email, or open an email attachment.<p>I don&#x27;t run any antivirus on my Macs.
brianjkingalmost 9 years ago
Little snitch is definitely a good tool, built in Mac OS firewall, uBlock Origin, uninstall Flash or disable it another way. I&#x27;m considering trying out BitDefender for Mac, but I&#x27;ve never had an issue before without added protection. <i>knocks on wood</i>...
yellowapplealmost 9 years ago
The first step to securing any desktop computer, regardless of operating system, is to reduce your attack surface. Notably:<p>* Make sure your firewall&#x27;s enabled and strictly configured<p>* Don&#x27;t install arbitrary programs from the Internet<p>* Related to the above, <i>don&#x27;t pipe &#x27;curl&#x27; into &#x27;sh&#x27;</i>, and publicly scold anyone who&#x27;s negligent and&#x2F;or malicious enough to include that in the official installation steps of any program<p>* Make sure your web browser(s) is&#x2F;are up-to-date<p>* Install an ad-blocker on said web browser(s)<p>* Disable anything that involves running arbitrary Turing-complete code off the Internet, including Flash, Java, and <i>especially</i> Javascript. If some newfangled Wangular.js web-scale tangled mess of obfuscated code fails to run in your browser, then it&#x27;s up to you to make that choice to enable it.
atmosxalmost 9 years ago
Security != Flexibility and if you&#x27;re going to make your daily workflow hell, then <i>the hell</i> with security measures! That is not valid for your working desktop ofc.<p>Security is a collection of policies more than specific programs. You need an anti-virus to scan for malicious files, possibly the moment they are locally available.<p>I used to use littlesnitch, clamxav and spamsieve (since I don&#x27;t do mail filtering server-side). But never encountered any virus for mac. Everything claxmav was catching up was either false positives or spam emails with zip files which all ended up in the SPAM folder anyway.
alexmingoiaalmost 9 years ago
Some malware doesn&#x27;t even touch the file system nowadays - software like little snitch and tripwires are easily circumvented. All it takes is some remote code execution and you&#x27;re fucked, so the best strategy is compartmentalization and extreme caution as to what code you execute. Only run signed apps from the AppStore and remove flash, pdf, and Java from the browser. The most critical thing is never running anything that didn&#x27;t come from the AppStore and trusted vendors, and keeping OSX up-to-date.
akulbealmost 9 years ago
I&#x27;ve been a Mac user since 2004. Up until December 2015, I never ran any type of anti-{malware,spyware} software on my Macs.<p>Then I went freelance, and as part of the contract with my first costumer, they required I be running AV stuff on any of my machines that connect to their network. I happily complied.<p>My Macs run ESET. (Linux machines as well, consequently.)
0942v8653almost 9 years ago
Related: is it possible to use ClamAV without the daemon, etc.? I would like to run it manually on specific files&#x2F;dirs, but I don&#x27;t know if I can.
评论 #12061216 未加载
评论 #12061224 未加载