← All modules
CMVP Validated Module · FIPS 140-3 Security Policy

Code Integrity

Certificate#5406StandardFIPS 140-3Level1TypeSoftwareEmbodimentMultiChipStandStatusActiveVendorMicrosoft Corporation
Low review priority  ·  no TCB surface named  ·  last validated 3 months ago. How this is derived →

Certificate

StandardFIPS 140-3
Overall level1
Module typeSoftware
EmbodimentMultiChipStand
StatusActive
Sunset date8/19/2031
CaveatWhen installed, initialized and configured as specified in Section 11.1 of the Security Policy. When operated in approved mode with module Windows OS Loader validated to FIPS 140-3 under Cert. #5405 operating in approved mode. No assurance of minimum security of SSPs (e.g., keys, bit strings) that are externally loaded, or of SSPs established with externally loaded SSPs
VendorMicrosoft Corporation

Approved Algorithms (12)

AlgorithmACVP Cert
RSA SigVer (FIPS186-4)A3767
RSA SigVer (FIPS186-4)A3768
RSA SigVer (FIPS186-4)A4008
RSA SigVer (FIPS186-4)A4009
SHA-1A4008
SHA-1A4009
SHA2-256A4008
SHA2-256A4009
SHA2-384A4008
SHA2-384A4009
SHA2-512A4008
SHA2-512A4009

Compare key sizes and PQC transition dates for your jurisdiction and protection horizon.

Derived Review-Risk Graph (review prompts, not findings)

flowchart LR
  %% Deterministic review-risk graph for Code Integrity
  %% Review prompts and evidence gaps, NOT vulnerability findings.
  subgraph CMVP["CMVP-disclosed clues"]
    C2["[low] Firmware update / recovery<br/>/ rollback (referenced in<br/>text)<br/><i>Recovery<br/>Update</i>"]
    C3["[low] Self-test / status surface<br/>(referenced in text)<br/><i>Self-Test<br/>status output</i>"]
    C5["[low] Protocol / secure-channel<br/>references (may be KDF<br/>names, not a live channel)<br/><i>TLS<br/>HTTPS<br/>no library/version identified</i>"]
    C6["[low] Operating system / runtime<br/>referenced (boundary<br/>membership not asserted)<br/><i>operating system<br/>kernel<br/>application</i>"]
  end
  subgraph Inference["Derived inference"]
    I2["Possible only, trusted<br/>code is reachable through<br/>update and recovery paths."]
    I3["Possible only, some<br/>services may process input<br/>before, or without,<br/>operator authentication."]
    I5["Possible only, a protocol<br/>is referenced, but whether<br/>it is a live channel or<br/>only a KDF/algorithm name<br/>is unconfirmed."]
    I6["Possible only, a<br/>runtime/OS is referenced,<br/>but its membership in the<br/>cryptographic boundary is<br/>not established."]
  end
  subgraph Risk["Reviewer question"]
    R2["Are update images<br/>authenticated before<br/>parsing, and are<br/>downgrade/rollback paths<br/>constrained?"]
    R3["Can unauthenticated<br/>services leak state,<br/>consume resources, or<br/>transition security state?"]
    R5["If a live TLS/SSH/IKE<br/>channel exists, could<br/>library CVEs apply, or is<br/>this only a<br/>KDF/documentation name?"]
    R6["If the OS/runtime is<br/>in-boundary, could its<br/>CVEs be hidden by<br/>firmware-only versioning?"]
  end
  subgraph Evidence["Evidence needed to close"]
    E2["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>update image format ·<br/>signature-before-parse<br/>proof · anti-rollback /<br/>downgrade policy"]
    E3["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>pre-auth reachability<br/>matrix · rate limits and<br/>output redaction ·<br/>abuse-case tests"]
    E5["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>library identity and<br/>version ·<br/>certificate-validation<br/>behaviour · protocol-CVE<br/>disposition"]
    E6["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>runtime identity and<br/>config · kernel/runtime<br/>hardening profile ·<br/>patch/backport manifest"]
  end
  C2 --> I2 --> R2 --> E2
  C3 --> I3 --> R3 --> E3
  C5 --> I5 --> R5 --> E5
  C6 --> I6 --> R6 --> E6
  classDef clue fill:#eef3f9,stroke:#6f7f91,color:#1f3a5f;
  classDef infer fill:#fff7e6,stroke:#b98500,color:#6b4e00;
  classDef risk fill:#fbe9e9,stroke:#b02a2a,color:#7a1f1f;
  classDef evidence fill:#e6f4ea,stroke:#1e7d34,color:#14532d;
  class C2,C3,C5,C6 clue;
  class I2,I3,I5,I6 infer;
  class R2,R3,R5,R6 risk;
  class E2,E3,E5,E6 evidence;
Underlying clues
flowchart LR
  %% Deterministic clue tier for Code Integrity
  %% confidence: high = structured record field; medium = structured but soft; low (dashed) = bare keyword hit, context unverified
  subgraph CMVP["CMVP-disclosed clues (deterministic)"]
    C2["[low] Firmware update / recovery / rollback (referenced in text)<br/><i>Recovery<br/>Update</i><br/>src: text:keyword"]
    C3["[low] Self-test / status surface (referenced in text)<br/><i>Self-Test<br/>status output</i><br/>src: text:keyword"]
    C5["[low] Protocol / secure-channel references (may be KDF names, not a live channel)<br/><i>TLS<br/>HTTPS<br/>no library/version identified</i><br/>src: text:keyword"]
    C6["[low] Operating system / runtime referenced (boundary membership not asserted)<br/><i>operating system<br/>kernel<br/>application</i><br/>src: text:keyword"]
  end
  classDef clueHigh fill:#eef3f9,stroke:#2f6fb0,stroke-width:2px,color:#1f3a5f;
  classDef clueMedium fill:#eef3f9,stroke:#6f7f91,color:#1f3a5f;
  classDef clueLow fill:#f7f7f7,stroke:#999,stroke-dasharray:4 4,color:#444;
  class C2,C3,C5,C6 clueLow;

Security Policy, page by page

Page 1 ↑
Prepared ByMicrosoft Corporation One Microsoft Way Redmond, WA 98052-6399
Document Version Number1.0
Updated OnMay 4, 2026

Code Integrity Security Policy Document Code Integrity Microsoft Windows 11 version 22H2 (Pro, Enterprise, IoT Enterprise, Education, and Home Editions) Microsoft Windows Server 2022 (Standard and Datacenter Editions)

Page 2 ↑

