Method for implementing and using cryptographic material in at least one system component of an information technology system - Patents.com

By supplementing cryptographic materials with conditions, roles, and target identities, the method ensures secure and flexible use across different system components, addressing the challenge of secure cryptographic material differentiation in vehicle ecosystems.

JP2024536707AActive Publication Date: 2024-10-08MERCEDES BENZ GROUP AG
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024513414
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-08-31
Filing Date
2022-08-02
Publication Date
2024-10-08
Estimated Expiration
2042-08-02

AI Technical Summary

Technical Problem

Existing methods for implementing cryptographic materials in information engineering systems, particularly in vehicle ecosystems, fail to provide secure and flexible differentiation between development and production stages, leading to potential tampering and misuse of cryptographic materials.

Method used

The method involves supplementing cryptographic materials with additional data such as conditions, roles, and target component identities, allowing for flexible and secure implementation across various system components and their submodules, using evaluation units to ensure compliance with defined conditions before use.

Benefits of technology

This approach enables secure and flexible use of cryptographic materials, preventing unauthorized access and misuse, thereby enhancing the security and reliability of cryptographic material usage throughout the system's lifecycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024536707000001_ABST
    Figure 2024536707000001_ABST
Patent Text Reader

Abstract

The invention relates to a method for implementing and using cryptographic material (KM) in at least one system component (SK) of an information technology system (IT-S) for executing at least one operation, in which at at least one first point in time, a state of the system component (SK) described by at least one variable (VAR) is checked, the cryptographic material (KM) is supplemented with additional data, the state data describing possible states of the system component (SK), and the cryptographic material (KM) is used by the system component (SK) when the additional data of the cryptographic material (KM) contains at least one state that the system component (SK) has at the first point in time. The method according to the invention comprises: KM * ,BED KM Prov ,BED KM Type(skid) ,BED KM Type(skid),Prov ), at least one role KM * ), and / or at least one target component identity (ZKIDENT KM ) is characterized in that it is composed of.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for implementing and using cryptographic material in at least one system component of an information technology system according to the scheme recited in the preamble of claim 1. [Background technology]

[0002] The method for implementing and using cryptographic material essentially addresses the problem that at different life cycle stages of a system component of an information technology system equipped with cryptographic material, cryptographic material corresponding to the latest security level of the respective system component or of a submodule of a system component has to be applied, this is particularly, but not exclusively, intended for devices of the so-called CarIT-Security for vehicles.

[0003] Modern vehicles, and other systems too, are characterised by being increasingly networked. Here, vehicles are not only connected to publicly accessible systems such as the Internet, but also to dedicated systems operated by the vehicle manufacturer or OEM, such as manufacturer-specific applications or manufacturer-specific servers, often called back-end servers, which are developed, marketed and operated by the manufacturer specifically for its vehicle fleet. All of this together is also called the vehicle ecosystem.

[0004] In practice, due to the variety of communication relationships between the individual system components within such a vehicle ecosystem, a large number of new interfaces and applications are created, which all have to be secured together by suitable cryptographic methods, for example by mechanisms, protocols, etc. Such cryptographic methods, which are in principle known from the prior art, require for this purpose various cryptographic materials, for example asymmetric key pairs, symmetric keys, certificates, random numbers, hash values, etc. All such cryptographic materials must be adapted to one another and provided to and used by all system components involved in the vehicle ecosystem, often before their start of use or during ongoing operation in order to exchange the cryptographic materials. The provision of the cryptographic materials, the so-called provisioning, takes place, for example, within the framework of the manufacturing process, but can also take place during operation of the system components. In this case, the system components include in particular the control devices integrated into the vehicle, but also other components, for example applications installed in the vehicle, applications of the OEM available on a smartphone, devices outside the vehicle, etc.

[0005] In order to ensure that protected communications cannot be intervened in, it is absolutely necessary to distinguish between cryptographic material used during the development phase and cryptographic material used in the production phase, i.e. in the actual application phase of the product after development. The cryptographic material for the development phase is also called test cryptographic material in the following. In so far as it is secret cryptographic material, only such test cryptographic material is allowed to be used in the development phase. That is to say, the production cryptographic material, and here in particular the secret production cryptographic material, must be protected against unauthorized access throughout the entire life cycle of the system components. Such protection should ideally be guaranteed by the observance of special processes secured in the respective development departments and production plants and by the application of special protection mechanisms. However, in the development phase this is often only insufficiently guaranteed, since the various components of the information technology system are often not embodied or implemented in such a development phase.

[0006] For example, the secure generation of the required cryptographic material may not yet be fully specified or tested. The secure transmission of the cryptographic material from a generation server, from a so-called cryptographic material server, to the system manufacturer, for example to a supplier, may not yet be ensured. The secure attachment of the cryptographic material to system components has not yet been specified or has not yet been finally specified. The secure storage of the cryptographic material in such system components may also not yet be specified, for example because a Hardware Security Module (HSM) has not yet been installed in the target system, which should be installed at a later point in time. The secure use of the cryptographic material in the system may also not yet be specified, for example because development interfaces required for testing and debugging exist, which have read and write access to the entire system and thus in particular access to the installed cryptographic material are allowed during the development phase. However, such development interfaces are necessarily available during development and are openly accessible during the development process for all involved personnel and / or companies.

