Home > Security News > Serious holes in Mac OS X memory, researcher shows
Security News:
EMAIL THIS

Serious holes in Mac OS X memory, researcher shows

By Robert Westervelt, News Editor
11 Mar 2009 | SearchSecurity.com

Security Wire Daily News
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google

BOSTON -- Calling Apple's Mac OS X one of the easiest operating systems to crack, a security researcher on Wednesday demonstrated several methods to hack into a system and execute arbitrary code to take full control of a computer.

SearchSecurity.com:
To get security news and tips delivered to your inbox, click here to sign up for our free newsletter.

Dino Dai Zovi, an independent security professional in the financial services industry and co-author of The Mac Hacker's Handbook, demonstrated to a packed room at the SOURCE Boston conference how to defeat Mac OS X by gaining access to its root memory. A few lines of arbitrary code will enable any attacker to take over a computer, establish a TCP connection and download additional malicious code. Dai Zovi illustrated his technique by hacking into an Apple iSight camera to take photos of himself.

"Steve Jobs' fairy dust only protects against the most naive attackers," Dai Zovi said. "Writing exploits for [Microsoft] Vista is hard work. Writing exploits for Mac is a lot of fun."

Mac OS X attacks:
New hacking method stealthily attacks Macs with malware: Italian researcher Vincenzo Iozzo demonstrates how to inject malicious code directly into Mac OS X memory, leaving no trace for forensics investigation.

Black Hat DC 2009: Mac OS attack method
 (Video) - Security researcher Vincenzo Iozzo explains how he found a way to inject malicious code directly into Mac OS X memory, leaving no trace for forensics investigation.

Dai Zovi may be best known for being part of a team that uncovered a QuickTime vulnerability, winning the MacBook hacking contest at CanSecWest in 2007. But, as a former researcher at @stake Inc. and Matasano Security, he's been studying attack methods for many years.

During his Wednesday presentation, Dai Zovi said the Mac OS X operating system lacks sufficient memory corruption defense features built into its internal coding. For years Macintosh users have remained shielded by attackers who targeted Microsoft Windows, in an attempt to steal passwords, account information or other sensitive data from its massive user base. But Apple's growing market share is gaining attention in the hacking community, Dai Zovi said. Today experts estimate about 9.6% of Web browsers run on Mac OS X.

Dai Zovi's methods target Mac OS X's heap memory, which is used to store memory allocated to applications running the operating system. It also uses Leopard's weak library randomization, which leaves the heap allocated memory executable. While Vista's heap memory is non-executable to prevent arbitrary code execution, heap memory in Mac OS X is still writable and executable, he said.

Mac OS X uses scalable zone heap security, which was written in 1999 and can be bypassed by hackers, Dai Zovi said. The techniques he demonstrated enable an attacker to execute 12 bytes of arbitrary code, which is enough to deliver a malicious payload and break into critical system files, Dai Zovi said.

"It's like going back in time," he said. "You can get a Mac and it is 1999 all over again."

Dai Zovi also criticized Apple for not equipping Mac OS X with the GNU Compiler Collection (GCC) stack protector, currently a standard feature in most operating systems that protects running applications from stack-based buffer overflows. Mac OS X supports GCC protection, but the current version doesn't use it, he said.

SearchSecurity radio:

Despite these flaws, there is good news for Mac users. Version 10.6, due out later this year, is expected to be a security and stability update to Leopard. It contains a 64-bit kernel and many more 64-bit processes, making it more difficult for hackers to crack. Also, the Apple iPhone is immune to the methods demonstrated Wednesday. Dai Zovi said version 2.0 of the iPhone firmware is locked down and has "amazingly good" security.

Dai Zovi's presentation follows a similar demonstration last month at the Black Hat D.C. conference. Italian security researcher Vincenzo Iozzo presented a way to inject malicious code directly into Mac OS X memory, leaving no trace for forensics investigation. Iozzo said he and researcher Charles Miller plan to demonstrate the technique against the Apple iPhone at Black Hat Europe in April.



Tags: Alternative OS security: Mac, Linux, Unix, etc.Application Attacks (Buffer Overflows, Cross-Site Scripting)Emerging Information Security ThreatsVIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Alternative OS security: Mac, Linux, Unix, etc.
Machiavelli Mac OS X rootkit unveiled at Black Hat
How secure is 'Platform as a Service (PaaS)?'
Security comparison: Mac OS X vs. Windows
Mac OS memory flaws pose challenges for enterprise endpoint protection
Rootkit Hunter demo: Detect and remove Linux rootkits
Oracle to buy Sun Microsystems for $7.4 billion
How to harden Linux operating systems
What is the best operating system for an FTP server implementation?
Black Hat DC 2009: Mac OS attack method
New hacking method stealthily attacks Macs with malware
Alternative OS security: Mac, Linux, Unix, etc. Research

Application Attacks (Buffer Overflows, Cross-Site Scripting)
Quiz: How to build secure applications
Black box and white box testing: Which is best?
Adobe warns of critical update for Reader, Acrobat 9.1.3
9 Ways to Improve Application Security After an Incident
Developers Need Help with Security Errors
Buffer overflow tutorial: How to find vulnerabilities, prevent attacks
SQL injection protection: A guide on how to prevent and stop attacks
Experts rebuke programmers who use SQL injection as feature
SANS: Application threats, website flaws pose biggest security threats
Mozilla helps Adobe push out faster patches
Application Attacks (Buffer Overflows, Cross-Site Scripting) Research

Emerging Information Security Threats
Hackers to sharpen malware, malicious software in 2010
Modern malware, stealthy botnets, adapt quickly, expert says
New ransomware Trojan pushes victims to buy software
Bruce Schneier on outsourcing, awareness training
US-CERT warns of BlackBerry snooping software
Marcus Ranum on cyberwarfare, infosec careers
Researchers find thousands of flawed embedded devices
Enterprise botnets contain thousands of malware variants
Nuke and pave to eradicate botnets
Rand study urges caution on cyberwarfare attacks

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
trusted computing  (SearchSecurity.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



More Tips to Secure Your Network
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts