Showing posts with label NIAP. Show all posts
Showing posts with label NIAP. Show all posts

Thursday, May 7, 2015

Newly Approved NIAP "collaborative Protection Profile for Network Devices"

NIAP recently approved a new protection profile for network devices called the "collaborative Protection Profile for Network Devices"(NDcpp) version 1.0. This protection profile supersedes the older NDPP v1.1 protection profile. NIAP plans to sunset NDPP v1.1 on August 27, 2015.


The NDcpp contains most of the same requirements as NDPP plus several new requirements, several enhanced requirements, and a few optional requirements. The linked PDF presentation contains a comparison of the new NDcpp v1.0 to NDPP v1.1 Errata #3. It also contains a slide of a few SFR inconsistencies found in the new NDcpp.


cPP for Network Devices v1.0

Wednesday, October 30, 2013

Collaboration and Openness to the Rescue of Entropy



This past September was my conference month. I first went to the 14th International Common Criteria Conference (ICCC) in Orlando, Florida and then a week later I was at the 1st International Cryptographic Module Conference (ICMC) in Gaithersburg, Maryland.

The theme of the ICCC this year was a collaborative approach. The conference directed the CC community to adopt the Collaborative Protection Profile approach (cPPs). The task of the protection profile development and maintenance is shifted from the CC Development Board (CCDB) to various Technical Communities (TCs). TCs are expected to gather experts from the Industry, Government, and Academia to ensure the cPPs stay current in the world of fast-evolving technologies. The CC User Forum (CCUF) will be playing an increasingly important role facilitating the communication between the cPP consumers and cPP developers.

The opening speech of the ICMC was delivered by Charles H. Romine, Director of the Information Technology Laboratory at NIST. Openness of NIST was the core of the speech. NIST has held open competitions for AES and SHA-3. NIST even reopened the public comment period for SP 800-90 series of crypto standards in the interest of openness to give the public a second opportunity to view and comment on the standards. NIST acknowledges the challenges (e.g., such as several-month long review pending queue) that the Cryptographic Module Validation Program (CMVP) is facing and invited all ideas from the audience and public for improvement.

One of the common features of both conferences was the heated discussions on RNG and entropy. The ICMC had three presentations devoted to this topic:
The ICCC had the following presentations on general cryptography, as well as RNG and entropy in particular:

The number of presentations at both conferences was not surprising since more and more Target of Evaluations (TOEs) rely on cryptographic support (i.e., class FCS functionality) for user authentication, data protection, secure communication, and trusted path/channels. Assessing the security strength of cryptographic algorithms and keys has become indispensable for the vulnerability assessment of a TOE.  The Random Number Generator (RNG) that provides the random source for a key determines the quality of the generated keys. A predictable RNG could lead to the downfall of the entire system. To avoid this Achilles’ heel, it’s crucial to have a well-designed and properly-tested RNG and entropy source.


COLLABORATION?





Both CC evaluations and FIPS 140-2 validations require scrutiny of the entropy source.  For example, Annex D of the U.S. Network Device Protection Profile (NDPP) v1.1 provides requirements for entropy documentation and assessment. The documentation of the entropy source is expected to be detailed enough to include the following:
  • Design Description
    Documentation shall include the design of the entropy source as a whole, including the interaction of all entropy source components.
  • Entropy Justification
    There should be a technical argument for where the unpredictability in the source comes from and why there is confidence in the entropy source exhibiting probabilistic behavior (an explanation of the probability distribution and justification for that distribution given the particular source is one way to describe this).
  • Operating Conditions
    Documentation will also include the range of operating conditions under which the entropy source is expected to generate random data.
  •  Health Tests
    All entropy source health tests and their rationale will be documented.

The CMVP is working on an Implementation Guidance (IG) on entropy analysis. The draft version has already been circulated among accredited labs for review and comments. Vendors can also provide feedback through their representing labs. Although the CMVP is still working on incorporating the feedback received from labs and vendors, the following requirements stated in the draft IG will likely remain unchanged in the final version, which currently states the following:
  • The documentation shall contain a detailed logical diagram which illustrates all of the components, sources, and mechanisms that constitute the entropy source.
  • The statistical analysis has to be performed on the raw, non-conditioned data. The testing lab is responsible for choosing the statistical tests and justifying their selection. Further, the lab shall explain what the result of each test means and how this result can be justified.
  • A heuristic analysis of an entropy source along with the justifications of the entropy claims based on this analysis. This analysis shall always be included in the test report.