[0007] This has the consequence that it is not possible to guarantee that the cryptographic material used during the development phase will not be tampered with or read out. However, in this case, such test cryptographic material is identical in terms of its structure and form to the production cryptographic material used later, i.e. it is also suitable for a later application in operation, i.e. also in the production phase of the respective system component. It is therefore particularly important that the test cryptographic material, which is relatively less secure and therefore therefore highly likely to be corrupted, is not misused in production systems. The situation becomes even more serious if the production cryptographic material gets into a system component that is still in the development phase. In that case, this material, which is in great need of protection, can also be tampered with and read out completely or partially, and is therefore no longer secret and cannot be used. If the error goes unnoticed or is deliberately concealed, the system component that goes into production later loses its protection.

[0008] In practice, security regulations and guidelines are implemented by personnel working on system components at each stage. Therefore, errors, negligence, and intentional manipulation cannot be excluded. In principle, therefore, there is always a risk that test encryption material is left in a system component that has already been put into production, or that production encryption material is applied to a system component that is still in the development stage. Any encryption material used in the development stage, whether intentionally or by negligence, is highly likely to be corrupted, for example due to interfaces that are still open. This risk ultimately leads to increased security risks. This is a major drawback of the existing approach.

[0009] A method for the secure use of cryptographic material is already known from DE 10 200 03 133 A1. Here, cryptographic material is implemented in a number of system components of a networked system. The cryptographic material has a marking which identifies the cryptographic material as development or production material. The individual system components have a binary additional flag which indicates whether the corresponding system component is in the development or production phase of its life cycle. A comparison is then made between the binary status flag of the respective system component and the marking of the cryptographic material. If the marking and the flag match, i.e. if the cryptographic material is marked as development material for example and the system component is in the development phase, the corresponding cryptographic material is used by the system component. If, on the other hand, the marking and the binary additional flag do not match, a safety measure is initiated. A check for a match between the marking of the cryptographic material and the binary additional flag is either performed before each use of the cryptographic material or only once for the entire cryptographic material in the system component. A check for a match can be performed, for example, when the system component is started up or also when the cryptographic material is provided. As a security measure, it may issue warning messages, halt or prevent the provision of cryptographic material, and / or, if necessary, erase cryptographic material already applied to system components.

[0010] The disadvantage here is that, in order to distinguish whether cryptographic material is allowed to be applied in a system component, only a distinction is made between two life cycle phases of the corresponding system component and between two different properties of the cryptographic material (test or production). In practical application, the distinction between two groups is not sufficient, since the different cryptographic materials and the conditions for their secure use in system components are too diverse. If, for example, the secrets are generated and stored directly in the hardware security module and never leave it, the cryptographic material can possibly already be used securely during the development phase. However, this prerequisite is that the hardware security module in the development phase does not have or does not use special diagnostic interfaces that would allow the secrets to be read out. In contrast, secrets contained in software are part of the program code and can be read out or reconstructed relatively easily via various interfaces. It is then not possible to apply such secrets securely during the subsequent production phase of the system component. [Prior art documents] [Patent documents]

[0011] [Patent Document 1] German Patent No. 102020003072(B3) Summary of the Invention [Problem to be solved by the invention]

[0012] The object of the present invention is to provide an improved method for implementing and using cryptographic material in at least one system component of an information technology system, which allows a particularly flexible and secure implementation and use of cryptographic material which differs in various ways in various system components, while ensuring that in the case of a system component operating, by itself or by at least one of its sub-modules, in an insecure mode, cryptographic material suitable for insecure operation is used by the system component or by at least one of its sub-modules, and that in the case of a system component operating, by itself or by at least one of its sub-modules, in a secure mode, cryptographic material suitable for secure operation is used by the system component or by at least one of its sub-modules. [Means for solving the problem]

[0013] According to the invention this problem is solved by a method for implementing and using cryptographic material in at least one system component of an information technology system having the features of claim 1. Advantageous embodiments and developments are evident from the dependent claims.

[0014] In a method of implementing and using cryptographic material in at least one system component of an information technology system of the type mentioned at the beginning, the cryptographic material comprises additional data which, according to the invention, is constituted by at least one condition, at least one role and / or at least one target component identity.

[0015] The method according to the invention allows a particularly flexible and secure implementation and use of cryptographic material in different system components and / or their submodules. Different system components, such as, for example, a control device, a cloud server, an application running on a mobile terminal, a vehicle or an external device, require the use of different cryptographic material at different times, such as symmetric or asymmetric keys, certificates, random numbers, hash values, etc. A specific target system component which is to use the cryptographic material may thus require the use of different cryptographic material in different states. The state of the respective system component is then described by means of at least one variable. The corresponding system component may be in a number of different states, i.e. it may have more than two states, for example a development and a production phase of the life cycle. The individual submodules of the system component may also be in different life cycle phases or states. It may happen, for example, that a network interface is in a first, insecure state and a storage element of the system component is in a second, secure state. The corresponding IT system may then be networked or isolated.

