Showing posts with label IPhone. Show all posts
Showing posts with label IPhone. Show all posts

Monday, August 8, 2011

Android App Turns Smartphones Into Mobile Hacking Machines


Dangerous hacks come in small packages.
Or they will, perhaps, when an app called Anti, or Android Network Toolkit, hits the Android market next week. The program, which Israeli security firm Zimperium revealed at the Defcon hacker conference in Las Vegas Friday and plans to make available to Android users in coming days, is designed for penetration testing–in theory, searching out and demonstrating vulnerabilities in computer systems so that they can be patched. Anti aims to bring all the hacking tools available to penetration testers on PCs to smartphones, with an automated interface intended to make sniffing local networks and owning remote servers as simple as pushing a few buttons.
“We wanted to create a penetration testing tool for the masses, says Itzhak “Zuk” Avraham, founder of Tel-Aviv-based Zimperium. “It’s about being able to do what advanced hackers do with a really good implementation. In your pocket.”
Anti, a free app with a $10 corporate upgrade, will offer a wi-fi-scanning tool for finding open networks and showing all potential target devices on those networks, as well as traceroute software that can reveal the IP addresses of faraway servers. When a target is identified, the app offers up a simple menu with commands like “Man-In-The-Middle” to eavesdrop on local devices, or even “Attack”; The app is designed to run exploits collected in platforms like Metasploit or ExploitDB, using vulnerabilities in out-of-date software to compromise targets.

A screenshot from Anti displaying target machines on the local network. (Click to enlarge.)
For now, the demonstration app Avraham showed me was equipped with only a few exploits: One aimed at a bug in Windows–the same flaw exploited by the Conficker worm in 2009–another targeting default SSH passwords in jailbroken iPhones, and a third exploiting a vulnerable, older version of Android. Zimperium has also built a Windows trojan that allows Anti to perform automated commands on hijacked machines like taking a screenshot, ejecting a CD, or opening the calculator, a common penetration-testing demonstration.
Even in its current form, the app raises the possibility of dangerous, stealthy attacks. A hacker could, for instance, walk into a coffee shop or a corporate office with his phone and start sussing out machines for data theft or malware infection. But Avraham says Zimperium will ask users in its terms of service to limit their hacking to “white hat” penetration testing.

Another screenshot showing command options on a target machine, including "man-in-the-middle" and "attack." (Click to enlarge.)
“Hacking is not for the chosen few,” reads one description in the app’s documentation, formatted in Star Wars-style scrolling text. “Anti is your perfect mobile companion, doing it all for you. Please remember, with great power comes great responsibility. Use it wisely.”
Penetration testers who saw the app at Defcon were impressed. “It’s just sick,” says Don Bailey, a researcher with security firm iSec Partners. “The way it populates the screen with vulnerable targets…it’s really elegant.”
Another professional penetration tester for a defense contractor firm who asked that his name not be used called the app a “quick and dirty Swiss army knife for mobile pen testing.” “It’s so polished it’s almost like playing a video game,” he says, comparing it to penetration testing suites that cost thousands of dollars.
With its sheer simplicity, Anti’s impact could be comparable to that of Firesheep, a proof-of-concept tool released in October of last year that allowed anyone to easily snoop on devices on unsecured wi-fi networks that connected to unencrypted web pages. That tool was downloaded more than 1.7 million times, and no doubt used in some instances to spy on web users unawares. But it also helped inspire both Twitter and Facebook to encrypt traffic to their site and prevent such eavesdropping.
“People might use it in dangerous ways,” Avraham says with a shrug. “I really hope not. But I know this might be the risk to help people increase their security, and that’s our goal.”


Enhanced by Zemanta

Sunday, March 20, 2011

10 Android Security Risks

Top 10 Android Security Risks


SMShing:
This phishing variant uses texting to trick smartphone users into visiting fraudulent or malicious links. Hackers are now being drawn to Android's popularity and openness. For example, last summer, unlucky SMS recipients were invited to download Trojan-SMS.AndroidOS.FakePlayer, a free Movie Player. Once installed, FakePlayer started texting premium-rate numbers, without user knowledge, ringing up huge bills. To block potentially-costly texts, users can add SMS controls such as SMSLinkGuard. Enterprises may also consider using a Mobile Device Manager (MDM) that can monitor Android wireless expenses (e.g., SMS, roaming).Last year, Android became the world's second favorite mobile OS, racing past BlackBerry and Apple. 67 million of the nearly 300 million smartphones sold in 2010 were Android-powered devices like the Samsung Galaxy S, Motorola Droid X, and HTC EVO. New Android 3.0 ("Honeycomb") tablets will spur even more growth this year.