In theory, a thorough analysis on the entropy source coupled with some statistical tests on the raw data is absolutely necessary to gain some assurance of the entropy that plays such a vital role in supporting security functionality of IT products. While the statistical tests are useful to detect the patterns in the input data and hence to alert for low entropy cases, their passing results do not at all prove that there is sufficient entropy in the input data. For example, a sequence of 20-byte bit-strings obtained by consecutively applying SHA-1 function as a pseudo randomizer to an initial 20-byte of 0 bit-string may well pass all sorts of statistical tests, but it is obvious that there is no entropy in the 20-byte of 0 bit-string to start with. Therefore, the statistical tests alone cannot justify the seemingly randomness in the output strings. The statistical tests performed on the conditioned data are even more removed from reflecting the adequate entropy of the initial random value. If one is seriously investigating the entropy source to gain a certain level of assurance regarding its quality, then the requirements set forth for CC evaluation or FIPS validation are appropriate.

However, the requirements of entropy analysis stated above impose an enormous burden on the vendors as well as the labs to an extent that they are out of balance (in regard to effort expended) compared to other requirements; or in some cases, it may not be possible to meet the requirements.

The TOE Security Assurance Requirements specified in Table 2 of the NDPP is (roughly) equivalent to Evaluation Assurance Level 1 (EAL1) per CC Part 3. This is a rather bizarre phenomenon! The NDPP does not require design documentation of the TOE itself; nevertheless its Annex D does require design documentation of the entropy source--which is often provided by the underlying Operating System (OS). Suppose that a TOE runs on Windows, Linux, AIX and Solaris and so on, some of which may utilize cryptographic acceleration hardware (e.g., Intel processors supporting RDRAND instruction). In order to claim NDPP compliance and succeed in the CC evaluation, the vendor is obligated to provide the design documentation of the entropy source from all those various Operating Systems and/or hardware accelerators. This is not only a daunting task, but also mission impossible because the design of some entropy sources are proprietary to some OS or hardware vendors.

The vendors pursuing cryptographic module validation under FIPS 140-2 are facing the same challenge. While software modules often rely on the operational environment to provide an entropy source, hardware modules may use the third-party provided entropy source in an Integrated Circuit (IC). But regardless of whether the module is hardware or software based, the design documentation of the third-party provided entropy source is often not available. In addition, there is no externally-accessible interface to the third-party provided entropy source that would enable accessing the raw non-conditioned random data for statistical tests. These interfaces are inaccessible due to their security architecture, which if they were accessible, these interfaces may become an attack surface susceptible to the malicious manipulation of the entropy source.

In cases where the entropy source is from some open source OS such as Linux or perhaps even designed by the vendor themselves, the vendor may be able to provide the design documentation and raw non-conditioned data for test. However, this places a heavy burden on the testing labs to provide justifications for their methodology (e.g., selection of statistical tools) and then provide the analysis based on the justified methodology. Many labs raised their concerns at the ICMC that a task of this nature requires mathematicians with doctoral degrees and goes beyond the scope of the conformance testing that the cryptographic module validation program is bound to.

As we can see, from the requirements for entropy source to the fulfillment of these requirements, there is a giant leap. Asking each vendor and each lab for each CC evaluation or each FIPS validation to meet the requirements of entropy source as stated in the Annex D of the NDPP or in the draft FIPS 140-2 IG is a monumental task not commensurate with the expected effort, and even then the proposed result would still be beyond reach.

Instead of requiring the vendors and labs to find solutions for the entropy issue on their own, NIST should play a leading role not only in setting up the requirements but also in establishing a path to meet the requirements. Vendors and labs can join this effort led by NIST to put the necessary infrastructure in place, before expecting vendors and labs to evaluate the quality of the entropy. Here are some thoughts on how to establish such an infrastructure:
  • NIST may hold open competitions for acceptable entropy sources and entropy collection designs with reference implementation in commonly-seen categories such as linear feedback shift registers (LSFRs), noisy diodes, thermal sampling, ring oscillator jitter, CPU clock readings, various human-induced measurements (e.g., the time intervals between the keystrokes). The end result would be a list of NIST-recommended entropy sources and their corresponding entropy collection mechanisms. Just like NIST-approved algorithm standards, the NIST-approved entropy source standard would regulate the entropy source design and implementation.
  • NIST should set up test criteria (e.g., operational conditions, pre-requisites, variable lengths) and provide test tools to the accredited testing labs for validating entropy source. Just like the Cryptographic Algorithm Validation Program (CAVP), this can be Entropy Source Validation Program (ESVP).
  • NIST would maintain a validation list for all of validated entropy sources.
  • CMVP and NIAP (or perhaps even CCRA members) would reference the entropy source validated list.

With this infrastructure in place, the steep entropy requirements are broken down into several steps. The OS vendors and IC vendors, if they provide entropy source in their products, will be motivated to undertake the entropy source validation and make their product available on the NIST validation list. Vendors who need to make use of the third-party entropy source can look up the NIST validation list and make an appropriate selection. Labs performing the testing on the entropy source would use the provided test methodology and tool for the entropy source producer, and check the validation list for the entropy source consumer. After establishing the above-described infrastructure, the testing of the entropy source and maintenance of the validation list are manageable steps for the labs and vendors to follow.