Code Integrity – Security Policy Document The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE INFORMATION IN THIS DOCUMENT. Creative Commons Attribution-NoDerivs-NonCommercial VLicense (which allows redistribution of the work). To view a copy of this license, visit http://creativecommons.org/licenses/by-nd-nc/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, The example companies, organizations, products, people and events depicted herein are fictitious. No association with any real company, organization, product, person or event is intended or should be inferred. Microsoft, Active Directory, Azure, Visual Basic, Visual Studio, Windows, the Windows logo, Windows NT, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

Page 3 ↑

Code Integrity – Security Policy Document Table of Contents

Page 4 ↑

Code Integrity – Security Policy Document List of Tables

Page 5 ↑

Code Integrity – Security Policy Document List of Figures

Page 6 ↑
SectionTitleSecurity Level
1General1
2Cryptographic module specification1
3Cryptographic module interfaces1
4Roles, services, and authentication1
5Software/Firmware security1
6Operational environment1
7Physical securityN/A
8Non-invasive securityN/A
9Sensitive security parameter management1
10Self-tests1
11Life-cycle assurance1
12Mitigation of other attacks1
Overall Level1

Code Integrity – Security Policy Document

1.1 Overview

The Code Integrity module (the “module”) is a multi-chip standalone software cryptographic module that verifies the integrity of Windows executable files as they are loaded into memory from storage. The module implements approved cryptographic algorithms. This FIPS 140-3 Security Policy contains a specification of the rules under which the module must operate and describes how the module meets the requirements specified in Federal Information Processing Standards Publication 140-3 (FIPS PUB 140-3) and International Standard ISO/IEC 19790:2012 (Information technology

1.2 Security Levels

The overall security rating for the module is level 1. The table below lists the security levels of individual clauses for this validation. As a software module executing in a modifiable environment, physical and noninvasive security requirements are optional and are out of scope for this validation. Table 1: Security Levels

2.1 Description

Purpose and Use: The Code Integrity module is a multi-chip standalone software cryptographic module that verifies the integrity of Windows executable files as they are loaded into memory from storage. Code Integrity is implemented as a device driver named CI.DLL. Code Integrity is not a general-purpose cryptographic module. It is validated under FIPS 140 because it implements cryptographic algorithms and provides integrity checks for the Windows general-purpose cryptographic modules. The Code Integrity module is closely related to the Secure Kernel Code Integrity module. Depending on the hardware and Windows configuration, Secure Kernel Code Integrity will also validate system and application binaries. The Secure Kernel Code Integrity module has its own Security Policy document.

Page 7 ↑
Software ComponentDescription
CI.DLLBinary file that contains the module.

Code Integrity – Security Policy Document Two Windows configuration options dictate whether Code Integrity or Secure Kernel Code Integrity is used to verify an executable:  Core Isolation, also known as Virtual Secure Mode (VSM): Windows can use the Hyper-V hypervisor to start an execution environment, called the Secure Kernel, that provides additional security protections. When Core Isolation (VSM) is running, the Secure Kernel Code Integrity module verifies the integrity of critical user-mode modules such as BCRYPTPRIMITIVES.DLL instead of the Code Integrity module.  Memory Integrity, also known as Hypervisor Code Integrity (HVCI): This feature depends on Core Isolation (VSM). When enabled, all drivers loaded into the Windows kernel are integrity-verified by the Secure Kernel Code Integrity module. Core Isolation and Memory Integrity are enabled by default when Windows runs on a Secured-core PC or a Secured-core server. Module Embodiment: Multi-Chip Standalone Cryptographic Boundary: The software component of the module defines its cryptographic boundary and includes the single binary listed in the following table. Table 2: Module Software Components Tested Operational Environment’s Physical Perimeter (TOEPP): The Tested Operational Environment’s Physical Perimeter (TOEPP) is the physical perimeter of the computer The following block diagram illustrates the module’s components, physical perimeter (TOEPP), and cryptographic boundary. The cryptographic boundary of the module is the module software component, CI.DLL. The CI.DLL binary is loaded from the OS volume in physical storage and executes in the computer memory. The control input, data input / output, and status output of the module exist within the computer memory as well.

Page 8 ↑
Windows ProductBuildEdition(s) in Scope
Windows 11 version 22H210.0.22621.1Enterprise Edition Home Edition IoT Enterprise Edition Pro Edition Education Edition
Windows Server 202210.0.20348.1668 (including the March 2023 updates)Standard Edition Datacenter Edition

Code Integrity – Security Policy Document Figure 1: Hardware Components within the TOEPP

2.2 Tested and Vendor Affirmed Module Version and Identification

This validation includes the following Windows products and versions, each of which can be identified by its build number. The cryptographic module is a distinct implementation in each product build and for each processor architecture. Some Windows products may be installed as different editions; however, the cryptographic module is the same implementation in different editions of the same product. Table 3: Version Information Tested Module Identification

Page 9 ↑
Package or File NameSoftware/ Firmware VersionFeaturesIntegrity Test
CI.DLL (Windows 11 version 22H2)Windows 11 version 22H2, build 10.0.22621.1N/AYes
CI.DLL (Windows Server 2022)Windows Server 2022, build 10.0.20348.1668N/AYes
Operating SystemHardware PlatformProcessorsPAA/PAIHypervisor or Host OSVersion(s)
Windows 11 version 22H2, Education EditionDell Latitude 742011th Gen Intel Core i7-1185G7NoN/AWindows 11 version 22H2, build 10.0.22621.1
Windows 11 version 22H2, Enterprise EditionMicrosoft Surface Laptop 512th Gen Intel Core i7-1265UNoN/AWindows 11 version 22H2, build 10.0.22621.1
Windows 11 version 22H2, Home EditionMicrosoft Surface Laptop 512th Gen Intel Core i7-1265UNoN/AWindows 11 version 22H2, build 10.0.22621.1
Windows 11 version 22H2, IoT Enterprise EditionMicrosoft Surface Laptop 512th Gen Intel Core i7-1265UNoN/AWindows 11 version 22H2, build 10.0.22621.1
Windows 11 version 22H2, Pro EditionHP ZBook Power G811th Gen Intel Core i5-11500HNoN/AWindows 11 version 22H2, build 10.0.22621.1
Windows Server 2022 Datacenter, including the March 2023 UpdatesDell PowerEdge R640Intel Xeon Gold 6130NoN/AWindows Server 2022, build 10.0.20348.1668
Windows Server 2022 Standard, including the March 2023 UpdatesDell PowerEdge R640Intel Xeon Gold 6130NoN/AWindows Server 2022, build 10.0.20348.1668
Operating SystemHardware Platform
Any Microsoft operating system which is a relabeled version of the operating systems listed in Section 2.2.Any UEFI-based x64 computer.

Code Integrity

Page 10 ↑
Mode NameDescriptionTypeStatus Indicator
Approved ModeNormal operation of the computer, Windows OS, and module. This is the only mode claimed by the module.ApprovedSuccessful completion of any of the module's services (see Section 3.4.1 Code Integrity Export Functions and Section 4.3 Approved Services).
AlgorithmCAVP CertPropertiesReference
RSA SigVer (FIPS186-4)A3767Signature Type - PKCS 1.5 Modulo - 2048FIPS 186-4
RSA SigVer (FIPS186-4)A3768Signature Type - PKCS 1.5 Modulo - 2048FIPS 186-4
SHA2-256A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-256A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4

Code Integrity – Security Policy Document The CMVP makes no statement as to the correct operation of the module or the security strengths of the generated keys when so ported if the specific operational environment is not listed on the validation certificate.

2.3 Excluded Components

No components within the cryptographic boundary are claimed as excluded. Modes List and Description: Table 7: Modes List and Description

2.5 Algorithms

Approved Algorithms: The tables below list the approved algorithms used in the module. The module may not use some of the capabilities described in each CAVP certificate. As the module has separate CAVP certificates for Windows 11 and Windows Server 2022, each approved algorithm is listed twice, with CAVP certificates #A3767 and #A4008 for Windows 11 and CAVP certificates #A3768 and #A4009 for Windows Server 2022. See Section 13 Standards References for links to the standards referenced in the tables below. The Code Integrity cryptographic module relies on some functionality that is implemented in the Windows OS Loader cryptographic module. FIPS 140-3 deems the Code Integrity module as binding to the Windows OS Loader module (certificate #5405), which is referred to as an Existing Validated Module (EVM) in this document. All Windows cryptographic modules are installed together as described in section 11 Life-Cycle Assurance. See section 5.1 Integrity Techniques for more information on the dependencies between Windows modules. Table 9 below lists the approved algorithms in the Code Integrity module. Table 8 below lists the approved cryptographic algorithms in the Windows OS Loader module that are used by the Code Integrity module. Existing Validated Module [EVM] Table 8: Approved Algorithms - Existing Validated Module [EVM]

Page 11 ↑
AlgorithmCAVP CertPropertiesReference
RSA SigVer (FIPS186-4)A4008Signature Type - PKCS 1.5 Modulo - 1024, 2048, 3072, 4096FIPS 186-4
RSA SigVer (FIPS186-4)A4009Signature Type - PKCS 1.5 Modulo - 1024, 2048, 3072, 4096FIPS 186-4
SHA-1A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA-1A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-256A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-256A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-384A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-384A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-512A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-512A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4

Code Integrity – Security Policy Document Table 9: Approved Algorithms Vendor-Affirmed Algorithms: N/A for this module. Non-Approved, Allowed Algorithms: N/A for this module. Non-Approved, Allowed Algorithms with No Security Claimed: N/A for this module. Non-Approved, Not Allowed Algorithms: N/A for this module.

Page 12 ↑
NameTypeDescriptionPropertiesAlgorithms
DigSig-LegacyDigSig-SigVerLegacy RSA signature verification used by the Verify the Integrity of Executable Code service to verify integrity of digitally signed drivers and other binary components of the OS. SHA secure hash functions support this by verifying the RSA signature.RSA SigVer (FIPS186-4): (A4008, A4009) Modulus Size: 1024 bits SHA-1: (A4008, A4009) SHA Size: 160 bits
DigSig1DigSig-SigVerRSA signature verification used by the Verify the Integrity of Executable Code service to verify integrity of digitally signed drivers and other binary components of the OS. SHA secure hash functions support this by verifying the RSA signature.RSA SigVer (FIPS186-4): (A4008, A4009) Modulus Size: 2048, 3072, and 4096 bits SHA2-256: (A4008, A4009) SHA Size: 256 bits SHA2-384: (A4008, A4009) SHA Size: 384 bits SHA2-512: (A4008, A4009) SHA Size: 512 bits
DigSig2DigSig-SigVerRSA signature verification used for the module pre- operational software integrity check only, executed by the [EVM] OS Loader module (IG 1.A Documentation Requirements 5). SHA secure hash functions support this by verifying the RSA signature.RSA SigVer (FIPS186-4): (A3767, A3768) Modulus Size: 2048 bits SHA2-256: (A4008, A4009) SHA Size: 256 bits

Code Integrity – Security Policy Document

2.6 Security Function Implementations

The table below lists the module’s Security Function Implementations. The Algorithms column presents algorithm and key size information for each CAVP certificate listed in Section 2.5 Algorithms. Blank cells are either not applicable or optional according to the CMVP. As the module has separate CAVP certificates for Windows 11 and Windows Server 2022, each approved algorithm is listed twice in the Algorithms column.

Page 13 ↑
NameTypeDescriptionPropertiesAlgorithms
SHS1SHASecure hash functions used by the Verify the Integrity of Executable Code service.SHA2-256: (A4008, A4009) SHA Size: 256 bits SHA2-384: (A4008, A4009) SHA Size: 384 bits SHA2-512: (A4008, A4009) SHA Size: 512 bits
SHS2SHASecure hash function used for the module pre-operational software integrity check only, executed by the [EVM] OS Loader module (IG 1.A Documentation Requirements 5).SHA2-256: (A4008, A4009) SHA Size: 256 bits

Code Integrity – Security Policy Document 5). Table 10: Security Function Implementations