[0016] The cryptographic material is typically generated by a dedicated system, for example a cryptographic material server, and transmitted to the target system, i.e. to the target system component, as part of a special data package. In this case, the cryptographic material is supplemented with additional data according to the invention. Corresponding conditions are then defined under which circumstances the use of the cryptographic material by the system component is or is not permitted. The corresponding conditions can be of a very diverse nature. For example, the conditions can require that the respective system component is in a certain period of its product life cycle or that the system component has a hardware security module that is in a secure state, so that the hardware security module can receive and store the cryptographic material in a secure manner. The cryptographic material can then contain multiple conditions. This allows the implementation and use of the cryptographic material in different system components to be controlled under an even larger number of different application scenarios.

[0017] Cryptographic material provided to a system component plays a certain role therein. If multiple cryptographic materials of the same type are used by the same system component, e.g. multiple 4096-Bit-RSA public keys are used, the system component itself cannot determine what role the new cryptographic material should play, i.e. how and where it is installed in the system component and how it is used. Such information corresponding to the role of the cryptographic material can be attached to the cryptographic material in the form of a role. Roles are then distinct from conditions, whereby roles do not impose conditions on the current state of the system component.

[0018] In order to distinguish particularly efficiently which system components are allowed to use the encryption material, the encryption material can be supplemented with a target component identity, where the target component identity includes a unique identification of the system components that are allowed to use the corresponding encryption material. If the corresponding encryption material is sent to a system component that is not included in the target component identity, the use of the encryption material in that system component is prevented. This allows a particularly simple and fast configuration of which system components are allowed to use which encryption material and which are not allowed to use which encryption material.

[0019] In this case, the target component identity may cover an entire class of systems, system components and / or their submodules, i.e., classes such as "head unit", "engine control unit", "flash memory", etc., as well as covering just one particular system component, e.g., a hardware safety module having the serial number "GHNS-1934952".

[0020] In this way, using at least one condition, at least one role, and / or at least one target component identity, it is possible to very efficiently and flexibly control which cryptographic material is and is not allowed to be used in which application scenarios, i.e. in which states, and in which system components and / or their submodules.

[0021] Cryptographic material is typically structured as cryptographic material (data) packages and exchanged between or introduced into systems or system components. A cryptographic material package then contains the actual cryptographic material, i.e., for example an asymmetric key pair, and the respective conditions, roles and / or target component identities in the form of additional data attached to the cryptographic material. To this end, the attached data may for example be concatenated with the cryptographic material. The cryptographic material package may also contain further data. For the sake of simplicity, the text here only uses the term cryptographic material.

[0022] A preferred development of the method according to the invention provides that the encryption material comprises at least one target component specific role. If the same encryption material is sent to different system components, it can also play different roles in the different system components. For example, the encryption material can be given a target component specific role that tells it how it should be used in which system component. This allows for a more comprehensive and flexible control of how the encryption material is implemented in different system components and how it is used there.

[0023] In another preferred embodiment of the method according to the invention, all conditions are defined by a generator external to the system component and evaluated by at least one evaluator located in the environment of the system component, the generator and the evaluator jointly determine which variables should be used by the generator to define the conditions. To this end, the generator and the evaluator can use a fixed set of possible variables to select the suitable variables condition-dependently. The generator then selects the suitable variables for each condition. Similarly, the number and type of conditions are determined by the generator. The names and permissible value ranges to be used for each variable are jointly defined by the generator and the evaluator, the evaluator determining which names and value ranges of the generator are allowed to be used. However, the generator itself decides which names and value ranges it will ultimately use.

[0024] The creation unit is for example the cryptographic material server already mentioned. The evaluation unit may be constituted by hardware and software or may be constituted by a human being. The evaluation unit may be included in the system component or may be located outside the system component, but in the same environment as the system component. This allows the evaluation unit to detect the variables on which the system component is based and the state of the corresponding system component. An evaluation unit outside the system component allows the checking of the conditions imposed by the cryptographic material on the system component when the system component has not yet been booted. For example the corresponding checked cryptographic material can be saved in a storage device of the system component without the corresponding system component having been started before.

[0025] To this end, the evaluation unit can in particular check at any given time whether the conditions of the respective system components are fulfilled or not. By the fact that the creation unit and the evaluation unit agree on a common set of relevant variables, it can be ensured that the variables required for the evaluation of a particular condition can actually be found by the evaluation unit, which increases the reliability of the application of the method according to the invention.

[0026] Further, another preferred embodiment of the method contemplates that at least one variable has one of the following value ranges: -BOOLEAN; -INTEGER; or -STRING.

[0027] All variables can have the same value range, i.e., be of the form BOOLEAN, INTEGER, or STRING, or the individual variables can have different value ranges, whereby different variables can be used for the definition and subsequent checking of the condition.