One may say that it sounds like a plan, but that’s easier said than done. I hope with NIST’s openness and NIAP’s collaborative approach, it is possible to rescue the vendors and labs from the currently impossible entropy requirements.

By: Dr. Yi Mao

Wednesday, October 2, 2013

US partial Government shutdown

The US government shutdown means that the following are affected:
 
  • NIAP - closed until further notice.
    13/10/07 - 
    NIAP Returns from Furlough

    As of 7 October 2013, NIAP operations are resumed. Please feel free to contact us with inquiries. We thank you for your continued support.
  • CMVP (NIST) - closed until further notice, but CSEC (Canada) CMVP 
    will continue operations, however no validations will be completed 
    without a NIST signatory
  • CAVP (NIST) -  closed until further notice. 
  • SCAP -  closed until further notice.
  • GSA and TWIC are also probably affected, 
    but we don't have official word from those programs yet. 
 
atsec continues to work on IUT and evaluation projects in the atsec labs as normal, but obviously progression through scheme/program milestones may be affected.
atsec customers in evaluation under other schemes such as BSI or CSEC (Sweden) are not being affected. 
atsec customers with questions about their projects should contact their atsec representative. 

Sunday, September 22, 2013

A Youthful Idiot's Take on the Common Criteria


I am only twenty-seven years old with a little more than five years of experience in Information Assurance. The collective wisdom, experiences, and vantage points of the giants of our field make what I have learned and done insignificant in comparison. Nevertheless, my passion for the art of computer security may likely be greater. With my inexperience comes youthful naivety and a drive to want to see the ideal be realized. I am regularly living the excitement of discovery that my seniors have come to know well beyond familiarity. I am the youthful idiot who wants to do what most others believe is impossible. It's this reckless optimism, the innocent taboo questions, the willingness to violate prior assumptions that makes me and those from my generation valuable to you as a community. What is the community doing to keep my generation interested and engaged? I fear the answer is quite disappointing.

The Common Criteria community at large is removing the notion of architectural assurance from security, and NIAP and its close partners particularly. They have reached the conclusion that their stakeholders benefit more from focused conformance testing than they do from an architectural review. In a practical sense, this amounts to asking evaluators to set firewall rules and check that packets are indeed blocked, rather than asking them to study and understand the internal data flow of the firewall to determine that the claimed functionality is actually sufficient to meet its objectives. While I cannot fault anyone for making their own value judgments, I cannot help but wonder if the Common Criteria community wouldn't be upset to see passionate young professionals take their enthusiasm elsewhere.

Very personally speaking, what inspires me to work for atsec is the shared belief in the importance of careful, deliberate, and holistic information assurance. When I first joined the company, I found that the Common Criteria echoed these values, and I grew to appreciate what it was and what it had set out to achieve. Of course, just like anyone involved in the certification process, I ran afoul of the deficiencies in the standard that the community hadn't ironed out yet, but I had believed that would all come in time. Wielded expertly, I saw that the Criteria could be used as a robust methodology for tracking down serious design flaws and for assuring and reassuring end users of the claims made by developers.

Over the last several years, I've seen the Common Criteria community diverge from the original goals I thought it strove for. First, I witnessed the destruction of its flexibility in meeting the varied assurance demands of the industry. The community rightfully recognized that consumers of certified products were not being served effectively by a coarse and vaguely specified leveled assurance methodology. However, with its enthusiasm to eradicate what didn't work, it failed to replace it with something that did, leaving the community in chaos. Without a path forward, government agencies, critical infrastructure, finance, and other industries with highly valued assets had no way of answering the questions posed by their stakeholders: Why should I trust these systems with our lives and livelihoods?

As I watched and participated in our progress—albeit distantly as an evaluator behind the scenes—the community began figuring out that tailoring assurance for specific technical classes of products was the most sensible solution, and though the birth of the protection profile was many years ago, it was reborn when we rediscovered its value as a community. However, the execution of these protection profiles has obliterated the Criteria's original goal of curating a comprehensive catalog of security mechanism descriptions that are comparable and compatible internationally. A vast majority of the profiles created since the CCRA shifted its weight make only superficial reference to the Criteria, and I am uncomfortable using them. If I were asked to evaluate them, I would be forced to fail them, because they are clearly not conformant to the Common Criteria. Authors have all but re-written Part 2 of the Common Criteria without providing any more of a rationale than the formalism is irritating. However irritating it is, formalism is a way of communicating effectively through time and across national borders. When authors capriciously change the formal language, evaluators are forced to ask, “What was the purpose of that change?” As Miguel Banon very wisely pointed out at the 14th ICCC in Orlando, despite our efforts to provide the world with achievable, repeatable, and testable criteria, we have accomplished precisely the opposite.