Page 14 ↑

Code Integrity – Security Policy Document

2.7 Algorithm Specific Information
2.7.1 FIPS 186-4 and 186-5

The module claims compliance with FIPS 186-5 for RSA signature verification, although the CAVP testing for RSA was completed against FIPS 186-4. Because the FIPS 186-4 RSA CAVP tests are mathematically identical to the FIPS 186-5 RSA CAVP tests, the module can claim a FIPS 186-5 compliance for these tests. The scope of FIPS 186-4 testing complies with IG C.K. Additional Comment 3. Although FIPS 186-4 has been superseded by FIPS 186-5, algorithms implemented under FIPS 186-4 remain approved for use under NIST SP 800-131A Rev. 2.

2.7.2 Legacy Signature Verification using RSA and SHA-1
  1. SHA-1 is used by the Verify the Integrity of Executable Code service for legacy signature verification only.
  2. RSA with a 1024-bit key is used by the Verify the Integrity of Executable Code service for legacy signature verification only.
  3. Algorithms designated as “Legacy” may only be used on data that was generated prior to the Legacy Date specified in FIPS 140-3 IG C.M.
2.8 RBG and Entropy

N/A for this module. N/A for this module.

2.9 Key Generation

N/A because the module does not generate cryptographic keys.

2.10 Key Establishment

N/A because the module does not perform key establishment.

