This application claims the benefit of European Patent Application Serial No. 07 290 413.9, filed on Apr. 4, 2007, which is incorporated by reference in its entirety.
This description refers to a distributed workflow management system within a decentralized network system, particularly to a secure execution of workflow tasks of a workflow in a distributed workflow management system within a decentralized network system.
In computer science workflow management systems are used to distribute the execution of workflow tasks to a number of servers within a network system. The infrastructure either can be a centralized workflow management system comprising a trusted centralized point of coordination or a more flexible decentralized workflow management system. Existing distributed workflow management systems eliminate on the one hand the need for a centralized coordinator that can be a performance bottleneck in some business scenarios. This flexibility introduced by decentralized workflow management systems on the other hand raises new security requirements like integrity of workflow execution in order to assure the compliance of the overall sequence of operations with a pre-defined workflow execution plan. Moreover, as opposed to usual centralized workflow management systems, the distributed execution of workflows can not rely on a trusted centralized coordination mechanism to manage the most basic execution primitives such as message routing between servers. Yet, existing decentralized workflow management systems appear to be limited when it comes to integrating security mechanisms that meet these specific requirements in addition to the ones identified in the centralized setting. Even though some recent research efforts in the field of distributed workflow security have indeed been focusing on issues related to the management of rights in server assignment or detecting conflicts of interests, basic security issues related to the security of the overall workflow execution such as integrity and evidence of execution have not yet been addressed.
Security of cross-organizational workflows in both centralized and decentralized settings has been an active research field over the passed years mainly focusing on access control, and separation of duty in conflict of interests issues. However, in the decentralized setting issues related to the integrity of workflow execution and workflow instance forging have been left aside.
Therefore, it is an object to provide new security mechanisms supporting a secure execution of workflows in a decentralized setting. The proposed mechanisms assure the integrity of the distributed execution of workflows and prevent servers from being involved in a workflow instance forged by a malicious peer. Therefore, it is capitalized in the following on onion encryption techniques and security policy models in the design of these mechanisms.
In one aspect, there is provided a method for a secure execution of workflow tasks of a workflow to be executed according to a given execution pattern in a distributed workflow management system with a plurality of servers, each server satisfying a policy of a vertex of the workflow, and thus, knowing a corresponding policy private key and a corresponding policy public key, respectively, the method comprising, starting at an i'th server which is determined at runtime in accord with the execution pattern to perform the i'th vertex of the workflow, the policy of which the i'th server satisfies, at least the following operations:
In another aspect, a method for a secure execution of workflow tasks of a workflow to be executed according to a given execution pattern in a distributed workflow management system within a decentralized network system is provided. The network system comprises a plurality of servers including at least an initiator server and at least a number of groups of servers of the plurality of servers, wherein each group satisfies a policy of a vertex, and thus, knows a corresponding policy key pair including a policy private key and a policy public key, respectively. Further, each vertex denotes a set of workflow tasks to be executed in accord with the execution pattern and is assigned a vertex key pair including a vertex private key and a vertex public key. The vertex private keys and the policy public keys are jointly encrypted within a first onion structure, the first onion structure being built up of a number of onion layers reproducing the execution pattern which defines a succession of vertices such that each layer is decryptable by using the policy private key of exactly one vertex thus revealing the corresponding vertex private key. The proposed method comprises, starting at an i'th server as the one server of one of the groups of servers which is determined at runtime in accord with the execution pattern to perform one of the vertices of the workflow, the policy of which the i'th server satisfies, called herein the i'th vertex, at least the following operations:
It is possible that the operation of updating the workflow comprises encoding at least the processed workflow data with the (i+1)'th vertex public key corresponding to the succession of vertices and adding those workflow data to the workflow, and that the method further comprises the following operation:
Thereby, the i'th server can choose the (i+1)'th server at runtime to execute the (i+1)'th vertex as the vertex following the i'th vertex in the succession of vertices.
It is supposable that the processed workflow data are included in a data block consisting of two fields, the processed workflow data that have last been modified during execution of the i'th vertex and a signature, and wherein the data block is associated with a set of signatures that is computed by the i'th server assigned to the i'th vertex at runtime.
The data block and the set of signatures can be determined according to the following formulas:
B
k
a=(dk,signa(dk))
signa(dk)={h1(dk)}SK
wherein dk describes the actual data, h1 a first hash function, and SKa the private vertex key of vertex a.
Generally, it is possible that the first onion structure is determined by the initiator server.
According to a further aspect, along with the execution of the workflow, a second onion structure is built at each execution step with vertex private keys based on the workflow execution pattern, the second onion structure being initialized by the initiator server, so that the i'th server receives the second onion structure with (i−1) layers and encrypts its upper layer with the i'th vertex private key to extend the second onion structure up to i layers which is sent to the (i+1)'th server upon completion of the i'th vertex.
Afterwards, the i'th server sends a workflow message to the (i+1)'th server upon execution of the i'th vertex and updating of the workflow, the workflow message including the updated workflow, the first onion structure and the extended second onion structure so that the (i+1)'th server can first retrieve the (i+1)'th vertex private key from the first onion structure, can verify compliance of the workflow execution with the workflow pattern using the extended second onion structure and finally can execute the (i+1)'th vertex and process the workflow data accordingly.
It is possible that the second onion structure is initiated by the initiator server who computes the first layer as the most inner layer by determining a hash value of a workflow policy using the first hash function and encoding the hash value by the policy private key of the first vertex according to the succession of vertices.
The workflow policy can be defined by the initiator server.
It can be provided that each vertex key pair assigned to exactly one vertex is defined for a single instance of the workflow so that it cannot be reused during any other workflow instance.
The first onion structure can adopt and represent a wide variety of different execution patterns, also called workflow patterns.
In one possible aspect, the first onion structure Od represents a sequence workflow pattern which can be described by the following formula:
wherein lj describes the j'th layer of the onion structure Od, SKj describes the j'th vertex private key, and PKpol
Alternatively, it is possible that the first onion structure Od represents a AND-SPLIT workflow pattern which can be described by the following formula:
wherein Odj describes an onion as part of the onion structure Od, SKj describes the j'th vertex private key, and PKpol
Furthermore, it is possible that the first onion structure Od represents a AND-JOIN workflow pattern which can be described by the following formula:
wherein Odj describes an onion as part of the onion structure Od, PKpol
The first onion structure Od can also represent a OR-SPLIT workflow pattern which can be described by the following formula;
wherein Odj describes an onion as part of the onion structure Od, PKpol
It is also possible that the first onion structure Od represents a OR-JOIN workflow pattern which can be described by the following formula:
wherein PKpol
The first onion structure can also represent a combination of any of the above mentioned workflow patterns. It is possible that the first onion structure enabling the vertex private keys distribution during the execution of the workflow can represent a workflow pattern consisting of a plurality of different branches. Starting from the above mentioned basic workflow patterns the procedure towards building a first onion structure corresponding to a more complicated workflow pattern is rather straightforward and will be explained in more detail below.
According to a further aspect, the vertex key pairs are defined as follows:
iε[1,n]
wherein sε for a prime q, s is called a master key held by the initiator server, h2 is a second hash function, Wiid is a string, called workflow instance identifier, SW denotes a workflow specification, vi is the i'th vertex, and the vertex key pairs (PKi,SKi) are calculated upon creation of the workflow pattern.
In another aspect, there is provided a system configured to be used for a secure execution of workflow tasks of a workflow to be executed according to a given execution pattern within a decentralized network system, the system including at least an initiator server and a plurality of servers, each server satisfying a policy of a vertex of the workflow, and thus, knowing a corresponding policy key pair including a policy private key and a policy public key, respectively, wherein each vertex is assigned a vertex key pair including a vertex private key and a vertex public key, wherein an i'th server as at least one server which is to be determined at runtime of the workflow in accord with the execution pattern to perform one of the vertices of the workflow, the policy of which the i'th server satisfies, called herein the i'th vertex, is configured to perform at least the following operations:
In still another aspect, a system is provided which is usable for a secure execution of workflow tasks of a workflow to be executed according to a given execution pattern within a decentralized network system with a plurality of servers. The system includes at least an initiator server and at least a number of groups of servers of the plurality of servers, each group satisfying a policy of a vertex, and thus, knowing a corresponding policy key pair including a policy private key and a policy public key, respectively. Each vertex denotes a set of workflow tasks to be executed in accord with the execution pattern and is assigned a vertex key pair including a vertex private key and a vertex public key. The vertex private keys and the policy public keys are jointly encrypted within a first onion structure, the first onion structure being built up of a number of onion layers representing the execution pattern which defines a succession of vertices such that each layer is decryptable by using the policy private key of exactly one vertex thus revealing the corresponding vertex private key. Thereby, an i'th server as at least one server of one of the groups of servers which is to be determined at runtime of the workflow in accord with the execution pattern to perform one of the vertices of the workflow, the policy of which the i'th server satisfies, called herein the i'th vertex, is configured to perform at least the following operations:
It is possible that the operation of updating the workflow comprises encoding at least the processed workflow data with the (i+1)'th vertex public key corresponding to the succession of vertices and adding those workflow data to the workflow, and that the i'th server is configured to further execute at least the following operation:
It can be arranged that the i'th server is configured to choose the (i+1)'th server at runtime to execute the (i+1)'th vertex as the vertex following the i'th vertex in the succession of vertices.
As already mentioned with respect to the proposed method, it is also possible with respect to the system that the processed workflow data are included in a data block consisting of two fields, the processed workflow data that have last been modified during execution of the i'th vertex and a signature, and wherein the data block is associated with a set of signatures that is to be computed by the i'th server assigned to the i'th vertex at runtime.
The data block and the set of signatures can be determined according to the following formulas:
B
k
a=(dk,signa(dk))
signa(dk)={h1(dk)}SK
wherein dk describes the actual data, h1 a first hash function, and SKa the vertex private key of vertex a.
In one possible aspect of the system, the first onion structure is determined by the initiator server.
Furthermore, it is possible that, along with the execution of the workflow, a second onion structure is to be built at each execution step with vertex private keys based on the workflow execution pattern, the second onion structure being initialized by the initiator server, so that the i'th server can receive the second onion structure with (i−1) layers and can encrypt its upper layer with the i'th vertex private key to extend the second onion structure up to i layers which is to be sent to the (i+1)'th server upon completion of the i'th vertex.
It can be provided that the i'th server can send a workflow message to the (i+1)'th server upon execution of the i'th vertex and updating of the workflow, the workflow message including the updated workflow, the first onion structure and the extended second onion structure so that the (i+1)'th server can first retrieve the (i+1)'th vertex private key from the first onion structure, can verify compliance of the workflow execution with the workflow pattern using the extended second onion structure and finally can execute the (i+1)'th vertex and process the workflow data accordingly.
Further it can be established that the second onion structure is to be initiated by the initiator server who can compute the first layer as the most inner layer by determining a hash value of a workflow policy using the first hash function and encoding the hash value by the policy private key of the first vertex according to the succession of vertices.
Thereby, it is possible that the workflow policy is to be defined by the initiator server.
It can also be determined that each vertex key pair assigned to exactly one vertex is to be defined for a single instance of the workflow so that it cannot be reused during any other workflow instance.
As already mentioned above, the first onion structure can represent a wide variety of different workflow patterns. There are some basic workflow patterns, such as a sequence workflow pattern, an AND-SPLIT workflow pattern, an AND-JOIN workflow pattern, an OR-SPLIT workflow pattern and an OR-JOIN workflow pattern, which can also be combined to form much more complex workflow patterns.
According to another aspect, an initiator server for initiating a secure execution of workflow tasks of a workflow to be executed according to a given execution pattern within a decentralized network system with a plurality of servers is provided. The system includes at least a number of groups of servers of the plurality of servers, each group satisfying a policy of a vertex, and thus, knowing a corresponding policy key pair including a policy private key and a policy public key, respectively, wherein each vertex denotes a set of workflow tasks to be executed in accord with the execution pattern and is assigned a vertex key pair including a vertex private key and a vertex public key. The proposed initiator server is configured to encrypt the vertex private keys and the policy public keys jointly within a first onion structure, wherein the first onion structure is built up of a number of onion layers representing the execution pattern which defines a succession of vertices such that each layer is decryptable by using the policy private key of exactly one vertex thus revealing the corresponding vertex private key. The initiator server is further configured to determine at least one server of one of the groups of servers at runtime of the workflow in accord with the execution pattern to perform one of the vertices of the workflow.
The initiator server can be one server of at least one of the groups of servers, each group satisfying a policy of a vertex.
The initiator server can further be configured to initialize, along with the execution of the workflow, a second onion structure which is to be extend at each execution step with vertex private keys based on the workflow execution pattern, so that the i'th server can receive the second onion structure with (i−1) layers and can encrypt its upper layer with the i'th vertex private key to extend the second onion structure up to i layers which is to be sent to the (i+1)'th server upon completion of the i'th vertex.
It is also possible that the initiator server can initialize the second onion structure by computing the first layer as the most inner layer by determining a hash value of a workflow policy using the first hash function and encoding the hash value by the policy private key of the first vertex according to the succession of vertices.
Furthermore, it is possible that the initiator server is configured to define the workflow policy.
In another aspect, a computer program product is provided with a computer-readable medium and a computer program stored on the computer-readable medium with a program code which is suitable for carrying out a method for securely executing workflow tasks in a distributed workflow management system within a decentralized network system as described before when the computer program is run on a computer.
Another implementation provides a computer program with a program code which is suitable for carrying out a method for securely executing workflow tasks in a distributed workflow management system within a decentralized network system as described before when the computer program is run on a computer.
A computer-readable medium with a computer program stored thereon is also provided, the computer program comprising a program code which is suitable for carrying out a method for securely executing workflow tasks in a distributed workflow management system within a decentralized network system as described before when the computer program is run on a computer.
Further features and embodiments will become apparent from the description and the accompanying drawings.
For the purpose of clarity, the present discussion refers to an abstract example of a method, a system and an initiator server, respectively. However, implementations of the method, the system and the initiator server may operate with a wide variety of types of network systems including networks and communication systems dramatically different from the specific example as illustrated in the following drawings.
It should be understood that while details of one or more implementations are described in terms of a specific system, further implementations may have applications in a variety of communication systems, such as advanced cable-television systems, advanced telephone-networks or any other communication systems that would benefit from the system or the method. It is intended that the system as used in this specification and claims is realizable within any communication system unless the context requires otherwise.
Implementations are schematically illustrated in the drawings by way of an example embodiment and explained in detail with reference to the drawings. It is understood that the description is in no way limiting and is merely an illustration of various implementations.
It will be understood that the features mentioned above and those described hereinafter can be used not only in the combination specified but also in other combinations or on their own, without departing from the scope of the present disclosure.
In the drawings,
A workflow management system was designed in F. Montagut and R. Molva. Enabling pervasive execution of workflows. In Proceedings of the ist IEEE International Conference on Collaborative Computing: Networking, Applications and Worksharing, CollaborateCom, 2005. and is used to support the following description. This model introduces a workflow management system supporting the execution of business processes in environments without infrastructure. This workflow management system features a distributed architecture characterized by two objectives:
1. Fully decentralized architecture: the workflow management task is carried out by a set of devices in order to cope with the lack of dedicated infrastructure.
2. Dynamic assignment of servers to workflow tasks: the actors can be discovered at runtime.
Having designed an abstract representation of the workflow in form of a workflow pattern whereby servers, also designated as business partners, are not yet assigned to workflow tasks, an initiator server launches the execution and executes a first set of workflow tasks. Then the initiator server searches for a server able to perform a next set of workflow tasks. Once the discovery phase is complete, a workflow message including all workflow data is sent by the workflow initiator server, also called initiator server, to the newly discovered server and the workflow execution further proceeds with the execution of the next set of workflow tasks and a new discovery procedure. The execution pattern is stateless so that upon completion of required workflow tasks each server sends all workflow data to the next server involved and thus does not have to remain online till the end of the workflow execution. In this decentralized setting, the data transmitted amongst servers include all workflow data. W denotes in the following the abstract representation of a distributed workflow defined by W={(vi)iε[1,n],δ} where vi denotes a vertex which is a set of workflow tasks that are performed by a server bi assigned to vi and δ is the set of execution dependencies between those vertices.
is noted as a set of workflow messages issued by bi to the zi servers assigned to the vertices
executed right after the completion of vi. An instance of W wherein servers have been assigned to vertices is denoted Wb={Wiid,(bi)iε[1,n]}, where Wiid is a string called workflow instance identifier.
This model is depicted in
Such a distributed execution of workflows raises security constraints due to the lack of dedicated infrastructure assuring the management and control of the workflow execution. As a result, basic security features such as compliance of the workflow execution with the predefined plan are no longer assured so far.
Three main categories of security requirements for a distributed workflow system are: authorization, proof of execution and workflow data protection.
Concerning authorization, the main security requirement for a workflow management system is to ensure that only authorized servers are assigned to workflow tasks throughout a workflow instance. In the decentralized setting, the assignment of workflow tasks is managed by servers themselves relying on a service discovery mechanism in the case of runtime assignment. In this case, the server assignment procedure enforces a matchmaking procedure whereby the security credentials for the servers are matched against security requirements for workflow tasks.
Concerning execution proofs, a decentralized workflow management system does not offer any guarantee regarding the compliance of actual execution of workflow tasks with the predefined execution plan. Without any trusted coordinator to refer to, a server bi assigned to a vertex vi needs to be able to verify that the vertices scheduled to be executed beforehand were actually executed according to the workflow pattern. This is a crucial requirement to prevent any malicious peer from forging a workflow instance.
A need for workflow data protection occurs particularly in the case of decentralized workflow execution, wherein the set of workflow data denoted D=(dk)kε[1,j] is transferred from one server to another. This raises major requirements for workflow data security in terms of integrity, confidentiality and access control as follows:
1. Data confidentiality: for each vertex vi, the server bi assigned to vi should only be authorized to read a subset Dir of D. In the example of
2. Data integrity: for each vertex vi, the server bi assigned to vi should only be authorized to modify a subset Diw of D. In the example of
3. Access control: the subsets Dir and Diw associated with each vertex vi should be determined based on the security policy of the workflow.
Therefore, according to one proposed approach two types of key pairs are introduced. Each vertex vi is first associated with a policy poli defining a set of credentials a candidate server needs to satisfy in order to be assigned to vi. The policy poli is mapped to a key pair (PKpol
Furthermore, execution proofs have to be issued along with the workflow execution in order to ensure the compliance of the execution with the pre-defined plan. To that effect, onion encryption techniques are introduced in order to built an onion structure with vertex private keys to assure the integrity of the workflow execution. The suggested key distribution scheme (Od) and the execution proof mechanism (Op) are depicted in
Concerning the data protection, the role of a server bi assigned to a vertex vi consists in processing the workflow data that are granted read-only and read-write access during the execution of vertex vi. In
where Rka denotes the set defined by Rka={lε[1,n]|(dkεDlr−Dlw) and (vl is executed after va) and (vl is executed before the first vertex vp
When a server bi receives the data block Bka encrypted with PKi (i.e. he is granted read access on dk), he decrypts the structure using SKi in order to get access to dk and signa(dk). bi is then able to verify the integrity of dk using PKa i.e. that dk was last modified after the execution of vertex va. Further, if bi is granted write access on dk, he can update the value of dk and compute signi(dk) yielding a new data block Bki and a new set Hki. If on the contrary server bi receives data block Bka encrypted with PKm, whereby in this case vertex vm is executed after vi, bi can verify the integrity of {Bka}PK
The objective of the vertex private key distribution mechanism is to ensure that only a server bi assigned to vi at runtime and whose identity is a priory unknown can access the vertex private key SKi. The basic idea behind this mechanism is to map the workflow structure in terms of execution patterns with an onion structure Od so that at each step of the workflow execution a layer of Od is peeled off using SKpol
When X is a set, an onion O is a multi-layered structure composed of a set of n subsets of X (lk)kε[1,n] such that ∀kε[1,n]lk+1⊂lk. The elements of (lk)kε[1,n] are called layers of O, in particular, l1 and ln are the lowest and upper layers of O, respectively. lp(O) is the layer p of an onion O.
When A=(αk)k
Using the sequence workflow pattern the vertex private keys are sequentially distributed to servers. In this case, an onion structure assuring the distribution of vertex private keys is sequentially peeled off by servers. Considering a sequence of n vertices (vi)iε[1,n], b1 assigned to vl initiates the workflow execution with the onion structure Od defined as follows.
The workflow execution further proceeds as depicted in
peels one layer off by decrypting it using SKpol
In the case of an AND-SPLIT workflow pattern, the servers (bi)iε[2,n] assigned to the vertices (vi)iε[2,n] are contacted concurrently by b1 assigned to the vertex v1. In this case, n−1 vertex private keys should be delivered to (bi)iε[2,n] and the upper layer of the onion Od1 available to b1 therefore wraps SK1 and n−1 onions (Odi)iε[2,n] to be sent to (bi)iε[2,n] as depicted in
In the case of a single workflow initiator, an AND-JOIN workflow pattern is preceded in the workflow by an AND-SPLIT workflow pattern. In this case, the vertex vn is executed by the server bn if and only if the latter receives n−1 messages as depicted in
The OR-SPLIT workflow pattern is an exclusive choice, v1 sends one message to an appropriate participant.
Od1 is available to the server assigned to v1. This is the same structure as the AND-SPLIT workflow pattern, yet the latter only sends the appropriate Odi to vi depending on the result of the OR-SPLIT condition.
In an OR-JOIN workflow pattern, there is a single workflow initiator server. Therefore, the OR-JOIN is preceded in the workflow by an OR-SPLIT workflow pattern. The server assigned to vn receives in any cases a single message thus a single vertex private key is required that is sent by one of the (bi)[1,n−1] depending on the choice made of the previous OR-SPLIT in the workflow. bn thus receives in any cases:
where δ is an onion structure associated with the sequel of the workflow execution right after vn.
The key distribution is processed by building an onion structure corresponding to the workflow execution pattern. This is rather straightforward and better sketched throughout an example according to the workflow depicted in
The onions associated with the two branches forming the AND-SPLIT workflow pattern are wrapped by the layer corresponding to v1. Only the first AND-SPLIT branch includes the sequel of the workflow after v6.
For creation of an execution proof along the workflow execution, an onion structure Op
where PW is called workflow policy and is defined as follows. A workflow specification SW denotes the set SW={W,(Jir,Jiw,poli)iε[1,n],h1} where Jir={kε[1,j]|dkεDir} and Jiw={kε[1,j]|dkεDiw} (Jir and Jiw basically specify for each vertex the set of data that are granted read-only and read-write access, respectively). SW is defined at workflow design phase.
The workflow policy PW denotes the set PW=SW∪{Wiid,h2}∪{PKi|iε[1,n]}, wherein PW is a public parameter computed by the workflow initiator server b1 and that is available to the servers being involved in the execution of the workflow W.
The onion structure Op is initialized this way so that it cannot be replayed as it is defined for a specific instance of a workflow specification. At the step i of the workflow execution, bi receives Op
The building process of Op
Op
In order to verify that the workflow execution is compliant with the pre-defined plan when he starts the execution of the vertex vi the server bi assigned to vi just peels off the layers of Op
that should be equal to the one he can compute given PW, if the workflow execution has been so far executed according to the plan.
Considering the example depicted in
is sent by b1 assigned to v1 to both b2 and b4 assigned to v2 and v4 respectively. The onion structure associated with the two branches forming the AND-SPLIT workflow pattern thus includes
twice.
The vertex key pairs have to be generated and defined for a single instance of a workflow specification in order to avoid replay attacks. To that effect, it might be proposed to capitalize on ID-based encryption techniques, in the specification of the set (PKi,SKi)iε[1,n]. For all iε[1,n] (PKi,SKi) is defined by:
where sε for a prime q. s is called master key and is held by the private vertex keys generator which is in this case the workflow initiator server. This vertex key pair specification has a double advantage. First vertex key pairs cannot be reused during any other workflow instance and second vertex public keys can be directly retrieved from W and Wiid when verifying the integrity of workflow data or peeling off the second onion structure Op.
In order to support a coherent execution of the mechanisms presented so far, workflow messages exchanged between servers consist of the set of information that is depicted in
PW is required to retrieve vertex and policy public keys and specifies the workflow execution plan. The two onion structures, namely the first onion structure Od and the second onion structure Op, are also included in the message.
Upon receipt of the message depicted in
The mechanisms presented so far can be combined to support the secure execution of the workflow in the decentralized setting.
Integrating security mechanisms to enforce the security requirements of the decentralized workflow execution requires a process strongly coupled with both workflow design and runtime specifications. At the workflow design phase, the workflow specification SW is defined in order to specify for each vertex the sets of data that are accessible in read and write access and the credentials required by potential servers to be assigned to workflow vertices. At workflow initiation phase, the workflow policy PW is specified and the first onion structure Od is built. The workflow initiator server builds then the first set of workflow messages to be sent to the next servers involved. This message generation process consists of the initialization of the data blocks and that of the second onion structure Op.
At runtime, a server bi chosen to execute a vertex vi receives a set of workflow messages. Those messages are proceeded to retrieve SKi from the first onion structure Od and to access workflow data. Once the vertex execution is complete bi builds a set of workflow messages to be dispatched to the next servers involved in the execution. In this message building process, the data and the second onion structure Op are updated.
The set of functional operations composing the workflow initiation and runtime specifications is precisely specified later. In the following Nki denotes a set defined by Nki={lε[1,n]|dkεDlr and vl is executed right after vi}. considering the example of
The workflow initiation consists of the following operations:
1. Workflow policy specification: generate (PKi,SKi)iε[1,n]
2. Initialization of the first onion structure Od
3. Data block initialization: compute ∀kε[1,j]sign1(dk)
4. Data block encryption: ∀kε[1,j] determine Nk1 and compute ∀kε[1,j], ∀l εNk1{Bk1}PK1
5. Data block hash sets: ∀kε[1,j] determine Rk1 and compute ∀kε[1,j], ∀lεRk1h1({Bk1}PK
6. Initialization of the second onion structure Op: compute Op
7. Message generation based on W and (Nk1)kε[1,j].
The workflow messages are generated with respect to the specification defined in
1. Retrieve SKi from the first onion structure Od
2. Data block decryption with SKi based on Jir
3. Execution proofs verification: peel off the second onion structure Op
4. Data integrity check based on W and PW
5. Vertex execution
6. Data block update: compute ∀kεJiwsigni(dk) and update dk content
7. Data block encryption: ∀kεJir determine Nki and compute ∀kεJir, ∀lεNki{Bki}PK1
8. Data block hash sets: ∀kεJiw determine Rki and compute ∀kεJiw, ∀lεRkih1({Bki}PK1)}SK
9. Second onion structure Op update: compute Op
10. Message generation based on W and (Nki)kε[1,j]
After having retrieved SKi from the first onion structure Od, server bi verifies the integrity of workflow data and that the execution of the workflow up to his workflow is consistent with the second onion structure Op. Workflow data are then processed during the execution of vi and data blocks are updated and encrypted upon completion. Finally, server bi computes Op
For the security of the workflow execution, there are several alternatives with respect to the management of the policy key pair (PKpol
1. IND-PB-CCA: the policy-based encryption scheme used in the specification of (PKpol
2. IND-CCA: the public key encryption scheme used in the specification of (PKi,SKi)[1,n] is semantically secure against a chosen ciphertext attack the associated signature scheme achieves signature unforgeability.
The integrity of the distributed workflow execution is ensured. This basically means that workflow data are accessed and modified by authorized servers based on the pre-defined plan specified by means of the sets Jir and Jiw.
This property is ensured by the first onion structure Od which assures the vertex key distribution used in the access to workflow data based on the workflow execution plan. Assuming that a workflow initiator server builds Od based on the methodology specified before and under IND-PB-CCA, thus it is not feasible for an adversary A to extract the vertex private key SKi from Od if A does not satisfy the set of policies (poli
Upon receipt of a workflow message, a server is sure that the workflow has been properly executed so far provided that he trusts the servers satisfying the policy poli.
This means that an adversary that does not verify a policy that is trusted by some servers cannot forge a workflow instance, i.e. that he cannot produce a workflow message faking a valid workflow instance. This property is enforced by the second onion structure Op. Assuming that a workflow initiator server builds the second onion structure Op based on the methodology specified above and under IND-PB-CCA, the second onion structure Op unforgeable. To assure the unforgeability property, it has to be verified that:
1. A genuine second onion structure Op built during a previous instance of a workflow cannot be replayed.
2. A second onion structure Op cannot he built by an adversary that is not trusted by servers.
The first property is enforced by the fact that a second onion structure Op properly built by trustworthy peers is bound to a specific workflow policy PW and thus cannot be reused during an attempt to execute a malicious workflow instance. The second property is straightforward under IND-PB-CCA as the policy-based signature scheme achieves signature unforgeability. Thus, an adversary cannot produce a valid onion
Assuming servers involved in a workflow instance do not share vertex private keys they retrieve from the first onion structure Od, the approach achieves the following data integrity properties:
1. Data truncation and insertion resilience: any server can detect the deletion or the insertion of a piece of data in a workflow message.
2. Data content integrity: any server can detect the integrity violation of a data block content in a workflow message.
The first property is ensured as the set of workflow data blocks that should be present in a workflow message is specified in PW, the workflow message formatting has thus to be compliant with the workflow specification. The second property is assured by the fact that an adversary cannot modify a given data block without providing a valid signature on this data block. This property relies on the unforgeability of the signature scheme used in the data block and hash set specifications.
These three security properties enable a coherent and secure execution of distributed workflows. Yet the approach can still be optimized to avoid the replication workflow messages. A server may indeed send the same workflow message several times to different servers satisfying the same security policy resulting in concurrent executions of the given workflow instance. An approach based on a stateful service discovery mechanism can be envisioned to cope with this problem.
In prior technical work that describes preventing information leakage within workflows that execute among competing organizations, and/or that describe a chinese wall security model for decentralized workflow systems, mechanisms are proposed for the management of conflicts of interest during the distributed execution of workflows. These pieces of work specify solutions in the design of access control policies to prevent servers from accessing data that are not part of their classes of interest. These approaches do not address the issue policy enforcement with respect to integrity of execution in fully decentralized workflow management systems. Nonetheless, the access control policy models described in this work can be used to augment the above approach especially in the specification of the sets Jir and Jiw at workflow design time.
Onion encryption techniques have been introduced in a variety of technical publications. In contrast to this the above described approach maps onion structures with workflow execution patterns in order to built proofs of execution and enforce access control on workflow data. As a result, more complex business scenarios are supported by the present approach than usual onion routing solutions. Furthermore, combined with policy encryption techniques, the present approach provides a secure runtime environment for the execution of fully decentralized workflows supporting runtime assignment of servers, a feature which had not been tackled so far.
Finally the present approach is suitable for any business scenarios in which business roles can be mapped to security policies that can be associated with key pairs. It can thus be easily integrated into existing security policy models such as chinese wall security model.
In the above, mechanisms were presented towards meeting the security requirements raised by the execution of workflows in a decentralized setting. The present approach, capitalizing on onion encryption techniques and security policy models, protects the access to workflow data with respect to a pre-defined workflow execution pattern/plan and provides proofs of execution to servers. Those mechanisms can easily be integrated into the runtime specification of decentralized workflow management systems and are further suitable for fully decentralized workflow supporting the runtime assignment of servers to workflow tasks. These mechanisms will foster the development of dynamic business applications whereby workflow actors do not need to rely on a dedicated infrastructure to provide their resources as one of the major flaws slowing down this trend was the lack of security.
Number | Date | Country | Kind |
---|---|---|---|
07 290 413.9 | Apr 2007 | EP | regional |