In my five years, I have witnessed the destruction of a great portion of what makes the Common Criteria extraordinary. From within atsec, I see the desperation that Sal, Helmut, Fiona, Staffan, and Gerald have to hold this community together. Their sharp criticism stems from the stewing frustration that bubbles up from our evaluators, our customers, and our fellow labs who I'm very certain are just as dedicated to information assurance as we are.

What I—and all the rest of your colleagues from my generation—cannot provide you with, is the capability, wisdom or knowledge from decades of experience. We cannot offer sage advice on entropy testing methodologies. We cannot provide guidance on how to set up a technical community with international members. We cannot connect the dots between old Orange Book certifications and new operating system evaluations. There are giants still among us willing to share that. What we do represent is the potential future of your community. We are sponges for knowledge eager to engage in the problems you have tackled before us. If you take information assurance out of the Common Criteria—the same source of passion that enthralled you when in our shoes—we will innovate elsewhere.

To drive home the point, the University of Texas, my alma mater, was recognized by the NSA/CSS as a “National Center of Academic Excellence in IA Eduction” a year or so after I graduated. The goal of the program, as stated on the NSA website, is “to reduce vulnerability in our national information infrastructure by promoting higher education and research in IA and producing a growing number of professionals with IA expertise in various disciplines.” Yet, how are these goals at all consistent with the dilution of information assurance in the industry that we have all witnessed? When held in stark comparison to these goals, I find it quite astonishing that NVLAP, the accreditation body for laboratories in the U.S., has removed its requirement for CC Part 3 assurance proficiency. While I'm just a guy who likes to fix broken things (and break fixed things), I'm afraid you might have to deal with the very real situation that maybe the next information security savant is somewhere out there feeling just as disenchanted and disappointed in the state of information assurance as I am.

From my humble office chair, I struggle to see how I can make a discernible difference. Traveling to the ICCC this year, I found myself out of place. There's so much reminiscing about the Orange Book, the Federal Criteria, ITSEC, and reports by some dude named Anderson. And yet, where are the Andersons of my generation? Where are the Schells? Where are the Kurths? What is our community doing to embrace my generation to foster new security geniuses other than scorching the Earth and leaving us the pleasure of reinventing from scratch?

By Jeremy Powell

Tuesday, August 6, 2013

How long is a piece of string?


"How long is a piece of string?" is an English idiom; it is something that you say when someone asks you a question that you cannot answer about how big something is or how much time something will take.




This was the phrase that came to mind when we saw the old, 2005,  NSTISSP#11 guidance from the CCEVS: "The goal established for low assurance products (i.e., EAL 1) is 30-90 days of evaluation time and will cost less than higher assurance (e.g., EAL4) evaluations."

First, an important caveat: It seems that since 2005 at least, the NIAP have been leaders in the field to try and address the topic of providing timely information assurance, which is a problem that has also been expressed more widely within the CC community. So please do not see this blog as being focused particularly at NIAP. It is relevant to any scheme aiming to bound the length of an "evaluation." In fact, the very first key point in the CCMC's Vision Statement is: "The general security level of general ICT COTS certified products needs to be raised without severely impacting price and timely availability of these products."

The issue of evaluations taking too long is a perennial problem that the CC community hopes to address together. Of course, the U.S. scheme is amongst the schemes represented in the community, and the NIAP are lucky enough to have their own national feedback in the form of reviews and studies that are part of the checks and balances in place in the U.S. For example, in 2006 the IDA published, "Review of the National Information Assurance Partnership (NIAP)."

This report gave attention to efficiency and effectiveness of the U.S. scheme and includes the statement: "Evaluation costs are too high and they take too long. These are common complaints, particularly from small businesses." The topic of appropriate metrics is pervasive throughout the report. In fact, just after that report was published, U.S. labs saw a flurry of activity from NIAP hoping to identify and establish appropriate measures, amongst them was the elapsed time for an evaluation project.

This is an important metric, BUT it needs to be defined correctly and appropriately if it is to be useful.

I contend that what NIAP really meant to say in their old NSTISSP#11 guidance was:

"The goal established for low assurance products (i.e., EAL 1) is 30-90 days of validation time and will cost less than higher assurance (e.g., EAL4) evaluations."

Consider that the evaluation portion of a project is the work undertaken by the lab in close cooperation with the vendor.  How long this takes depends on how you define "evaluation project."
  • For developers, it starts the moment they decide that they may need to perform a CC project.
  • For labs and consultants, it starts the moment a developer hires them.
  • For schemes, it starts when a project is formally "entering evaluation."


Let's consider a typical project, identifying the following key "phases" of an evaluation project from the point of view of the sponsor of a project.

