Retrofitting Code into Binary Executables and Firmware to Add New Functionality for Embedded Systems

Closed Solicitation Posted

Solicitation number
N161-070
Agency
Responses due
Set-aside
Total Small Business

Opportunity facts

NAICS code
541715 Research and Development in the Physical, Engineering, and Life Sciences (except Nanotechnology and Biotechnology)
PSC
AC12 National Defense R&D Services; Department Of Defense - Military; Applied Research
More information

Notice details come from DoD SBIR/STTR (DSIP). Updated .

Notice text

DoD SBIR topic N161-070

Component: NAVY

Command: ONR

Phase: SBIR Program Phase I Action

Technology Areas: Information Systems

Keywords: reverse engineering; binary modification; machine code; embedded security; firmware; function recognition

Objective:

Investigate, design, and develop an automated or semi-automated tool for inserting new instructions and functionality into existing (compiled) binary executables and firmware for embedded systems.

Description:

Effectively securing the growing array of embedded devices in use on military platforms is a critical challenge. Aside from their ubiquity, embedded devices increasingly handle larger amounts of privacy-sensitive information as the movement towards the "Internet of Things” (IoT) continues. Furthermore, embedded devices play a central role in critical infrastructure and control key mechanical systems in the industrial, energy, and transportation sectors. In such applications, errors and vulnerabilities in the software running on these devices can have devastating impacts due to their ability to cause failures in the physical world.

A key challenge toward securing embedded devices is that it is difficult to modify their behavior for defensive security purposes: the devices commonly execute proprietary firmware where source code and documentation are unavailable. Given the long lifespans of these components, it is often the case that the original vendor is unavailable or unmotivated (due to lack of cost-effectiveness) to provide updates with new and improved security functionality. An automated or semi-automated tool to allow users to retrofit their own set of instructions into the operation of the firmware would enable security improvements for such legacy devices.

Retrofitting new functionality onto legacy binary code is a challenging task, but not insurmountable [1-3]. With embedded firmware, the lack of OS and library abstractions in conjunction with a variety of poorly documented firmware image formats, some of which must be unpacked [4], renders existing static or dynamic binary analyses extremely challenging to apply. Such methods typically require basic facts about the system under analysis, including how to interact with hardware, how to load the image into memory, where to begin execution, and where untrusted input can be received and processed by the firmware [5].

This SBIR topic encourages the development of a methodology and tool or toolset for reducing the workload in retrofitting binary executables with the ultimate goal of enhancing the security defenses of an embedded system. The resultant tool or toolset should operate statically on a binary image, not operate dynamically in a manner that requires modifying the loader or interface. The tool should accept a binary image as input, integrate the new functionality, and should output an enhanced binary image that has been retrofitted with the new code.

The methodology should encompass all technical aspects of the effort, including but not limited to analysis of binary code formats, binary reverse engineering, binary rewriting, and insertion of new functionality/code into an existing binary. When retrofitting new code, care must be taken to apply the modifications safely and in a manner that impacts the overall system in a predictable fashion. Also very few, if any, assumptions should be made about the information supplied by the original vendor (e.g. debug symbols).

Phase I:

Develop a methodology and toolset for retrofitting new functionality into legacy binary code. Identify, design, implement, and integrate the tools required for the methodology. Develop a limited proof-of-concept for the methodology to prove the feasibility of your approach.

Phase II:

Based on the Phase I effort, further develop and enhance the toolset into a fully functioning prototype for retrofitting legacy code with new functionality. Demonstrate and evaluate the efficacy of the methodology and toolset on legacy embedded binary firmware.

Phase III:

Upon successful completion of Phase II, the performer will support the Navy in transitioning the toolset for Navy use. The performer will develop a plan for integrating the toolset and related process into the Navy’s embedded control system security framework. Given the trend toward connecting existing industrial control systems (ICS) to the Internet for ease of management, many ICS that were never designed for outside exposure must now deal with external cyber threats. In such cases, the ICS components are extremely vulnerable. The solicited methodology and toolset can also be used for custom-hardening IoT devices beyond what security the original manufacturer cares to provide. For the above reasons, there exists a sizable market in both the private and public sectors for the solicited methodology and toolset.

Files

File Type Posted
N161-070.pdf PDF

On GovTribe

Work this opportunity

  • Track it in your pipeline
  • Find teaming partners
  • Similar opportunities
  • Ask GovTribe AI about this opportunity

GovTribe for Federal Contractors