[0028] Accordingly, a BOOLEAN variable can take on the value TRUE or FALSE. The value ranges INTEGER and STRING can be used to describe states in more detail or complexity. For example, a particular state can be described using numbers and / or strings.

[0029] The value range can range, for example, from 1 to 10. The variables used to define the states can, for example, be present in the form of a vector. The vector can, for example, contain a first variable of BOOLEAN format and a second variable of INTEGER format. Such a variable vector is time-dependent. For example, at a certain time, the first variable can take the value TRUE and the second variable can have the value 24. This allows to evaluate a condition for an environment, a system component that is in a unique state described by the current values ​​of the variables at a certain time t, i.e. to check whether the variables satisfy the condition defined at the time t. The corresponding variable vector can then also contain at least one empty element. This is the case, for example, if the evaluator cannot find a particular variable. Instead of an empty element, a placeholder can also be used, such as, for example, the numbers "0", "9999" or the string "NAN".

[0030] Similarly, a variable may be of a structure type, for example a variable may be -ARRAY or -RECORD, A structure type can be composed either from non-structure types or from structure types.

[0031] In another preferred embodiment of the method, at least one condition is defined as target component-specific and / or operation-specific. For example, the cryptographic material can be used for performing various operations, such as installing software, encrypting or decrypting certain data, creating or verifying signatures, and / or being used by various system components. In order for the creator to be able to characterize the condition as operation-specific, i.e. valid only for a particular operation, the creator must be informed of the set of operations known within the system component according to the set of available state variables, so that the creator can use this in defining the condition. Such a set of operations can be generic, i.e. valid for all target components, or it can be target component-specific.

[0032] It may occur that for a particular condition to be considered satisfied when performed by different system components and / or different operations, a particular variable must take on different values, i.e., sometimes TRUE and sometimes FALSE, or sometimes 0 and sometimes 256, for at least two different system components and / or operations.

[0033] Furthermore, in another preferred embodiment of the method according to the invention, it is intended that at least one different variable is used for target component-specific and / or operation-specific conditions at different target system components and / or during different operations. For example, not only can a particular variable take different values ​​to fulfill a condition and / or to execute different operations at different system components, but different variables may be required for this. In particular, the permissible amount and / or type as well as size of variables related to a condition can then be differentiated between different system components and / or operations. For example, to fulfill a condition at a first system component, variables 1 and 2 must take the values ​​0 and TRUE, while at a second system component variables 1, 2 and 3 must take the values ​​0, TRUE and FALSE. Whereas at a third system component, to fulfill the same condition, variables 1, 2, 3, 4, 5 and 6 must take the values ​​TRUE, [0..100], [-100..100], 0, "engaged" and FALSE. In general, at least two BOOLEAN values ​​may be linked by an OR operator, as will be discussed in more detail below.

[0034] In another preferred embodiment of the method, the evaluation units check the conditions using an evaluation function, and at least two different evaluation units use different evaluation functions, in particular operation-specific evaluation functions. In general, it is possible for all evaluation units to use the same evaluation function. However, the provision of different evaluation functions allows for greater flexibility in implementing the method of the invention for controlling the conditions under which cryptographic material is used by a system component.

[0035] Usually, a universal evaluation function can also be used, so that the entire cryptographic material or the conditions configured in the cryptographic material can be evaluated by providing only one function. However, evaluation functions can also be created specifically for different cryptographic materials, for example depending on the role of the cryptographic material. In particular, a further distinction is then made between different evaluation functions for different operations.

[0036] Furthermore, another preferred embodiment of the method contemplates that at least one condition is defined in a machine-processable definition language, where an executable language that can be interpreted by an interpreter or one of the following formal logics is used: -Propositional logic; -Propositional logic, including relational logic; -Propositional logic, including relational logic and functions.

[0037] Defining conditions in a machine-processable definition language allows the use of existing languages ​​to implement the method according to the invention. Using an evaluable definition language, conditions can be formulated using valid variables describing the state of the system components, e.g. as expressions of processable BOOLEAN values ​​defined by the definition language. If the encryption material has multiple conditions, the variable sets associated with the corresponding conditions can also contain different variables. All variables of the corresponding variable sets can then be of the same type, i.e. BOOLEAN, INTEGER or STRING, or at least two variables of the variable sets associated with each condition can have different types. The same or different machine-processable definition languages ​​can be used for different conditions configured in the encryption material.

[0038] In the well-known propositional logic, all variables associated with a particular condition have the value range BOOLEAN, i.e., each variable can only take on the values ​​TRUE or FALSE. Logical formulas are constructed using the well-known logical connectives of propositional logic, i.e. "Λ", "V", "¬", etc., and parentheses "(" ")". An example of a propositional logic formula is: - variable 1; - variable 2ΛTRUE; -(variable 1 Λ(variable 2 V variable 3)).

