CERT C

CERT C conformance with the LDRA tool suite.

CERT C Overview

The CERT C Secure Coding Standard provides rules and recommendations for secure coding in the C programming language. The goal of these rules and recommendations is to eliminate insecure coding practices and undefined behaviours that can lead to exploitable vulnerabilities. The application of the secure coding standard will lead to higher-quality systems that are robust and more resistant to attack

Why Secure Coding?

CERT C code review by violationSecurity is an important parameter that contributes to overall system quality. Easily avoided software defects are a primary cause of commonly exploited software vulnerabilities. CERT (Computer Emergency Response Team) has observed, through an analysis of thousands of vulnerability reports, that most vulnerabilities stem from a relatively small number of common programming errors. By identifying insecure coding practices and developing secure alternatives, software developers can take practical steps to reduce or eliminate vulnerabilities before deployment.

As part of this initiative, the CERT Secure Coding team works with software developers and software development organisations to reduce vulnerabilities resulting from coding errors before they are deployed. In collaboration with the software assurance and C language development communities, CERT developed the CERT C Secure Coding Standard to provide secure coding guidance to developers and suggests secure code must exhibits properties like:

  • Dependability: Dependable software executes predictably and operates correctly under all conditions, including hostile conditions, including when the software comes under attack or runs on a malicious host.
  • Trustworthiness: Trustworthy software contains few if any vulnerabilities or weaknesses that can be intentionally exploited to subvert or sabotage the software's dependability. In addition, to be considered trustworthy, the software must contain no malicious logic that causes it to behave in a malicious manner.
  • Survivability: Survivable software is software that is resilient enough to (1) either resist (i.e., protect itself against) or tolerate (i.e., continue operating dependably in spite of) most known attacks plus as many novel attacks as possible, and (2) recover as quickly as possible, and with as little damage as possible, from those attacks that it can neither resist nor tolerate.

Solution: Integrating Security into the Software Development Lifecycle (SDLC)

"Security enhancement" of the SDLC process mainly involves the adaptation or augmentation of existing SDLC activities, practices, and checkpoints, and in a few instances, it may also entail the addition of new activities, practices, or checkpoints. In very few instances, it may also require the elimination or wholesale replacement of certain activities or practices that are known to obstruct the ability to produce secure software. The key elements of a secure software life cycle process are:

  • Security risk identification
  • Add security to system requirements
  • Add security to architectural design
  • Adopt secure coding practices
  • Test for security or security testing practices that focus on verifying the dependability, trustworthiness, and sustainability of the software being tested.
Obtaining Further Information

For further information on compliance to CERT C and availability please complete the LDRA reply form or email info@ldra.com.

CERT C Compliance

TBsecure® automates documentation for security compliance and certification.

CERT code review

LDRA, the leading provider of automated software verification, source code analysis, and test tools has developed TBsecure® to provide developers with the means to determine software compliance to the Secure Coding Standard (CERT C), which identifies the common programming errors behind the majority of software security attacks.

LDRA Testbed, the core analysis engine of the LDRA tool suite, performs the static analysis required for coding standards enforcement. TBvision may then be used to review the results against any of the many LDRA tool suite supported industry coding standards, including CERT C.

Building Security into the SDLC

The foundation of sound software design and development practices starts with requirements, which establish the verification baseline for the project; the highest level description of what the 'right' system is. This includes both the functional requirements (i.e. what the system is supposed to do), together with non-functional requirements (e.g. performance requirements). In addition, requirements should describe the assurance activities necessary to ensure that the requirements have been implemented correctly. This refers to the ability to link system requirements to software safety requirements, then from software safety requirements to design requirements and then to source code and the associated test cases. Tracing requirements is the best way to ensure that the final system does exactly what is specified by the initial requirements.

CERT C programming standards flowgraphThe LDRA tool suite spans the entire software development lifecycle, from requirements traceability through static and dynamic software analysis and unit testing, facilitating the process automation required to achieve good quality software, which is on time and within budget. The accuracy, determinism and formal reporting capabilities of the LDRA tool suite lend themselves to their use in the development of safety critical software.

Benefits

  • Helps drive security focus
  • Improves accuracy
  • Requirements Traceability
    - Ensures security focus throughout SDLC
  • Static Analysis
    - Improves the overall quality of code
  • Unit Test
    - Improves security testing productivity
    - Helps ensure 100% code coverage
  • Test Verification
    - Ensures 100% requirements coverage
Obtaining Further Information

For further information on compliance to CERT C and availability please complete the LDRA reply form or email info@ldra.com.

Latest News

    Show All
  • 31st March 2014
    LDRA breaks through verification barrier for multicore platforms, promising system developers the re...
  • 31st March 2014
    LDRA has optimized the LDRA tools to enable developers to fully analyze and verify safety-critical a...
  • 18th March 2014
    LDRA chooses Prosoft, a leading provider of embedded-systems technologies and services in Russia, to...

Events

20th May 2014
UK Device Developers' Conference
Bristol, UK
22nd May 2014
UK Device Developers' Conference
Cambridge, UK
3rd Jun 2014
UK Device Developers' Conference
Manchester, UK

Contact Details

Email: info@ldra.com
Tel EMEA: + 44 (0) 151 649 9300
Tel USA: +1 (855) 855 5372
Tel India: +91 80 4080 8707

Follow Us