DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • DevOps Chats
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Virtual Summits
    • Conferences
  • Sponsored Communities
    • CloudBees
    • IT as Code
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Media Kit
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
MENUMENU
  • AI
    • AIOps

      DevOps and AIOps: Better Together

      AIOps

      IBM Launches Ambitious AIOps Initiative

      Moogsoft

      Moogsoft Expands Reach of AIOps Platform

      AIOps 2020

      AIOps 2020: IT Talent Is the Game-Changer

      Moogsoft

      6 Common Pitfalls to Avoid While Building Out Your AI Tools

  • Cloud
    • Cloud Native Security

      How to Secure the Intangible — Cloud Native Security in the New Age

      OpenStack Ussuri

      OpenStack Delivers Ussuri Update

      DaaS

      DevOps as a Service: Migrating Your Entire DevOps Stack to the Cloud

      DevSecOps - securing internet-facing portals _ application security

      Securing Internet-Facing Portals

      Ansible

      Red Hat Extends Scope of Ansible Tools

  • Continuous Delivery
    • New Relic

      Report Finds Much Room for CD Improvement

      SDM’s Holistic Approach

      How SDM’s Holistic Approach Connects Organizations and Streamlines Delivery Processes

      CD Foundation

      CD Foundation Serves Up Tekton Pipelines Beta

      GitLab Features - Core Open Source Platform

      GitLab Shifts 18 Features Into Core Open Source Platform

      CircleCI DevOps

      CircleCI Surfaces More DevOps Insights

  • Continuous Testing
    • Shift-Right Testing - TestOps

      Shift-Right Testing: The Emergence of TestOps

      What Developers Should Take Away from the Iowa Caucus App Debacle

      What Developers Should Take Away from the Iowa Caucus App Debacle

      survey testing

      Survey Sees Little Progress in Drive to Shift Testing Left

      DevOps Software Testing

      DevOps Places Software Testing in the Crosshairs

      testing

      DevOps Chats: Enterprise Continuous Testing With a Shift-Right Mindset

  • DevSecOps
    • Cloud Native Security

      How to Secure the Intangible — Cloud Native Security in the New Age

      RDP

      No Excuses: Lock Down RDP

      the secure software development

      The Secure Software Development Life Cycle: Syncing Development and Security

      Developer Day

      VMware Carbon Black Developer Day 2020: Bringing DevSecOps to the Fore

      NVIDIA

      Survey Surfaces Root Causes of DevSecOps Tension

  • Leadership Suite
    • Enterprise IT teams

      Need for Increased Training — Strained Budgets Strain Enterprise IT Teams

      COVID Impact

      Coronavirus Impact: Enterprises Must Focus on What Works

      IT budgets

      Despite Downturn, Enterprise IT Budgets Remain Intact

      Employment in the Age of Automation

      Metropolis Now: The Two Worlds of Employment in the Age of Automation

      Digital Resiliency Wins

      The Way Forward: Digital Resiliency Wins

  • Practices
    • LogicMonitor IT Downtime Detection and Mitigation Study

      LogicMonitor Releases IT Downtime Detection and Mitigation Study

      Atlassian Halp

      Atlassian Acquires Halp to Gain Help Desk Based on Slack

      the secure software development

      The Secure Software Development Life Cycle: Syncing Development and Security

      LaunchNotes

      LaunchNotes Adds Communications Tool for App Release

      low code and RPA

      Low-Code and RPA With Appian CTO Michael Beckley

  • ROELBOB
    • career-development-in-trying-times

      Career Development in Trying Times

      Existence-n-choice

      Existence and Choice

      essence-and-motivation

      Essence and Motivation

      data-types

      Data Types

      why-nothing-works

      Level-Setting Expectations

  • Toolbox
    • DRY Comes to COBOL in IBM Z Development

      DRY Comes to COBOL in IBM Z Development

      Atlassian Halp

      Atlassian Acquires Halp to Gain Help Desk Based on Slack

      LaunchNotes

      LaunchNotes Adds Communications Tool for App Release

      GitHub repository

      GitHub Extends Scope and Reach of Repository

      Enterprise Kanban Implementation

      Enterprise Kanban Implementation: Where to Start and How to Scale Across an Organization

  • IT as Code
  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » Blogs » DevSecOps » What approach to application hardening is right for your organization?