1. Decision: The decision process when a vendor identifies the requirements for the "project:" factors include their target market and the associated requirements for CC compliance, which scheme to use, which national policies apply, identifying a laboratory and any needed consultancy, defining the TOE, and selecting appropriate PPs. Depending on prevalent policy, this phase may include the need to develop a suitable PP before a product can be evaluated.

2. Review: A review of the product against the identified requirements, which is often made with a consultant. This may mean that organizational processes or product changes need to be made. The axiom, "the earlier in the cycle, the cheaper it is to fix" may well apply.

3. Evaluation: The laboratory performs the evaluation. Currently some schemes are closely involved with this task. Oversight of the laboratory by the scheme is close. Other schemes identify particular checkpoints. (For example, NIAP's Validation Oversight Reviews (VOR), which is a type of formal technical review.)

4. Validation: The scheme performs the validation of the lab's work. Historically this was performed hand-in-hand with the evaluation work performed by the lab. This phase usually includes discussion and negotiation of the technical and policy details and interpretations are issued and managed. Once the validator is satisfied, the process culminates with the issuance of a certificate.
Here is a typical waterfall view. I don't for a moment think that any of the community runs projects like this! Notice that the timeline is in quarters of a year (i.e., 3 months). The durations given are typical, but in real life are dependent on many factors and can be much shorter or longer.


So how are projects currently organized?

Assuming that an appropriate PP exists,or is not specified, in atsec's experience we are used to seeing a model like this:

For developers with complex international markets, the decision phase can be quite lengthy. Once the basic parameters are set, getting the consultants in early can help shorten the project and reduce some of the project risks. Some technologies or products are naturally more complex and take longer (the shaded areas in Evaluation and Validation). The "Review" phase can be significantly lengthened if this is the first time a developer's project team has performed a CC project, or if significant process or product changes are needed.

One important point to remember is that one of the project dependencies is the availability of scheme (validator) resource. In the past, we have seen projects delayed in more than one scheme because of availability of scheme resources.

What about schemes that require a PP that doesn't yet exist?

NIAP have been demanding that the community write a PP first (and cPPs for the wider CC community are part of the Vision). As we know, developing a PP is a lengthy process. At the moment, it typically takes close to two years. Of course, as more and more PPs and cPPs become available, then this issue will reduce. The quality of the PP, and how much interpretation or guidance in its application is needed will affect all the subsequent projects.



This scenario is adding huge costs to the developers, immensely extending the timeline for projects, and given the typical product life-cycle, means that for many newly issued certificates the related products are no longer current (a problem that already existed, but that this scenario exacerbates).

Consider also that the real world is not so simple. For developers with a defined certification strategy, several projects may need to be coordinated and budgeted, and not just CC projects. When timescales can be variable, it can make program management very difficult indeed. 

What will a defined validation period mean?

Granted, at lower assurance and with improved processes, the time for evaluation will reduce. Of course we need to consider that for many of the developers that address international markets and must or want-to demonstrate higher assurance in the same project or run a NIAP project concurrently with other projects than the natural approach is to have the lab perform the evaluation ahead of the formal "entry" into the NIAP program. In effect, the NIAP's 90 days becomes an additional overhead as the participants strive to reduce the risk of last-minute surprises.

So making such a mandate may do little more than add an extra 90 days to the schedule, reduce the involvement of the validator in the evaluation work, and increase project associated costs to the developer.

An additional item for the efficiency of this model is the documentation, consistency and dissemination of any interpretations and policy changes. Without the developers and labs having access to a formal set of precedent rulings, prior adjudications and  interpretations, the validation phase will inevitably extend as a result and may result in confusion, inconsistent application of precedents and perhaps worse, inconsistent and even unfair evaluations. As new PPs are applied, then we find the need for interpretations, new policy and for potentially inconsistent applications inevitably increasing. Of course this may result in new versions of PPs, and the need to consider transition plans throughout the review and decision phases. For the "old" CC model of course we had the "interpretations" mechanism at both local and international levels, but for the new NIAP paradigm, many policies are not public, are disseminated to labs directly and may not even be formally and reliably fed back into the initiating technical community.




Without existing PPs, as is currently the case for many developers,the project will take at least 3 years!


What about the scheme metrics for the length of an evaluation?

Well, it depends how the scheme defines what an "evaluation project" is.

NIAP, like many schemes, define the start point as when an evaluation project is formally registered with the scheme.

So, for the scheme, the measurement is often made from the time an application to the scheme occurs until the certificate is issued. The time is variable, but over the years many schemes have found the need to set limits. These limits have been imposed to address abuse. (For example, by using the official: "In evaluation" status as a substitute for the certificate when dealing with procurement requirements, or because a ridiculously long project consumes valuable scheme resources.) NIAP's new policy is to reduce the length of this phase of the project to 90 days.

In order to meet such a timescale for the validation phase, the bulk of the evaluation work must be completed first. (It is the process of evaluation, or pre-evaluation that identifies all the inconsistencies that need to be cleared up in order to keep the "validation phase" to minimum length.)

How smoothly a validation goes (and hence how fast it can be done) depends on the ability to engage with the scheme to allow project members to ask for interpretations, the fine details of policy, and so on, means that "surprises" at the end of the process can be forestalled. This is especially important when a model is used where the validation runs very quickly as a "check" at the end of the project. With the validator assigned at the beginning of the lab engagement, many questions and issues can easily be ironed out.

Examples of this kind  of project model are adopted by many conformance testing programs. Let's use the CMVP (NIST's crypto module program) as an example.

