A Challenge-Response Assisted Authorisation Scheme for Data Access in Permissioned Blockchains

Xiaoshuai Zhang, Chao Liu, Kok Keong Chai, Stefan Poslad2020

TL;DR

This paper introduces CRA³, a novel authorization scheme for permissioned blockchains that protects user privacy by avoiding the direct exposure of credentials to the consensus network. By employing a challenge-response mechanism and leveraging Lagrange interpolation, CRA³ enables secure data access authorization even when the consensus nodes are untrusted, while also reducing computational overhead.

What Problem Does This Paper Address?

Permissioned blockchains are increasingly used for secure data sharing among authorized users. A key component of these systems is the consensus network, typically composed of pre-selected nodes, which verifies data access requests and user credentials. However, a significant vulnerability arises if these consensus nodes become untrusted or are compromised by attackers. In such scenarios, existing schemes that require users to expose their credentials to the consensus network for authorization risk severe privacy leakage. This can lead to the exposure of sensitive personal information, as demonstrated by potential applications in smart grids or eHealth. The paper addresses this critical gap by proposing a method to authorize data access without compromising user privacy, even in the presence of untrusted consensus nodes.

Methods

The core of the proposed solution is the Challenge-Response Assisted Access Authorisation (CRA³) scheme. This scheme is built upon a challenge-response mechanism and utilizes Lagrange interpolation polynomials for secure key management. Here's a breakdown of the key components:

  • Challenge-Response Mechanism: Instead of directly sharing credentials, the data provider (UB) issues a "challenge" to the data requester (UA). UA then uses its own identity attributes to generate a "response." This response is then validated by the consensus network (CNpm).
  • Lagrange Interpolating Polynomials: This mathematical technique is employed to construct the challenge and response. Specifically, it's used to create a polynomial based on identity attributes. This polynomial is then used to derive points that form the challenge and response. The beauty of Lagrange interpolation is that a polynomial can be uniquely reconstructed from a sufficient number of points, but not from fewer. This property is crucial for the security of the scheme.
  • Privacy Preservation: CRA³ ensures that users' credentials (identity attributes) are never directly exposed to the consensus network. The consensus network only verifies the correctness of the response based on the challenge, without needing to know the actual identity attributes. This is achieved by using hashed identity attributes within the polynomial construction.
  • Key Management for Encryption: The scheme uses AES for data encryption. The secret key for AES is protected by the Lagrange interpolation mechanism. The data requester, after successful authorization, can reconstruct the polynomial and derive the AES key, ensuring only authorized parties can decrypt the data.
  • Untrusted Consensus Network: A key design principle is that the consensus network is treated as untrusted. This means the scheme is robust even if some nodes in the network are malicious.

The scheme involves seven algorithms: Setup, Request, Challenge, Response, Authorise, Encrypt, and Decrypt.

Datasets

Not discussed in the paper. The evaluation uses simulated data and a controlled experimental setup.

Key Insights and Ideas

  • Decoupling Authorization from Credential Exposure: The most significant insight is the successful separation of the authorization process from the direct exposure of user credentials to the consensus network. This is a fundamental shift from many existing approaches and directly tackles the privacy leakage problem.
  • Lagrange Interpolation as a Privacy-Enhancing Tool: The paper creatively applies Lagrange interpolation not just for polynomial reconstruction but as a core mechanism for secure challenge-response and key derivation, making it a versatile tool for privacy in blockchain.
  • Robustness Against Untrusted Nodes: By explicitly designing for an untrusted consensus network, the scheme offers a higher level of security assurance compared to methods that assume a trusted consensus.
  • Reduced Computational Burden: Shifting the bulk of the computational work for authorization to the data requester and provider, rather than solely on the consensus network, leads to significant efficiency gains.

Key Results

The paper presents both theoretical security proofs and experimental performance evaluations.

  • Security:
    • The CRA³ scheme is proven to be IND-CCA secure, meaning it provides confidentiality against chosen-ciphertext attacks. This is a strong security guarantee.
  • The scheme also ensures data integrity by using hash values, allowing detection of manipulated data or keys.
  • It provides authorization and maintains user anonymity within the permissioned blockchain.
  • Performance:
    • Communication Overhead: CRA³ significantly reduces communication overhead. It transmits only two points for authorization, compared to policy lists in other schemes, leading to a 24% reduction in data transmission time over Wi-Fi.
  • Computational Cost: While authorization time increases slightly with more attributes (around 25% more than a baseline DP scheme), encryption and decryption costs are significantly lower, with an average of 55% lower time cost for DP.
  • Transaction Fee (Gas): The transaction fee for authorization in CRA³ remains stable and is non-sensitive to the number of attributes, unlike the DP scheme where it increases. This is attributed to CRA³ only comparing two points, whereas DP compares two policy lists.
  • Overall Efficiency: The total time cost (local computation + data transmission) for CRA³ was around 30% lower than the DP scheme.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while CRA³ is more efficient than some baselines, the authorization phase's time cost can increase with the number of attributes.
  • The security proof relies on the random oracle model, which is a standard but theoretical construct.
  • Future Work:
    • The authors suggest further research into optimizing the scheme for scenarios with a very large number of attributes.
  • Exploring the integration of CRA³ with other blockchain consensus mechanisms could be a valuable direction.
  • Investigating the practical implementation of key revocation mechanisms within the CRA³ framework would enhance its real-world applicability.

Summary updated

BibTeX
@misc{zhang2020challenge,
  author = {Xiaoshuai Zhang and Chao Liu and Kok Keong Chai and Stefan Poslad},
  title = {{A Challenge-Response Assisted Authorisation Scheme for Data Access in Permissioned Blockchains}},
  year = {2020},
  doi = {10.3390/s20174681},
}
Figure