2.11 Industry Protocols

N/A as none are claimed.

3 Cryptographic Module Interfaces
3.1 Ports and Interfaces

As a software module, the module has no physical ports of its own. The physical ports of the module are interpreted as those on the underlying hardware platform and control of them is outside the scope of the module.

Page 15 ↑
Physical PortLogical Interface(s)Data That Passes
N/AData InputThe Data Input Interface for the module is the set of exported and callable functions listed in section 3.4.1 Code Integrity Export Functions, with the exception of the initialization and status functions. Data and options are passed to the interface as input parameters to the export functions. Data Input is kept separate from Control Input by passing Data Input in separate parameters from Control Input.
N/AData OutputThe Data Output Interface for the module is the set of exported and callable functions listed in section 3.4.1 Code Integrity Export Functions, with the exception of the initialization and status functions. Data is returned to the function’s caller via output parameters.
N/AControl InputThe module Control Input Interface consists of the exported functions. Options for control operations are passed as input parameters to the export functions.
N/AStatus OutputThe Status Output Interface for the module consists of the exported and callable functions listed in section 3.4.1 Code Integrity Export Functions. The status information is returned to the caller as the return value of each function (for example, STATUS_SUCCESS, STATUS_UNSUCCESSFUL, STATUS_INVALID_IMAGE_HASH).
N/APowerN/A
FunctionDescription
CiInitializeThe function exported for initializing the image file integrity validation capability of the module. See section 10 Self-Tests for information regarding cryptographic self-tests. If the self-tests succeed, CiInitialize() returns a callback structure consisting of the binary executable file integrity validation functions, as listed in section 3.4.2 Code Integrity Callback Functions.
CiGetPEInformationThis function returns system configuration data which is related to the protected media subsystem.
CiVerifyHashInCatalogFor an input Authenticode file digest, this function validates that the digest is contained within a verified system catalog. It optionally returns information about the catalog.
CiCheckSignedFileFor an input Authenticode file digest and an Authenticode signature, this function verifies that the digest is in the signature and that the signature validates. It optionally returns information about the signature.
CiFindPageHashesInCatalogFor an input Authenticode digest of the first page of a PE image, this function validates that the digest is contained within a verified system catalog. It optionally returns information about the catalog.
CiFindPageHashesInSignedFileFor an input Authenticode digest of the first page of a PE image and an Authenticode signature, this function verifies that the digest is in the signature and that the signature validates. It optionally returns information about the signature.

Code Integrity – Security Policy Document Table 11: Ports and Interfaces

3.4 Additional Information

The table below presents all the functions exported by the module to kernel-mode callers. The module is not callable outside the kernel.

Page 16 ↑
FunctionDescription
CiFreePolicyInfoThis function frees memory allocated by the CiVerifyHashInCatalog, CiCheckSignedFile, CiFindPageHashesInCatalog, and CiFindPageHashesInSignedFile functions.
CiSetTrustedOriginClaimIdThis function is invoked by Appid.sys when an App Control for Business policy is being processed.
CiValidateFileObjectThis function verifies the signature of a file object and returns the policy info along with the timestamp and signing time.
FunctionDescription
CiValidateImageHeader()When a caller, such as the Memory Manager, wants to obtain the set of trusted per- page hashes of an image file, it calls CiValidateImageHeader(). Trusted per-page hashes can use the following algorithms:  SHS (SHA-1)  SHS (SHA2-256)  SHS (SHA2-384)  SHS (SHA2-512) If CiValidateImageHeader() does not find the set of trusted per-page hashes for the cryptographic module, then CiValidateImageHeader() verifies the full cryptographic module image by verifying a trusted file hash. The trusted file hash may be:  SHS (SHA-1)  SHS (SHA2-256)  SHS (SHA2-384)  SHS (SHA2-512) If this validation process fails, the module is not valid and the module is not loaded. Both the trusted file image hash and trusted page hashes are signed using the RSA signature algorithm with PKCS#1 v1.5 padding.
CiValidateImageDataAfter calling CiValidateImageHeader to obtain the set of trusted per-page hashes of an image file, CiValidateImageData() is used to check the integrity of each page by computing the hash value of the page. If the computed hash matches the identified trusted hash, then CiValidateImageData confirms the integrity of the page. Otherwise, CiValidateImageData returns STATUS_INVALID_IMAGE_HASH.
CiQueryInformationThis function returns state data about whether code integrity is being enforced and whether test signing is enabled.
CiSetFileCacheFor a verified file, this function saves the signature level and thumbprint of the signing certificate. If the file was not previously verified, it will verify the file against either its embedded signature or a system catalog.

Table 12: Functions Exported by the Module The functions listed and described in the following table are not exported but are accessed using a callback structure provided by the CiInitialize function.

Page 17 ↑
FunctionDescription
CiGetFileCacheFor an input file, this function returns the previously validated signature level and the thumbprint of the signing certificate. This check was done during a previous validation, and this function is just returning a cached result.
CiHashMemory()This function passes supplied data to MinCrypK_HashMemory and returns the hash of that data.
KappxIsPackageFileThis routine takes an input file object and parses out the full package name associated with the corresponding package. Package association is established based on the normalized path corresponding to the file object.
CiCompareSigningLevelsThis routine determines if the source signing level is applicable for the target. For example, a source of Microsoft is not valid for a target of Windows, but vice-versa is valid.
CiValidateFileAsImageTypeThis routine determines if a PE file is signed appropriately for the specified image type. The file must be mapped as a view to a data section or be a copy of that view.
CiRegisterSigningInformationThis routine sets a signer, in addition to those already configured, for a specified signing level. Only those levels that are enabled for runtime configuration will accept signers supplied to this routine.
CiUnregisterSigningInformationThis routine removes a previous registered runtime signing information. Once a registration handle has been unregistered, it must be discarded.
CiInitializePolicyThis routine is called to get the configuration of CI for this boot and return the list of address ranges to be protected by Patch Guard.
CipQueryPolicyInformationThis routine returns information about the Code Integrity policy state.
CiValidateDynamicCodePagesThis routine validates the contents of code pages generated dynamically.
SIPolicyQuerySecurityPolicyThis routine queries the secure setting for specific provider’s <Key,Value> pair.
CiRevalidateImageThis routine determines if previously validated images must be validated again.
CiSetUnlockInformationThis function sets unlock information for Code Integrity.
CiGetBuildExpiryTimeThis routine determines the expiry time of the build. Zero time means the build never expires, which is true for production and test builds. Flight builds expire when the certificate that signs CI expires.
CiGetStrongImageReferenceNote – this function is only included in the callback structure if HVCI is enabled. This routine returns the handle to a secure image.
CiReleaseContextNote – this function is only included in the callback structure if HVCI is enabled. This routine closes a validation context.
CiHvciSetImageBaseAddressNote – this function is only included in the callback structure if HVCI is enabled. This routine changes the base address of an image that is using secure relocations.

