Advanced Persistent Threats

Advanced Persistent Threats

Setting up perimeter security

Advanced Persistent ThreatsAn Advanced Persistent Threat (APT) is a piece of malware that is distinguished by the sophistication of its code, the vectors cybercriminals are choosing for attack and the perseverance with which they’re going after their targets. The nature and intention of APTs are as diverse as their creators, but some common components include being:

  • Targeted and tailored toward a specific organization or set of organizations;
  • developed (and even tested) to pass traditional security defenses;
  • multi-stage to stay undetected for longer periods of time;
  • in search of specific information and able to move within the organization seeking it; and
  • stage and then exfiltrate information.

Most concerning, today’s APTs elude most, if not all, traditional antivirus and other threat prevention solutions currently on the market. In fact, IDC anticipates that spending on specialized threat analysis and protection solutions will grow from an estimated $400 million in 2013 to $1.2 billion in 2017.

As a result, new approaches to detecting and mitigating APT breaches have reached the market and are growing in popularity. From anomaly detection on the network to forensics at the endpoint and payload analysis (known as “the sandbox”) in between, there is growing recognition that, based on traditional security infrastructure, what you don’t know can hurt you.

The Rise of the Sandbox

One technology generating great interest is “sandboxing.” In the simplest terms, sandboxing cordons off a runtime environment that could be a full, desktop replica or a small, operational task. Within that contained environment, unknown code is introduced, and its activity is tracked and rated in order to safely determine its validity or maliciousness. Businesses are inserting sandboxes into their stacks today because traditional security infrastructure, such as firewalls and AV clients, are largely focused on code attributes, the object itself and the network traffic to deliver it. What these traditional solutions are not able to do is actually see what the malicious code is doing, at least not in real-time on production systems.

Determining the Best Sandbox for Your Environment

Currently, most sandboxing technologies can fit into five distinct buckets. Organizations need to consider the pros and cons of each before determining which type makes the most sense to deploy.

Bucket #1: A full Virtual Operating Environment (V/OE) executes high risk by type—seemingly benign code in environments designed to match the full stack from OS throughput, as far as traditional security inspection is concerned.

Initial and subsequent activity is logged, analyzed and assigned a risk rating. In addition, given the emergence of virtual machine (VM) evasion techniques in attacks, corresponding evasion inspection is built into the sandbox environment.

Pros to full V/OE:

  • Closely resembles the product system, without being the production system, to avoid performance degradation;
  • analyzes the full threat lifecycle, which is especially helpful when the initial code is a simple downloader; and
  • can be highly aggressive in what it inspects, without impacting productivity.

Cons to full V/OE:

  • Processor intensive, often expensive on premise and time consuming;
  • vulnerable to VM-evasion, despite continued anti-evasion mechanisms; and
  • handled off-line, making it more a detection than a protection approach.

Bucket #2: Code emulation performs multi-platform analysis to read instruction sets and simulate activity rather than examine the execution of code across configurations. Based on this simulation, intended activity such as system changes, exploit efforts, download sites and communication destinations can be identified and previously unknown due to detected signature or heuristic analysis malware.

Pros to code emulation:

  • Not dependent on operating environment/ configuration:
  • immunity from, and often recognition of, many AV and VM evasion techniques; and
  • an efficient inspection process that can be run inline, without introducing significant network latency.

Cons to code emulation:

  • Inspection is limited to the initial object, rather than all elements of the attack; and
  • usually returns a rating without providing threat information/rationale.

Bucket #3: Application containers are primarily used on mobile devices as a way to separate personal and business user spaces. Additionally, certain applications include a contained application-specific space. In both cases, the technology segments business-oriented applications from other applications on the device and establishes a “secure workspace.” For example, mobile email or a mobile CRM application may be cordoned off in an attempt to keep it safe from whatever the end user might do in the personal space.

Pros of application containers:

  • Runs directly on device as an inline prevention measure; and
  • isolates work applications and data from personal ones.

Cons of application containers:

  • Generally not secure from OS and other attacks that can bypass the container walls or application attacks from items already within the container;
  • greatly limits the availability of apps and/or requires special app development for use in the container; and
  • can be a poor user experience that is often circumvented.

Bucket #4: Secure browsers allow certain Web objects and activity to be held and run in a contained environment before being allowed to access the rest of the system. The technology includes a rating feature for suspect sites and is becoming a standard feature on today’s most common browsers.

Pros to secure browsers:

  • Deployed inline on the production device; and
  • addresses a very common malware delivery mechanism: the Web.

Cons to secure browsers:

  • Offers no protection from OS or application- level attacks;
  • often conservative in its rating; and
  • can introduce a degree of latency.