[0039] In propositional logic, including relational logic, the variables involved in a particular condition can have different value ranges. There is a finite set of relational logics, each of which is assigned a fixed arity, and each of which is assigned a fixed value range for each relational logic and term position. A relational term is then obtained by applying the relational logic to one of the number of constants and / or variables corresponding to the arity, which have a suitable value range. The evaluation of a relational term for a fixed predefined value assignment of the variables appearing in such a term always results in a Boolean value, i.e. TRUE or FALSE. An example of a two-digit relational logic, which requires INTEGER as a value range in both term positions, is the less-than-equal relational logic "≦", and a relational term based on this relational logic might look like this: - variable 1 <= variable 2; -7 <= variable 3.

[0040] A logical formula is constructed using BOOLEAN constants, BOOLEAN variables, relational terms, and well-known propositional logic connectors, i.e., Λ, V, ¬, etc., as well as parentheses "("and")" to specify the order of evaluation. An example of a propositional formula containing relational logic, using the two-term relational logic "≦" and "=", is as follows: -(variable 1 Λ((variable 2 ≦ variable 3) V(variable 3 = variable 4))).

[0041] In propositional logic with relational logic and functions, a finite set of functions is additionally used, each function is assigned a fixed arity, and each function and each term position is assigned a fixed value range. Furthermore, for each function, a result value range is defined. A function is then applied to a number of constants, variables, and / or functions with a suitable value range, which corresponds to the arity, to return a value from a given result value range. An example of a binary operation that requires INTEGER as a value range in both term positions and returns an INTEGER value as a result is the addition "+". Logical formulas are constructed in the same way as in propositional logic with relational logic, with the difference being that relational terms can be formed not only by application of relational logic to constants and / or variables, but also by functions with corresponding result value ranges applied to the constants / variables. Examples of propositional logic formulas with relational logic and functions are as follows: -(Variable 1 Λ((Variable 2 ≦ (Variable 3 + Variable 7)) V(((Variable 3 - Variable 8) + Variable 2) = Variable 4))).

[0042] In contrast, the use of executable languages, especially those that can be interpreted by an interpreter, offers advantages. Such languages ​​are very "powerful" based on their executableness, e.g. no prior translation / compilation or conversion to an expression tree or assignment of variable values ​​is required before the corresponding program code can be executed. An interpretable executable language can be, for example, a scripting language such as Python.

[0043] In another preferred embodiment of the method according to the invention, at least two conditions are formulated in different definition languages, in particular the conditions specific to the two target components are formulated in different definition languages. If the first system component uses a first language and the second system component uses a second language different from the first language, the provision of two conditions formulated in different definition languages ​​ensures that both system components can be evaluated for the conditions related to them. Accordingly, the variables related to the conditions are also formulated in the respective definition languages. It is also possible that two conditions valid for the same system component are formulated in different definition languages. It may be preferable to formulate certain conditions in a certain definition language. This is the case, for example, if the detection and / or processing of certain variables is only possible in a certain definition language or if this is set on the basis of various boundary conditions.

[0044] Furthermore, another preferred embodiment of the method according to the invention provides that the cryptographic material includes at least two conditions, all of which must be satisfied in order for the cryptographic material to be used by the system component. In terms of the use of formal logic, this means that the conditions used are AND-connected, i.e., all of the conditions must be satisfied in order for the cryptographic material to be used by the system component. In this way, satisfaction of an individual condition is necessary, but not necessarily sufficient, for the cryptographic material to be applied by the system component, since at least one further condition must also be satisfied.

[0045] In another preferred embodiment of the method, the evaluator provides the following standard response for each condition if cryptographic material is to be used by a system component but the target component specific conditions do not include the corresponding system component class, or if an operation is to be performed with the use of cryptographic material but this operation is not included in the operation specific conditions, or if the evaluator is unable to find a variable required for checking the condition: -TRUE; -FALSE; or - Response appended to the encrypted material as a standard response.

[0046] This ensures a more reliable implementation of the method according to the invention. In general, it may be the case that a system component or a class of system components for which a certain encryption material is to be used is not included in the target component-specific conditions. In order to nevertheless allow the corresponding system component to apply the encryption material, the value TRUE is output as standard after the target component-specific conditions have been checked. Alternatively, if application of the encryption material is to be prevented in such cases, the value FALSE is output as standard. In order to increase the flexibility of the method according to the invention, a standard response in the form of TRUE or FALSE can also be added to the encryption material. This reduces the risk that a system component with a standard response set to TRUE applies the encryption material, even though this should not be the case. In such cases, the standard response in the form FALSE is added to the encryption material.

[0047] The formulation given above also applies to operation-specific conditions, as well as to cases where the validator cannot find the variables needed to check a particular condition.

[0048] Furthermore, another preferred embodiment of the method according to the invention provides that all the additional data contained in the cryptographic material is cryptographically secured against compromise, in particular by using at least one digital signature and / or a symmetric integrity protection mechanism. As a symmetric integrity protection mechanism, in particular a Keyed-Hash Message Authentication Code (HMAC) can be used. The security of the cryptographic material against compromise can provide an additional level of protection when implementing the method according to the invention. In this way, the cryptographic material as well as the additional data added to the cryptographic material package are protected against manipulation. For example, the cryptographic material, including the additional data to be added, can be digitally signed, for example, by the creator with its asymmetric private key. In particular, a secure method and a secure system are used for signing. The public key or a certificate containing the public key is then distributed to all relevant evaluators. In a corresponding system, the corresponding public key or certificate is embedded in a tamper-protected manner. For example, the public key or the certificate is stored in a write-protected memory (ROM) or in a write-once memory (WORM). The cryptographic material package also contains such a digital signature. Accordingly, cryptographic material is used by a system component only if verification of the signature affixed to the cryptographic material using the deployed public key and / or certificate yields a positive result.