Table 13: Functions Accessed Using Callback Structure Provided by the CiInitialize Function

4 Roles, Services, and Authentication
4.1 Authentication Methods
Page 18 ↑
NameTypeOperator TypeAuthentication Methods
Cryptographic Officer (CO)RoleCONone

Code Integrity – Security Policy Document

4.2 Roles

The module claims a single role, Cryptographic Officer (CO). All services are accessible by this role. The module is a library used solely by the Windows kernel and does not interact with the user through any service. The module’s functions are fully automatic and not configurable. Table 14: Roles

Page 19 ↑
NameDescriptionIndicatorInputsOutputsSecurity Function sSSP Access
Perform Cryptographi c Algorithm Self-TestsThe module provides a power-up self- test service that is automatically executed.Self-test success is indicated by module and algorithm availability; failure is indicated by an error.Executed when the CiInitialize() function is called and input parameters are provided.If any self-test fails, the module will not load and a failure status, STATUS_INVALID_IMAGE_HAS H, is returned and the computer will not complete the boot process. Otherwise, STATUS_SUCCESS is returned and the boot process completes.DigSig1 DigSig- Legacy SHS1Cryptographi c Officer (CO)
Perform Pre- Operational Software Integrity Test [EVM]The pre- operational integrity test is executed by the [EVM] OS Loader (IG 1.A Documentatio n Requirements 5).Integrity test success is indicated by module and algorithm availability; failure is indicated by an error.This service is fully automatic and executed before the Code Integrity module is loaded into memory.The availability of the module is the service output. See section 10 Self-Tests for more information.DigSig2 SHS2Cryptographi c Officer (CO)
4.3 Approved Services

The module provides approved services only. The indicator for each service is the successful completion of the service. The table below provides additional indicator details to enable the operator to verify each service’s successful completion. s 1.A n 5).

Page 20 ↑
NameDescriptionIndicatorInputsOutputsSecurity Function sSSP Access
Perform ZeroizationZeroizes cryptographic material.SSPs are zeroized. See Section 9.3 SSP Zeroization Methods for more information.Procedural zeroization executed by the user as described in section 9.3 Zeroization MethodsThe SSPs in non-volatile storage are zeroized.DigSig- Legacy DigSig1 DigSig2 SHS1 SHS2Cryptographi c Officer (CO) - Embedded RSA Signatures for Code Integrity to Evaluate : Z - Embedded X.509 Certificate for CI.DLL (This is not an SSP): Z - Hash Value for CI.DLL (This is not an SSP): Z - Hash Values for Code Integrity to Evaluate: Z
Show StatusImplicit in module initialization and status messages returned with function calls.Operational status is indicated by successfully initializing the module using CiInitialize() and success status messages using the binary integrity verification functions.Executed whenever an integrity check function is completed, specifically when one of the following functions is called and input parameters are provided – for more information on the functions, see 3.4 Additional Information: CiQueryInformation() CiInitialize() CiInitializePolicy() CipQueryPolicyInformation() CiRevalidateImage() All exported functionsStatus is output across the module’s Status Output logical interface.NoneCryptographi c Officer (CO)
Page 21 ↑
NameDescriptionIndicatorInputsOutputsSecurity Function sSSP Access
Show VersionProvides the module version number.Version information is provided in the Portable Executable (PE) header of each module binary. The PE header contains Windows-specific fields such as the major and minor version (10.0.22621.1 for Windows 11 and 10.0.20348.1668 for Windows Server). See the PE Format public documentation published on https://learn.microsoft.co m for more information..Module binary file.Version information is embedded in the PE header of the binary.NoneCryptographi c Officer (CO)

Code Integrity – Security Policy Document s

Page 22 ↑
NameDescriptionIndicatorInputsOutputsSecurity Function sSSP Access
Verify the Integrity of Executable CodeThis service is called by Windows to verify the integrity of digitally signed device drivers and other critical executable components of the operating system.Results of the integrity check are returned via the functions detailed in Section 3.4 Additional Information.Executed whenever a binary executable is loaded, specifically when one of the following functions is called and input parameters are provided – for more information on the functions, see 3.4 Additional Information: CiGetPEInformation() CiVerifyHashInCatalog() CiCheckSignedFile() CiFindPageHashesInCatalog() CiFindPageHashesInSignedFile () CiFreePolicyInfo() CiSetTrustedOriginClaimId() CiValidateFileObject() CiValidateImageHeader() CiValidateImageData() CiSetFileCache() CiGetFileCache() CiHashMemory() KappxIsPackageFile() CiCompareSigningLevels() CiValidateFileAsImageType() CiRegisterSigningInformation() CiUnregisterSigningInformation( ) CiValidateDynamicCodePages( ) SIPolicyQuerySecurityPolicy() CiSetUnlockInformation() CiGetBuildExpiryTime() CiGetStrongImageReference() CiReleaseContext() CiHvciSetImageBaseAddress()The cryptographic operation is completed, and status is returned.DigSig1 DigSig- Legacy SHS1Cryptographi c Officer (CO) - Embedded RSA Signatures for Code Integrity to Evaluate : W,E - Hash Values for Code Integrity to Evaluate: W,E
Page 23 ↑
EVM NameCMVP CertificateVersion Details
Windows OS Loader (Windows 11 v 22H2 and Windows Server 2022)#5405Windows 11 version 22H2, build 10.0.22621.1 Windows Server 2022, build 10.0.20348.1668

Code Integrity – Security Policy Document

4.4 Non-Approved Services
4.5 External Software/Firmware Loaded

The module does not load external software or firmware.

5 Software/Firmware Security

The secure installation, generation, and startup procedures of this module are part of the secure installation, configuration, and startup procedures of the Windows operating systems named in Section 2.2 Tested and Vendor Affirmed Module Version and Identification. In the Windows operating system, all kernel-mode modules, including CI.DLL, are loaded into the Windows Kernel (ntoskrnl.exe) which executes as a single process. The Windows operating system environment enforces process isolation from user-mode processes including memory and processor scheduling between the kernel and user-mode processes.

5.1 Integrity Techniques