Bucket #5: Task-based VMs, also referred to as micro-VMs, generally sequester all tasks from the system and OS through application and browser levels for comprehensive coverage. Practically all individual activities are enacted in a contained environment, judged and then blocked or allowed to proceed.

Pros to task-based VMs:

  • Deployed inline on the production device; and
  • provides “full stack” coverage.

Cons to task-based VMs:

  • Adds significant performance impact and latency; and
  • an aggressive security setting can slow devices considerably, but one that’s too lenient will let threats through.

Taking Sandboxes to the Next Level

What makes sandboxes most effective is a multi-pronged approach that uses the strengths of one to counter the weaknesses of another. Organizations are encouraged to leverage more than one approach, especially techniques that may be built-in. For example, combining code emulation with a full Virtual Operating Environment on one box can improve the efficiency and immunity to evasion of emulation to detect certain advanced threats inline. This will reserve offline, full, OS sandboxing for the most sophisticated threats, especially multi-stage attacks whose maliciousness is only evident later in the lifecycle.

As security technologies continue to evolve from signatures to heuristics to reputation to behavior analysis, and beyond, they often do so in response to evolution in the threat landscapes and cybercrime.

While there is no silver bullet or endgame in sight, organizations need to assess their tolerance for risk and determine which baseline, be it firewall (VPN, Web filtering and anti-malware); emerging (IPS, application control, whitelisting, DLP and encryption); or advanced (anomaly detection, sandboxing and forensics security technologies), are right for them. The good news is that there is a number of promising sandboxing technologies available to examine activity and complement traditional measures focused on attributes.

In particular, organizations transitioning to a next-generation firewall (NGFW), which includes firewall, VPN, IPS, application control and anti-malware, that add a sandbox, have a unique advantage over businesses that prefer to take a piecemeal approach to network security. An NGFW and sandbox deliver a powerful combination that can help organizations reduce their security risk by:

  • Preventing access to, downloads from and communication with websites, applications and external servers based on category, reputation and port/protocol analysis, as well as identification during virtual execution of code;
  • identifying malicious code through the use of file signatures, traffic patterns, attribute heuristics, code emulation and full virtual execution; and
  • understanding today’s threats in terms of their nature and broader scope to remediate faster and improve security across the board.

This article originally appeared in the February 2014 issue of Security Today.

Featured

  • Return to Form

    My first security trade show was in 2021. At the time, I was awed by the sheer magnitude of the event and the spectacle of products on display. But this was the first major trade show coming out of the pandemic, and the only commentary I heard was how low the attendance was. Two representatives from one booth even spent the last morning playing catch in the aisle with their giveaway stress balls. Read Now

    • Industry Events
    • ISC West
  • Live from ISC West: Day 1 Recap

    The first day of ISC West 2023 is in the books, and it’s safe to say that vendors have brought their A-game to Las Vegas. The booths of this year’s Live From partners—NAPCO Security, Alibi Security, Vistacom, RGB Spectrum, and DoorKing—were swamped all day long. Here’s a brief recap of just a few highlights from each partner’s presence at the show. Read Now

    • Industry Events
    • ISC West
  • Turn on the AC, ISC West is Hot

    Nothing warm about the Las Vegas weather outside. It is cold, and it was raining after the opening day. No one seemed to care inside the convention center. The hall was packed with inquisitive security professionals. Read Now

    • Industry Events
    • ISC West
  • Live From ISC West 2023: Day 1

    ISC West 2023 in Las Vegas, Nevada, has officially begun! Make sure to keep an eye on Security Today’s ISCW Live 2023 page, as well as our associated Twitter accounts—@SecurToday and @CampusSecur—for the latest updates from the show floor at the Venetian Expo. Read Now

    • Industry Events
    • ISC West
Most   Popular

Featured Cybersecurity

New Products

  • PACE® Long Range Ethernet Solutions

    PACE® Long Range Ethernet Solutions

    Altronix introduces the newest addition to its portfolio of PACE® Long Range Ethernet Solutions. 3

  • Camden Door Controls CV-603 2 Door Bluetooth Access Control System

    Camden Door Controls CV-603 2 Door Bluetooth Access Control System

    his app-based system is designed to provide ‘best in class’ security of doors and gates, with up to 2,000 users. The intuitive programming app is Apple® and Android® compatible, with easy to use system set-up, user administration, downloadable audit trail and data back-up. 3

  • BriefCam v6.0

    BriefCam v6.0

    BriefCam has released BriefCam v6.0, which introduces the new deployment option of a multi-site architecture. This enables businesses with multiple, distributed locations to view aggregate data from all remote sites to uncover trends across locations, optimize operations and boost real-time alerting and response – all while continuing to reap the benefits of BriefCam's powerful analytics platform for making video searchable, actionable and quantifiable. 3