As a result, approximately half of enterprises are working to embrace Android devices. One of IT's biggest challenges: Android's consumer roots mean minimal support for enterprise-class security. Here, we consider today's biggest Android security risks and what can be done to mitigate them.

  1. AWOL Androids: The top concern about any mobile device is loss. In a Juniper survey, 58 percent of smartphone and tablet users feared not being able to recover lost content. Apple iPhone users can restore nearly everything from iTunes, but Androids are not managed via desktop sync. Data loss can be avoided in two ways. First, install an auto-backup app (e.g., WaveSecure, MyBackup) to enable quick restoration of all that matters to you. Second, enroll your Android with one of the many available "find me" services to locate and recover lost devices.

  2. Flimsy passwords: If your Android falls into the wrong hands, more is needed to prevent thieves from stealing broadband service, ringing up SMS fees, reading your email, or abusing VPN connections. In Juniper's survey, 3 out of 4 users locked their smartphones. This is an excellent first line of defense, but users need to understand Android's limitations.

    Researchers report using smudges to guess Android swipe-lock patterns over 90 percent of the time. Instead, Androids should be locked with PINs or passwords (2.2 or later) or third-party lock apps such as Norton Mobile or AppProtector. Users may also want to enroll in a remote lock service (often combined with find) but beware of SMS dependencies. Enterprises should use either Exchange ActiveSync or the Android 2.2 Device Admin to remotely enforce password policies, ensuring that devices are routinely locked and lost passwords can be reset.

  3. Naked data: A major business risk posed by Android is lack of hardware data encryption. Fortunately, Android 3.0 ("Honeycomb") adds an API to let manufacturers offer encryption and IT enforce use. Unfortunately, existing Androids cannot yet perform hardware encryption. Until self-encrypting Androids appear, stored data can be protected in two ways. First, those remote lock apps and APIs can request remote wipe as well, resetting the device to factory defaults – but only when reachable, without wiping SD card data. For more rigorous protection, enterprises should scramble sensitive data such as email and contacts using self-encrypted apps (e.g.,Good for Enterprise, Exchange Touchdown)

  • Unsafe surfing: Think web browsing on your Android is safe? Last fall, M.J. Keith showed that a known WebKit browser vulnerability could be exploited on Android 2.0 or 2.1. Thomas Cannon reported an Android 2.2 browser flaw that could give hackers full SD card access. Recently, Google fixed an Android Market cross-site scripting (XSS) vulnerability that enables arbitrary code execution, found byJohn Oberheide. Unfortunately, Android users cannot quickly patch around bugs, because OS updates are deployed infrequently by carriers. One work-around: Using an app like BadLink Check or TrendMicroto avoid known-malicious websites.

  • Nosy apps: Speaking of the Android Market, telling friend from foe can be hard. According to the App Genome Project, Android Market apps more than doubled in the past 6 months. A whopping 28 percent of those apps now access device location, while 7.5 percent access stored contacts. Do these apps really need to know that info and what are they doing with it? Android apps must request permissions during installation – users need to seriously review those requests, exercise caution, and avoid apps that seem too nosy. To flag intrusive apps already installed on your Android, check out Lookout Mobile Security's Privacy Advisor or Webroot.

  • Repackaged and fraudulent apps: Some apps aren't what they appear to be. Many repackaged apps found on third-party Android markets are legitimate free apps, repackaged to generate ad revenue. But repackaging is also used to implant Android trojans, such as the Android.Pjapps trojan (included in modified versions of the Steamy Windows app) and the Android.Geinimi trojan (turns infected phones into bots). Most of these can be avoided by installing apps only from the Google Android Market. Don't frequent unregulated third-party markets or manually install Android packages from untrusted sources.
  • But even apps distributed by the Google Android Market receive no official review. Last year, "09Droid" sold about 40 different mobile banking apps at the Android Market. Unfortunately, none were affiliated with those banks. It is unclear whether 09Droid intended to phish for banking passwords, but when banks complained, those fraudulent apps were pulled from the Market. Be very careful when downloading apps that access sensitive accounts. Check with banks or other institutions to confirm apps are distributed by an authorized developer and beware of look-alikes.

  • Android malware: According to traffic analysis by AdaptiveMobile, Android malware spike 400 percent last year. The total is still miniscule compared to other platforms, but more malware is likely to target Android's rapidly-expanding pool of potential victims. When Coverityassessed the Android kernel, it identified 359 code vulnerabilities, 88 of which posed "high risk" of exploitation. Because Android is an open development platform, hackers have ample opportunity to find and learn how to take advantage of these kinds of flaws.

    Fortunately, application sandboxing is built into Android to limit potential damage by malicious apps – unless malware breaks out of that sandbox. That is apparently what DroidDream did last month. Hidden inside about 50 Android Market apps, including Sexy Girls, Advanced File Manager, Task Killer Pro, and Advanced Sound Manager, DroidDream "rooted" infected phones, sending IMEI/IMSI and OS version back to a command-and-control server. The "nature of this exploit" so concerned Google that it remotely removed installed apps from an estimated 50K phones. This "kill switch" was a fail-safe measure of last resort, but users can proactively defend themselves using Android anti-malware apps (e.g., Kaspersky, F-Secure).

  • Fake anti-malware: Alas, the fake anti-virus trend sweeping the PC world has now emerged for Android as well. When Google killed DroidDream, it installed a clean-up app called "Android Market Security Tool 2011." Android.Bgserv soon appeared on a third-party Chinese market, pretending to be Google's tool but carrying an SMS trojan. The lesson: Hackers prey on user emotions like fear – don't assume that security apps are legitimate. Check out sellers and read reviews. Enterprises should go further by testing apps in a lab environment, then using an MDM to suggest or auto-install verified safe apps on employee Androids. For example, Sybase Afaria now provides over-the-air app management for Android.

  • Lack of visibility and control: Ultimately, enterprises must embrace Androids – even employee-purchased Androids – so that IT can regain visibility into and control over business activities on these devices. Unlike iOS, Android does not yet offer native MDM to enable third-party device management. However, Android does provide APIs that MDM agent apps can use to read/write settings (e.g., password complexity), query attributes (e.g., installed apps, GPS location), and invoke remote lock or wipe. A bit of this can also be done via Exchange ActiveSync. Either way, IT can enroll Android devices, track their use, and enforce (at least limited) policies. Configurable settings are limited but rapidly expanding – more so for some manufacturers than others. But putting a management framework in place can help you leverage new Android security capabilities as they emerge.
  • Note: Many of the apps cited above are actually suites that include multiple security tools – for example, remote find, lock, and wipe plus password and anti-malware. We included many different examples for the sake of diversity; shop around to find Android security suite(s) that best fit your own needs
    .

    Enhanced by Zemanta

    Thursday, March 3, 2011

    Android vs. Apple: The 2011 cage match


    Throughout 2010 there were escalating tensions between Google Android and Apple iOS, as the two platforms emerged as the rising superpowers in the mobile world. But, if you thought things were heated between them last year, then as the saying goes, you ain’t seen nothing yet. These two ecosystems are on course for a massive collision in 2011 and the stakes are about to get a lot higher.

    The arrival of the iPhone on Verizon is a major incursion into what had previously become Android territory. Android 3.0 “Honeycomb” (the tablet OS) is about to unleash an army of Android tablets in a full frontal assault on the iPad. There is going to be blood, but as my colleague Larry Dignan notes, the carnage is likely going to have a greater impact on the other competitors in the mobile market more than on Apple and Google themselves.

    To help evaluate the race between Android and iOS in 2011, I’d like to approach it from the perspective of where the two platforms are vulnerable. That will help give us an idea of where they might go after each other and where upstarts may try to challenge them.

    Weak spots for iOS

    For the iPhone and iPad the number one draw is ease of use. Your toddler and your grandmother (the one who is intimidated by computers) can both pick up one of these devices and figure out how to use it. As Jerry Pournelle says, with Apple products “everything is either very simple or it’s utterly impossible.” The utterly impossible side is where we find Apple’s first weak spot.

    1. Software inflexibility: There is very little tweaking and customization allowed by iOS. You have to do it Apple’s way or else it’s probably not an option. These limits allow iOS products to function very well within the protected space carved out by Apple. However, if you have the need or desire to do something that is not within the boundaries Apple has set for iOS (and can’t create an app to handle it), then you’re out of luck.

    2. Productivity limitations: Both the iPhone and iPad are far better devices for consuming information than creating it. Part of the problem is with the on-screen keyboard, which works magnificently for short bursts of data entry but is not something you want to use for writing an email or document of greater length. The operating system itself is not especially tailored for multi-tasking or work-focused tasks such as building presentations, editing files, and juggling several bits of information at once.

    3. Fewer hardware choices: Some people prefer really big screens while other people like ultra-small and portable devices. Some want a high-resolution camera lens and all the multimedia bells and whistles in their mobile device, while others don’t need any of that stuff (and don’t want to pay for it) but want a really nice hardware keyboard so that they can do longer data entry more comfortably. With Apple products, you have very few choices. In fact, with both iPhone and iPad there are really only two choices to make when buying the product: storage and connectivity. You get to pick how much storage you want and you get to pick the wireless carrier on the iPhone or the Wi-Fi only model vs. the mobile broadband model on the iPad. That’s it.

    Weak spots for Android

    The best thing about Android is that its Open Handset Alliance includes some of the biggest and best vendors in the mobile world, including Samsung, Motorola, HTC, LG, Dell, Sony-Ericsson, and many more. The Android partners make devices in all shapes and sizes and in virtually every iteration you can imagine. That’s also part of the problem.

    1. Ecosystem chaos: The Android operating system is open source and so hardware makers can take it and do almost anything they want with it. The only real carrot-and-stick that Google has is whether to allow the hardware makers the ability to include the Android Market for applications on their devices. And, frankly, Google has not used this as effectively as it could to keep vendors from doing bad things like launching with long-outdated versions of Android like the Dell Streak did and loading up the device with a bunch of uninstallable crapware like AT&T did with the HTC Aria and Verizon did with the Samsung Fascinate.

    2. Wildly inconsistent experiences: One of the main consequences of the ecosystem melee is that there is not enough of a consistent experience across different Android devices. For example, nearly all of the hardware vendors put the Android menu buttons in a different order at the bottom of the screen, and many of them even use different types of button icons, further confusing users. Then there’s the issue of Android software updates. Google releases major updates to the Android OS at least twice a year. However, in 2010, the only device that got those updates right away was Google’s Nexus One, which runs the stock Android OS. All of the other Android devices have a vendor-supplied skin (which typically makes the devices worse instead of better) that runs on top of Android. The hardware vendors have to update their custom Android skins to make them compatible with the newest Android software and then submit it to the wireless carriers, who have to make sure it doesn’t conflict with any of their Android apps, and then it finally gets pushed to the consumer. The timing of these updates is very inconsistent across the Android ecosystem.

    3. Leadership vacuum: A lot of these Android problems boil down to the fact that Google needs to show stronger leadership of its ecosystem. Even if it can’t ultimately force the hands of hardware vendors since Android is open source, it can use the Android Market as a bigger stick against gross violators and it can publicly suggest best practices that it would like to see Android vendors adopt in order to pressure (and occasionally inspire) the hardware makers and wireless carriers into better behavior.

    How will it turn out?

    In the smartphone market, you have to wonder how well these two will be able to market against each other to exploit their weaknesses. The two are fairly well solidified in people’s minds. Unless more people get sick of being locked into the iTunes ecosystem on iPhone (no sign of that yet) or get fed up with the crapware and delayed updates with Android (only a few instances where the masses have noticed), then the 2010 growth trajectory of both platforms will likely hold.

    The game is a little more wide open in tablets. Companies like ASUS are targeting Apple’s weak spots in productivity and hardware choices. Hewlett-Packard could combine its long experience in tablet hardware with Palm’s webOS to create a tablet with much better multi-tasking and business features than Android and iOS. But, again, Apple has a big lead here and Google’s tablet OS that it showed off at CES looked very impressive and there are already a lot of big hardware vendors that have lined up to use it.

    The bottom line is that both Android and iOS are going to be wildly successful in 2011 and continue to gobble up mobile marketshare. In most cases, it won’t come at the expense of each other, although we should expect Apple to initially steal some Android sales on Verizon and Android will eat away at some iPad sales when its first wave of tablets hit the ground in the spring.

    Nevertheless, there will be a ton of new customers coming into the market in both smartphones and tablets in 2011. Look for Google and Apple to dominate most of the new sales in both of those markets. That will keep both Android and iOS on major growth trajectories. Android will have a lot more devices and a lot more companies pushing its devices, so it will ultimately grab greater market share in smartphones, although Apple is very competitive on price (unlike in the Mac vs. PC battles of 1980s and 1990s) so it won’t just be relegated to the high end of the market. It will take a much larger chunk of market share than it did in the PC wars.

    And, in tablets, Apple is out to a huge lead with the surprising success of the iPad. Android and others will start to eat into that cushion in 2011, but Apple will still command a majority of that market by the end of the year.

    What about Microsoft, HP, BlackBerry, and Nokia?

    Unfortunately, it looks like all four of these behemoths are on the wrong side of history. These guys are all going to be reduced to challenger status in 2011. They’ll be on the outside looking in. Both Microsoft (with Windows Phone 7) and HP (with Palm webOS) could have snatched some of the momentum away from Apple and Google a year ago in the smartphone market, but they’re a little late now. Even though both have solid products, their timing is off and they have a lot of ground to make up in winning over software developers to their platforms.

    As for BlackBerry and Nokia, they both have a large installed base of customers to draw on and build from, but it’s not going to be enough to stem their losses in 2011. They are both too far behind when it comes to product innovation. Oh sure, they will continue to hold on to nice chunks of old market share in some places, but both will likely continue their decline at accelerating rates in 2011.