Windows uses several mechanisms to provide integrity verification depending on the stage in the boot sequence and also on the hardware and configuration. The [EVM] Windows OS Loader module (IG 1.A Documentation Requirements 5) checks the integrity of the CI.DLL component of the Code Integrity module before it is loaded. The EVM uses approved RSA SigVer (FIPS 186-4, CAVP certificates A3767 and A3768) and SHA2-256 (FIPS 180-4, CAVP certificates A4008 and A4009) to perform the integrity check. To perform the module integrity test on demand, the user may restart the computer. See the table below for more information on the [EVM] Windows OS Loader module. The Code Integrity module is then, in certain configurations, responsible for checking the integrity of every other user and kernel mode system executable as they are loaded. Refer to Section 11.1 Installation, Initialization, and Startup Procedures for more information. The following table provides the details of the [EVM] Windows OS Loader (IG 1.A Documentation Requirements 5). Table 16: EVM Details The figure below shows the Integrity Chain of trust for the Windows builds and modules in scope for this validation.

Page 24 ↑

Code Integrity – Security Policy Document Figure 2: Integrity Chain of Trust

5.2 Initiate on Demand

To initiate the integrity test on demand, the operator may restart the computer.

Page 25 ↑
Storage Area NameDescriptionPersistence Type
Hard DiskPersistent SSPs are stored on the operating system volume (see: Hard Disk in the block diagram).Static
RAMVolatile SSPs are temporarily stored in the computer’s memory while the module is powered-on (see: RAM in the block diagram).Dynamic
NameFromToFormat TypeDistribution TypeEntry TypeSFI or Algorithm
Input from non-encrypted non-volatile storageHard DiskRAMPlaintextManualElectronic

Code Integrity – Security Policy Document

6 Operational Environment
6.1 Operational Environment Type and Requirements

Type of Operational Environment: Modifiable How Requirements are Satisfied: The modifiable operational environment for the module is the Windows operating system running on a supported hardware platform, as listed in Section 2.2 Tested and Vendor Affirmed Module Version and Identification. The module is invoked by the Windows kernel as a fully automatic service with no user interaction.

7 Physical Security
8 Non-Invasive Security
9 Sensitive Security Parameters Management
9.1 Storage Areas
9.2 SSP Input-Output Methods

The table below lists the input method for SSPs input into the module (Hash Values for Code Integrity to Evaluate and Embedded RSA Signatures for Code Integrity to Evaluate). The SFI or Algorithm column is blank as the module does not use any SFIs or algorithms when the SSP is input. Table 18: SSP Input-Output Methods

Page 26 ↑
Zeroization MethodDescriptionRationaleOperator Initiation
Procedural zeroizationOperators may choose to overwrite SSPs in non-volatile storage by reformatting and overwriting the storage media for the operating system. Operators may zeroize SSPs in volatile storage by powering off the host General Purpose Computer (GPC).Reformatting and overwriting the OS volume at least once ensures adequate zeroization. Operators may choose to overwrite multiple times at their discretion. SSPs in volatile storage are effectively overwritten with zeros when power is lost.Operators may use the Format command together with the /P parameter which specifies the number of overwrite passes. For more information on the command, operators may type “format /?” at the command prompt. Operators may power off or reboot the host GPC to zeroize SSPs stored in volatile RAM.

Code Integrity – Security Policy Document

9.3 SSP Zeroization Methods

Table 19: SSP Zeroization Methods

Page 27 ↑
NameDescriptionSize - StrengthType - CategoryGenerated ByEstablished ByUsed By
Embedded RSA Signatures for Code Integrity to EvaluateRSA signatures that Code Integrity uses to verify the authenticity of digitally signed drivers and binary files.Size: 1024 (legacy use only), 2048, 3072, 4096 bits - Strength: 80 (legacy use only), 112, 128, and 152 bitsAsymmetric Public Key - PSPGenerated external to the module by the Microsoft Windows build process for the Code Integrity catalog.DigSig- Legacy DigSig1
Embedded X.509 Certificate for CI.DLL (This is not an SSP)Public key used for RSA PKCS #1 (v1.5) integrity verification of CI.DLL.Size: 2048-bit - Strength: 112 bitsAsymmetric Public Key - NeitherGenerated external to the module by the Microsoft Windows build process.DigSig2
Hash Value for CI.DLL (This is not an SSP)File hash used to verify the integrity of CI.DLL.Size: 256 bits - Strength: 128 bitsFile Hash - NeitherGenerated external to the module by the Microsoft Windows build process.SHS2
Hash Values for Code Integrity to EvaluateFile hashes that Code Integrity uses to verify the integrity of digitally signed drivers and binary files.Size: 160 (legacy use only), 256, 384, or 512 bits - Strength: 80 (legacy-use only), 128, 192, or 256 bitsFile Hash - PSPGenerated external to the module by the Microsoft Windows build process for the Code Integrity catalog.SHS1
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs
Embedded RSA Signatures for Code Integrity to EvaluateInput from non-encrypted non-volatile storageRAM :PlaintextUntil zeroizedProcedural zeroization
Embedded X.509 Certificate for CI.DLL (This is not an SSP)Hard Disk :PlaintextProcedural zeroization
Hash Value for CI.DLL (This is not an SSP)Hard Disk :PlaintextProcedural zeroization
Hash Values for Code Integrity to EvaluateInput from non-encrypted non-volatile storageRAM :PlaintextUntil zeroizedProcedural zeroization

Code Integrity – Security Policy Document considered SSPs and, as such, have no input method assigned and are categorized as neither PSP nor CSP. Blank cells are either not applicable or optional according to the CMVP. Table 20: SSP Table 1 Table 21: SSP Table 2

Page 28 ↑
Algorithm or TestTest PropertiesTest MethodTest TypeIndicatorDetails
RSA SigVer (FIPS186-4) (A3767)RSA PKCS#1v1.5 with 2048-bit key and SHA2-256 (Windows 11 version 22H2)Software IntegritySW/FW IntegrityThe Perform Cryptographic Algorithm Self-Tests service runs.[EVM] signature verification.
RSA SigVer (FIPS186-4) (A3768)RSA PKCS#1v1.5 with 2048-bit key and SHA2-256 (Windows Server 2022)Software IntegritySW/FW IntegrityThe Perform Cryptographic Algorithm Self-Tests service runs.[EVM] signature verification.

Code Integrity – Security Policy Document

9.5 Transitions

The following transition timelines apply to the approved algorithms named in the bullets below:  The SHA-1 algorithm will become disallowed for applying cryptographic protection starting January 1, 2031, however, its use for legacy digital signature verification will continue to be allowed.  RSA with a security strength of less than 128 bits will become deprecated starting January 1, 2031, however, its use for legacy digital signature verification will continue to be allowed.  FIPS 186-4 has been superseded by FIPS 186-5. This transition began on July 25, 2023, and concluded on February 3, 2024. Although testing for this module was completed against FIPS 186-4, it claims compliance with FIPS 186-5 for RSA signature verification – see Section 2.7.1 FIPS 186-4 and 186-5 for more information. Windows performs tests automatically to ensure integrity and correct functionality. The module will not perform cryptographic functions while in its self-test or error states. If a self-test fails, the module enters the error state and future cryptographic function calls fail. If the self-test passes, cryptographic functions are available for use. As the module has separate CAVP certificates for Windows 11 and Windows Server 2022, the self-test tables below list two identical rows for each algorithm self-test, one for Windows 11 and one for Windows Server