[0049] In another preferred embodiment of the method according to the invention, at least two different entities are authorized to digitally sign encrypted material, and all entities authorized to sign are given their own end-entity certificate and its corresponding private key, which belong to a common certificate hierarchy. Giving permission to digitally sign to several entities makes sense, especially when several entities create encrypted material. The system performing the signing then signs the corresponding encrypted material with the private key belonging to its end-entity certificate. The entire certificate chain is then appended to the encrypted material, not just the generated signature. The certificate chain appended to the encrypted material is then used by the corresponding validator, or by a system including the validator, to verify the validity of the signature created by the signing system.

[0050] If the cryptographic material is already a digital certificate, it is already pre-signed. Then, when the additional data, i.e. at least one condition, role and / or target component identity, is recorded in the certificate, it is also signed together by the certificate creator. For example, the additional data, or only a part of it, is included in the corresponding certificate as one or more certificate extensions and signed together. If all the additional data is included in the certificate, a dedicated creation of a digital signature of the cryptographic material can be omitted.

[0051] In order to guarantee the best possible protection, the method according to the invention should be applied as early as possible during the development of the corresponding system components. Since the check of the conditions by the evaluator depends on variables, such variables should be best protected against manipulation, since a corrupted variable can hide the existence of a state that does not actually exist. Accordingly, the constants used to evaluate the conditions are preferably stored in a write-once memory, such as a WORM memory. The values ​​of the variables on which the conditions depend are preferably systematically adapted to the current system state throughout the entire life cycle of the IT system or of the individual system components.

[0052] A vehicle ecosystem is preferably used as the information technology system. In general, the method according to the invention can be applied to various system components of different types of information technology systems, networked or not. If the information technology system is a vehicle ecosystem, the use becomes particularly efficient, because in this case the corresponding requirements of costly development involving many partners often make compliance with safety guidelines very difficult in practice. The method according to the invention and the associated self-checks by the respective system components can drastically minimize potential security holes.

[0053] Further preferred embodiments of the inventive method for implementing and utilizing cryptographic material in at least one system component of an information technology system will become apparent from the detailed examples described below with reference to the drawings. [Brief description of the drawings]

[0054] [Figure 1] 1 is a schematic diagram illustrating a first use of cryptographic material in a system component of an information engineering system; [Diagram 2] FIG. 2 is a schematic diagram illustrating the use of alternative cryptographic materials in the system components shown in FIG. 1; [Diagram 3] FIG. 13 is a principle diagram showing the use of alternative cryptographic material in another system component. [Figure 4] 1 is a flow chart illustrating example processing of encrypted material in system components when operations are performed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0055] Fig. 1 shows a first example of the use of cryptographic material KM by at least one system component SK of an information technology system IT-S. The state of the system component SK is described by at least one variable VAR. In the example of Fig. 1, the set of all variables VAR is represented as VAR and the individual state variable used here is represented as "produktiv". The state variable produktiv indicates whether the system component SK is in the production phase of its life cycle, i.e. is a production system or not. The cryptographic material KM is a self-signed test root certificate TestRootCert belonging to a test root key pair (TestRootPub, TestRootPriv), which is given to the target system as a trust anchor, thus allowing to build a test connection with a communication peer, by using TestRootCert to check the authenticity of a certificate received from the peer and signed with TestRootPriv.

[0056] The certificate TestRootCert was created under insecure conditions, e.g. the private key TestRootPriv is not stored securely. TestRootCert is therefore not allowed to be used in a production system. The condition BED contained in the cryptographic material KM is accordingly defined as produktiv=FALSE. The condition BED expresses that the certificate TestRootCert is only allowed to be used by the target system, i.e. by the system component SK, if it is not in production phase.

[0057] 2 shows a similar embodiment, where the cryptographic material KM contains a certificate ProdRootCert that can be safely applied in a production system. Accordingly, the certificate ProdRootCert is allowed to be used by the target system, i.e. by the system component SK, at all times, for example during the development phase as well as during the production phase. ProdRootCert is allowed to be used even during the development phase, since it does not contain any secret content. Accordingly, the condition BED does not depend on the state variable produktiv and is always satisfied (TRUE). As the condition BED does not depend on any variable VAR, the empty set of additional variables can be chosen, i.e. BED TestRootCert ({product}):=(TRUE) replaced with BED TestRootCert ({}):=(TRUE).