Look what happened! Here the final "validation" phase became the main variable in project length which, due to resource variability in the program, fluctuates; in recent years, between three and ten months. Could this be a lesson learned that CC schemes should pay attention to?



 

Summary: Just how long is a piece of string?

The answer is:
  • For the scheme, NIAP: 90 days. 
  • For the rest of the community it is the same length it was before, plus 90 days. 
Thoughts, comments and feedback are welcome from the CC community.

P.S. If you are interested in this topic, then I will highlight the accepted paper at ICCC this year by Courtney Cavness entitled: "Faster Evaluations: A Matter of Timing." Check the ICCC program for the abstract and timing.

By Fiona Pattinson

Wednesday, March 6, 2013

The Gift of Guidelines

by Jeremy Powell, CCTL Deputy Manager

NIAP has published several protection profiles in the past year or so that are aligned with their new vision for the Common Criteria. Unfortunately, these profiles appear to be developed in isolated silos without a coherent overarching policy on what the U.S. government wishes to see with respect to information assurance. It is imperative that an assurance policy gets established quickly lest we end up with several protection profiles each with different interpretations of what assurance means and no real argument why this is better than where we started.

As an evaluator, I read protection profiles and often puzzle over the decisions the profile authors made. Why did they reword that SFR when the change appears to be superficial? Why are attacks on entropy considered in scope but we're uninterested in examining undocumented interfaces? I am constantly fretting over what nuances I might be missing. I imagine profile authors go through the same stress. They want to mesh their profile into the framework that already exists but may not quite understand how other technical communities determined the assurance requirements for other profiles. Both authors and evaluators are left to make their own interpretations to the detriment of reproducibility and repeatability.

What's missing in protection profiles (both old and new) is a clear statement about what the assurance objectives are that should be achieved with compliant products. A consumer choosing a compliant product should have a clear view of those objectives allowing him to map them to his own objectives and identify if and to what extent the evaluation addresses them. In old style protection profiles, just one of the assurance levels defined in the Common Criteria were required without justifying it or even analyzing if another combination of assurance measures would be more appropriate for the technology and the overall objectives stated. This mistake is still being made in new profiles. Although there are plenty of objectives for functionality, there are none for assurance.

A central policy needs to be developed to describe in plain words what NIAP and its stakeholders want to accomplish. Maybe the focus is on infrastructure resilience, financial sectors, and national security. If so, then an exposition of each group's information assurance requirements should be included, expressly listing any nuances each one might have. For example, maybe infrastructure (such as energy, utility, etc.) needs to focus on availability, whereas financial and national security groups need confidentiality to be the primary goal. Writing down these assurance objectives makes our efforts more pragmatic and mission-oriented.

Next, the policy needs to specify the actual assurance requirements that profiles would claim and refine. For example, the following assurance requirements might be potential candidates:

NIAP_TST.1 -  The evaluator shall develop and execute a test plan that demonstrates that the TSF behaves as the user guidance describes.
NIAP_VAN.1 - The evaluator shall check that all publicly known exploitable vulnerabilities that violate the security objectives are mitigated or removed from the TOE.
NIAP_ENT.1 - The evaluator, with guidance from the certifying  scheme, shall analyze and determine that the TSF securely generate cryptographic material.

Each of these requirements are very broadly written, but they effectively communicate what an evaluator will do to produce the needed assurance.

Last, the policy should provide guidance on how to adapt the assurance requirement to different technologies. Take NIAP_VAN.1 for example:

NIAP_VAN.1 requires the evaluator to identify publicly known vulnerabilities that affect the TSF. When refining this assurance requirement, the profile author might consider what "publicly known" means. In some cases such as general purpose operating systems, it might be appropriate to point to general vulnerability databases like Mitre's Common Vulnerability and Exposures (CVE) database. In more niche technology areas such as special network appliances, a more specific database may be specified that matches the technology type. It also is entirely appropriate and encouraged for profile authors to iterate and refine this assurance requirement for multiple databases. A profile author may wish to add extended assurance by requiring the evaluator to check the CVE database as well as the Metasploit framework for known exploits.