10.1 Pre-Operational Self-Tests

The Windows OS Loader module (EVM) checks the integrity of CI.DLL before it is loaded. The algorithms used for the pre-operational self-tests pass their own algorithm self-tests before integrity verification is performed. See section 5.1 Integrity Techniques for details on the EVM and how the module’s integrity is checked. Table 22: Pre-Operational Self-Tests

10.2 Conditional Self-Tests

The module performs the conditional cryptographic algorithm self-tests automatically when the module is loaded into memory, after the pre-operational software integrity tests described above have completed. The module implements Known Answer Test (KAT) functions each time the module is loaded by the Windows kernel and CiInitialize is called. If any self-test fails, the module will not load and a failure status, STATUS_INVALID_IMAGE_HASH, is returned, and the computer will not complete the boot process. Otherwise, STATUS_SUCCESS is returned and the boot process completes.

Page 29 ↑
Algorithm or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
[EVM] RSA SigVer (FIPS186-4) (A3767)RSA PKCS#1v1.5 with 2048-bit key and SHA2-256 (Windows 11 version 22H2)KATCASTThe Perform Cryptographic Algorithm Self-Tests service runs.[EVM] signature verification.The self-tests are run prior to pre- operational integrity test during module initialization.
[EVM] RSA SigVer (FIPS186-4) (A3768)RSA PKCS#1v1.5 with 2048-bit key and SHA2-256 (Windows Server 2022)KATCASTThe Perform Cryptographic Algorithm Self-Tests service runs.[EVM] signature verification.The self-tests are run prior to pre- operational integrity test during module initialization.
[EVM] SHA2- 256 (A4008)256 bits (Windows 11 version 22H2)KATCASTThe Perform Cryptographic Algorithm Self-Tests service runs.[EVM] Secure hashThe self-tests are run prior to pre- operational integrity test during module initialization.
[EVM] SHA2- 256 (A4009)256 bits (Windows Server 2022)KATCASTThe Perform Cryptographic Algorithm Self-Tests service runs.[EVM] Secure hashThe self-tests are run prior to pre- operational integrity test during module initialization.
RSA SigVer (FIPS186-4) (A4008)RSA PKCS#1v1.5 with 2048-bit key and SHA2-256 (Windows 11 version 22H2)KATCASTSTATUS_SUCCESS returned to CiInitialize.Signature verificationRun at every module initialization (when CiInitialize is called) after the module integrity is verified.
RSA SigVer (FIPS186-4) (A4009)RSA PKCS#1v1.5 with 2048-bit key and SHA2-256 (Windows Server 2022)KATCASTSTATUS_SUCCESS returned to CiInitialize.Signature verificationRun at every module initialization (when CiInitialize is called) after the module integrity is verified.
SHA-1 (A4008)160 bits (Windows 11 version 22H2)KATCASTSTATUS_SUCCESS returned to CiInitialize.Secure hashRun at every module initialization (when CiInitialize is called) after the module integrity is verified.
SHA-1 (A4009)160 bits (Windows Server 2022)KATCASTSTATUS_SUCCESS returned to CiInitialize.Secure hashRun at every module initialization (when CiInitialize is called) after the module integrity is verified.
SHA2-256 (A4008)256 bits (Windows 11 version 22H2)KATCASTSTATUS_SUCCESS returned to CiInitialize.Secure hashRun at every module initialization (when CiInitialize is called) after the module integrity is verified.

Code Integrity – Security Policy Document

Page 30 ↑
Algorithm or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
SHA2-256 (A4009)256 bits (Windows Server 2022)KATCASTSTATUS_SUCCESS returned to CiInitialize.Secure hashRun at every module initialization (when CiInitialize is called) after the module integrity is verified.
SHA2-512 (A4008)512 bits (Windows 11 version 22H2)KATCASTSTATUS_SUCCESS returned to CiInitialize.Secure hashRun at every module initialization (when CiInitialize is called) after the module integrity is verified.
SHA2-512 (A4009)512 bits (Windows Server 2022)KATCASTSTATUS_SUCCESS returned to CiInitialize.Secure hashRun at every module initialization (when CiInitialize is called) after the module integrity is verified.
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
RSA SigVer (FIPS186-4) (A3767)Software IntegritySW/FW IntegrityPre-operational integrity test is run at every module initialization before the CASTs (Windows 11 version 22H2).Manual on-demand (operator initiated by rebooting the computer)
RSA SigVer (FIPS186-4) (A3768)Software IntegritySW/FW IntegrityPre-operational integrity test is run at every module initialization before the CASTs (Windows Server 2022).Manual on-demand (operator initiated by rebooting the computer)
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
[EVM] RSA SigVer (FIPS186-4) (A3767)KATCASTConditional CAST is run at every module initialization prior to module's integrity check (Windows 11 version 22H2).Manual on-demand (operator initiated by rebooting the computer)

Code Integrity – Security Policy Document Table 23: Conditional Self-Tests

10.3 Periodic Self-Test Information

The tables below present the periodic self-test information for the module. The set of self-tests presented in tables 23 and 24 below is identical to the set of self-tests presented in tables 21 and 22 above. The Windows OS Loader module (EVM) checks the integrity of CI.DLL before it is loaded. See section 5.1 Integrity Techniques for details on the EVM and how the module’s integrity is checked. Table 24: Pre-Operational Periodic Information

Page 31 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
[EVM] RSA SigVer (FIPS186-4) (A3768)KATCASTConditional CAST is run at every module initialization prior to module's integrity check (Windows Server 2022).Manual on-demand (operator initiated by rebooting the computer)
[EVM] SHA2-256 (A4008)KATCASTConditional CAST is run at every module initialization prior to module's integrity check (Windows 11 version 22H2).Manual on-demand (operator initiated by rebooting the computer)
[EVM] SHA2-256 (A4009)KATCASTConditional CAST is run at every module initialization prior to module's integrity check (Windows Server 2022).Manual on-demand (operator initiated by rebooting the computer)
RSA SigVer (FIPS186-4) (A4008)KATCASTConditional CASTs are run at every module initialization after the module integrity is verified (Windows 11 version 22H2).Manual on-demand (operator initiated by rebooting the computer)
RSA SigVer (FIPS186-4) (A4009)KATCASTConditional CASTs are run at every module initialization after the module integrity is verified (Windows Server 2022).Manual on-demand (operator initiated by rebooting the computer)
SHA-1 (A4008)KATCASTConditional CASTs are run at every module initialization after the module integrity is verified (Windows 11 version 22H2)Manual on-demand (operator initiated by rebooting the computer)
SHA-1 (A4009)KATCASTConditional CASTs are run at every module initialization after the module integrity is verified (Windows Server 2022)Manual on-demand (operator initiated by rebooting the computer)
SHA2-256 (A4008)KATCASTConditional CASTs are run at every module initialization after the module integrity is verified (Windows 11 version 22H2)Manual on-demand (operator initiated by rebooting the computer)