What approach to application hardening is right for your organization?

contributorBy contributor on November 6, 2015 Leave a Comment

There’s no shortage of readily available hacker tools and techniques and stories in the news about mobile app hacks for both the iOS and Android platforms.

Recent Posts By contributor
  • How to Ensure DevOps Success in a Distributed Network Environment
  • Dissecting the Role of QA Engineers and Developers in Functional Testing
  • DevOps Primer: Using Vagrant with AWS
contributor More from contributor
Related Posts
  • Predictions 2020: The Future of the Mobile Industry
  • Why Mobile App Security is Like a Rubik’s Cube
  • 5 Tips for Creating Blockchain IOS and Android Apps
    Related Categories
  • Blogs
  • DevSecOps
    Related Topics
  • devsecops
  • mobile dev
Show more
Show less

Fortunately, security solutions providers have responded swiftly and there are many approaches that one can leverage to harden an app that is “out in the wild.”

For those of you who may not be familiar with the term, hardening is a key step at the end of any secure software development lifecycle process which:

  • Confirms that the app is running as designed at runtime
  • Thwarts hackers’ efforts to reverse engineer the app back to source code

Which hardening approach is right for your app? To the uninformed purchaser, simple obfuscators are attractive because they are low in cost, require little training and are quick to implement. However, given the sophistication of today’s hackers, it is important for app developers to look beyond the surface and take a more strategic approach to choosing an application hardening solution.

Below are four key factors that IT Security professionals should consider when evaluating application hardening solutions:

#1: Value of your applications

A key factor to consider is the level of investment your company is making in an app in terms of R&D and maintenance costs.

  • If valuable proprietary intellectual property such as algorithms or monetizable content is embedded within the app, you should consider the potential revenue loss to your company if the app is successfully hacked.
  • If the app processes sensitive information such as financial transactions, account information or authorization credentials, you should consider the potential loss of revenue through fraud and potential collateral damage that could occur if the app is hacked or Trojanized. Collateral damage may include penalties for non-compliance with regulations, expenditures on security upgrades, and even costs associated with crisis management communication campaigns to manage adverse publicity and restore brand value.

There is a prevalent belief that encryption and basic obfuscation techniques in and of themselves are adequate measures to protect apps against hacking. String encryption and variable renaming form a beneficial security layer, but they are inadequate when used in isolation.

Also, it is important to understand that not all obfuscation and encryption tools are created equal. Obfuscation is often confused with simple method renaming techniques and basic string obfuscation technologies, which can be quickly broken and easily reversed. Further, any encryption wrapper that applies the same measures of protection across all the apps it secures can be easily broken by determined hackers. Remember that once a wrapper technology is broken, every application secured by that vendor will be compromised.

See chart 1 below for recommended protection techniques for Low and High Value apps

Chart 1: Recommended Protection Techniques

chart1

#2: Scale and Sophistication of Attacks Your Apps Will Likely Face
Minimal protections against counterfeiting and repackaging are built into the app distribution ecosystem — including measures such as:

  • Detection of jailbreak or root conditions that enable side-loading of applications, many of which are Trojanized.
  • Monetization libraries to confirm that only legitimate applications are downloaded through an app store and that they are correctly purchased or licensed. However, these libraries can and are often breached by cybercriminals.
  • Audit processes to validate that only legitimate and harmless apps are placed in the app store. Audit mechanisms to block illegitimate apps from distribution to users are far from perfect, as seen by recent iOS malware, including XcodeGhost.

Consequently, it is important to determine the scale and sophistication of attacks that you anticipate for your applications, and validate that the security solution you rely on is capable of meeting the challenge. For small-scale developers with free- or ad-supported apps, typically basic application protection will suffice, even though ad revenue may be subverted through Trojanization.

In contrast, for business-critical enterprise applications, it is safe to assume that an organized army of hackers will be actively looking for ways to subvert your app as quickly and as comprehensively as possible. Since such attacks are designed to be covert, it can take weeks or even months until evidence of a successful hack surfaces. For that reason, measures of defense against attacks have to be complemented by measures of detection and reaction. For example, deeply instrumenting an app to detect attempted attacks and react with functions such as “phone home” can provide long-lasting and durable protection.

