07:05 AM

iHack With an iPhone

Your iPhone isn't just hot-looking - it's also a potential hacking weapon

3:05 PM -- iPhones are sexy. If you don't think so, you haven't gotten to play with one long enough to realize it. Three of my coworkers have iPhones so far, and I'm finding something new every day that makes me want one. Coincidentally, my wife and I are currently searching for a new cellular provider, which recently brought up the topic of tethering the phone to a laptop for use as a modem.

During the discussion, Jordan, my coworker, found a video on YouTube showing how someone created an ad-hoc wireless connection between his laptop and the iPhone, and then used SSH as a SOCKS proxy for his laptop to connect to the Internet. Having used a Treo 650 for the last two years, I've used pssh to SSH into various servers, but never the other way. (For now, let's put aside the discussion of Apple's anti-unlocking measures and preventing third-party application installation.)

When the iPhone first came out, the security industry was busy shouting about the insecurity of the iPhone and concerns of data leakage. Now that HD Moore has begun adding support for the iPhone to the Metasploit Framework (MSF), there are two more threats enterprises need to be on the lookout for. (See Metasploit Adds iPhone Hacking Tools.)

First, all processes run as root (or administrator) which means that any exploited application means game over. Moore ported the bindshell and reverse-shell payloads to work on the iPhone architecture. In Metasploit, payloads are what get executed by the host after being exploited. The bindshell and reverse shells provide an attacker with a command shell on the remote system, which in this case, is an iPhone.

Now imagine if iPhone users in your enterprise like to use your wireless network. Suppose they open up a malicious email or Web page that compromises their iPhone over their cellular connection. That then would give an attacker a command shell, allowing the attacker to reach your internal network via wireless.

The second big risk is that now tech savvy, disgruntled users have a great mobile hacking platform that will go largely unnoticed by most people. It may look like that end user is "playing" with his iPhone in the hallway, but he may instead actually be breaching the CEO's desktop, or a network share containing some of your company's precious intellectual property.

Moore reports that Ruby is currently in a broken state on the iPhone, which prevents Metasploit 3 from running on it. But version 2 (written in Python) runs fine. I'm sure it won't take long to get fixed, and as soon as it is, let the hacking begin. Oh, and if you've not used Metasploit 3 recently (or ever), it currently has over 225 exploits and 110 payloads, making it something you should definitely research.

Scared yet? If not, then grab your wallet and get yourself an iPhone to see just how much damage you can do to your enterprise environment. You might be surprised. Oh, and when you're finished testing your iPhone, let me know and I'll send you my shipping address.

— John H. Sawyer is a security geek on the IT Security Team at the University of Florida. He enjoys taking long war walks on the beach and riding pwnies. When he's not fighting flaming, malware-infested machines or performing autopsies on blitzed boxes, he can usually be found hanging with his family, bouncing a baby on one knee and balancing a laptop on the other. Special to Dark Reading

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
8 Ways Hackers Monetize Stolen Data
Steve Zurier, Freelance Writer,  4/17/2018
Securing Social Media: National Safety, Privacy Concerns
Kelly Sheridan, Staff Editor, Dark Reading,  4/19/2018
Firms More Likely to Tempt Security Pros With Big Salaries than Invest in Training
Sara Peters, Senior Editor at Dark Reading,  4/19/2018
Register for Dark Reading Newsletters
White Papers
Current Issue
How to Cope with the IT Security Skills Shortage
Most enterprises don't have all the in-house skills they need to meet the rising threat from online attackers. Here are some tips on ways to beat the shortage.
Flash Poll
[Strategic Security Report] Navigating the Threat Intelligence Maze
[Strategic Security Report] Navigating the Threat Intelligence Maze
Most enterprises are using threat intel services, but many are still figuring out how to use the data they're collecting. In this Dark Reading survey we give you a look at what they're doing today - and where they hope to go.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
Published: 2017-05-09
NScript in mpengine in Microsoft Malware Protection Engine with Engine Version before 1.1.13704.0, as used in Windows Defender and other products, allows remote attackers to execute arbitrary code or cause a denial of service (type confusion and application crash) via crafted JavaScript code within ...

Published: 2017-05-08
unixsocket.c in lxterminal through 0.3.0 insecurely uses /tmp for a socket file, allowing a local user to cause a denial of service (preventing terminal launch), or possibly have other impact (bypassing terminal access control).

Published: 2017-05-08
A privilege escalation vulnerability in Brocade Fibre Channel SAN products running Brocade Fabric OS (FOS) releases earlier than v7.4.1d and v8.0.1b could allow an authenticated attacker to elevate the privileges of user accounts accessing the system via command line interface. With affected version...

Published: 2017-05-08
Improper checks for unusual or exceptional conditions in Brocade NetIron 05.8.00 and later releases up to and including 06.1.00, when the Management Module is continuously scanned on port 22, may allow attackers to cause a denial of service (crash and reload) of the management module.

Published: 2017-05-08
Nextcloud Server before 11.0.3 is vulnerable to an inadequate escaping leading to a XSS vulnerability in the search module. To be exploitable a user has to write or paste malicious content into the search dialogue.