I'm sure it hasn't escaped the reader that this looks an awful lot like the structure of an assurance package with CEM-like guidance. Well, that's because in a lot of ways, that's a good way to do it. However, in moving toward the vision of technology-specific protection profiles, it becomes necessary for the profile authors to provide technology-specific assurance activities as it makes little sense to require evaluators to follow a vague "attack potential calculation" when the profile developers can tailor the assurance activities to the specific technology. So, we turn the concept of the "Common Evaluation Methodology" into the "Common Profile Development Methodology."

By developing this policy (and supporting methodology), NIAP can provide a common language to discuss the needs of their stakeholders with the vendors and labs. Clearer communication will help the vendors know what their customers need, it will enable the labs to provide more objective and principled evaluations, and it will allow stakeholders to confirm that they received the assurance that they actually asked for. For now, though, both profile authors and evaluators are relegated to making decisions based on guesswork, interpretation, and inference which does not lend our efforts to repeatable and reproducible results.

Wednesday, March 7, 2012

Don't forget about the Packages

By Fiona Pattinson

In the last couple of years I've heard various discussions, about evaluation assurance levels, or EALs in the abbreviated language of Common Criteria.
Some comments are sadly misguided: I've had people call me on several occasions to say things like: "I'd like to get an EAL please" and "EAL 4 is better than EAL 2". I've heard people claim that "EAL 1 is useless" and that "EAL 7 is the holy grail" and even "My product is better than yours because it has a higher EAL".
So, one common theme that often strikes me when I hear these kinds of discussions is that the ordinary security assurance consumer has no clue what an EAL actually is. Here's an attempt to explain it, and perhaps allow us to consider the statement "Let's not have an EAL at all" in an informed way.

Common Criteria Packages
The Common Criteria allows for two kinds of special constructs to support consumer groups, or technical communities in expressing their requirements for security assurance. These are called "Protection Profiles" (PPs) and "Packages". When we discuss EALs it is the "Package" construct on which we focus our attention.
A Package, as defined in the Common Criteria, is a named set of security requirements. It can be made up of either a set of functional security requirements, or of a set of security assurance requirements. Note that Packages containing both security functional and assurance requirements are not allowed. A Package can be defined by anyone with the goal of communicating a set of security requirements that are useful, effective and the package should also be reusable.
Note that it is not compulsory to use any packages when undergoing evaluation.
The Common Criteria standard goes so far as to define  some Packages of security assurance requirements itself (in part 3). One set of Packages are the familiar set of seven evaluation assurance level (EAL) packages. Another set of Packages are the composed assurance packages (CAP) , named CAP-A, CAP-B and CAP-C, which are to be applied when composing several already-evaluated components in order to provide security assurance about the whole..
The other construct allowed in the Common Criteria standard to communicate the needs of the various communities is the more familiar Protection Profile. A Protection Profile describes the general requirements for a technology type and is usually used as a template for the Security Target documents used to define the specific target of an evaluation. A Protection Profile may reference packages, but not vice versa. A Security Target document may contain statements that claim conformance to Protection Profiles and/or Packages.

About the Evaluation Assurance Level (EAL) Packages
Each EAL package, from "evaluation assurance level 1 - 7", gives a set of security assurance requirements drawing from the assurance classes of development, guidance documents, life-cycle support, testing, vulnerability assessment and security target evaluation.
Section 8.1 of Common Criteria 3.1 Rev 3 gives a complete overview of the evaluation assurance levels: The EAL packages are each described using a unique name, the objectives of the package are given, application notes are provided, and the chosen assurance components for that EAL are given. Note that the producers of the packages ensured that any dependencies were addressed within the package.
Although according to part 1 of the standard using the EAL packages is not mandatory, it is important to consider that the EAL packages have been defined within part 3 of the Common Criteria standard itself since its inception. So the EAL packages have become de-facto constructs in the language of Common Criteria. They have become institutionalized in the procurement language and regulations of many of the 26 certificate consuming governments and many user communities, procurement agencies and others that rely on them to describe the level of assurance that is needed for their own security case.
Not only are EAL packages often cited as a procurement requirement by assurance consumers. They have also been built into the language of internationally agreed mutual recognition arrangements such as the Common Criteria Recognition Arrangement (CCRA), and the MRA known as SOGIS, the Senior Officials Group – Information Systems Security which is a body of the European Commission. These are built on a common understanding of the assurance drawn from the use of such an agreed and specified package.