[0058] Fig. 3 shows another embodiment of the implementation and use of cryptographic material KM in the system component SK. The system component SK has here two state variables, namely both elements HSMProvisioningSicher; BOOLEAN, and HSMVerschlSicher; BOOLEAN of a set of variables VAR. The set of variables VAR corresponds here to a vector with two elements. The additional variable HSMProvisioningSicher indicates whether the hardware security module HSM is already in a state where it can receive and store cryptographic material KM in a secure manner. The state variable HSMVerschlSicher indicates whether the hardware security module HSM is already in a state where it can use the private key stored in it for encryption in a secure manner. The cryptographic material KM is in Fig. 3 a secret symmetric key AESKey of length 256 bits to be used for AES encryption in the production system.

[0059] Two operations should be protected by the conditions BED. On the one hand, this is the provision of encryption material KM, i.e. the secure introduction and secure storage of the key in the system component SK. Furthermore, this is encryption, i.e. the secure use of the key for encryption in the system component SK. The secure use of the key in the target system is protected by the two conditions BED BED AESKey Provisioning and BED AESKey Verschlusselung Guaranteed by BED BED AESKey Provisioning indicates that the key AESKey is allowed to be introduced into the target system only if HSMProvisioningSicher=TRUE is satisfied. AESKey Verschlusselung indicates that the key AESKey is allowed to be used for encryption on the target system only if HSMVerschlSicher=TRUE.

[0060] 4 shows a flow chart of the method according to the invention. It is assumed here that the package of cryptographic material KM-P has the following form: KM-P=(KM, ZKIDENT KM ,BED KM * ,ROLE KM * ,Sign KM ,ZK), where ZKIDENT KM ZKIDENT represents the set of permitted target component identities for the cryptographic material KM. KM ,BED KM * represents the set of,optionally target component-specific and / or operation-specific conditions BED,assigned to the cryptographic material KM, and ROLE, KM * Optionally, the target component may specify a role ROLE KM * In this case, the above variable ZKIDENT KM ,BED KM * ,ROLEKM * At least one of the Sign may be missing from the encryption material package KM-P. KM is created by the creator of the encryption material KM, (KM,ZKIDENT KM ,BED KM * ,ROLE KM * ), ZK is a certificate chain that is used by the system component SK to sign. KM can be checked for validity. Furthermore, for a unique addressing of the system component SK, it is also assumed that the system component SK has an identity skid and a target component type (skid). For example, the identity skid and the target component type (skid) can be included in the system component SK in the variable VAR. The system component type can also be understood as a class of system components SK, i.e. for example all system components SK of class / type "head unit", "engine control unit", etc. It is further assumed that the evaluator wants to check whether the cryptographic material KM contained in the cryptographic material package KM-P is allowed to be installed in the system component SK for the operation Prov on the system component SK. This operation can generally be any operation, for example the execution of a decryption process. In the example of FIG. 4, the operation is the actual provisioning of the cryptographic material KM.

[0061] First, the signature KM If the signature check is unsuccessful, then an exception is processed according to the first link LINK1. If, on the other hand, the signature check is successful, then the encryption material KM, here in the form of an encryption material package KM-P, is checked for at least one target component identity ZKIDENT KM If so, it is checked whether the identity skid of the system component SK contains the target component identity ZKIDENTKM If this is not the case, an exception is initiated according to the first link LINK1. KM If it does not contain, this step is jumped.

[0062] Continued, Condition BED KM * It is checked whether the encryption material KM contains conditions BED and, if so, what conditions it contains. KM * If it does not, the process continues according to the second link LINK2, which results in the installation of the encryption material KM.

[0063] Continued, Condition BED KM * is checked to see if it is specific to the target component.

[0064] If that is not the case, at least one condition BED KM * is checked to see if it is operation specific.

[0065] If that is not the case, the corresponding condition BED KM is evaluated and the process proceeds according to the first or second link LINK1, LINK2.

[0066] In contrast, at least one condition BED KM * If it is determined that the operation is specific, then it is checked whether the operation is intended to provide, i.e., provision, of cryptographic material KM. If so, the operation-specific condition BED KM Prov Then, the process proceeds according to links LINK1 and LINK2.

[0067] On the other hand, if at least one type-specific condition is found in the cryptographic material package KM-P, then it is necessary to check whether at least one type-specific condition is also valid for the entire class of system components SK, i.e., whether the type (skid) is BED. KM * For each class referenced by a type (skid), the set of valid conditions is denoted as BED in the following. KM Type(skid)* If this is the case, provisioning is allowed to take place (see the first link LINK1). If this is not the case, it has to be checked which standard procedure should be applied, i.e. whether provisioning is allowed to take place or not. For this purpose, for example standard responses may be included in the cryptographic material package KM-P.

[0068] Subsequently, type-specific conditions are added to the operation-specific BED KM Type(skid)* If it is not, the condition BED KM Type(skid) is evaluated and the process proceeds according to the links LINK1 and LINK2. KM Type(skid)* If is operation-specific, then at least one operation-specific condition for operation Prov ("provisioning"), as an example here, namely, condition BED KM Type(skid),Prov But, BED KM Type(skid)* (This step is not shown in FIG. 4). If this is not the case, exception handling is initiated according to the first link LINK1. If this is the case, i.e., BED KM Type(skid)* Condition BED KM Type(skid),Prov If it does, it is evaluated and the process proceeds by following links LINK1 and LINK2.