Consider the recent benchmarking study that analyzed an Android Java mobile payment application that was hardened with a comprehensive protection solution against the same application with a Basic Java protection solution. Key findings from the study appear in the chart below:

Chart 2: Strength of Protection of Basic and Comprehensive Hardening Techniques

chart2

Attacks that systemically compromise the underlying libraries an app relies on are the fastest growing class of attacks – and presently the most dangerous. This makes it imperative that high value apps are able to verify the pristine nature of their entire execution environment before unlocking sensitive functionality. Obfuscation solutions that focus solely on variable renaming or string encryption can deter static reverse engineering but are not able to protect against the full spectrum of high-intensity attempts to compromise the app.

#3: Agility and Portability

The portable device ecosystem, spanning smartphones and tablets and wearable devices, is among the fastest growing and fastest evolving. In stark contrast to the PC ecosystem — which is dominated by only a few chipset and operating system combinations, the portable ecosystem is a combinatorial nightmare of chipsets, OSs, programming technologies and hardware functionality.

Because it is likely that mobile platforms will continue to evolve at their current breakneck and unpredictable pace, choosing a solid security partner with a history of innovation- that can keep pace with evolving ecosystems- is crucial. Additionally, selecting a security tool that is designed for cross-platform portability and extensibility will go a long way in helping you adapt to new platforms that become available.

#4: Overhead and Performance Impact

Memory footprint, power consumption and performance are important considerations in portable devices, where resources are limited and battery life is precious. All security technology will impose an additional memory footprint in storage and at run-time. It will also impose process overhead in terms of programming effort, compilation complexity and run-time execution characteristics.

That said, more sophisticated application hardening solutions can offer a stronger trade-off between performance impact and protection strength relative to free- or low-cost solutions. For example, brute-force simple obfuscation can quickly cause memory bloat and diminish execution speed, while basic check summing can adversely impact run-time performance while retaining single points of protection failure.

When apps are deployed to millions or billions of users, and/or where transaction volumes are expected to be high, it is crucial that the security solution chosen be as robust and reliable as your own app code. Obfuscating sections of the code that are sensitive to performance degradation, such as computation-intensive functions or graphics rendering routines, has an impact on runtime performance. It’s paramount to choose a protection solution that offers tunable performance vs. security tradeoff measures, and provides developers better control on size and performance of their code.

The rise of mobile computing and soaring app usage has companies of every size and caliber scrambling to keep up. With customer loyalty and revenues at stake, developers are scrambling to release cutting-edge apps with little thought for long-term security considerations. In these conditions, it is tempting to treat code hardening as a checkbox and select the cheapest, most readily downloadable tool to do the job – but let the buyer beware. If you take the time to assess the value of your applications and the available options, you’ll realize that if you have a high value app and focus solely on cost, you are likely to be “penny wise and pound foolish.”

About the Author/Patrick Kehoe

PatrickPatrick joined Arxan in January 2014 as Chief Marketing Officer. Mr. Kehoe has over twenty years of experience building and managing sales and marketing capabilities for software, hardware, and service providers in the High Tech industry. Over the past three years, he held leadership positions at Siemens Enterprise Communications (SEN) – a global provider of communications software and services. Most recently he was responsible for North American marketing and partner business, where he oversaw the development of the strategic plan and drove Market Awareness, Pipeline Generation, and Sales results. Previously, he managed SEN’s Global Marketing Strategy, Intelligence, and Operations. Prior to SEN, Mr. Kehoe held positions at Booz Allen Hamilton and MarketBridge, a Sales and Marketing Professional Services Firm, where his clients included: IBM, SAP, Symantec, and VeriSign. Among other areas of focus, he was responsible for market expansion, new product marketing, digital marketing, and social media. Mr. Kehoe has a track record of success in North America, Europe, South America, and Asia, and has spoken at conferences and corporate events on a variety of sales and marketing topics. He holds a degree in Computer Science from Vanderbilt University and a MBA from the Darden Graduate School of Business, University of Virginia.

Filed Under: Blogs, DevSecOps Tagged With: devsecops, mobile dev

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • More