|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#76 | |
|
Zero-Day
Let's not forget about zero-day exploits, improperly sandboxed applications or plug-ins, users that run as admin, out-of-date operating systems, Adobe Flash Player (which has an auto-update daemon that can write to ''/Library/Internet Plug-Ins/'' at the very least), Java (which anyone with open-source software such as LibreOffice or OpenOffice will typically have installed), etc.
Malware software authors typically don't like to follow the rules that the OS puts in place, and there are many ways around those rules. Privilege escalation is not even close to impossible. I'm not an Apple hater— quite the opposite, really— but I also won't blindly assume that I'm safe because I have a Mac. Any computer with an internet connection and/or a user is potentially vulnerable. Quote:
---------- Just make sure that backup doesn't erase the previous evening's backup, since often people don't notice infections right away. Also, if your backup drive is connected to your Windows machine with write permissions and you get data-deletion malware on your machine... you're pretty much screwed. Make a Windows 7 Backup System Image to keep on a different hard drive every two weeks or so. |
||
|
|
0
|
|
|
#77 | |
|
Pre mountain on software. Or non App Store software. Remember that you can have both on the computer without jailbreaking it.
---------- Quote:
Common sense on the user part is a big factor in this. If you use some you are generally safe. If you don't, oh well. ---------- Malware sure, if the users are dumb enough to fall for these kind of stunts. But viruses, not really. There's been perhaps 1 Mac ox virus in the wild, the rest were Trojans. And most the same phishing stunt style |
||
|
|
1
|
|
|
#78 | |
|
This post is a response to posts stating that Windows is not less secure than OS X.
1) Until Vista, the admin account in Windows did not implement DAC in a way to prevent malware by default. Also, Windows has a far greater number of privilege escalation vulnerabilities that allow bypassing DAC restrictions even if DAC is enabled in Windows. Much of the ability to turn these vulnerabilities into exploits is due to the insecurity of the Windows registry. Also, more easily being able to link remote exploits to local privilege escalation exploits in Windows is due to the Windows registry. Mac OS X does not use an exposed monolithic structure, such as the Windows registry, to store system settings. Also, exposed configuration files in OS X do not exert as much influence over associated processes as the registry does in Windows. Mac OS X Snow Leopard has contained only 4 elevation of privilege vulnerabilities since it was released; obviously, none of these were used in malware. Lion has contained 2 so far but one of these vulnerabilities doesn't affect all account types because of being due to a permissions error rather than code vulnerability. The following link shows the number of privilege escalation vulnerabilities in Windows 7 related to just win32k: http://cve.mitre.org/cgi-bin/cvekey....yword=win32k+7 More information about privilege escalation in Windows 7: http://www.exploit-db.com/bypassing-...vista7-mirror/ -> guide to develop exploits to bypass UAC by manipulating registry entries for kernel mode driver vulnerabilities. https://media.blackhat.com/bh-dc-11/...nelpool-wp.pdf -> more complete documentation about Windows kernel exploitation. http://mista.nu/research/mandt-win32k-paper.pdf -> more complete documentation about alternative methods to exploit the Windows kernel. http://threatpost.com/en_us/blogs/td...net-bug-120710 -> article about the TDL-4 botnet which uses a UAC bypass exploit when infecting Windows 7. 2) Windows has the potential to have full ASLR but most software does not fully implement the feature. Most software in Windows has some DLLs (dynamic link libraries = Windows equivalent to dyld) which are not randomized. http://secunia.com/gfx/pdf/DEP_ASLR_2010_paper.pdf -> article overviewing the issues with ASLR and DEP implementation in Windows. Also, methods have been found to bypass ASLR in Windows 7. http://vreugdenhilresearch.nl/Pwn2Ow...tExplorer8.pdf -> article describing bypassing ASLR in Windows 7. Mac OS X has full ASLR implemented on par with Linux. This includes ASLR with position independent executables (PIE). DLLs in Windows have to be pre-mapped at fixed addresses to avoid conflicts so full PIE is not possible with ASLR in Windows. Using Linux distros with similar runtime security mitigations as Lion for a model, client-side exploitation is incredibly difficult without some pre-established local access. Of course, this is self defeating if the goal of the exploitation is to achieve that local access in the first place. See the paper linked below about bypassing the runtime security mitigations in Linux for more details. http://www.blackhat.com/presentation...slr-slides.pdf The author only manages to do so while already having local access to the OS. 3) Mac OS X Lion has DEP on stack and heap for both 64-bit and 32-bit processes. Third party software that is 32-bit may lack this feature until recompiled in Xcode 4 within Lion. Not much software for OS X is still 32-bit. But, not all software in Windows uses DEP; this includes 64-bit software. See first article linked in #2. 4) Mac OS X implements canaries using ProPolice, the same mitigation used in Linux. ProPolice is considered the most thorough implementation of canaries. It is known to be much more effective than the similar system used in Windows. http://www.blackhat.com/presentation...rman-paper.pdf -> article comparing ProPolice to stack canary implementation in Windows. 5) Application sandboxing and mandatory access controls (MAC) in OS X are the same thing. More specifically, applications are sandboxed in OS X via MAC. Mac OS X uses the TrustedBSD MAC framework, which is a derivative of MAC from SE-Linux. This system is mandatory because it does not rely on inherited permissions. Both mandatorily exposed services (mDNSresponder, netbios...) and many client-side apps (Safari, Preview, TextEdit…) are sandboxed in Lion. Windows does not have MAC. The system that provides sandboxing in Windows, called mandatory integrity controls (MIC), does not function like MAC because it is not actually mandatory. MIC functions based on inherited permissions so it is essentially an extension of DAC (see #1). If UAC is set with less restrictions or disabled in Windows, then MIC has less restrictions or is disabled. http://www.exploit-db.com/download_pdf/16031 -> article about Mac sandbox. http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx -> MS documentation about MIC. https://media.blackhat.com/bh-eu-11/...xes-Slides.pdf -> researchers have found the MIC in IE is not a security boundary. 6) In relation to DAC and interprocess sandboxing in OS X in comparison with some functionality of MIC in Windows 7 (see #5), the XNU kernel used in OS X has always had more secure interprocess communication (IPC) since the initial release of OS X. Mac OS X, via being based on Mach and BSD (UNIX foundation), facilitates IPC using mach messages secured using port rights that implement a measure of access controls on that communication. These access controls applied to IPC make it more difficult to migrate injected code from one process to another. Adding difficulty to transporting injected code across processes reduces the likelihood of linking remote exploits to local exploits to achieve system level access. As of OS X Lion, the XPC service has also been added to implement MAC (see #5) on IPC in OS X. (http://developer.apple.com/library/m...CServices.html) 7) Security benefits of a UNIX foundation Not all software vulnerabilities are exploitable. Vulnerabilities that are not exploitable only allow a denial of service condition upon being triggered. Exploitable vulnerabilities allow code execution when triggered. There are two methods to achieve code execution in relation to buffer overflows: 1) RET overwrite -> control return address of instruction pointer 2) SEH (structured exception handler) overwrite -> control content of handler that will be executed upon an exception To clarify: Quote:
Mitigations have been developed to prevent SEH overwrites. These include SafeSEH and SEHOP. Methods are known that allow bypassing both mitigations. SafeSEH is bypassed if only one component of the program doesn't implement this mitigation; it is common that not all components implement SafeSEH. SEHOP is bypassed if ASLR is compromised via a memory disclosure vulnerability. So, what does this have to do with the security benefits of a UNIX foundation? UNIX and UNIX-like operating systems, such as Mac OS X and Linux, don't have structured exception handling. So, SEH overwrites, as a vector to increase the number of exploitable vulnerabilities, doesn't exist in these operating systems. The signalling system used in these operating systems isn't liable to this type of manipulation. SEH overwrites do provide a plausible explanation for more vulnerabilities being exploitable in Windows. http://www.i-hacked.com/freefiles/Ea...ploit_v1.3.pdf http://www.sysdream.com/sites/defaul...s/sehop_en.pdf 8) Windows has far more public and/or unpatched vulnerabilities than OS X. http://m.prnewswire.com/news-release...110606584.html -> article about 18 year old UAC bypass vulnerability. 9) Password handling in OS X is much more secure than Windows. The default account created in Windows does not require a password. The protected storage API in Windows incorporates the users password into the encryption key for items located in protected storage. If no password is set, then the encryption algorithm used is not as strong. Also, no access controls are applied to items within protected storage. In Mac OS X, the system prompts the user to define a password at setup. This password is incorporated into the encryption keys for items stored in keychain. Access controls are implemented for items within keychain. Also, Mac OS X Lion uses a salted SHA512 hash, which is still considered cryptographically secure. It is more robust than the MD4 NTLMv2 hash used to store passwords in Windows 7. http://www.windowsecurity.com/articl...ord-Part1.html -> article about Windows password hashing. 10) The new runtime security mitigation improvements to be included in Windows 8 have already been defeated. http://vulnfactory.org/blog/2011/09/...op-mitigation/ To put this into perspective, methods to bypass the new runtime security mitigations in Mac OS X Lion are not yet available. 11)In regards to recent earlier version of Mac OS X: The following article relates to varying levels of security mitigations in different Linux distros but it is applicable in revealing that the runtime security mitigations in some earlier versions of Mac OS X prior to Lion were far from inadequate. http://www.blackhat.com/presentation...slr-slides.pdf While Mac OS X Leopard/SL lack full ASLR, Windows Vista/7 have stack canaries (aka stack cookies) that are trivial to bypass. The following link shows the issues with stack canaries in Windows. -> http://www.blackhat.com/presentation...rman-paper.pdf So: Windows Vista/7 = NX + ASLR Mac OS X Leopard/SL = NX + stack cookies These articles show that NX in combination with stack canaries is more difficult to bypass than a combination of NX and ASLR. 12) Mountain Lion only improves upon the security of Lion. BTW, Safari on a Mac running Lion was not hacked at the last pwn2own. Last edited by munkery; Dec 23, 2012 at 01:31 PM. |
||
|
|
1
|
|
|
#79 | |
|
How do I know if my Mac is getting the lastest definitions?
Quote:
Thanks in advance. |
||
|
|
1
|
|
|
#80 | ||
|
Quote:
In nearly all cases they have to type in their Administrators password with their own hands and in some cases their own phone numbers or sensitive data. The operating system is working as it should to protecting the computer. But cannot protect the computer from the owner themselves blatantly typing things in without knowing what their doing or where it came from. Quote:
__________________
Techshow:http://www.justin.tv/linuxcooldude |
|||
|
|
1
|
|
|
#81 | |
|
Quote:
__________________
15" i7 Macbook Pro, 750Gig HD, Apple TV 2, iPhone 4S, iPad 3 16Gig
|
||
|
|
1
|
|
|
#82 | |
|
Quote:
I think the best protection & security is knowledge. If a popup tells you need to install such and such file to use/view the website would raise a red flag with me.
__________________
Techshow:http://www.justin.tv/linuxcooldude |
||
|
|
0
|
|
|
#83 | ||
|
Quote:
Quote:
Malware in the form of trojans, yes. Viruses, no. False. There are Mac OS X trojans in the wild. Zero, actually. Macs are not immune to malware, but no true viruses exist in the wild that can run on Mac OS X, and there never have been any since it was released over 10 years ago. The only malware in the wild that can affect Mac OS X is a handful of trojans, which can be easily avoided by practicing safe computing (see below). Also, Mac OS X 10.6 and later versions have anti-malware protection built in, further reducing the need for 3rd party antivirus apps. Mac Virus/Malware FAQ
If you still want to run antivirus for some reason, ClamXav (which is free) is one of the best choices, since it isn't a resource hog, detects both Mac and Windows malware and doesn't run with elevated privileges. |
|||
|
|
1
|
|
|
#84 | ||
|
Because a person who downloads unsigned software is taking an inherent risk. It may be a small risk, but it's still there, none-the-less. All this talk on here about only stupid people falling for this sort of thing needs to stop. It's not only against the rules, but it's inaccurate as well. Less educated people might be more likely to have a problem, statistically, but to even evaluate a problem one has to be aware of it first. Or do you think the first person that ever scanned their credit card at a gas pump that had a 3rd party scam scanner inserted into it (i.e. you're scanning with the scammer's scan reader, not the gas pump's) should have "just known" what to look for the first time one ever appeared? If a web site gets hacked or hijacked and the official software replaced with a perfect look-alike with a backdoor trojan, are you going to be too smart to fall for it and non download it with no visible signs that there's an issue??? Really? Seriously? Yeah, I don't think so. I think too many people on here have a false sense of security based solely on the reasoning that it hasn't happened to them yet. Well, I haven't been hit by lightning yet or won the super lotto, but I'm at least aware it COULD happen.
Quote:
![]() I see a lot of INSULTS going on in this thread about how STUPID people would have to be to get their computer infected. I've seen similar comments elsewhere about AIDS, etc. as well. These people think condoms never fail, birth control is 100% effective and other naive conclusions just because it hasn't happened to them (yet anyway). I simply think people could be a little less careless with their comments. It's not only against the rules to flame/insult people on here, but it can and will bite you in the hind quarter some day. To quote Bogart, "Maybe not today, maybe not tomorrow, but soon and for the rest of your life." Quote:
__________________
Mac Mini Server 2012 (2.3GHz Quad i7, 8GB, 2x1TB RAID 0) ; External 12x Memorex Blu-Ray USB3, External WD 3x3TB,1x2TB HD USB3) 15" Matte MBP 2.4GHz, 4GB/500GB, NVidia 8600M GT; 3 ATV; 2 iPod Touch |
|||
|
|
4
|
|
|
#85 | |
|
Quote:
I never called anyone stupid or implied it. You can even check all of my other posts if you feel like and won't see me speaking to anyone in that manner or even implying it. See if you can find where I have insulted anyone on this site. You initially question whether or not I only only download and install signed software and then make the snide comment that I must then have a limited selection. I never said that my computer was immune or that I was guaranteed never to download malware/spyware; just that I hadn't yet. When you know what kind of app you are looking for, and are discriminating when looking for the sources; as you said, a "small" risk is involved. Small. Yes, the risk is still there. I haven't denied that, but I also don't download a BUNCH of unsigned software from strange sources or through torrents. I understand that people can get scammed and that it is not always their fault. But if you have concerns about the nature of a credit card scanner; then don't use it. If you're worried at all that some chick you want has something that you don't; then you probably shouldn't. I know that birth control is not 100% effective and all of these analogies are irrelevant and also reflect why initial bad judgement when something seems a little off makes that action inherently more of a risk than going to trusted stations for a full tank, or trusted and statistically safer areas to empty the other tanks. In those cases, the person that refuses to acknowledge the increased risk must also take some of the blame in their own theft or infection. True, not all the blame, but there is some degree of culpability involved. You should also consider your wording because even though you don't say people that download malware/spyware are stupid, your phrasing implies that the ignorant ones are statistically more prone to it. Because of this, those that are intelligent and discriminating(based on your own statement) are less likely to be a victim. As such, the more educated and prepared are then even less likely than the mildly educated; and so on and so forth. And I really wish that they would bring the down-vote back just so I could counteract those that think your post was helpful or appropriate; because it wasn't.
__________________
14" iBook G4/1.42GHz/1.5GB RAM 60GB HDD/OS X 10.5.8; 12" iBook G4/ 1.33GHz/ 1.5GB/ 40GB HDD/ Leopard 10.5.8; 32GB iPad 1 WiFi+3G. |
||
|
|
1
|
|
|
#86 |
|
Seems strange to me that no malware/scam programmer understands a thing about imitating a typical OS X installer. The fonts are placed way off, centered in a strange way and badly cascaded, and the background within the installer... ugh!
|
|
|
|
2
|
|
|
#87 | |
|
Quote:
Apps that install with sufficient privileges to compromise protected data entry and protected data storage are installed via an installer. Most installers and updaters, such as the Sparkle framework, verify checksums to mitigate the malware attack you describe from occurring. Also, using the code signing available in OS X L/ML via Gatekeeper mitigates these types of attacks via the same mechanism as installers and updaters. So the chance of this type of attack successfully targeting OS X users is unlikely. |
||
|
|
1
|
|
|
#88 | |
|
Quote:
Most installers and updaters? Do you really think a trojan is going to use the official installer or updater or just imitate their appearance? The real question is whether the user is going to be able to tell the difference. Obviously, bad grammar, odd fonts, etc. could be giveaways, but a good scam isn't going to make those mistakes (and that doesn't stop some for falling for the bad ones either, it seems). Gatekeeper sounds good in theory, but falls apart in practice if you have a large variety of software to install and you actually want the software rather than just whining why doesn't the author have a certificate on file with Apple. I had to disable it within 20 minutes of starting up my new computer because it refused to let me install any number of programs (many of them older ones that aren't necessarily updated, but are still plenty useful). As for passwords, there are PLENTY of programs that DO require them (e.g. anything that installs a preference pane like "A Better Finder", Adobe Flash, Flip4Mac, Microsoft's Mouse driver, Perian, to name just a few) all require a password to install. Is the average user going to realize that a trojan version of a given program is asking for password permission and the real program would not ask for it when they don't have the real program? Is the average person aware of the difference? Would the average person even know about any of these things? ![]() My point is that "average" Mac users aren't super knowledgeable about computers in general and are therefore at greater risk for malware like trojans than ones that do, but no one is at zero risk that uses a computer over the Internet. It may be "unlikely" but so is getting hit by lightning and that still happens to over 1000 people each year. I'd dare say malware victims number considerably higher than that (even on the Mac). Are they all "stupid?" A lot of people on here sure think so, but I simply see no need for name-calling (which is all over this thread). It's childish and makes me question the intelligence of the very people calling others stupid.
__________________
Mac Mini Server 2012 (2.3GHz Quad i7, 8GB, 2x1TB RAID 0) ; External 12x Memorex Blu-Ray USB3, External WD 3x3TB,1x2TB HD USB3) 15" Matte MBP 2.4GHz, 4GB/500GB, NVidia 8600M GT; 3 ATV; 2 iPod Touch |
||
|
|
3
|
|
|
#89 | |
|
Quote:
If an app updates via the Sparkle framework then already installed versions of the app won't be updated to the malicious version due to the checksum verification. Gatekeeper includes the same type of verification so users that are updating existing installs wouldn't be affected. Most popular third party apps use the Sparkle framework or are found in the App Store or use a Mac developer digital certificate from Apple. In reference to fresh installs, developers would realize something was wrong when their own app that they are hosting doesn't match it's own checksum. I doubt such malicious apps would be hosted very long for any popular app still under active development. Gatekeeper also protects users from Trojans in general because unsigned apps can't run until manually allowed to do so. This prevents Trojans from sneaking into the system. BTW, Gatekeeper allows users to manually create exceptions for individual apps without completely turning Gatekeeper off so Gatekeeper doesn't need to be disabled to run unsigned apps but the user does have to manually create an exception for unsigned apps to run. Also, if users only run signed apps by not manually bypassing Gatekeeper for any unsigned apps, then unsigned apps won't be run and the risk of Trojans is mitigated. Last edited by munkery; Dec 23, 2012 at 01:22 PM. |
||
|
|
1
|
|
|
#90 | |||
|
Quote:
Quote:
I think I said TROJAN quite clearly. It is, after all, the focal point of the thread. Quote:
__________________
Mac Mini Server 2012 (2.3GHz Quad i7, 8GB, 2x1TB RAID 0) ; External 12x Memorex Blu-Ray USB3, External WD 3x3TB,1x2TB HD USB3) 15" Matte MBP 2.4GHz, 4GB/500GB, NVidia 8600M GT; 3 ATV; 2 iPod Touch |
||||
|
|
4
|
|
|
#91 | ||||
|
Quote:
Quote:
I stated why that type of attack is unlikely to be successful, which is the reason that these attacks rarely occur. I can't recall an incident of this type of attack occurring targeting OS X recently or in the past. This type of attack definitely doesn't have a high incidence rate most likely specifically due to the reasons I provided. More specifically, the reason being checksum verification. Quote:
Quote:
No, so provide that app with an manual exemption and Gatekeeper still works as intended and prevents other unsigned apps from sneaking onto the system. For example, if a trojan is an app disguised as a PDF, Gatekeeper prevents it from executing when the user tries to open the fake PDF due to the rogue app being unsigned. It is safer to just create manual exemptions for an unsigned app that the user can vet and keep Gatekeeper enabled to mitigate the attacks I just described. Am I in the twilight zone? Do you not understand how Gatekeeper can be a benefit in this regard? BTW, Flip4Mac is now signed with an Apple certificate.
__________________
Mac Security Suggestions Last edited by munkery; Dec 23, 2012 at 06:11 PM. |
|||||
|
|
1
|
|
|
#92 | ||||
|
Yeah, it says TROJAN right in it.
![]() Quote:
As your own picture shows, the ONLY thing Gatekeeper does is tell you that you've gotten the program off the Internet and ask you if you're sure you'd like to open this app from an unrecognized developer. How is that helpful if you need/want that program? Your only choices are to either NOT open it (which means you're "safe" but you don't get to use the software you need/want) or TAKE YOUR CHANCES. Quote:
Quote:
![]() Quote:
And thus the real problem with Gatekeeper is that Apple can and may very well misuse it in the future to block all software that isn't coming from their own App store since they want that 30% take on all software sales from every developer on Earth like they're already getting from iOS developers (well at least the ones that haven't had to go jailbreak because Apple doesn't "like" their software for competition, adult software or other spurious "Big Brother" type reasons). Personally, I don't want that extended to OSX in general and Gatekeeper is a BIG step in that direction.
__________________
Mac Mini Server 2012 (2.3GHz Quad i7, 8GB, 2x1TB RAID 0) ; External 12x Memorex Blu-Ray USB3, External WD 3x3TB,1x2TB HD USB3) 15" Matte MBP 2.4GHz, 4GB/500GB, NVidia 8600M GT; 3 ATV; 2 iPod Touch Last edited by MagnusVonMagnum; Dec 24, 2012 at 10:25 AM. |
|||||
|
|
2
|
|
|
#93 | ||||||
|
Quote:
Both have nothing to do with signed apps and were around long before code signing. Quote:
Quote:
Quote:
File Quarantine notifies the user if a PDF or other file is actually an executable. Quote:
Quote:
Last edited by munkery; Dec 25, 2012 at 10:19 PM. |
|||||||
|
|
1
|
|
|
#94 |
|
I'll say this one last time and then I'm done. Trojans DO NOT USE Apple's actual installation software. That's why they're trojans....(sigh)
__________________
Mac Mini Server 2012 (2.3GHz Quad i7, 8GB, 2x1TB RAID 0) ; External 12x Memorex Blu-Ray USB3, External WD 3x3TB,1x2TB HD USB3) 15" Matte MBP 2.4GHz, 4GB/500GB, NVidia 8600M GT; 3 ATV; 2 iPod Touch |
|
|
|
2
|
|
|
#95 | |
|
Quote:
The Sparkle framework is developed by a third party and has nothing to do with Apple's actual Installation software. Don't forget that our conversation is referring to the scenario of the website of an app being hacked and hijacked with the actual app being replaced with a malicious counterfeit; different variables apply. Last edited by munkery; Dec 26, 2012 at 06:49 PM. |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 07:48 PM.







15" i7 Macbook Pro, 750Gig HD, Apple TV 2, iPhone 4S, iPad 3 16Gig 

Linear Mode