[0069] Individual ConditionsBED KM ,BED KM Prov ,BED KM Type(skid) or BED KM Type(skid),Prov After the evaluation of the cryptographic material KM, here in the form of a cryptographic material package KM-P, is assigned to at least one role ROLE KM * If this is not the case, the provision of cryptographic material KM for the system component SK is performed without a role. If this is the case, the ROLE KM * It is checked whether contains a role for the target component type Type(skid). If this is not the case, exception handling is performed again. If this is the case, the role ROLE KM * The encryption material KM is provided taking into consideration the above.

Claims

1. A method of implementing and using cryptographic material (KM) in at least one system component (SK) of an information technology system (IT-S) for performing at least one operation, the cryptographic material (KM) being used by the system component (SK) when, at at least one first point in time, a state of the system component (SK) described by at least one variable (VAR) is checked, the cryptographic material (KM) is supplemented with additional data, the state data describing possible states of the system component (SK), the additional data of the cryptographic material (KM) including at least one state of the system component (SK) at the first point in time, The additional data includes at least one condition (BED, BED KM * , B.E.D. KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov ), at least one role KM * ), and / or at least one target component identity (ZKIDENT KM ).

2. The cryptographic material (KM) is stored in at least one target component specific role (ROLE KM * 2. The method of claim 1, comprising:

3. All the above conditions (BED, BED KM * , B.E.D. KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov3. The method according to claim 1, wherein the system component (SK) is defined by a creation unit external to the system component (SK) and evaluated by at least one evaluation unit running in the environment of the system component (SK), the creation unit and the evaluation unit jointly defining variables (VAR) that the creation unit can use during the definition.

4. At least one variable (VAR) has the following value range: -BOOLEAN; -INTEGER; or -STRING 4. The method according to claim 1, further comprising:

5. At least one condition (BED KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov 5. The method according to claim 1, wherein the first and second operations are defined target component-specific and / or operation-specific.

6. In the target component and / or for different operations, target component-specific and / or operation-specific conditions (BED KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov 6. The method according to claim 5, characterized in that for each of the above, at least one different variable (VAR) is used.

7. The evaluation part is a condition (BED, BED KM * , B.E.D. KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov7. The method according to claim 3, wherein the evaluation units are checked by means of an evaluation function, and at least two mutually different evaluation units use mutually different evaluation functions, in particular operation-specific evaluation functions.

8. At least one of the conditions (BED, BED KM * , B.E.D. KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov ) is defined in a machine-processable definition language, an executable language that can be interpreted by an interpreter is used, or the following formal logic is used: - Propositional logic; - propositional logic, including relational logic; or - Propositional logic including relational logic and functions 8. The method according to claim 1, wherein one of the following is used:

9. At least two of the above conditions (BED, BED KM * , B.E.D. KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov ) in different definition languages, in particular the two goal component specific conditions (BED KM Type(skid) , B.E.D. KM Type(skid),Prov 9. The method of claim 8, wherein the formula is:

10. The encryption material (KM) is a set of at least two of the conditions (BED, BED KM * , B.E.D. KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov), and in order for the encryption material (KM) to be used by the system component (SK), all of the conditions (BED, BED KM * , B.E.D. KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov 10. The method according to claim 8 or 9, characterized in that the following condition must be satisfied:

11. Target component specific conditions (BED) for cryptographic material (KM) used in system components (SK) KM Type(skid) , B.E.D. KM Type(skid),Prov ) does not include the class of the corresponding system component (SK), or the operation specific condition (BED KM Prov , B.E.D. KM Type(skid),Prov If an operation is performed using cryptographic material (KM) that is not included in the BED, BED, or if the evaluator cannot detect a variable (VAR) required for checking the state, the evaluator checks the respective condition (BED, BED, KM * , B.E.D. KM Prov , B.E.D. KM Type(skid) , B.E.D. KM Type(skid),Prov ) the standard response is - TRUE; - FALSE; or the response, which is appended to said encryption material (KM) as a standard response, 11. The method according to claim 5, wherein the

12. 12. The method according to claim 1, wherein all additional data contained in the cryptographic material (KM) is cryptographically secured against compromise, in particular by using at least one digital signature and / or a symmetric integrity protection mechanism.

13. 13. The method of claim 12, wherein at least two different entities are authorized to digitally sign the encrypted material (KM), and all entities authorized to sign are each given an individual private key assigned to them and an associated individual end entity certificate and associated certificate chain.

14. Method according to any one of claims 1 to 13, characterized in that a vehicle ecosystem is used as the information technology system (IT-S).

Citation Information

Patent Citations

  • Methods for the secure use of cryptographic material

    DE102020003072B3

  • Using metadata within security tokens to prevent coordinated fraud in reputation systems

    JP2013504821A

  • Information processing system, information processing apparatus, information processing method, and program

    JP2018010433A