Code Integrity – Security Policy Document

Page 32 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
SHA2-256 (A4009)KATCASTConditional CASTs are run at every module initialization after the module integrity is verified (Windows Server 2022)Manual on-demand (operator initiated by rebooting the computer)
SHA2-512 (A4008)KATCASTConditional CASTs are run at every module initialization after the module integrity is verified (Windows 11 version 22H2).Manual on-demand (operator initiated by rebooting the computer)
SHA2-512 (A4009)KATCASTConditional CASTs are run at every module initialization after the module integrity is verified (Windows Server 2022).Manual on-demand (operator initiated by rebooting the computer)
NameDescriptionConditionsRecovery MethodIndicator
Boot FailBoot failureThe error state occurs if the module integrity test fails, if any of the cryptographic algorithm self-tests fail, or if any of the binary integrity checks fail.Restart the computerBoot failure blue screen error message

Code Integrity – Security Policy Document Table 25: Conditional Periodic Information

10.4 Error States

Table 26: Error States To perform the module self-tests on demand, including running the approved services Perform Pre-operational Software Integrity Test [EVM] and Perform Cryptographic Algorithm Self-Tests, the user may reboot the

11 Life-Cycle Assurance
11.1 Installation, Initialization, and Startup Procedures

The Windows operating system must be pre-installed on a computer by an OEM, installed by the end-user, by an organization’s IT administrator, or updated from a previous Windows version downloaded from Windows Update. An inspection of authenticity can be made by following the guidance at this Microsoft web site: https://www.microsoft.com/en-us/howtotell/default.aspx. For Windows Updates, the client only accepts binaries signed by Microsoft certificates. The Windows Update client only accepts content whose SHA2 hash matches the SHA2 hash specified in the metadata. All metadata communication is done over a Transport Layer Security (TLS) port. Using TLS ensures that the client is

Page 33 ↑

Pa

ss

Pa

ss

Code Integrity – Security Policy Document communicating with the real server and so prevents a malicious TLS server from communicating to the TLS client. The version and digital signature of new cryptographic module must be verified to match the version that was validated. See Section 11.2 Administrator Guidance for details on how to do this. Module initialization occurs automatically as part of the Windows boot process. The finite state model diagram below visualizes the initialization process along with other module states. Every state of the module can transition to the power-off state through power-cycle/rebooting the host machine. Power On OS Loader Performs PreOperational Integrity Fail Chack for Code Integrity Pass OS Loader Starts Code Integrity Code Integrity Conditional Cryptographic Fail Algorithm Self-Tests Pass Verify the Integrity of Executable Code Wait for Commands Executable Integrity Verification Request Executable Integrity Check OS Shut Down Boot Failure

Page 34 ↑

Code Integrity – Security Policy Document Figure 3: Finite State Model

11.2 Administrator Guidance

The installed version of Windows must be checked to match the version that was validated. See Section 11.2.1 Verifying the Installed Windows Version below for details on how to do this. To sanitize the module, the operator should reformat the hard drive or wipe the device as part of unenrollment for Azure Active Directory.

11.2.1 Verifying the Installed Windows Version

The following methods may be used to check the installed version of Windows against the version number listed in 2.2 Tested and Vendor Affirmed Module Version and Identification. Using the Windows command prompt or Windows PowerShell (local or remote):  Open a command prompt or PowerShell window.  At the prompt, type systeminfo and press the Enter key.  Near the top of the output, informa on like the following is displayed. The OS Version field lists the installed Windows version. Compare this version number against the version number listed in 2.2 Tested and Vendor Affirmed Module Version and Iden fica on. OS Name: Microsoft Windows 11 Enterprise OS Version: 10.0.xxxxx N/A Build xxxxx OS Manufacturer: Microsoft Corporation For Windows installations without a user interface, e.g., Windows Server with the Core Installation option, a server management solution may also be used to validate the installed Windows version. For example, the Overview page of Windows Admin Center Server Manager lists the version number under the Operating System category. For more information, see Manage Servers with Windows Admin Center.

11.2.2 Verifying the Cryptographic Module Version and its Signature

To confirm the version number or digital signature of the module, locate the module binary or binaries named in 2.2 Tested and Vendor Affirmed Module Version and Identification in their default installation location. The list below identifies the default install locations for the Windows cryptographic module binaries for a system where Windows has been installed on the C: drive.  ci.dll - C:\Windows\System32\ To validate the module version number, use Windows Explorer or PowerShell (local or remote).  Using Windows Explorer:

Page 35 ↑

Code Integrity

Page 36 ↑
AlgorithmProtected AgainstMitigation
SHA-1Timing Analysis AttackConstant time implementation.
Cache AttackMemory access pattern is independent of any confidential data.
SHA2Timing Analysis AttackConstant time implementation.
Cache AttackMemory access pattern is independent of any confidential data.

Code Integrity

11.3 Non-Administrator Guidance

The module implements a single role only, Cryptographic Officer. See the Administrator Guidance above.

11.4 Design and Rules

The module is a software cryptographic module that provides cryptographic services within the Operational Environments listed in Section 2.2 Tested and Vendor Affirmed Module Version and Identification. The other sections of this Security Policy provide additional details on the design of the module and its rules of operation.

12 Mitigation of Other Attacks
12.1 Attack List

The following table lists the mitigations of other attacks for this cryptographic module. Table 27: Mitigation of Other Attacks

13 Standards References

FIPS 140-3, Security Requirements for Cryptographic Modules, h ps://csrc.nist.gov/publica ons/detail/fips/140/3/final  FIPS 180-4, Secure Hash Standard (SHS), h ps://csrc.nist.gov/publica ons/detail/fips/180/4/final

Page 37 ↑

Code Integrity – Security Policy Document  FIPS 186-4, Digital Signature Standard (DSS), h ps://csrc.nist.gov/publica ons/detail/fips/186/4/final  FIPS 186-5, Digital Signature Standard (DSS), h ps://csrc.nist.gov/pubs/fips/186-5/final