Evaluation assurance level 1 (EAL1) - functionally tested
EAL1 provides an evaluation of the target of evaluation (TOE) as made available to the customer, including independent testing against a specification, and an examination of the guidance documentation provided. It is intended that an EAL1 evaluation could be successfully conducted without assistance from the developer of the TOE, and for minimal outlay.
An evaluation at this level should provide evidence that the TOE functions in a manner consistent with its documentation.
Evaluation assurance level 2 (EAL2) - structurally tested
EAL2 is applicable in those circumstances where developers or users require a low to moderate level of independently assured security in the absence of ready availability of the complete development record. Such a situation may arise when securing legacy systems, or where access to the developer may be limited.
Evaluation assurance level 3 (EAL3) - methodically tested and checked
EAL3 is applicable in those circumstances where developers or users require a moderate level of independently assured security, and require a thorough investigation of the TOE and its development without substantial re-engineering.
Evaluation assurance level 4 (EAL4) - methodically designed, tested, and reviewed
EAL4 is applicable in those circumstances where developers or users require a moderate to high level of independently assured security in conventional commodity TOEs and are prepared to incur additional security-specific engineering costs.
Evaluation assurance level 5 (EAL5) - semiformally designed and tested
EAL5 is applicable in those circumstances where developers or users require a high level of independently assured security in a planned development and require a rigorous development approach without incurring unreasonable costs attributable to specialist security engineering techniques.
Evaluation assurance level 6 (EAL6) - semiformally verified design and tested
EAL6 is applicable to the development of security TOEs for application in high risk situations where the value of the protected assets justifies the additional costs.
Evaluation assurance level 7 (EAL7) - formally verified design and tested
EAL7 is applicable to the development of security TOEs for application in extremely high risk situations and/or where the high value of the assets justifies the higher costs. Practical application of EAL7 is currently limited to TOEs with tightly focused security functionality that is amenable to extensive formal analysis.


The definition of new packages
It is also perfectly legitimate for anyone to define a definition of a package of assurance or functional requirements. If, for example one of the proposed Common Criteria technical communities were to agree such a definition, then these packages themselves could be re-used in several PPs. As stated earlier these packages could contain either assurance OR for functional security requirements. It has already been suggested that a set of packages for supply chain assurance be formulated in this way. If compatibility to the CCRA or SOGIS is desired then these new packages would need to take care that an existing EAL package was not disrupted by their use.


The figure to the left is derived from Common Criteria part 3, it illustrates the contents of a Package.
It is worth mentioning one technique of package development that some people have found useful. This is the technique of specifying that “refinement” be the only operation allowed for assurance components which allows the Package developer to express technology specific details of assurance components relating to technology specific assurance details, while remaining compatible with the CCRA. An example of this technique was the expression of assurance aspects of FIPS 140-2, that was used in some Hardware Security Module Protection Profiles.


Food for thought
Not specifying an EAL package for an evaluation is legitimate in terms of the Common Criteria standard, but by not doing so several political implications are created.
1.   The CCRA and SOGIS agreement will still be applicable to the mutual recognition of certificates that do not directly claim an EAL, provided that all the assurance components in the package claimed are contained in either EAL 1,2, 3, or 4 or belong to the flaw remediation family. According to the CCRA document additional assurance levels may be agreed at any time and ratified by the signatories. This would open the possibility of defining new assurance levels that would be recognized. This process has already been performed since the components for flaw remediation (ALC FLR) was agreed to be accepted by the various signatories. 
2. The security assurance consumers will need to pay very close attention to of the assurance case that they specify vs the security assurance offered by the certified product that they wish to procure or use. Since without reference to the familiar EALs the security assurance objectives of a Protection Profile or Security target document will need to be elucidated in order to determine if they match the needed assurance case.
3. The CC community (CCMB/CCDB) do not have a formal mechanism for registering packages and their definitions. This is something that may be needed if technical communities decide to use the package construct more widely.
Problems have been cited as associated with EAL package conformance claims. The psychological effect of numeric "grades" has been misinterpreted by non-security professionals and badly misused in some marketing efforts, after all "an EAL 7 must offer the best security" which of course is not true. Like all things CC, the focus is on providing assurance, i.e. confidence that the security claims are true. The great thing about this is that an assurance consumer can match the assurance given by a particular evaluation to the needed assurance case, which is usually closely linked to their own organizational security objectives and policies. There is no need to pay for the provision of assurance that is not needed.
Some claim that the EALs specify assurance requirements that are not needed. This may be true, but the rationale for this statement must to be explained since it is the assurance consumer that should make this call and who ultimately relies on the assurance provided in maintaining their security stance. Developers, of course also need to understand the requirements levied on them through the specification of various security assurance requirements.
Packages are a very powerful tool. However, outside of the Evaluation Assurance Level packages they have not been used very often. That they are powerful is evident by the success of the EALs. Technical communities considering working on Protection Profile developments should also familiarize themselves with the packages concept, since these too can be just as useful as a Protection Profile. This is especially true when considering security requirements that may be used across several technology types or that are intended for use in several Protection Profiles, especially when using the refinement technique described above.