Jingqiang Lin 0001

dblp:57/4208-1 · DBLP profile ↗
← Back
152ranked-venue papers
5as first author
77since 2021 · last 2026
—ORCID · conflict

Domains — the database's venue-derived domains; a paper can count in several

Security and privacy · 104 · 5 first-author · 46 since 2021Computer networks · 27 · 18 since 2021Systems, architecture and hardware · 14 · 9 since 2021Applied, interdisciplinary, general and emerging computing · 4 · 3 since 2021Databases, data management, data science and information retrieval · 2 · 1 since 2021Software engineering, systems software and programming languages · 1 · 1 since 2021Graphics, computer vision, multimedia, augmented reality and games · 1
YearPublicationVenuePosition
2026 Practical Traceable Over-Threshold Multi-Party Private Set Intersection
Weijing You, Huiyang He, Kailiang Ji, Jingqiang Lin 0001
NDSS5
2026 Starlink in the Wild: Multi-Perspective Measurements via DNS
abstract
Starlink, the low-Earth orbit (LEO) satellite constellation developed by SpaceX, has rapidly become the world's largest commercial satellite network and a key component of the global Internet infrastructure. Despite its growing prominence, critical aspects of its terrestrial operations, including its internal network architecture, user behavior patterns, and potentially vulnerable exposed services, remain largely unexamined. This paper presents a multi-perspective measurement that characterizes Starlink's ground-side infrastructure and ecosystem from a DNS-centric viewpoint. First, we leverage internal DNS leakage to infer the structure of Starlink's private networks. Second, we analyze passive DNS data to identify user behavior patterns and service usage trends. Finally, we perform large-scale active scanning of Starlink's IP address space to evaluate its service deployment and security posture, utilizing DNS records to isolate infrastructure-related IPs from those of end-users. Collectively, our findings provide novel insights into the architecture, operation, and security of Starlink's terrestrial network.
Ruoxuan Xia, Bingyu Li 0003, Pengyu Yuan, Jingqiang Lin 0001
WWW7
2026 Quantum-Based Two-Factor Authentication Protocol for Blockchain-Aided Internet-of-Medical-Things
Zhaofeng Huang, Yuhong Ke, Xu Yang 0002, Xuechao Yang, Jer Shyuan Ng, Jingqiang Lin 0001
IEEE Internet Things J.7
2026 GRASP: Accelerating Hash-Based PQC Performance on GPU Parallel Architecture
abstract
SPHINCS+, one of the Post-Quantum Cryptography Digital Signature Algorithms (PQC-DSA) selected by NIST in the third round, features very short public and private key lengths but faces significant performance challenges compared to other post-quantum cryptographic schemes, limiting its suitability for real-world applications. In scenarios involving a large number of concurrent signing or verification tasks, these performance bottlenecks become particularly critical. To address these challenges, we propose the GPU-based paRallel Accelerated SPHINCS+(GRASP), which leverages GPU technology to enhance the efficiency of SPHINCS+signing and verification processes. We propose an adaptable parallelization strategy for SPHINCS+, analyzing its signing and verification processes to identify critical sections for efficient parallel execution. Utilizing CUDA, we perform bottom-up optimizations, focusing on memory access patterns and hypertree computation, to enhance GPU resource utilization. These efforts, combined with kernel fusion technology, result in significant improvements in throughput and overall performance. Compared to previous works, our approach achieves the highest occupancy. Extensive experimentation demonstrates that our optimized CUDA implementation of SPHINCS+achieves superior performance. Specifically, our GRASP scheme delivers throughput improvements ranging from 1.09× to 3.45× compared to state-of-the-art GPU-based solutions and surpasses the NIST reference implementation by over three orders of magnitude, highlighting a significant performance advantage.
Yijing Ning, Jiankuo Dong, Jingqiang Lin 0001, Fangyu Zheng, Yu Fu 0007, Fu Xiao 0001
IEEE Trans. Computers3
2026 Collusion-Resistant Privacy-Preserving Outsourced Training Under Single Cloud With Semi-Honest TEE
Wei Xu 0042, Hui Zhu 0001, Guozhang He, Jingqiang Lin 0001, Jiaqi Zhao 0005, Rongxing Lu, Dengguo Feng
IEEE Trans. Dependable Secur. Comput.4
2026 TFMD: General and Fast Secure Neural Network Inference Framework With Threshold FHE
abstract
Secure neural network inference is the privacy-preserving inference method that protects the model parameters and user’s private input. Previous works have constructed two-party, three-party and four-party secure inference schemes. However, these schemes allow only one corrupted party. Also, the interaction protocol between different parties is customized based on the number of participants. If the number of participants increases or decreases, the protocol needs to be redesigned. Another problem is that current protocols for non-linear functions still have large computation overhead. In this work, we present TFMD, a general and fast secure neural network inference framework with semi-honest security. TFMD is built based on threshold fully homomorphic encryption (FHE), and is suitable for the outsourced computation scenario. Concretely, TFMD designs general secure computation protocols for non-linear functions. Our protocols support arbitrarynparticipants, and allow at mostn– 1 corrupted parties. Further, TFMD constructs a novel secure neural network inference framework. TFMD employs FHE with computation-friendly coefficient encoding to quickly calculate linear functions, and employs our proposed protocol to calculate ReLU. Experiments illustrate that TFMD is both efficient and scalable. Even in the three-party setting, the online phase of our inference is 2.1× faster than CrypTFlow (S&P’20).
Yu Fu 0007, Yijing Ning, Jingqiang Lin 0001, Dengguo Feng
IEEE Trans. Inf. Forensics Secur.4
2026 X2O: Cross Parallel Optimization of the CROSS Post-Quantum Scheme on GPU
abstract
The CROSS Digital Signature Algorithm (DSA), currently a second-round candidate in the NIST standardization process for additional post-quantum digital signatures, offers compact public keys and strong security guarantees rooted in the code-based Restricted Syndrome Decoding Problem (R-SDP) and its variant R-SDP(G). Despite its strong theoretical foundation and practical significance, existing CPU-based implementations of CROSS exhibit evident performance limitations, while its potential for high-throughput acceleration on GPU architectures remains insufficiently investigated. In this work, we present X2O, the first systematically optimized GPU implementation framework for CROSS on NVIDIA GPUs. X2O introduces a novel cross-parallel architecture that integrates both horizontal and vertical parallelism to fully exploit the massive concurrency of modern GPU platforms. The framework incorporates a series of targeted optimizations, including fine-grained thread scheduling, optimized memory access patterns, hash function tuning, and GPU-efficient tree construction. Experimental results on a NVIDIA RTX 4090 demonstrate the efficiency of our design, achieving up to 1,082,904 signature generations and 1,589,595 verifications per second at NIST security level 1. Compared to the official AVX-optimized CPU implementation, our GPU-based approach achieves up to 120× speedup, establishing a new performance benchmark for CROSS and demonstrating the viability of high-throughput, post-quantum digital signatures on parallel computing platforms.
Yijing Ning, Jiankuo Dong, Jingqiang Lin 0001, Fu Xiao 0001
IEEE Trans. Inf. Forensics Secur.4
2025 Octopus: Fast Homomorphic Convolution for Secure Neural Network Inference
abstract
Secure two-party neural network (2PC-NN) inference is a privacy-preserving inference method that protects the client's input and the server's model parameters. While addressing privacy concerns, it also incurs considerable over-heads. In this work, we propose Octopus, a faster and more communication-efficient 2PC-NN system than prior works. Octopus designs an optimized encoding method for fast homomorphic convolution, and further constructs homomorphic encryption-based convolutional computation protocol. Compared with the original coefficient encoding proposed by Cheetah, our method significantly reduces the resulting ciphertexts through packing output channels, thereby saving the communication cost and end-to-end execution time. Moreover, Octopus proposes an encoding-motivated fine tuning technique for convolutional neural networks, which fully utilizes the feature of coefficient encoding to adaptively adjust the neural network structure to maximize performance with negligible accuracy loss. We apply Octopus to the widely used model ResNet on CIFAR-10 and ImageNet dataset. Experiments illustrate that Octopus has obvious improvement compared with the state-of-the-art approaches, achieving a speedup of up to 2.75×, and reduces communication overhead by up to 7.19× for convolutions. As for secure inference, compared with Cheetah (resp., CrypTFlow2), Octopus demonstrates 1.41× (resp., 13.20×) lower communication cost and 1.25× (resp., 7.03×) faster execution time under a WAN setting.
Yu Fu 0007, Tianshi Xu, Cheng Hong 0001, Meng Li 0004, Wei Wang 0314, Dengguo Feng, Jingqiang Lin 0001
ACSAC8
2025 ML-Cube: Accelerating Module-Lattice-Based Cryptography using Machine Learning Accelerators with a Memory-Less Design
abstract
The rapid advancement of AI technologies has led to a dramatic surge in computational demands, driving significant breakthroughs in ML accelerators. The powerful performance of these accelerators has attracted the attention of cryptography researchers, and recent studies have begun to explore their use in accelerating cryptographic operations. However, treating these accelerators as black boxes leads to high latency, and strict concurrency requirements, which hinder their practical deployment. In this paper, we go beyond the black-box treatment of ML accelerators and introduce ML-Cube (ML3), a novel memory-less framework that leverages ML accelerators to implement module-lattice-based PQC, FIPS 203 ML-KEM, and FIPS 204 ML-DSA. The performance benefits of ML-Cube arise from our thorough analysis of ML accelerator internals. Rather than treating the accelerators as black boxes, we dissect their operating mechanisms and design tailored mathematical transformations for cryptographic acceleration. This enables memory-less (I)NTT and polynomial multiplication that minimizes external memory dependencies and reduces latency. We further address the high latency and excessive parallelism demands of traditional SIMT-based implementations by fully parallelizing both ML-KEM and ML-DSA schemes. Our experiments show that our Tensor Core-based (I)NTT achieves a 2.03x--3.56x speedup over a highly-optimized CUDA-core implementation. Moreover, our memory-less polynomial multiplication attains a 10x speedup, and the full ML-KEM reaches up to a 3.58x speedup with only less than one-tenth of the latency compared with SOTA approach (CHES '24). Additionally, our enhanced ML-DSA implementation offers a 30% to 55% throughput improvement over the previous SOTA methods (TDSC '24) under the server-oriented model. Importantly, by confining core computations within registers, our approach inherently mitigates memory disclosure and cache-based side-channel attacks, thereby enhancing overall security.
Fangyu Zheng, Zhuoyu Xie, Wenxu Tang, Guang Fan 0001, Yijing Ning, Yi Bian 0001, Jingqiang Lin 0001, Jiwu Jing
CCS8
2025 Exploring the Root Store Usage in TLS-Based Applications
Yuxiang Shen, Wei Wang 0314, Shushang Wen, Yu Fu 0007, Yunhao Jia, Jingqiang Lin 0001
Inscrypt (2)6
2025 An RPKI Certificate Validator for Formal Correctness
Yajun Teng, Wei Wang 0314, Jingqiang Lin 0001, Shijie Jia 0001, Xiaoqi Jia
ISPEC3
2025 Automatic Insecurity: Exploring Email Auto-configuration in the Wild
Shushang Wen, Yiming Zhang 0009, Yuxiang Shen, Bingyu Li 0003, Hai-Xin Duan, Jingqiang Lin 0001
NDSS6
2025 Enforcing cryptographic distributed-VCS access control with no trust on servers
Zhen Yang 0015, Quanwei Cai 0001, Jingqiang Lin 0001, Liangqin Ren, Bo Chen 0028, Yongfeng Huang 0001
J. Inf. Secur. Appl.4
2025 ECO-CRYSTALS: Efficient Cryptography CRYSTALS on Standard RISC-V ISA
abstract
The field of post-quantum cryptography (PQC) is continuously evolving. Many researchers are exploring efficient PQC implementation on various platforms, including x86, ARM, FPGA, GPU, etc. In this paper, we present an Efficient CryptOgraphy CRYSTALS (ECO-CRYSTALS) implementation on standard 64-bit RISC-V Instruction Set Architecture (ISA). The target schemes are two winners of the National Institute of Standards and Technology (NIST) PQC competition: CRYSTALS-Kyber and CRYSTALS-Dilithium, where the two most time-consuming operations are Keccak and polynomial multiplication. Notably, this paper is the first highly-optimized assembly software implementation to deploy Kyber and Dilithium on the 64-bit RISC-V ISA. Firstly, we propose a better scheduling strategy for Keccak, which is specifically tailored for the 64-bit dual-issue RISC-V architecture. Our 24-round Keccak permutation (Keccak-$p$[1600,24]) achieves a 59.18% speed-up compared to the reference implementation. Secondly, we apply two modular arithmetic (Montgomery arithmetic and Plantard arithmetic) in the polynomial multiplication of Kyber and Dilithium to get a better lazy reduction. Then, we propose a flexible dual-instruction-issue scheme of Number Theoretic Transform (NTT). As for the matrix-vector multiplication, we introduce a row-to-column processing methodology to minimize the expensive memory access operations. Compared to the reference implementation, we obtain a speedup of 53.85%$\thicksim$85.57% for NTT, matrix-vector multiplication, and INTT in our ECO-CRYSTALS. Finally, the ECO-CRYSTALS implementation for key generation, encapsulation, and decapsulation in Kyber achieves 399k, 448k, and 479k cycles respectively, achieving speedups of 60.82%, 63.93%, and 65.56% compared to the NIST reference implementation. Similarly, the ECO-CRYSTALS implementation for key generation, sign, and verify in Dilithium reaches 1 364k, 3 191k, and 1 369k cycles, showcasing speedups of 54.84%, 64.98%, and 57.20%, respectively.
Xinyi Ji, Jiankuo Dong, Junhao Huang 0001, Zhijian Yuan, Wangchen Dai, Fu Xiao 0001, Jingqiang Lin 0001
IEEE Trans. Computers7
2025 GOLF: Unleashing GPU-Driven Acceleration for FALCON Post-Quantum Cryptography
abstract
Quantum computers leverage qubits to solve certain computational problems significantly faster than classical computers. This capability poses a severe threat to traditional cryptographic algorithms, leading to the rise of post-quantum cryptography (PQC) designed to withstand quantum attacks. FALCON, a lattice-based signature algorithm, has been selected by the National Institute of Standards and Technology (NIST) as part of its post-quantum cryptography standardization process. However, due to the computational complexity of PQC, especially in cloud-based environments, throughput limitations during peak demand periods have become a bottleneck, particularly for FALCON. In this paper, we introduce GOLF (GPU-accelerated Optimization for Lattice-based FALCON), a novel GPU-based parallel acceleration framework for FALCON. GOLF includes algorithm porting to the GPU, compatibility modifications, multi-threaded parallelism with distinct data, single-thread optimization for single tasks, and specific enhancements to the Fast Fourier Transform (FFT) module within FALCON. Our approach achieves unprecedented performance in FALCON acceleration on GPUs, setting the highest throughput record in the history of FALCON digital signature generation and verification. On the NVIDIA RTX 4090, GOLF reaches a signature generation throughput of 420.25 kops/s and a signature verification throughput of 10,311.04 kops/s. These results represent a 58.05× / 73.14× improvement over the reference FALCON implementation and a 7.17× / 3.79× improvement compared to the fastest known GPU implementation to date. Additionally, since we have not modified the content of the algorithm, but only optimized its engineering implementation, the security of the algorithm has not changed, and the security of the original algorithm has been maintained. GOLF demonstrates that GPU acceleration is not only feasible for post-quantum cryptography but also crucial for addressing throughput bottlenecks in real-world applications.
Ruihao Dai, Jiankuo Dong, Mingrui Qiu, Zhenjiang Dong, Fu Xiao 0001, Jingqiang Lin 0001
IEEE Trans. Inf. Forensics Secur.6
2025 Swift: Fast Secure Neural Network Inference With Fully Homomorphic Encryption
abstract
With the widespread use of machine learning (ML), privacy concerns during neural network inference are attracting growing attention. Secure two-party neural network (2PC-NN) inference is the privacy-preserving inference method, which allows client to obtain the inference result without disclosing client’s input to the server. The server’s model parameters are also confidential to the client. However, current 2PC-NN inference schemes still have large overhead, especially for non-linear functions. In this paper, we present Swift, a fast secure 2PC-NN inference scheme based on fully homomorphic encryption (FHE) and secret sharing (SS). FHE protects the input and model parameters in linear functions, while SS is integrated to protect the non-linear functions. Concretely, Swift integrates FHE and SS to design secure and efficient non-linear protocols used for ReLU and max pooling. To further optimize performance, Swift employs FHE with computation-friendly coefficient encoding for fast execution of linear functions, and SIMD encoding for non-linear functions. Swift constructs efficient encoding conversion protocol between the coefficient-encoded ciphertext and the SIMD-encoded ciphertext. Finally, Swift achieves secure neural network inference framework for MNIST dataset. Compared with Cheetah (USENIX 2022), the execution time of ReLU, max pooling, secure inference under a WAN setting improves$7.4\times $,$13.3\times $,$1.9\times $, respectively.
Yu Fu 0007, Yijing Ning, Tianshi Xu, Meng Li 0004, Jingqiang Lin 0001, Dengguo Feng
IEEE Trans. Inf. Forensics Secur.6
2025 Symphony of Speeds: Harmonizing Classic McEliece Cryptography With GPU Innovation
abstract
The Classic McEliece key encapsulation mechanism (KEM), a candidate in the fourth-round post-quantum cryptography (PQC) standardization process by the National Institute of Standards and Technology (NIST), stands out for its conservative design and robust security guarantees. Its deployment is impeded by exceptionally large public and secret keys. Modern GPUs offer abundant parallelism and global memory, making them well suited to such key sizes and to high-throughput cryptographic workloads. However, there has not been a systematic implementation of Classic McEliece on GPU platforms. This paper presents the first high-performance implementation of Classic McEliece on NVIDIA GPUs. Firstly, we present the first GPU-based implementation of Classic McEliece, utilizing a “CPU-GPU” heterogeneous approach and a kernel fusion strategy. We significantly reduce global memory accesses, optimizing memory access patterns. This results in encapsulation and decapsulation performance of 28,628,195 ops/s and 3,051,701 ops/s, respectively, for McEliece348864. Secondly, core operations like Additive Fast Fourier Transforms (AFFT), and Transpose AFFT (TAFFT) are optimized. We introduce the concept of the (T)AFFT stepping chain and propose two universal schemes: Memory Access Stepping Strategy (MASS) and Layer-Fused Memory Access Stepping Strategy (LFMASS), which achieve a speedup of 30.56% and 38.37%, respectively, compared to the native GPU-based McEliece6960119 implementation. Thirdly, extensive experiments on the NVIDIA RTX4090 show significant performance gains, achieving up to 344× higher encapsulation and 125× higher decapsulation compared to the official CPU-based AVX implementation, decisively outperforming existing ARM Cortex-M4 and FPGA implementations.
Jiankuo Dong, Zhenjiang Dong, Dung Hoang Duong, Fu Xiao 0001, Jingqiang Lin 0001
IEEE Trans. Inf. Forensics Secur.7
2025 HTM-PQC: Hardening Cryptography Keys Under the Trend of Post-Quantum Cryptography Migration on Industrial Internet
abstract
With the rapid expansion of Industry 4.0 technology, the proliferation of large-scale devices faces increasingly severe cyber threats, underscoring the critical importance of cryptographic technology for secure communication and authentication. However, cryptographic systems, as the bedrock of security, have faced a barrage of attacks in recent years, including potential threats from quantum computing and memory disclosure vulnerabilities. In this article, we focus on enhancing the security of two standard quantum-safe cryptographic algorithms, Dilithium and eXtended Merkle signature scheme (XMSS), by leveraging hardware transactional memory (HTM) to create a secure operational environment. Unlike traditional cryptography such as Rivest–Shamir–Adleman (RSA) and elliptic curve cryptography (ECC), Dilithium, and XMSS involve more and larger sensitive variables, rendering conventional solutions inadequate. By conducting a comprehensive sensitivity analysis of variables within the abovementioned algorithms, we confine sensitive operations to transactional execution regions and employ transaction-splitting technology for efficiency. Our prototype, utilizing Intel transactional synchronization extension (TSX), demonstrates robust protection against memory disclosure attacks with acceptable performance overheads. Notably, our security-enhanced Dilithium and XMSS software implementations, recommended by NIST, achieve an average throughput factor of 0.75 compared to the (unprotected) reference implementations.
Lingjia Meng, Yu Fu 0007, Fangyu Zheng, Ziqiang Ma, Jiankuo Dong, Jingqiang Lin 0001
IEEE Trans. Ind. Informatics7
2025 GIF-FHE: A Comprehensive Implementation and Evaluation of GPU-Accelerated FHE With Integer and Floating-Point Computing Power
abstract
Fully Homomorphic Encryption (FHE) allows computations on encrypted data without revealing the plaintext, garnering significant interest from both academic and industrial communities. However, its broader adoption has been hindered by performance limitations. Consequently, researchers have turned to GPUs for efficient FHE implementation. Nevertheless, most have predominantly favored integer units due to their ease of use, overlooking the considerable computational potential of floating-point units in GPUs. Recognizing this untapped floating-point computational power, our paper introducesGIF-FHE, an extensive exploration and implementation of FHE, leveraging GPUs' integer and floating-point instructions for FHE acceleration. We develop a comprehensive suite of low-level and middle-level FHE primitives, offering multiple implementation variants with support for three word size configurations ($64/52/32$-bit). Particularly, we make innovative use of floating-point implementations, employing a novel methodology to efficiently leverage the floating-point unit's fused multiply-add (FMA) instructions. This represents the pioneering integration of floating-point units into FHE acceleration. To bridge our highly-optimized FHE primitives with practical applications, this paper also provides a high-level FHE implementation and interfaces that can be directly applied by upper-level applications such as neural network inference. Finally, we undertake a comprehensive experiment evaluation and comparison involving three types of arithmetic: FP64/INT64/INT32 with varying word size configurations and computation units. Notably, our fundamental function implementations consistently outperform counterparts on the same platform, achieving speedups ranging from$2.0\times$to$4.2\times$. In the context of CKKS FHE schemes, our homomorphic operation implementation surpasses the state-of-the-art GPU-based solution with a speedup of up to$3.8\times$, and exceeds the performance of the widely adopted CPU-based library, SEAL, with a remarkable speedup of over$300\times$.
Fangyu Zheng, Guang Fan 0001, Wenxu Tang, Yuan Zhao 0015, Jiankuo Dong, Jingqiang Lin 0001, Shoumeng Yan, Jiwu Jing
IEEE Trans. Parallel Distributed Syst.8
2024 CryptoPyt: Unraveling Python Cryptographic APIs Misuse with Precise Static Taint Analysis
abstract
Cryptographic APIs are essential for ensuring the security of software systems. However, many research studies have revealed that the misuse of cryptographic APIs is commonly widespread. Detecting such misuse in Python poses challenges due to its intricate features, including dynamic features and pass-by-object-reference. Existing tools lack the precision and accuracy to tackle these challenges, leading to both high false positives and false negatives. In this work, we propose a specific Python Cryptographic Abstract Syntax Tree (PCAST) to represent the structure of source code, which rewrites AST nodes to handle complex Python features. Based on PCAST, we design and implement CryptoPyt, a static code analysis tool that leverages precise taint analysis and 17 cryptographic misuse rules to automatically identify potential cryptographic APIs misuse in Python projects. We conduct an in-depth analysis of all the APIs within the popular 21 Python cryptographic libraries and design five kinds of taint detectors to perform intra-procedural and inter-function analysis on the APIs and arguments. To demonstrate the effectiveness of CryptoPyt, we conduct experiments with six state-of-the-art tools (i.e., Cryptolation, LICMA, Bandit, Dlint, Semgrep and CodeQL) on both the labeled benchmark PyCryptoBench and the real-world Python cryptographic projects datasets PCAMD. Our evaluations show that CryptoPyt achieves an F1 score of 0.80 on PyCryptoBench and a recall rate of 99.08% on PCAMD. Furthermore, we disclose the discovered critical issues to the developers and seven high-level CVE IDs have been assigned to these findings. Our tool contributes to enhancing the security of Python cryptographic software.
Xiangxin Guo, Shijie Jia 0001, Jingqiang Lin 0001, Fangyu Zheng, Guangzheng Li, Yueqiang Cheng, Kailiang Ji
ACSAC3
2024 DPad-HE: Towards Hardware-friendly Homomorphic Evaluation using 4-Directional Manipulation
abstract
Module Learning with Errors (MLWE) based approaches for Fully Homomorphic Encryption (FHE) have garnered attention due to their potential to enhance hardware-friendliness and implementation efficiency. However, despite these advantages, their overall performance still trails behind traditional schemes based on Ring Learning with Errors (RLWE). This indicates that while MLWE-based constructions hold promise, there remain significant challenges to overcome in bridging the performance gap with RLWE-based FHE schemes. By uncovering the reasons for the unsatisfactory performance of prior schemes and pinpointing the fundamental differences in the design of MLWE-based FHE compared to traditional approaches, the paper introduces DPad-HE with a novel design incorporating manipulation in the module rank dimension. The newly introduced operations, rank-up, and rank-down, effectively regulate the scale of gadget decomposition, reducing the computational workload of key-switching by several times. Taking CKKS as a case study, the evaluation showcases the comprehensive advantages of DPad-HE over the state-of-the-art MLWE-based scheme, resulting in a performance boost of 1.26× to 5.71×, a reduction in key size from 1/3 to 3/4, with enhanced noise control. To test the hardware-friendliness of the solution, DPad-HE is also implemented on GPU. Notably, DPad-HE demonstrates that, for the first time, the execution latency of MLWE-based schemes can achieve comparable performance with traditional RLWE ones, especially on the GPU platform where a speedup up to 1.41× is witnessed. Additionally, this paper provides a lightweight conversion method between RLWE and MLWE ciphertexts, allowing for flexible selection of RLWE and MLWE settings during a single complete evaluation process. This opens up new possibilities for both RLWE-based and MLWE-based FHEs.
Wenxu Tang, Fangyu Zheng, Guang Fan 0001, Jingqiang Lin 0001, Jiwu Jing
CCS5
2024 Gopher: High-Precision and Deep-Dive Detection of Cryptographic API Misuse in the Go Ecosystem
abstract
The complexity of cryptographic APIs and developers' expertise gaps often leads to their improper use, seriously threatening information security. Existing cryptographic API misuse detection tools that rely on black/white-list methods require experts to manually establish detection rules. They struggle to dynamically update rules and scale to cover numerous unofficial cryptographic libraries. Furthermore, as these tools are primarily aimed at non-Go languages, they have limited applicability and accuracy in the Go ecosystem, which is extensively used for security-centric applications. To mitigate these challenges, we present Gopher, a novel cryptographic misuse detection framework, that excels in encapsulated API and cross-library detection. In this framework, we have designed CryDict to convert rules into unified and standardized constraints, capable of deriving new usage rules and elucidating implicit knowledge during scanning. Gopher leverages CryDict to create a logical separation between rule formulation and Detector detection, enabling dynamic updating of constraints and enhancing detection capabilities. This significantly improves the Gopher 's compatibility and scalability. Utilizing Gopher, we have conducted an extensive analysis of the Go ecosystem, examining 19,313 Go projects. In our rigorous testing, Gopher demonstrated a remarkable 98.9% accuracy rate and identified 64.1% of previously undetected misuses. This scrutiny has surfaced numerous hidden security vulnerabilities, and highlighted misuse tendencies across diverse project categories.
Yuexi Zhang, Bingyu Li 0003, Jingqiang Lin 0001, Linghui Li 0001, Jia-Ju Bai, Shijie Jia 0001, Qianhong Wu
CCS3
2024 TLTracer: Dynamically Detecting Cache Side Channel Attacks with a Timing Loop Tracer
abstract
Recently, cache side-channel attacks have gained increasing attention due to the significant threat they pose to data security. As research advances, these attacks have become more covert and their impact has been widened. To mitigate the threat posed by cache side-channel attacks, numerous de-tection approaches have been proposed. However, they struggle to capture runtime features or depend heavily on hardware performance counters (HPCs), resulting in a significant number of false negatives or false positives. To address this issue, this paper proposes a broadly applicable runtime feature for identifying cache side-channel attack programs and introduces a dynamic binary analysis approach, TLTracer. TLTracer is runtime trace-based, independent of HPCs and capable of scanning and detecting whether a binary program is malicious before it is deployed in the real world. We implement a prototype of TLTracer and evaluate it with a set of malicious and benign programs. The results show that it can effectively detect the latest cache side-channel attacks without false positives, and offer increased resilience against adversarial evasion compared to other detection tools.
Lingjia Meng, Fangyu Zheng, Jingqiang Lin 0001, Shijie Jia 0001, Haoling Fan
ICC4
2024 Certificate Transparency Revisited: The Public Inspections on Third-party Monitors
Aozhuo Sun, Jingqiang Lin 0001, Wei Wang 0314, Zeyan Liu, Bingyu Li 0003, Shushang Wen, Qiongxiao Wang, Fengjun Li
NDSS2
2024 TF-Timer: Mitigating Cache Side-Channel Attacks in Cloud through a Targeted Fuzzy Timer
abstract
Cache side-channel attacks pose a significant threat to the data security of multi-tenant public clouds. However, currently proposed defenses either lack transparency (requiring user involvement) or incur a significant performance penalty. This paper is motivated by our insightful observation for the behavior of cache side-channel attackers who employ rdtsc/rdtscp instructions for timing purposes. We have discerned a behavior pattern that enables comprehensive identification of potential attackers. Building upon this observation, we introduce TF -timer, which operates on the core principle of inspecting cache side-channel attacks using the pre-identified behavior pattern while obscuring the return values of rdtsc/rdtscp instructions. Our proposed technique preserves the properties of rdtsc/rdtscp, only blurring the attacker's timing to minimize the impact on other applications. We have implemented the prototype of TF-timer at the hypervisor layer. It is completely transparent to users and requires no hardware modifications. Our evaluation results demonstrate that TF -timer efficiently and precisely miti-gates cache side-channel attacks that exploit rdtsc/rdtscp for timing, with performance penalties within 1 %.
Shijie Jia 0001, Fangyu Zheng, Jingqiang Lin 0001, Lingjia Meng, Ziqiang Ma
WCNC5
2024 ECO-BIKE: Bridging the Gap Between PQC BIKE and GPU Acceleration
abstract
Advancements in quantum computing pose a threat to public-key cryptosystems, leading to the development of post-quantum cryptography. NIST is standardizing candidate algorithms, with BIKE, a code-based key encapsulation mechanism, among those under consideration. Performance is crucial in NIST PQC standardization process, and researchers have introduced a range of optimization techniques for BIKE across various platforms. To the best of our knowledge, our Efficient CryptOgraphy BIKE (ECO-BIKE) represents the first attempt at optimizing the implementation of BIKE on GPU architecture. In this paper, we introduce a comprehensive construction of a 3-threading parallel architecture tailored for the BIKE cryptosystem. This architecture covers a range of computational tasks, addressing operations from low-level to high-level computations. These include a parallel dense polynomial multiplication scheme with a better memory access pattern and a better XOR calculation, which forms the basis for a comprehensive parallel execution framework for the entire BIKE algorithm. Targeted optimizations are implemented for specific modules (KEYGEN, ENCAPS, DECAPS), which collectively enhance the overall efficiency of the algorithm. Our ECO-BIKE exhibits exceptional throughput performance on the NVIDIA GeForce RTX 4090. In the 3-thread mode, the throughput of the KEYGEN, ENCAPS, and DECAPS modules reaches 24.033 kops/s, 277.789 kops/s, and 5.817 kops/s, respectively. Our proposed optimal parallel multiplication scheme achieves a significantly higher overall throughput of 481.302 kops/s. These results highlight the substantial computational advantages our approach provides for cryptographic workloads.
Jiankuo Dong, Yusheng Fu, Xusheng Qin, Zhenjiang Dong, Fu Xiao 0001, Jingqiang Lin 0001
IEEE Trans. Inf. Forensics Secur.6
2024 ZeroShield: Transparently Mitigating Code Page Sharing Attacks With Zero-Cost Stand-By
abstract
Numerous cache side-channel attack techniques enable attackers to execute a cross-VM cache side-channel attack through the sharing of code pages with the targeted victim. Nonetheless, most prior defense solutions fall short of efficiency and ease of deployment, thus restricting their practicality for real-world implementation. This paper introduces ZeroShield, an adaptive and transparent approach implemented at the hypervisor layer, designed to counteract the code page sharing attack, a subset of cache side-channel attacks, occurring within a single virtual machine (VM) or spanning across multiple VMs. By thoroughly scrutinizing the “by-products” resulting from a code page sharing attack, we meticulously track the attacker’s access to security-sensitive code pages. This is achieved through harnessing hardware virtualization features, such as the Intel extended page table, in conjunction with the CR3 register. Utilizing this information, ZeroShield continuously monitors security-sensitive code pages, adeptly navigating complex OS and hypervisor behaviors. The architecture of ZeroShield exhibits an attack-aware design, enabling it to deploy protection measures on demand. Consequently, the system theoretically experiences negligible overhead in the absence of attackers. Empirical evidence confirms the effectiveness of ZeroShield in thwarting code page sharing attacks. It achieves this without imposing any performance penalties in the absence of attackers, and with a minimal overhead of less than 3.8% when attackers are active. Significantly, ZeroShield boasts a cost-free standby state and necessitates no adjustments to upper applications, guest OS, or hardware configurations. This attribute positions ZeroShield as an optimal default solution in real-world cloud environments to effectively counter code page sharing attacks.
Fangyu Zheng, Jingqiang Lin 0001, Fangjie Jiang
IEEE Trans. Inf. Forensics Secur.3
2023 V-Curve25519: Efficient Implementation of Curve25519 on RISC-V Architecture
Qingguan Gao, Kaisheng Sun, Jiankuo Dong, Fangyu Zheng, Jingqiang Lin 0001, Yongjun Ren, Zhe Liu 0001
Inscrypt (2)5
2023 Curveball+: Exploring Curveball-Like Vulnerabilities of Implicit Certificate Validation
Yajun Teng, Wei Wang 0314, Jun Shao 0001, Huiqing Wan, Jingqiang Lin 0001
ESORICS (2)7
2023 JWTKey: Automatic Cryptographic Vulnerability Detection in JWT Applications
Shijie Jia 0001, Jingqiang Lin 0001, Fangyu Zheng, Xiaozhuo Gu
ESORICS (3)3
2023 Fast and Parallel Modular Multiplication without Borrow for ECC on ARM-NEON
abstract
Fast reduction is a powerful modular reduction method for many ECC curves using NIST-style prime modulus. Based on fast reduction, existing vectorized modular multiplication schemes (such as MR and SMCOS) were constructed in succession. However, these schemes are only applicable to those NIST-style primes with just subtraction items. The vector design on fast reduction for ones with addition items (including certain well-known curves, NIST P-256 and SM2, etc.) rarely holds in practice because of the possible borrow situation. In this work, we fill this gap and propose a pipelined and vectorized fast reduction that, with the aid of pre-processing and post-processing, eliminates all potential borrow during the reduction. Based on the proposed reduction, we successfully construct a vectorized modular multiplication, namely Borrowless, which works with all NIST-style primes, including the ones with addition items. Using NIST P-256, SM2, and NIST P-224 curves as case studies, on the 32-bit ARM NEON platform, we demonstrate the effectiveness of Borrowless and its significant performance advantage over existing vector designs (e.g., CICOS and MR) and widely-used algorithm libraries (e.g., OpenSSL and GMP).
Wei Wang 0314, Jingqiang Lin 0001, Lina Shang, Fan Lang, Dingfeng Ye
ICC3
2023 ImCT: A Feasible Scheme for Deploying Implicit Certificates with Certificate Transparency in IoT
abstract
Data security has become a major concern in end-to-end communication of Internet of Things (IoT) devices. To establish an encrypted and trusted channel, certificate-based authentication is broadly adopted in many resource-constrained IoT environments, especially Elliptic Curve Qu-Vanstone (ECQV) implicit certificates, optimized for bandwidth and processing time compared to X.509 certificates. However, certificates in Public Key Infrastructure (PKI) inherently face the security problem that Certificate Authorities (CAs) with absolute trust might issue fraudulent certificates maliciously/unintentionally. To mitigate this problem, Certificate Transparency (CT) has been widely deployed, but it brings more transmission and validation overhead, posing new challenges for IoT devices. To inherit the advantage of implicit certificates and make CT more friendly to resource-restricted IoT systems, this paper proposes ImCT, the first feasible and efficient scheme for deploying ECQV implicit certificates with CT in IoT. It (1) offers an ingenious and compact design of certificate extension for integrating CT into implicit certificates, ensuring sufficiently small memory use and low validation cost; (2) provides a generic Bloom Filter-based solution to efficiently deploy ImCT in interactive protocols with compatibility with existing CT validation rules; (3) allows for incremental deployment and deploys to TLS 1.3 easily with only a few self-defined TLS extensions. The security of ImCT is also analyzed, and the performance evaluation shows its practicality and high efficiency.
Huiqing Wan, Qiongxiao Wang, Yajun Teng, Cunqing Ma, Jingqiang Lin 0001
ICCCN5
2023 Towards Faster Fully Homomorphic Encryption Implementation with Integer and Floating-point Computing Power of GPUs
abstract
Fully Homomorphic Encryption (FHE) allows computations on encrypted data without knowledge of the plaintext message and currently has been the focus of both academia and industry. However, the performance issue hinders its large-scale application, highlighting the urgent requirements of high-performance FHE implementations.With noticing the tremendous potential of GPUs in the field of cryptographic acceleration, this paper comprehensively investigates how to convert the available computing resources residing in GPUs into FHE workhorses, and implement a full set of low-level and middle-level FHE primitives based on two arithmetic units (i.e., INT32 and FP64 units) with three types of data precision (i.e., INT32, INT64 and FP64). This paper gives a comprehensive evaluation and comparison based on each road-map. Our implementations of fundamental functions outperform the implementations on the same platform by 1.7× to 16.7×. Taking CKKS FHE schemes as a case study, our implementation of homomorphic multiplication achieves 3.2× speedup over the state-of-the-art GPU-based implementation, even considering the difference of platforms. The detailed evaluation and comparison of this paper would offer a vital reference for the follow-up work to choose appropriate underlying arithmetic units and important primitive optimizations in GPU-based FHE implementations.
Guang Fan 0001, Fangyu Zheng, Lipeng Wan 0002, Yuan Zhao 0015, Jiankuo Dong, Yuewu Wang, Jingqiang Lin 0001
IPDPS9
2023 Semi-CT: Certificates Transparent to Identity Owners but Opaque to Snoopers
abstract
Certificate Transparency (CT) enables timely detection of problematic certification authorities (CAs) by publicly recording all CA-issued certificates. This transparency inevitably leaks the privacy of identity owners (IdOs) through the identity information bound in certificates. In response to the privacy leakage, several privacy-preserving schemes have been proposed that transform/hash/encrypt the privacy-carrying part in certificates. However, these certificates conceal identity while also making it opaque to the IdO, which defeats the purpose of CT. To address the contradiction between transparency and privacy, we propose Semi-CT, a semi-transparency mechanism that makes the certificates transparent to IdOs but opaque to snoopers. Inspired by public-key encryption with keyword search (PEKS), Semi-CT based on bilinear pairing enables trapdoor-holding IdOs to retrieve certificates associated with their identity. Semi-CT also addresses protocol deviation detection and trapdoor protection in the malicious model. Finally, through theoretical and experimental analysis, we prove the security and feasibility of Semi-CT for practical applications.
Aozhuo Sun, Bingyu Li 0003, Qiongxiao Wang, Huiqing Wan, Jingqiang Lin 0001, Wei Wang 0314
ISCC5
2023 ESCORT: Efficient Status Check and Revocation Transparency for Linkage-Based Pseudonym Certificates in VANETs
abstract
The security, privacy, and trust are the critical concerns in Vehicular Ad Hoc Networks (VANETs). The Security Credential Management System (SCMS) is one of the most promising PKI-based solutions, which adopts linkage-based pseudonym certificates and has been standardized by IEEE. This paper aims to address the issues of certificate revocation in the SCMS architecture. We propose ESCORT, achieving: (i) a privacy-preserving revocation transparency for linkage-based pseudonym certificates, enhancing the reliability of the SCMS architecture; (ii) an efficient certificate status check for vehicles, eliminating complicated computations in checking CRLs. We analyze the security and feasibility of ESCORT, and experimental results indicate its superior efficiency.
Huiqing Wan, Qiongxiao Wang, Cunqing Ma, Yajun Teng, Jingqiang Lin 0001, Dingfeng Ye
ISCC5
2023 Protecting Private Keys of Dilithium Using Hardware Transactional Memory
Lingjia Meng, Yu Fu 0007, Fangyu Zheng, Ziqiang Ma, Dingfeng Ye, Jingqiang Lin 0001
ISC7
2023 mShield: Protecting In-process Sensitive Data Against Vulnerable Third-Party Libraries
Yunming Zhang, Quanwei Cai 0001, Houqiang Li, Jingqiang Lin 0001, Wei Wang 0335
SecureComm (1)4
2023 Hydamc: A Hybrid Detection Approach for Misuse of Cryptographic Algorithms in Closed-Source Software
abstract
Cryptographic algorithms are fundamental to secure software development, but security vulnerabilities can arise during implementation, usage, and when calling third-party libraries. As security standards continue to evolve, software updates have become an inevitable trend, and detecting cryptographic algorithm misuse is crucial to ensure compliance with these standards during the update process. However, closed-source software presents challenges in detecting cryptographic algorithm misuse. To enhance the security ecosystem of software, we designed a hybrid detection approach for detecting misuses in closed-source software related to weak cryptographic algorithms, short keys, insecure working modes, and insecure padding modes. Our hybrid detection tool uses both static and dynamic detection methods to collect log information through a logging mechanism in binary executable files. The collected data is cleaned using a data cleaning strategy and analyzed to extract key features, generating test reports to help developers and experts identify cryptographic algorithm security issues. We tested 24 software applications from app stores and found that 62.5% had weak algorithm implementations or usage, 83.3% supported short keys, and 50% supported insecure padding modes. Finally, we provided actionable recommendations to mitigate identified issues.
Haoling Fan, Fangyu Zheng, Jingqiang Lin 0001, Lingjia Meng, Shijie Jia 0001
TrustCom3
2023 Enhanced Ticket Transparency (eTT) Framework for Single Sign-On Services with Pseudonyms
abstract
Recently, a series of vulnerabilities occurred to divulge or forge single sign-on tickets, such as the famous SolarWinds incident Once malicious attackers obtain fraudulent tickets, they can pry into user privacy as well as compromise the system by impersonating the victim user. Inspired by certificate transparency, a ticket transparency (TT) framework for detecting fraudulent tickets is proposed. However, it suffers from inefficiency and potential failure. In this paper, we further propose an enhanced ticket transparency (eTT) scheme, which ensures that all fraudulent tickets can be detected efficiently through a novel dual-backup structure to store ticket entries in the public log. Meanwhile, we design specific calculations for pairwise pseudonymous identifiers (PPIDs), to support fraudulent-detection towards tickets in which user identifiers are pseudonyms. We implemented the prototype system, and the experimental evaluation shows that eTT framework introduces acceptable overheads in the sign-on process.
Guangqi Liu, Jingqiang Lin 0001, Dawei Chu, Qiongxiao Wang, Cunqing Ma, Fengjun Li, Dingfeng Ye
TrustCom2
2023 The Broken Verifying: Inspections at Verification Tools for Windows Code-Signing Signatures
abstract
Terminal users can deploy verification tools to verify Windows code-signing signatures and check their details (signing time, certificate chain, etc). Some representative verification tools are also adopted in related studies, which take tools’ outputs as contributing factors to analyse malicious software or certificate ecosystems. However, as code-signing signature verification is related to multiple dimensions, such as certificate status and system policies, getting accurate signature status and details is essential but rather complicated. And performance of different tools in verifications has not been well studied and compared with.We provide a novel methodology to inspect Windows code-signing verification tools, checking that if they print consistent results and details. We choose four representative tools to verify massive samples (more than 26 million) and collect their outputs. During the verification, we deploy a two-step verification method, which efficiently excludes 78.8% of samples (not signed). We write scripts to read each line of outputs, learning tools’ output structures. Then we can precisely locate and extract interested code-signing fields from outputs. After that, we compare these essential fields from different tools, and analyze inconsistent cases. Finally, we present three types of inconsistent cases: verifying neglect, timestamp disturbance, and compatibility/robustness issues. We find some verification tools may assert code-signing signatures as invalid due to external factors, such as unexpected signing or invalid timestamp.
Guangqi Liu, Qiongxiao Wang, Cunqing Ma, Jingqiang Lin 0001, Yanduo Fu, Bingyu Li 0003, Dingfeng Ye
TrustCom4
2023 A Design of High-Efficiency Coherent Sampling Based TRNG With On-Chip Entropy Assurance
abstract
True Random Number Generator (TRNG) is indispensable in cryptographic algorithms and protocols, and the quality of randomness directly influences the security of cryptographic applications. Multiple theoretical or offline entropy estimation methods have been proposed to evaluate the security of TRNGs, while their ideal assumptions commonly cannot be satisfied due to the perturbation of operating conditions at runtime, which makes it difficult to achieve sufficient entropy for the output of TRNGs in practice. Moreover, the output bitrate of TRNG is another fundamental concern during TRNG practical applications, while popular elementary oscillator-based structure commonly has relatively low output bitrate due to the inherent low sensitivity of entropy extraction to jitter (source of randomness). In this paper, we aim to design a TRNG satisfying both practical security (i.e., on-chip entropy assurance) and high output bitrate simultaneously. In particular, an improved stochastic model and a measurement method are established to quantify the entropy of coherent sampling based TRNG. Moreover, an on-chip entropy assurance module is provided to realize the robustness of the proposed design under various operating conditions. We implement the proposed TRNG in a simulation platform and ASIC chips (with SMIC 130 nm CMOS technology). Experimental results indicate that the generated data has sufficient entropy ($\geq 0.999$per bit) under various operating conditions. In addition, all the output can pass the NIST SP800-22 and AIS 31 statistical tests with an output bitrate of 4.2 Mbps, which is equivalent to 2 orders of magnitude faster than that of the elementary oscillator-based TRNG.
Tianyu Chen 0016, Shijie Jia 0001, Yuan Cao 0003, Wei Wang 0314, Jing Yang 0032, Jingqiang Lin 0001
IEEE Trans. Circuits Syst. I Regul. Pap.8
2023 RegKey: A Register-based Implementation of ECC Signature Algorithms Against One-shot Memory Disclosure
abstract
To ensure the security of cryptographic algorithm implementations, several cryptographic key protection schemes have been proposed to prevent various memory disclosure attacks. Among them, the register-based solutions do not rely on special hardware features and offer better applicability. However, due to the size limitation of register resources, the performance of register-based solutions is much worse than conventional cryptosystem implementations without security enhancements. This paper presents RegKey, an efficient register-based implementation of ECC (elliptic curve cryptography) signature algorithms. Different from other schemes that protect the whole cryptographic operations, RegKey only uses CPU registers to execute simple but critical operations, significantly reducing the usage of register resources and performance overheads. To achieve this goal, RegKey splits the ECC signing into two parts, (1) complex elliptic curve group operations on non-sensitive data in main memory as normal implementations, and (2) simple prime field operations on sensitive data inside CPU registers. RegKey guarantees the plaintext private key and random number used for signing only appear in registers to effectively resist one-shot memory disclosure attacks such as cold-boot attacks and warm-boot attacks, which are usually launched by physically accessing the victim machine to acquire partial or even entire memory data but only once. Compared with existing cryptographic key protection schemes, the performance of RegKey is greatly improved. Regkey is applicable to different platforms because it does not rely on special CPU hardware features. Since RegKey focuses on one-shot memory disclosure instead of persistent software-based attacks, it works as a choice suitable for embedded devices or offline machines where physical attacks are the main threat.
Yu Fu 0007, Jingqiang Lin 0001, Dengguo Feng, Wei Wang 0314
ACM Trans. Embed. Comput. Syst.2
2023 EG-Four$\mathbb {Q}$: An Embedded GPU-Based Efficient ECC Cryptography Accelerator for Edge Computing
abstract
With the continuous development of Industry 4.0 technology, the embedded devices in Industrial Internet of Things (IIoT) are showing explosive growth, and large-scale cyber attacks or related security incidents continue to sound the alarm bell of information security. IIoT has strict requirements on computing performance and energy consumption, which poses severe challenges to cryptographic algorithms, especially public key cryptographic algorithms with high computational complexity. Embedded graphic processing unit (GPU) devices, always as edge computing nodes or AI accelerators, are widely deployed in IIoT applications. In this article, we propose an embedded GPU-based Four$\mathbb {Q}$(EG-Four$\mathbb {Q}$) elliptic curve public key cryptographic acceleration scheme. As far as we know, EG-Four$\mathbb {Q}$is the first work to completely implement Four$\mathbb {Q}$on the GPU platforms, including finite field operations, point arithmetic, and scalar multiplication. Relying only on 36-W power consumption, our scalar multiplication performance reaches 1717 kops/s with the latency of 2.38 ms. In terms of the energy-efficiency ratio, EG-Four$\mathbb {Q}$has significant advantages over other platforms such as advanced RISC machines (ARM) CPU, Intel CPU, field programmable gate array (FPGA), and desktop GPUs. The throughput of EG-Four$\mathbb {Q}$is 1.75 times that of the fastest elliptic curve cryptography implementation based on the same platform and even exceeds the performance of Intel top server CPU E5-2699v3 (18-core). Based on the embedded GPU Xavier, EG-Four$\mathbb {Q}$can act as a cryptographic edge computing module or even a cloud cryptographic accelerator, providing more efficient elliptic curve cryptographic services for IIoT.
Jiankuo Dong, Pinchang Zhang, Kaisheng Sun, Fu Xiao 0001, Fangyu Zheng, Jingqiang Lin 0001
IEEE Trans. Ind. Informatics6
2023 A Longitudinal and Comprehensive Measurement of DNS Strict Privacy
abstract
The DNS privacy protection mechanisms, DNS over TLS (DoT) and DNS over HTTPS (DoH), only work correctly if both the server and client support the Strict Privacy profile and no vulnerability exists in the implemented TLS/HTTPS. A natural question then arises: what is the landscape of DNS Strict Privacy? To this end, we provide the first longitudinal and comprehensive measurement of DoT/DoH deployments in recursive resolvers, authoritative servers, and browsers. With the collected data, we find the number of DoT/DoH servers increased substantially during our ten-month-long scan. However, around 60% of DoT and 44% of DoH recursive resolver certificates are invalid. Worryingly, our measurements confirm the centralization problem of DoT/DoH. Furthermore, we classify DNS Strict Privacy servers into four levels according to daily scanning results on TLS/HTTPS-related security features. Unfortunately, around 25% of DoH Strict Privacy recursive resolvers fail to meet the minimum level requirements. To help the Internet community better perceive the landscape of DNS Strict Privacy, we implement a DoT/DoH server search engine and recommender system. Additionally, we investigate five popular browsers across four operating systems and find some inconsistent behavior with their DNS privacy implementations. For example, Firefox in Windows, Linux, and Android allows DoH communication with the server without the SAN certificate. At last, we advocate that all participants head together for a bright DNS Strict Privacy landscape by discussing current hindrances and controversies in DNS privacy.
Ruixuan Li 0008, Zhenyong Zhang, Jun Shao 0001, Rongxing Lu, Jingqiang Lin 0001, Xiaoqi Jia, Guiyi Wei
IEEE/ACM Trans. Netw.6
2022 MoLE: Mitigation of Side-channel Attacks against SGX via Dynamic Data Location Escape
abstract
Numerous works have experimentally shown that Intel Software Guard eXtensions (SGX) is vulnerable to side-channel attacks (SCAs) and related threats, including transient execution attacks. These threats compromise the security of SGX-protected apps. Obfuscating data access patterns is a realistic way to guard against these threats. However, existing defenses impose either too much performance overhead or additional usage restrictions (such as multi-threading). Furthermore, these obfuscation schemes may no longer work if the attacker has the capacity to single-step the target application.
Fan Lang, Wei Wang 0314, Lingjia Meng, Jingqiang Lin 0001, Qiongxiao Wang, Linli Lu
ACSAC4
2022 CryptoGo: Automatic Detection of Go Cryptographic API Misuses
abstract
Cryptographic algorithms act as essential ingredients of all secure systems. However, the expected security guarantee from cryptographic algorithms often falls short in practice due to various cryptographic application programming interfaces (API) misuses. While many research studies target cryptographic API misuses in the cases of Java, C/C++ and Python, similar issues within the Go domain are still uncovered.
Shijie Jia 0001, Fangyu Zheng, Jingqiang Lin 0001
ACSAC6
2022 Hide and Seek: On the Stealthiness of Attacks Against Deep Learning Systems
Zeyan Liu, Fengjun Li, Jingqiang Lin 0001, Zhu Li 0001, Bo Luo
ESORICS (3)3
2022 A Novel High-Performance Implementation of CRYSTALS-Kyber with AI Accelerator
Lipeng Wan 0002, Fangyu Zheng, Guang Fan 0001, Rong Wei, Yuewu Wang, Jingqiang Lin 0001, Jiankuo Dong
ESORICS (3)7
2022 LiTIV: A Lightweight Traceable Data Integrity Verification Scheme for Version Control Systems
Wei Wang 0314, Jingqiang Lin 0001, Zhen Yang 0015, Haoling Fan, Qiongxiao Wang
ICCCN3
2022 $\mu AFL$: Non-intrusive Feedback-driven Fuzzing for Microcontroller Firmware
abstract
Fuzzing is one of the most effective approaches to finding software flaws. However, applying it to microcontroller firmware incurs many challenges. For example, rehosting-based solutions cannot accurately model peripheral behaviors and thus cannot be used to fuzz the corresponding driver code. In this work, we present μAFL, a hardware-in-the-loop approach to fuzzing microcontroller firmware. It leverages debugging tools in existing embedded system development to construct an AFL-compatible fuzzing framework. Specifically, we use the debug dongle to bridge the fuzzing environment on the PC and the target firmware on the microcontroller device. To collect code coverage information without costly code instrumentation, μAFL relies on the ARM ETM hardware debugging feature, which transparently collects the instruction trace and streams the results to the PC. However, the raw ETM data is obscure and needs enormous computing resources to recover the actual instruction flow. We therefore propose an alternative representation of code coverage, which retains the same path sensitivity as the original AFL algorithm, but can directly work on the raw ETM data without matching them with disassembled instructions. To further reduce the workload, we use the DWT hardware feature to selectively collect runtime information of interest. We evaluated μAFL on two real evaluation boards from two major vendors: NXP and STMicroelectronics. With our prototype, we discovered ten zero-day bugs in the driver code shipped with the SDK of STMicroelectronics and three zero-day bugs in the SDK of NXP. Eight CVEs have been allocated for them. Considering the wide adoption of vendor SDKs in real products, our results are alarming.
Jiameng Shi, Fengjun Li, Jingqiang Lin 0001, Wei Wang 0314, Le Guan
ICSE4
2022 Replicated Additive Secret Sharing with the Optimized Number of Shares
Juanjuan Guo, Mengjie Shuai, Qiongxiao Wang, Jingqiang Lin 0001
SecureComm5
2022 Another Lattice Attack Against ECDSA with the wNAF to Recover More Bits per Signature
Ziqiang Ma, Shuaigang Li, Jingqiang Lin 0001, Quanwei Cai 0001, Shuqin Fan, Bo Luo
SecureComm3
2022 You Cannot Fully Trust Your Device: An Empirical Study of Client-Side Certificate Validation in WPA2-Enterprise Networks
abstract
WPA2-Enterprise networks offer access to the Internet widely for multifarious client devices. Certificate-based authentication is adopted on the client-side to authenticate the server during network connection. Due to a lack of professional knowledge, client users commonly fully trust the devices, which may result in insecure network connection and user credential leakage. Previous works commonly focus on the security vulnerabilities due to the design weaknesses of the user interfaces from mainstream operating systems, while the built-in certificate validation implementations, which act as a block box for users to validate the received certificates, are not taken into consideration.In this paper, we design a series of comprehensive testings to evaluate the built-in certificate validation implementations of mainstream client devices for the first time. Moreover, we investigate the configuration options provided by the devices from different vendors, which may downgrade the security of the certificate validation. We select both Windows and Android (from vendors with the largest five market share) devices as our empirical study target. The results show that more than one security vulnerability exists in the built-in certificate validation implementations of the selected devices, and all the selected devices provide a certain option which may downgrade the security of certificate validation. We also conduct a real Evil Twin attack, which reveals that the user credentials can be cracked due to the discovered security vulnerabilities. Our findings have been responsibly disclosed to the relevant device vendors, and we received an assortment of responses, meanwhile many vendors (e.g., Huawei) have already positively acknowledged our findings.
Qiongxiao Wang, Shijie Jia 0001, Jingqiang Lin 0001, Linli Lu, Yanduo Fu
TrustCom4
2022 ABLE: Zero-effort Two-factor Authentication Exploiting BLE Co-location
abstract
Two-factor authentication (2FA) offers very important security enhancement to traditional username-password authentication, while in many cases incurring undesirable user burdens (e.g., entering a one-time verification code sent to a phone via SMS). Some zero-effort authentication techniques (e.g., Sound-Proof) have been proposed to relieve such burdens without degrading security, but are vulnerable to prediction attacks and co-existence attacks. This paper proposes ABLE, a zero-effort 2FA approach based on co-location detection leveraging environmental Bluetooth Low Energy (BLE) signal characteristics. In this approach, a laptop on which the user tries to authenticate to a web server, and the user’s smartphone placed nearby which is trusted by the server, both collect and send a record of environmental BLE signal characteristics to the server. The server decides whether the two devices are co-located by evaluating the similarity of the two records, and makes the authentication decision. ABLE is constructed based on the fact that only two devices in close proximity share similar environmental signal characteristics, which distinguishes a legitimate user device from potential adversaries. Due to its location-sensitive nature, combining favorable features brought with the BLE protocol, ABLE is gifted with good resistance to attacks that threaten existing zero-effort authentication schemes. ABLE is not only immune to remote attackers, but also achieves an accuracy over 90% even against co-present attackers.
Yaxi He, Wei Wang 0314, Yajun Teng, Qiongxiao Wang, Jingqiang Lin 0001
WCNC6
2022 Approach then connect: A Physical Location-based Wi-Fi Password Dynamic Update Scheme
abstract
Large-scale organizations usually deploy Wi-Fi to offer wireless network services for the target users, and password-based authentication is the most commonly adopted to identify Wi-Fi network users. However, multiple security issues occur in the password-based authentication schemes, such as using static passwords, unauthorized user access, and etc. To solve these problems, we propose a dynamic Wi-Fi password scheme updating passwords according to the location-based physical access controls, which is compatible with IEEE 802.11i protocols without introducing extra equipment or user efforts. We reuse the available location based resources in IEEE 802.11 to broadcast dynamic salt values for password updating and implement a prototype system. The experimental results illustrate that the introduced overhead is acceptable (i.e., the disconnection due to password update lasts less than 320ms).
Qiongxiao Wang, Jingqiang Lin 0001, Shijie Jia 0001, Yingjiu Li, Yikai Chen
WCNC3
2022 TEGRAS: An Efficient Tegra Embedded GPU-Based RSA Acceleration Server
abstract
Industrial Internet of Things (IIoT) has strict requirements on the performance and security of devices. Public-key cryptography, as a kind of computing resource-consuming algorithm, is widely used in the digital signature, key exchange, and so on. The embedded graphics processing units (GPUs) are now rapidly achieving extraordinary computing power, such as NVIDIA Tegra K1/X1/X2/Xavier, which are also treated as edge computing devices. They are widely used in IIoT environments, such as intelligent manufacturing, smart cities, and vehicle-mounted systems. The performance advantages endow embedded GPUs with the possibility of accelerating cryptography that also requires high-density computing. This article implements an efficient Tegra-based embedded GPU RSA acceleration server-oriented IIoT, named TEGRAS. Various optimization methods are employed to promote efficiency, including multithreaded Montgomery multiplication and Chinese Remainder Theorem implementation on the resource-constricted embedded GPUs. With about 40–50 W of power consumption, TEGRAS can deliver 34 kops/s of RSA2048 signature generation and 1007 kops/s of RSA signature verification, which outperforms implementations in the desktop GPUs and embedded CPUs in the perspective of performance-to-power ratio. To evaluate TEGRAS in real-world scenarios, we additionally build a network stack to deliver digital signature services, which can provide more than 34 and 978 kops of signature generation and signature verification, respectively. In a word, based on the embedded GPU, we provide a high-throughput, low-latency, and ready-to-use RSA accelerator-oriented IIoT.
Jiankuo Dong, Guang Fan 0001, Fangyu Zheng, Tianyu Mao, Fu Xiao 0001, Jingqiang Lin 0001
IEEE Internet Things J.6
2022 Blockchain-Based Certificate Transparency and Revocation Transparency
abstract
Traditional X.509 public key infrastructures (PKIs) depend on trusted certification authorities (CAs) to sign certificates, used in SSL/TLS to authenticate web servers and establish secure channels. However, recent security incidents indicate that CAs may (be compromised to) sign fraudulent certificates. In this article, we propose blockchain-based certificate transparency (CT) and revocation transparency (RT) to balance the absolute authority of CAs. Our scheme is compatible with X.509 PKIs but significantly reinforces the security guarantees of a certificate. The CA-signed certificates and their revocation status information of an SSL/TLS web server are published by the subject (i.e., the web server) as a transaction in the global certificate blockchain. The certificate blockchain acts as append-only public logs to monitor CAs’ certificate signing and revocation operations, and an SSL/TLS web server is granted with the cooperative control on its certificates. A browser compares the certificate received in SSL/TLS negotiations with the ones in the public certificate blockchain, and accepts it only if it is published and not revoked. We implement the prototype system with Firefox and Nginx, and the experimental results show that it introduces reasonable overheads.
Jingqiang Lin 0001, Quanwei Cai 0001, Qiongxiao Wang, Daren Zha, Jiwu Jing
IEEE Trans. Dependable Secur. Comput.2
2022 EC-ECC: Accelerating Elliptic Curve Cryptography for Edge Computing on Embedded GPU TX2
abstract
Driven by artificial intelligence and computer vision industries, Graphics Processing Units (GPUs) are now rapidly achieving extraordinary computing power. In particular, the NVIDIA Tegra K1/X1/X2 embedded GPU platforms, which are also treated as edge computing devices, are now widely used in embedded environments such as mobile phones, game consoles, and vehicle-mounted systems to support high-dimension display, auto-pilot, and so on. Meanwhile, with the rise of the Internet of Things (IoT), the demand for cryptographic operations for secure communications and authentications between edge computing nodes and IoT devices is also expanding. In this contribution, instead of the conventional implementations based on FPGA, ASIC, and ARM CPUs, we provide an alternative solution for cryptographic implementation on embedded GPU devices. Targeting the new cipher suite added in TLS 1.3, we implement Edwards25519/448 and Curve25519/448 on an edge computing platform, embedded GPU NVIDIA Tegra X2, where various performance optimizations are customized for the target platform, including a novel parallel method for the register-limited embedded GPUs. With about 15 W of power consumption, it can provide 210k/31k ops/s of Curve25519/448 scalar multiplication, 834k/123k ops/s of fixed-point Edwards25519/448 scalar multiplication, and 150k/22k ops/s of unknown-point one, which are respectively the primitives and main workloads of key agreement, signature generation, and verification of the TLS 1.3 protocol. Our implementations achieve 8 to 26 times speedup of OpenSSL running in the very powerful ARM CPU of the same platform and outperform the state-of-the-art implementations in FPGA by a wide margin with better power efficiency.
Jiankuo Dong, Fangyu Zheng, Jingqiang Lin 0001, Zhe Liu 0001, Fu Xiao 0001, Guang Fan 0001
ACM Trans. Embed. Comput. Syst.3
2022 The Invisible Side of Certificate Transparency: Exploring the Reliability of Monitors in the Wild
abstract
To detect fraudulent TLS server certificates and improve the accountability of certification authorities (CAs), certificate transparency (CT) is proposed to record certificates in publicly-visible logs, from which the monitors fetch all certificates and watch for suspicious ones. However, if the monitors, either domain owners themselves or third-party services, fail to return a complete set of certificates issued for a domain of interest, potentially fraudulent certificates may not be detected and then the CT framework becomes less reliable. This paper presents the first systematic study on CT monitors. We analyze the data in 88 public logs and the services of 5 active third-party monitors regarding 3,000,431 certificates of 6,000 selected Alexa Top-1M websites. We find that although CT allows ordinary domain owners to act as monitors, it is impractical for them to perform reliable processing by themselves, due to the rapidly increasing volume of certificates in public logs (e.g., on average about 5 million records or 28.29 GB daily for the minimal set of logs that need to be monitored in 2018, or more than 7 million records per day in 2020, according to the Chrome CT policy). Moreover, our study discloses that (${a}$) none of the third-party monitors guarantees to return the complete set of certificates for a domain, and (${b}$) for some domains, even the union of the certificates returned by the five third-party monitors can probably be incomplete. As a result, the certificates accepted by CT-enabled browsers are not actually visible to the claimed domain owners, even when CT is adopted with well-functioning logs. The risk of invisible fraudulent certificates in public logs raises doubts on the reliability of CT in practice.
Bingyu Li 0003, Jingqiang Lin 0001, Fengjun Li, Qiongxiao Wang, Wei Wang 0314, Qi Li 0002, Guangshen Cheng, Jiwu Jing, Congli Wang
IEEE/ACM Trans. Netw.2
2021 Heterogeneous-PAKE: Bridging the Gap between PAKE Protocols and Their Real-World Deployment
abstract
Two entities, who only share a password and communicate over an insecure channel, authenticate each other and agree on a large session key for protecting their subsequent communication. This is called the password-authenticated key exchange (PAKE) protocol. PAKE protocol has been considered a suitable substitute for the prevailing hash-based authentication which is vulnerable to various attacks. However, vendors are discouraged by both its prohibitively computational overheads as well as integrating costs, leading to its limited use since being proposed.
Rong Wei, Fangyu Zheng, Jiankuo Dong, Guang Fan 0001, Lipeng Wan 0002, Jingqiang Lin 0001, Yuewu Wang
ACSAC7
2021 Privacy Preserving OpenPGP Public Key Distribution with Spamming Resistance
Wei Wang 0314, Jingqiang Lin 0001, Qiongxiao Wang
Inscrypt3
2021 SMCOS: Fast and Parallel Modular Multiplication on ARM NEON Architecture for ECC
Wei Wang 0314, Jingqiang Lin 0001, Yu Fu 0007, Lingjia Meng, Qiongxiao Wang
Inscrypt3
2021 Certificate Transparency for ECQV Implicit Certificates
abstract
ECQV implicit certificates are special public-key certificates, proposed for smaller size and faster verification. In resource-constrained environments such as Internet of Things (IoT), it’s common to replace X.509 certificates with ECQV implicit certificates for better efficiency. Google’s Certificate Transparency (CT) makes the certificate issuance be publicly-visible to everyone, to enhance the trustworthiness of Public Key Infrastructure (PKI). However, the conventional CT approach based on Signed Certificate Timestamp (SCT) will be a burden for ECQV certificate verifiers in resource-constrained environments. In this paper, we propose an efficient scheme, named ECQV Implicit Certificate Transparency (EICT), to integrate CT with implicit certificates following the same assumption and approach of ECQV implicit certificates. EICT obtains better performance than CT applied in traditional X.509 PKIs. We also conduct the security analysis and performance evaluation of the proposed scheme.
Wanling Huang, Jingqiang Lin 0001, Qiongxiao Wang, Yajun Teng, Huiqing Wan, Wei Wang 0314
ICC2
2021 Exploring the Security Issues of Trusted CA Certificate Management
Yanduo Fu, Qiongxiao Wang, Jingqiang Lin 0001, Aozhuo Sun, Linli Lu
ICICS (1)3
2021 VIRSA: Vectorized In-Register RSA Computation with Memory Disclosure Resistance
Yu Fu 0007, Wei Wang 0314, Lingjia Meng, Qiongxiao Wang, Yuan Zhao 0015, Jingqiang Lin 0001
ICICS (1)6
2021 Informer: Protecting Intel SGX from Cross-Core Side Channel Threats
Fan Lang, Wei Wang 0314, Lingjia Meng, Qiongxiao Wang, Jingqiang Lin 0001
ICICS (1)5
2021 SCB: Flexible and Efficient Asymmetric Computations Utilizing Symmetric Cryptosystems Implemented with Intel SGX
abstract
The wide spread of cloud computing and the rapid growth of online activities raise the demand for privacy enhancing cryptography, such as identity-based encryption (IBE), attribute-based encryption (ABE), and group/ring signature, which are mostly asymmetric. However, implementing a practical asymmetric cryptosystem with privacy enhancing functionalities faces the big challenge of large computing overhead that stems from the hard mathematical problems they are based on, which in reality hinders the further deployment of such cryptosystems.In this paper, we propose "SGX Cipher Box" (SCB), a method of constructing flexible and efficient asymmetric computations by encapsulating symmetric algorithms into Intel SGX enclaves. Two types of enclaves are designed for serving computations with the public key and the private key, respectively. The security assumptions of asymmetric algorithms can be achieved in SCB based on guarantees offered by SGX. SCB is of great flexibility that it facilitates implementing various asymmetric computations with limited enclaves. We present four SCB-based cryptosystems, provisioning asymmetric primitives, IBE, ABE, and ring signature, respectively. The four prototype cryptosystems are implemented and benchmarked in terms of computing efficiency. Experimental results show that SCB surpasses conventional asymmetric cryptosystem implementations in performance.
Wenyi Ouyang, Qiongxiao Wang, Wei Wang 0314, Jingqiang Lin 0001, Yaxi He
IPCCC4
2021 From Library Portability to Para-rehosting: Natively Executing Microcontroller Software on Commodity Hardware
Le Guan, Jingqiang Lin 0001, Jiameng Shi, Fengjun Li
NDSS3
2021 TESLAC: Accelerating Lattice-Based Cryptography with AI Accelerator
Lipeng Wan 0002, Fangyu Zheng, Jingqiang Lin 0001
SecureComm (1)3
2021 TX-RSA: A High Performance RSA Implementation Scheme on NVIDIA Tegra X2
Jiankuo Dong, Guang Fan 0001, Fangyu Zheng, Jingqiang Lin 0001, Fu Xiao 0001
WASA (2)4
2021 SECCEG: A Secure and Efficient Cryptographic Co-processor Based on Embedded GPU System
Guang Fan 0001, Fangyu Zheng, Jiankuo Dong, Jingqiang Lin 0001, Rong Wei, Lipeng Wan 0002
WASA (2)4
2021 High-performance area-efficient polynomial ring processor for CRYSTALS-Kyber on FPGAs
Tianyu Chen 0016, Jingqiang Lin 0001, Jiwu Jing
Integr.4
2021 A Privacy-Preserving Optimization of Neighborhood-Based Recommendation for Medical-Aided Diagnosis and Treatment
abstract
Nowadays, patients' physiological data and medical records are outsourced to the medical cloud to help the patients and doctors to obtain valuable and reliable services, i.e., diagnosis decision and treatment recommendation, which provides subtle and precise guidance for medical cases. Neighborhood-based recommendation (NBR) provides an effective and vivid approach to finding like-minded nodes to generate recommendations, automating what is usually known as word of mouth. Unfortunately, both diverse medical data and outsource technology raise stringent privacy concerns since the patient data is generally associated with attribute sets which contain somewhat sensitive information, such as age, gender, epidemic, physiological data and clinic result etc. The great privacy-revealing risk will occur if this sensitive medical information is maliciously exploited by network eavesdroppers, untrusted cloud servers or doctors. Considering the above privacy-revealing issues in medical data, this article proposes a privacy-preserving optimization of neighborhood-based recommendation scheme (namely, PPO-NBR), which achieves a secure and privacy-preserving recommendation for medical-aided diagnosis and treatment without revealing the patients' sensitive information. We propose a privacy-preserving medical graph construction protocol and a medical treatment recommendation protocol to implement the secure recommendation on the encrypted medical data, in which it employs BGN Cryptosystem as the building modular to encrypt data and then creatively applies graph theory to expand neighbors to search the best similar features, and uses BLS signature to ensure the authentication, and meanwhile, it deploys a ( t,n) oblivious transfer protocol to preserve the confidentiality of recommendation. A couple of experiments are implemented to evaluate the performance in terms of computational costs and communication overheads and indicate that our scheme is efficient and practical for medical-aided diagnosis.
Mingwu Zhang, Yu Chen 0056, Jingqiang Lin 0001
IEEE Internet Things J.3
2021 A Lightweight Full Entropy TRNG With On-Chip Entropy Assurance
abstract
True random number generator (TRNG) as one essential hardware primitive is widely used in cryptography, Monte Carlo simulation, and gambling. To evaluate the security of TRNG, the entropy of the TRNG’s output is usually estimated by the stochastic model in theory or measured off-chip after fabrication. However, the sufficiency of entropy is difficult to be guaranteed in practice due to the facts: 1) the inaccuracy of the model-based jitter measurement method; 2) the variations of the chip manufacturing process and operating environments (such as supply voltage and temperature); and 3) malicious attacks. In this work, we design a novel TRNG architecture with on-chip entropy assurance to properly solve practical security problems. In the design, we propose an on-chip entropy estimator for measuring independent jitter to quantify true randomness, which enables continuous monitoring of TRNG at runtime. Furthermore, with the cooperation of the proposed on-chip entropy estimator and a rational self-adaptive mechanism, the designed TRNG can steadily generate bitstreams with sufficient entropy (≥ 0.999 per bit) against PVT variations. We implement the TRNG architecture in FPGAs with different technology nodes (45 and 65 nm) and SMIC 130 nm chips. Experimental results validate that the designed TRNG has an excellent performance in terms of technology independence and environmental robustness. The generated bitstreams pass the NIST SP800-22 and Diehard statistical test suites successfully without any post-processing.
Tianyu Chen 0016, Jingqiang Lin 0001, Yuan Cao 0003, Jiwu Jing
IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.3
2021 Mimosa: Protecting Private Keys Against Memory Disclosure Attacks Using Hardware Transactional Memory
abstract
Cryptography is essential for computer and network security. When cryptosystems are deployed in computing or communication systems, it is extremely critical to protect the cryptographic keys. In practice, keys are loaded into the memory as plaintext during cryptographic computations. Therefore, the keys are subject to memory disclosure attacks that read unauthorized data from RAM. Such attacks could be performed through software exploitations, such as OpenSSL Heartbleed, even when the integrity of the victim system's binaries is maintained. They could also be done through physical methods, such as cold-boot attacks, even if the system is free of software vulnerabilities. This paper presents Mimosa, to protect RSA private keys against both software-based and physical memory disclosure attacks. Mimosa uses hardware transactional memory (HTM) to ensure that (a) whenever a malicious thread other than Mimosa attempts to read the plaintext private key, the transaction aborts and all sensitive data are automatically cleared with hardware, due to the strong atomicity guarantee of HTM; and (b) all sensitive data, including private keys and intermediate states, appear as plaintext only within CPU-bound caches, and are never loaded to RAM chips. To the best of our knowledge, Mimosa is the first solution to use transactional memory to protect sensitive data against memory attacks. However, the fragility of TSX transactions introduces extra cache-clogging denial-of-service (DoS) threats, and attackers could sharply degrade the performance by concurrent memory-intensive tasks. To mitigate the DoS threats, we further partition an RSA private-key computation into multiple transactional parts by analyzing the distribution of aborts, while (sensitive) intermediate results are still protected across transactional parts. Through extensive experiments, we show that Mimosa effectively protects cryptographic keys against attacks that attempt to read sensitive data in memory, and introduces only a small performance overhead, even with concurrent cache-clogging workloads.
Congwu Li, Le Guan, Jingqiang Lin 0001, Bo Luo, Quanwei Cai 0001, Jiwu Jing
IEEE Trans. Dependable Secur. Comput.3
2021 DPF-ECC: A Framework for Efficient ECC With Double Precision Floating-Point Computing Power
abstract
Used ubiquitously in a huge amount of security protocols or applications, elliptic curve cryptography (ECC) is one of the most important cryptographic primitives, featuring efficiency and short key size compared with other public-key cryptosystems such as DSA and RSA. However, as a computation-intensive public-key cryptographic primitive, ECC arithmetic is still the bottleneck that restrains the overall performance of the end applications. In this paper, instead of the conventional and straightforward integer-based methods, we present a general framework to accelerate ECC schemes over prime field, called DPF-ECC, that deeply exploits double precision floating-point (DPF) computing power. The DPF-ECC framework finely manages each bit of the DPF numbers and minimizes the overhead brought by additional data format conversion, by making use of the DPF representation, the rounding operations, and fused multiply-add instruction supported by the IEEE 754 floating point standard. We also conduct two comprehensive case studies on Crandall primes and Solinas primes to demonstrate how the DPF-ECC framework is applied to the prevailing ECC schemes. To evaluate the proposed DPF-ECC framework in the real world, leveraging the floating-point computing power of GPUs, we implement Curve25519/448 and Edwards25519/448, the popular ECC schemes widely used in TLS 1.3, SSH, etc. The experimental result in Tesla P100 achieves a record-setting performance that outperforms the existing fastest integer work with 2x to 3x throughput. With dependency only on the very commonly supported IEEE 754 floating point standard, DPF-ECC framework can be a very competent and promising candidate for ECC implementation in most of general-purpose platforms.
Fangyu Zheng, Rong Wei, Jiankuo Dong, Niall Emmart, Jingqiang Lin 0001, Charles C. Weems
IEEE Trans. Inf. Forensics Secur.7
2021 Locally-Centralized Certificate Validation and its Application in Desktop Virtualization Systems
abstract
To validate a certificate, a user needs to install the certificate of the root certification authority (CA) and download the certificate revocation information (CRI). Although operating systems and browsers manage the certificate trust list (CTL) of publicly-trusted root CAs for global users, locally-trusted root CAs still play an important role and it is difficult for a user to manage its CTL properly by itself. Meanwhile, the CRI access is inefficient, sometimes even unavailable, and causes privacy leakage. We revisit these problems by analyzing the TLS sessions within an organization. To the best of our knowledge, we are the first to analyze CTL management and CRI access on the scale of medium-sized organizations. Based on the analysis, a locally-centralized design is proposed to manage the CTLs of all users by IT administrators and access the CRI services for all users, within an organization. We apply this design to desktop virtualization systems to demonstrate its applicability, and build vCertGuard with oVirt and KVM-QEMU. In vCertGuard, the CTLs of all virtual machines (VMs) are managed in the VM monitors (VMMs). In the CTL, the self-signed certificates of publicly-trusted root CAs are properly configured, while each locally-trusted certificate chain is specified one by one. vCertGuard accesses the CRI services for all VMs, and the downloaded CRI is cached and shared among VMs. Because most TLS servers are visited by multiple users of an organization, it reduces the cost of CRI access. Experimental results of the prototype system show that vCertGuard maintains the CTLs with a negligible overhead, and significantly improves the performance of CRI access.
Bingyu Li 0003, Jingqiang Lin 0001, Qiongxiao Wang, Jiwu Jing
IEEE Trans. Inf. Forensics Secur.2
2020 Towards Efficient Kyber on FPGAs: A Processor for Vector of Polynomials
abstract
Kyber is a promising candidate in post-quantum cryptography standardization process. In this paper, we propose a targeted optimization strategy and implement a processor for Kyber on FPGAs. By merging the operations, we cut off 29.4% clock cycles for Kyber512 and 33.3% for Kyber1024 compared with the textbook implementations. We utilize Gentlemen-Sande (GS) butterfly to optimize the Number-Theoretic Transform (NTT) implementation. The bottleneck of memory access is broken taking advantage of a dual-column sequential scheme. We further propose a pipeline architecture for better performance. The optimizations help the processor achieve 31684 NTT operations per second using only 477 LUTs, 237 FFs and 1 DSP. Our strategy is at least 3x more efficient than the state-of-the-art module for NTT with a similar security level.
Tianyu Chen 0016, Jingqiang Lin 0001, Jiwu Jing
ASP-DAC4
2020 E-SGX: Effective Cache Side-Channel Protection for Intel SGX on Untrusted OS
Fan Lang, Huorong Li, Wei Wang 0314, Jingqiang Lin 0001, Fengwei Zhang, Wuqiong Pan, Qiongxiao Wang
Inscrypt4
2020 P2A: Privacy Preserving Anonymous Authentication Based on Blockchain and SGX
Tianlin Song, Wei Wang 0314, Fan Lang, Wenyi Ouyang, Qiongxiao Wang, Jingqiang Lin 0001
Inscrypt6
2020 CANSentry: Securing CAN-Based Cyber-Physical Systems against Denial and Spoofing Attacks
Abdulmalik Humayed 0001, Fengjun Li, Jingqiang Lin 0001, Bo Luo
ESORICS (1)3
2020 Traceable Revocable Anonymous Registration Scheme with Zero-knowledge Proof on Blockchain
abstract
User registration is the beginning of the life cycle of an account for most information systems. Some registration servers have special requirements for the validity of the registrant's identity and attributes, and thus demand his real-life identity and raw attributes for verification, which poses a great threat to privacy. However, the exposure of the registrant's real-life identity and raw attributes is not necessary, as long as he can prove to the server that he is associated with a real-life identity (RId) that fulfills the requirements. In this paper, we propose the concept of anonymous registration, with which a user can register an anonymous identity (AId) without privacy leakage. Anonymous registration has two basic features, i.e. privacy and verifiability, and two extended features, i.e. traceability and revocability. We design and implement an anonymous registration scheme with the above features, named Traceable Revocable Anonymous Registration Scheme (TRARS) based on Blockchain. In the proposed registration process, the user can calculate a zero-knowledge proof for a self-generated AId, which can prove to the registration server that the AId is associated with a valid RId and the RId's attributes meet the server's requirements, without leaking any privacy. We also introduce an identity revocation coordinator, with which evil identities can be tracked and outdated AIds can be revoked timely.
Tianlin Song, Jingqiang Lin 0001, Wei Wang 0314, Quanwei Cai 0001
ICC2
2020 Splitter: An Efficient Scheme to Determine the Geolocation of Cloud Data Publicly
abstract
Outsourcing data to the cloud has become a trend, and the geolocation of cloud data attracts public attention in recent years, which is relevant to data availability (e.g., disaster tolerant), data security and policies (e.g. USA Patrio Act). Unfortunately, cloud service providers are not fully trusted to the data owners. This is because the data owners lose the physical control over the cloud data, and cloud service providers have the ability and motivation to change the geolocation of cloud data between different data centers. Therefore, designing a scheme to determine the geolocation of cloud data for data owners is an urgent problem to be solved.In this paper, we propose Splitter, an efficient scheme to determine the geolocation of cloud data publicly. In Splitter, we first design a splitting method, which breaks up the challenge and proof, and only considers the response delay resulting from the general operations (i.e., addition and multiplication) to obtain the accurate response delay. Second, we combine random forest algorithm and improved triangulation method to determine the geolocation accurately. Third, we take a series of theoretical comparison and extensive experiments to evaluate our scheme. The results illustrate the efficiency and practicality of our scheme.
Dongzheng Jia, Shijie Jia 0001, Jingqiang Lin 0001
ICCCN5
2020 SEGIVE: A Practical Framework of Secure GPU Execution in Virtualization Environment
abstract
With the advancement of processor technology, general-purpose GPUs have become popular parallel computing accelerators in the cloud. However, designed for graphics rendering and high-performance computing, GPUs are born without sound security mechanisms. Consequently, the GPU-based service in the cloud is vulnerable to attacks from the potentially compromised guest OS as large amounts of sensitive code and data are offloaded directly to the unprotected GPUs.In this paper, we propose SEGIVE, a practical framework of secure GPU execution in the virtualization environment, which protects offloaded device code and data from disclosure or tampering by malicious guest OSes through the full life cycle of security-critical GPU applications. First, SEGIVE secures all the traffic transferred to GPUs with Intel SGX technology, including the users' sensitive data and GPU binaries. Second, with various memory isolation mechanisms, SEGIVE enhances security in multi-user execution scenarios by sharing a GPU among multiple workloads, which avoids underutilization of device resources. Besides, SEGIVE requires no modifications to application source codes, the GPU architecture, or I/O interconnection to fulfill security principles, and thus almost all prevailing GPU-based applications can easily benefit from SEGIVE with little porting effort. We have implemented SEGIVE with KVM-QEMU on off-the-shelf NVIDIA GPUs and CPUs. Evaluation results show that with security-enhances, the performance of SEGIVE prototype is still competitive to the native execution on compute-intensive applications, especially for the public-key cryptography algorithm.
Fangyu Zheng, Jingqiang Lin 0001, Guang Fan 0001, Jiankuo Dong
IPCCC3
2020 DPF-ECC: Accelerating Elliptic Curve Cryptography with Floating-Point Computing Power of GPUs
abstract
Driven by artificial intelligence (AI) and computer vision industries, Graphics Processing Units (GPUs) are now rapidly achieving extraordinary computing power. In particular, the floating-point computing power, which is heavily relied on by graphics rendering and AI computation workload, is developing much faster in GPUs. Meanwhile, in many fields such as ecommerce and online finance, the demand for cryptographic operations for secure communications and authentication is also expanding.In this contribution, targeting the important cryptographic primitives widely used in TLS 1.3, etc., we implement Curve25519 and Edwards25519 with GPUs' floating-point computing power, where various performance optimization methods are customized for the target platform, including novel big-number representations combined with a new floating-point-based computing algorithm, efficient merged reduction strategies, and curve-level acceleration. This paper reports record-setting performance for the elliptic-curve method: on TITAN V, we respectively achieve 7.21 and 77.30 million operations per second of unknown and known point multiplication of Edwards25519, and 13.55 million operations per second of point multiplication of Curve25519. To the best of our knowledge, this contribution is the first to show that floating-point-based ECC implementations can outperform the integer-based ones by a huge margin. The experimental result in Tesla P100 achieves over double performance of the existing fastest integer work on the same platform, and the result in TITAN V sets a record for the throughput which is 4.43 times better than the second.
Fangyu Zheng, Niall Emmart, Jiankuo Dong, Jingqiang Lin 0001, Charles C. Weems
IPDPS5
2020 DPVGeo: Delay-based Public Verification of Cloud Data Geolocation
abstract
Knowing the geolocation of cloud data becomes an urgent problem, which relates to cloud user equity (e.g., service compliance), service performance (e.g., disaster tolerance) and government regulations (e.g., GDPR). Unfortunately, data owners lose physical control after outsourcing data to the cloud service providers, while cloud service providers have the motivation (reducing economic costs and maximizing profits) and ability to move the data to other data centers in different geolocations. As a consequence, verifying whether the cloud data are in a specific geolocation is worthy of concern.In this paper, we propose a novel cloud data public verification scheme, DPVGeo, which allows any entity to verify the actual geolocation of cloud data remotely. In DPVGeo, we first design an atomic proof method, which divides the proof into several minimum computation units (i.e., atomic proof), and subtly only considers the normal operations (i.e., addition and multiplication), ignoring the time-consuming exponentiation operations, to obtain accurate response delay. Second, we utilize a thresholdbased closest-shortest approach to verify the geolocation of cloud data based on the response delay with high accuracy. Besides, we select both blocks and sectors randomly during each challenge to defend against the potential attacks (e.g., outsourcing attack, generation attack and replay attack). Finally, we perform a series of prototype implementations in real network environment to validate the performance of our design. The experimental results and security analysis show that our scheme is efficient and secure against semi-honest cloud service providers.
Dongzheng Jia, Shijie Jia 0001, Jingqiang Lin 0001
ISCC5
2020 PIV4DB: Probabilistic Integrity Verification for Cloud Database
abstract
Many organizations and enterprises use cloud databases to store data to improve management efficiency and save costs. However, cloud service providers may hide the fact that data integrity has been compromised for protecting their business reputation. Thus, how to verify the data integrity of cloud database in an effective way is very important for data owner. Existing integrity verification methods usually require cloud service provider to develop additional interfaces which are hard to be actually deployed. In addition, they cannot effectively detect tampering and deletion of a small amount of data. This paper presents a novel probabilistic integrity verification scheme (called PIV4DB) to address above challenges. Different from traditional methods, PIV4DB efficiently verifies the data integrity of cloud database by randomly selecting part of groups of tuples instead of querying all the tuples. Experimental results demonstrated that with validating 0.5% among 100k groups, PIV4DB could detect the corruption with 99% probability when the integrity of 920 out of billions of tuples are compromised. In addition, PIV4DB does not need extra cooperation with cloud service provider by just adding a new column of random numbers to the database and only using standard SQL statements to verify integrity.
Pingjian Wang, Xiaozhuo Gu, Yuewu Wang, Jingqiang Lin 0001
ISCC5
2020 Extending Registration and Authentication Processes of FIDO2 External Authenticator with QR Codes
abstract
FIDO2, the newest set of FIDO specifications, enables the user to leverage an external authenticator for the authentication in both mobile and desktop environments (referred to as user agent). For the secure registration and authentication, FIDO2 requires the external authenticator and user agent to establish a confidential and mutually authenticated data transport channel through either USB interfaces, Near Field Communication (NFC) or Bluetooth. However, the external authenticator and host may not be equipped with one of the above physical media simultaneously, for example, a desktop may only have USB interfaces while an external authenticator (e.g., a smartphone) may have no USB inferfaces. This affects the wide adoption of FIDO2. In this paper, we extend the registration and authentication processes of FIDO2 external authenticator with QR code, which enables the external authenticator being equipped with a camera to be used for the authentication at any user agent. During the registration process, our scheme requires the user to provide the original credential and a one-time password displayed on the authenticator, and therefore ensures the correct user will only be bound with the expected authenticator. The security of our scheme has been formally analyzed based on the Dolev-Yao style model, a widely adopted model for the analysis of web systems. We have implemented the prototype, and the performance evaluation demonstrated the efficiency of our scheme, which needs 373 ms for registration and 141 ms for authentication in our environment.
Chengqian Guo, Quanwei Cai 0001, Qiongxiao Wang, Jingqiang Lin 0001
TrustCom4
2020 High-Efficiency Min-Entropy Estimation Based on Neural Network for Random Number Generators
abstract
Random number generator (RNG) is a fundamental and important cryptographic element, which has made an outstanding contribution to guaranteeing the network and communication security of cryptographic applications in the Internet age. In reality, if the random number used cannot provide sufficient randomness (unpredictability) as expected, these cryptographic applications are vulnerable to security threats and cause system crashes. Min-entropy is one of the approaches that are usually employed to quantify the unpredictability. The NIST Special Publication 800-90B adopts the concept of min-entropy in the design of its statistical entropy estimation methods, and the predictive model-based estimators added in the second draft of this standard effectively improve the overall capability of the test suite. However, these predictors have problems on limited application scope and high computational complexity, e.g., they have shortfalls in evaluating random numbers with long dependence and multivariate due to the huge time complexity (i.e., high-order polynomial time complexity). Fortunately, there has been increasing attention to using neural networks to model and forecast time series, and random numbers are also a type of time series. In our work, we propose several new and efficient approaches for min-entropy estimation by using neural network technologies and design a novel execution strategy for the proposed entropy estimation to make it applicable to the validation of both stationary and nonstationary sources. Compared with the 90B’s predictors officially published in 2018, the experimental results on various simulated and real-world data sources demonstrate that our predictors have a better performance on the accuracy, scope of applicability, and execution efficiency. The average execution efficiency of our predictors can be up to 10 times higher than that of the 90B’s for 10 6 sample size with different sample spaces. Furthermore, when the sample space is over 2 2 and the sample size is over 10 8 , the 90B’s predictors cannot give estimated results. Instead, our predictors can still provide accurate results. Copyright© 2019 John Wiley & Sons, Ltd.
Tianyu Chen 0016, Shuangyi Zhu, Jing Yang 0032, Jiwu Jing, Jingqiang Lin 0001
Secur. Commun. Networks7
2020 Erratum to "High-Efficiency Min-Entropy Estimation Based on Neural Network for Random Number Generators"
Tianyu Chen 0016, Shuangyi Zhu, Jing Yang 0032, Jiwu Jing, Jingqiang Lin 0001
Secur. Commun. Networks7
2020 On the Analysis and Improvement of Min-Entropy Estimation on Time-Varying Data
abstract
Widely used as fundamental security components in most cryptographic applications, random number generators (RNGs) rely mainly on randomness provided by entropy sources. If the provided randomness is less than expected, RNGs may be compromised and thus impair the security of the whole cryptographic applications. However, the common assumptions (e.g., outputs are independent and identically distributed, i.e., IID) may not always hold. For example, many entropy sources are based on some physical phenomena that are fragile and sensitive to external factors (e.g., temperature), which means the distributions of these entropy sources' outputs are continuously changing. As important tools to measure the quality of entropy sources, existing entropy estimation methods may provide false estimations against these time-varying data, because they cannot detect the changes of data distributions. In this paper, we firstly review and analyze the existing typical entropy estimators including the NIST SP 800-90B (90B for short) estimators and the lately proposed neural network based (NN-based) estimators, especially, their limitations on the aforementioned time-varying data. Second, we propose an entropy estimation framework adopting change detection techniques to address this problem. In contrast to the NN-based estimators, the proposed estimator under this framework employs a change detection method to preprocess the tested data and adds additional distribution features to each data sample, which makes it possible to learn the distribution changes and estimate the entropy more accurately. Finally, we evaluate the performance of our estimator using various kinds of simulated data and real world data, and compare our estimator with the 90B estimators and the NN-based estimators. Extensive evaluations demonstrate that the proposed estimator provides similar or more accurate entropy estimation than the other estimators, especially for time-varying data.
Shuangyi Zhu, Jing Yang 0032, Jingqiang Lin 0001, Jiwu Jing
IEEE Trans. Inf. Forensics Secur.5
2019 TF-BIV: transparent and fine-grained binary integrity verification in the cloud
abstract
With the emergence of virtualization technologies, various services have been migrated to the cloud. Beyond the tenants' own security controls implemented in the virtual machine (VM), the binary integrity verification mechanism in the virtual machine manager (VMM) provides stronger protections against malware. Unfortunately, none of existing integrity verification mechanisms in the cloud provides complete transparency and fine-grained efficiency. Some schemes selectively check the integrity of sensitive binaries, but they require modifications to the VMs (e.g., integrating monitoring libraries) to trigger verification. Others, although need no modification to the VMs, have to enforce checking on all the binaries, because they cannot distinguish binary images for the sensitive processes from the binaries for insensitive ones, leading to significant performance overheads. In this paper, we present TF-BIV, a transparent and fine-grained binary integrity verification scheme, which does not require any modification or software/driver installation in the VM. TF-BIV identifies the sensitive processes at the creation, and checks the integrity of the binaries (including the guest OS kernel and the dependant binaries) related to these processes. The provided transparency and efficiency are achieved by leveraging existing hardware virtualization supports (i.e., Intel extended page table) and debugging features (i.e., monitor trap flag). We have implemented the TF-BIV prototype based on QEMU-KVM. To demonstrate the usability of TF-BIV, we adopted it for cloud-based cryptographic services, to achieve the strict invoking controls. In addition to the password-based authentication, TF-BIV further achieves process-level authorization to the invokers. Intensive evaluation shows that TF-BIV implements the designed binary integrity verification with only about 3.6% performance overhead.
Fangjie Jiang, Quanwei Cai 0001, Jingqiang Lin 0001, Bo Luo, Le Guan, Ziqiang Ma
ACSAC3
2019 Certificate Transparency in the Wild: Exploring the Reliability of Monitors
abstract
To detect fraudulent TLS server certificates and improve the accountability of certification authorities (CAs), certificate transparency (CT) is proposed to record certificates in publicly-visible logs, from which the monitors fetch all certificates and watch for suspicious ones. However, if the monitors, either domain owners themselves or third-party services, fail to return a complete set of certificates issued for a domain of interest, potentially fraudulent certificates may not be detected and then the CT framework becomes less reliable. This paper presents the first systematic study on CT monitors. We analyze the data in 88 public logs and the services of 5 active third-party monitors regarding 3,000,431 certificates of 6,000 selected Alexa Top-1M websites. We find that although CT allows ordinary domain owners to act as monitors, it is impractical for them to perform reliable processing by themselves, due to the rapidly increasing volume of certificates in public logs (e.g., on average 5 million records or 28.29 GB daily for the minimal set of logs that need to be monitored). Moreover, our study discloses that (a) none of the third-party monitors guarantees to return the complete set of certificates for a domain, and (b) for some domains, even the union of the certificates returned by the five third-party monitors can probably be incomplete. As a result, the certificates accepted by CT-enabled browsers are not absolutely visible to the claimed domain owners, even when CT is adopted with well-functioning logs. The risk of invisible fraudulent certificates in public logs raises doubts on the reliability of CT in practice.
Bingyu Li 0003, Jingqiang Lin 0001, Fengjun Li, Qiongxiao Wang, Qi Li 0002, Jiwu Jing, Congli Wang
CCS2
2019 CacheGuard: a security-enhanced directory architecture against continuous attacks
abstract
Modern processor cores share the last-level cache and directory to improve resource utilization. Unfortunately, such sharing makes the cache vulnerable to cross-core cache side channel attacks. Recent studies show that information leakage through cross-core cache side channel attacks is a serious threat in different computing domains ranging from cloud servers and mobile phones to embedded devices. However, previous solutions have limitations of losing performance, lacking golden standards, requiring software support, or being easily bypassed.
Kai Wang 0061, Fengkai Yuan, Rui Hou 0001, Jingqiang Lin 0001, Zhenzhou Ji, Dan Meng 0002
CF4
2019 Elaphurus: Ensemble Defense Against Fraudulent Certificates in TLS
Bingyu Li 0003, Wei Wang 0314, Lingjia Meng, Jingqiang Lin 0001, Xuezhong Liu, Congli Wang
Inscrypt4
2019 Evaluating the Cache Side Channel Attacks Against ECDSA
Ziqiang Ma, Quanwei Cai 0001, Jingqiang Lin 0001, Jiwu Jing, Dingfeng Ye, Lingjia Meng
Inscrypt3
2019 Secure Cryptography Infrastructures in the Cloud
abstract
Information systems are deployed in clouds as virtual machines (VMs) for better agility, elasticity and reliability. It is necessary to safekeep their cryptographic keys, e.g., the private keys used in TLS and SSH, against various attacks. However, existing virtualization solutions do not improve the cryptography facilities of in-cloud systems. This paper presents SECRIN, a secure cryptography infrastructure for VMs in the cloud. SECRIN is composed of a) virtual cryptographic devices implemented in VM monitors (VMMs), and b) a device management tool integrated in the virtualization management system. A virtual device receives requests from VMs, computes with cryptographic keys within the VMM and returns results. The keys appear only in the VMM's memory space, so that they are kept secret even if the VMs were compromised. With the management tool, the operator of virtualization management systems assigns virtual cryptographic devices to a VM as well as other resources, while the tenant (or owner) of a VM still holds proper controls on the keys. The virtual devices work compatibly with live migration, and the cryptographic computations are not interrupted when the VMs are moving from a host to another. We develop the SECRIN prototype with KVM-QEMU and oVirt. Experimental results show that, it works compatibly with existing virtualization solutions, provides reliable cryptographic computing services for applications, and is secure against attacks happening in VMs.
Dawei Chu, Kaijie Zhu, Quanwei Cai 0001, Jingqiang Lin 0001, Fengjun Li, Le Guan, Lingchen Zhang
GLOBECOM4
2019 Secure Multi-receiver Communications: Models, Proofs, and Implementation
Maomao Fu, Xiaozhuo Gu, Wenhao Dai, Jingqiang Lin 0001
ICA3PP (1)4
2019 Analyzing the Browser Security Warnings on HTTPS Errors
abstract
HTTPS provides authentication, data confidentiality, and integrity for secure web applications in the Internet. In order to establish secure connections with the target website but not a man-in-the-middle or impersonation attacker, a browser shows security warnings to users, when different HTTPS errors happen (e.g., it fails to build a valid certificate chain, or the certificate subject does not match the domain visited). Each browser implements its own design of warnings on HTTPS errors, to balance security and usability. This paper presents a list of common HTTPS errors, and we investigate the browser behaviors on each error. Our study discloses browser defects on handling HTTPS errors in terms of cryptographic algorithm, certificate verification, name validation, HPKP, and HSTS.
Congli Wang, Jingqiang Lin 0001, Bingyu Li 0003, Qi Li 0002, Qiongxiao Wang
ICC2
2019 Enforcing Access Control in Distributed Version Control Systems
abstract
Version control systems (VCS), including central VCS (CVCS) and distributed VCS (DVCS), are widely adopted to manage the changes to various types of data. Unlike the CVCS where all the entities obtain the data from the server and the access control is enforced with the cooperation of the server, each entity in the DVCS stores the entire repository, obtains the repository shared by any entity and is free to share its own repository. Therefore, existing access control schemes for CVCS are not suitable for DVCS. In this paper, we present a distributed access control scheme (Disac) for DVCS. Disac makes each entity have the whole control on its data, while the access control is enforced at each entity independently. We adopt Attribute-based Encryption (ABE) and Attribute-based Signature (ABS) to achieve the read and write permission control. The analysis of the Git client demonstrates that Disac is easy to be integrated.
Quanwei Cai 0001, Jingqiang Lin 0001, Shiran Pan, Liangqin Ren
ICME3
2019 VoteGeo: An IoT-based Voting Approach to Verify the Geographic Location of Cloud Hosts
abstract
We propose VoteGeo, an IoT-based voting approach, to verify the geographic location of the cloud hosts in moderately connected networks, where the correlation between the network delay and the distance is weak. We motive our work by showing that: 1) existing solutions, based on end-to-end delay measurement from a group of landmarks with known locations, are only workable when the relationship between the delay and the distance is strong, and 2) such landmark-based schemes are limited by landmark distribution and deployment costs. In our scheme, to enhance the verification accuracy, we develop a vote-based closest-shortest approach to determine the location of the target cloud host, which utilizes the adjacent landmarks with the shortest delays. In order to reduce deployment costs, we adopt random IoT devices (i.e., IP cameras) as landmarks, which are widely distributed and considerable. To reduce the measurement cost, we design a two-level probing method to determine the geographic location of the target cloud hosts step by step, eventually to the city-level. We introduce a delay threshold method, which does not rely on the IP address of the target cloud hosts, to defend against the middlebox-bypass attacks and the delay attacks (i.e., delay-shortening attacks and delay-adding attacks). The evaluation results show that VoteGeo outperforms existing schemes such as GeoGet [1] and CBG [2].
Dongzheng Jia, Shijie Jia 0001, Jingqiang Lin 0001
IPCCC4
2019 Ticket Transparency: Accountable Single Sign-On with Privacy-Preserving Public Logs
Dawei Chu, Jingqiang Lin 0001, Fengjun Li, Qiongxiao Wang, Guangqi Liu
SecureComm (1)2
2019 On the Security of TRNGs Based on Multiple Ring Oscillators
Jing Yang 0032, Tianyu Chen 0016, Jingqiang Lin 0001
SecureComm (2)5
2019 Protecting mobile devices from physical memory attacks with targeted encryption
abstract
Sensitive data in a process could be scattered over the memory of a computer system for a prolonged period of time. Unfortunately, DRAM chips were proven insecure in previous studies. The problem becomes worse in the mobile environment, in which users' smartphones are easily lost or stolen. The powered-on phones may contain sensitive data in the vulnerable DRAM chips. In this paper, we propose MemVault, a mechanism to protect sensitive data in Android devices against physical memory attacks. MemVault keeps track of the propagation of well-marked sensitive data sources, and selectively encrypts tainted sensitive memory contents in the DRAM chip. When a tainted object is accessed, MemVault redirects the access to the internal RAM (iRAM), where the cipher-text object is decrypted transparently. iRAM is a system-on-chip (SoC) component which is by nature immune to physical memory exploits. We have implemented a MemVault prototype system, and have evaluated it with extensive experiments. Our results validate that MemVault effectively eliminates the occurrences of clear-text sensitive objects in DRAM chips, and imposes acceptable overheads.
Le Guan, Chen Cao 0004, Sencun Zhu, Jingqiang Lin 0001, Peng Liu 0005, Yubin Xia, Bo Luo
WiSec4
2019 Towards the optimal performance of integrating Warm and Delay against remote cache timing side channels on block ciphers
abstract
Cache timing side channels allow a remote attacker to disclose the cryptographic keys, by repeatedly invoking the encryption/decryption functions and measuring the execution time. Warm and Delay are two algorithm-independent and implementation-transparent countermeasures against remote cache-based timing side channels for block ciphers. They destroy the relationship between the execution time and the cache misses/hits which are determined by the secret key, but bring remarkable performance overhead. In this paper, we investigate the performance of cryptographic functions protected by Warm and Delay, and attempt to find the best strategy to integrate these two countermeasures with the optimal performance while effectively eliminate remote cache timing side channels for block ciphers implementations with lookup tables. To the best of our knowledge, this work is the first to systematically analyze the performance of integrating Warm and Delay against cache side channels.We derive the optimal scheme to integrate Warm and Delay, and apply it to AES. It is proven that the integration scheme achieves the optimal performance with the least extra operations on commodity systems. Finally, we implement it on Linux with Intel CPUs. Experimental results confirm that, ( a) the execution time does not leak information on cache access, ( b) the scheme outperforms other integration strategies of Warm and Delay, and ( c) the implementation works without any privileged operations on the computer.
Ziqiang Ma, Quanwei Cai 0001, Jingqiang Lin 0001, Bo Luo, Jiwu Jing
J. Comput. Secur.3
2019 Entropy Estimation for ADC Sampling-Based True Random Number Generators
abstract
True random number generators (TRNGs) are widely used in cryptographic systems, and their security is the base of many cryptographic algorithms and protocols. At present, entropy estimation based on a stochastic model is a well-recommended approach to evaluate the security of a specific TRNG structure. Besides, the generation speed is also an important property for TRNGs. For this purpose, an analog-to-digital converter (ADC) can be employed to sample the noisy signal to achieve high bit rate. However, no research focuses on the entropy estimation on the basis of the stochastic model toward ADC sampling. In this paper, we propose an entropy estimation for the ADC sampling-based TRNG through extending an existing model. In particular, we present an equivalent model to estimate the entropy of any single bit in the converted sample obtained by the ADC sampling. Furthermore, we propose a method of the entropy estimation for the multi-bit ADC output, which provides the lower bound of the entropy. By conducting simulations and hardware experiments on this type of TRNG, we confirm the correctness of the proposed entropy estimation theory. The prototype chip is fabricated in the SMIC 65-nm process, and the consumed power is 34 mW. The random bit sequences compatible with the AIS 31 standard are generated at a speed of 132.3 Mb/s. The sequences are able to pass the rigorous statistical test suites, including NIST SP 800-22, Diehard, and TestU01 (containing the Big Crush test), after simple post-processing at a bit rate of around 33 Mb/s.
Tianyu Chen 0016, Jingqiang Lin 0001, Jing Yang 0032, Jiwu Jing
IEEE Trans. Inf. Forensics Secur.3
2018 Chord: Thwarting Relay Attacks Among Near Field Communications
Yafei Ji, Luning Xia, Jingqiang Lin 0001, Qiongxiao Wang, Lingguang Lei
Inscrypt3
2018 PoS: Constructing Practical and Efficient Public Key Cryptosystems Based on Symmetric Cryptography with SGX
Huorong Li, Jingqiang Lin 0001, Bingyu Li 0003, Wangzhao Cheng
ICICS2
2018 Utilizing GPU Virtualization to Protect the Private Keys of GPU Cryptographic Computation
Fangyu Zheng, Jingqiang Lin 0001, Jiankuo Dong
ICICS3
2018 sDPF-RSA: Utilizing Floating-point Computing Power of GPUs for Massive Digital Signature Computations
abstract
In financial, electronic and other security-sensitive industries, data centers require various protocols and algorithms to secure massive volumes of transactions. It is well known that digital signature is a computationally expensive task and a potential bottleneck that can restrict overall performance. In this paper, we make the following contributions. First, we propose a novel method called sDPF-RSA to accelerate the core algorithm of RSA, Montgomery multiplication, for Graphics Processing Units (GPUs). The sDPF approach takes advantage of the sign bit to increase the amount of information processed with each double precision floating point value and considerably improves performance. Second, we have comprehensively reviewed and tested the algorithms to ensure they all run in constant time. In particular we improve the standard carry resolution algorithm, introducing two constant time parallel techniques. We thus minimize the potential for timing attacks against GPU based RSA crypto-systems. Finally, we propose a full implementation of RSA, optimized for our GPU-accelerated computing platform to maximize its computing power. With protection against timing attacks, the throughputs of RSA-2048/3072/4096 on an NVIDIA GeForce GTX TITAN Black set a record of 52,747/15,179/6,435 (for signature generation) and 1,237,694/584,083/354,139 (for signature verification with public key 65,537) operations per second with modest latency, outperforming the contemporaneous CPU and many-core processor Xeon Phi by 3.9-11 times.
Jiankuo Dong, Fangyu Zheng, Niall Emmart, Jingqiang Lin 0001, Charles C. Weems
IPDPS4
2018 Enforcing Access Controls for the Cryptographic Cloud Service Invocation Based on Virtual Machine Introspection
Fangjie Jiang, Quanwei Cai 0001, Le Guan, Jingqiang Lin 0001
ISC4
2018 CryptMe: Data Leakage Prevention for Unmodified Programs on ARM Devices
Chen Cao 0004, Le Guan, Ning Zhang 0017, Neng Gao, Jingqiang Lin 0001, Bo Luo, Peng Liu 0005, Ji Xiang, Wenjing Lou
RAID5
2018 Building Your Private Cloud Storage on Public Cloud Service Using Embedded GPUs
Wangzhao Cheng, Fangyu Zheng, Wuqiong Pan, Jingqiang Lin 0001, Huorong Li, Bingyu Li 0003
SecureComm (1)4
2018 Neural Network Based Min-entropy Estimation for Random Number Generators
Jing Yang 0032, Shuangyi Zhu, Tianyu Chen 0016, Jingqiang Lin 0001
SecureComm (2)6
2018 Copker: A Cryptographic Engine Against Cold-Boot Attacks
abstract
Cryptosystems are essential for computer and communication security, e.g., RSA or ECDSA in PGP Email clients and AES in full disk encryption. In practice, the cryptographic keys are loaded and stored in RAM as plain-text, and therefore vulnerable to cold-boot attacks exploiting the remanence effect of RAM chips to directly read memory data. To tackle this problem, we propose Copker, a cryptographic engine that implements asymmetric cryptosystems entirely within the CPU, without storing any plain-text sensitive data in RAM. Copker supports the popular asymmetric cryptosystems (i.e., RSA and ECDSA), and deterministic random bit generators (DRBGs) used in ECDSA signing. In its active mode, Copker stores kilobytes of sensitive data, including the private key, the DRBG seed and intermediate states, only in on-chip CPU caches (and registers). Decryption/signing operations are performed without storing any sensitive information in RAM. In the suspend mode, Copker stores symmetrically-encrypted private keys and DRBG seeds in memory, while employs existing solutions to keep the key-encryption key securely in CPU registers. Hence, Copker releases the system resources in the suspend mode. We implement Copker with the support of multiple private keys. With security analyses and intensive experiments, we demonstrate that Copker provides cryptographic services that are secure against cold-boot attacks and introduce reasonable overhead.
Le Guan, Jingqiang Lin 0001, Ziqiang Ma, Bo Luo, Luning Xia, Jiwu Jing
IEEE Trans. Dependable Secur. Comput.2
2017 Supporting Transparent Snapshot for Bare-metal Malware Analysis on Mobile Devices
abstract
The increasing growth of cybercrimes targeting mobile devices urges an efficient malware analysis platform. With the emergence of evasive malware, which is capable of detecting that it is being analyzed in virtualized environments, bare-metal analysis has become the definitive resort. Existing works mainly focus on extracting the malicious behaviors exposed during bare-metal analysis. However, after malware analysis, it is equally important to quickly restore the system to a clean state to examine the next sample. Unfortunately, state-of-the-art solutions on mobile platforms can only restore the disk, and require a time-consuming system reboot. In addition, all of the existing works require some in-guest components to assist the restoration. Therefore, a kernel-level malware is still able to detect the presence of the in-guest components.
Le Guan, Shijie Jia 0001, Bo Chen 0028, Fengwei Zhang, Bo Luo, Jingqiang Lin 0001, Peng Liu 0005, Xinyu Xing 0001, Luning Xia
ACSAC6
2017 On the Entropy of Oscillator-Based True Random Number Generators
Jingqiang Lin 0001, Jiwu Jing
CT-RSA2
2017 High-Performance Symmetric Cryptography Server with GPU Acceleration
Wangzhao Cheng, Fangyu Zheng, Wuqiong Pan, Jingqiang Lin 0001, Huorong Li, Bingyu Li 0003
ICICS4
2017 SSUKey: A CPU-Based Solution Protecting Private Keys on Untrusted OS
Huorong Li, Wuqiong Pan, Jingqiang Lin 0001, Wangzhao Cheng, Bingyu Li 0003
ICICS3
2017 A-Tor: Accountable Anonymity in Tor
Quanwei Cai 0001, Jonathan Lutes, Jingqiang Lin 0001, Bo Luo
SecureComm3
2017 Cyber-Physical Systems Security - A Survey
abstract
With the exponential growth of cyber-physical systems (CPSs), new security challenges have emerged. Various vulnerabilities, threats, attacks, and controls have been introduced for the new generation of CPS. However, there lacks a systematic review of the CPS security literature. In particular, the heterogeneity of CPS components and the diversity of CPS systems have made it difficult to study the problem with one generalized model. In this paper, we study and systematize existing research on CPS security under a unified framework. The framework consists of three orthogonal coordinates: 1) from the security perspective, we follow the well-known taxonomy of threats, vulnerabilities, attacks and controls; 2) from the CPS components perspective, we focus on cyber, physical, and cyberphysical components; and 3) from the CPS systems perspective, we explore general CPS features as well as representative systems (e.g., smart grids, medical CPS, and smart cars). The model can be both abstract to show general interactions of components in a CPS application, and specific to capture any details when needed. By doing so, we aim to build a model that is abstract enough to be applicable to various heterogeneous CPS applications; and to gain a modular view of the tightly coupled CPS components. Such abstract decoupling makes it possible to gain a systematic understanding of CPS security, and to highlight the potential sources of attacks and ways of protection. With this intensive literature review, we attempt to summarize the state-of-the-art on CPS security, provide researchers with a comprehensive list of references, and also encourage the audience to further explore this emerging field.
Abdulmalik Humayed 0001, Jingqiang Lin 0001, Fengjun Li, Bo Luo
IEEE Internet Things J.2
2017 Utilizing the Double-Precision Floating-Point Computing Power of GPUs for RSA Acceleration
abstract
Asymmetric cryptographic algorithm (e.g., RSA and Elliptic Curve Cryptography) implementations on Graphics Processing Units (GPUs) have been researched for over a decade. The basic idea of most previous contributions is exploiting the highly parallel GPU architecture and porting the integer-based algorithms from general-purpose CPUs to GPUs, to offer high performance. However, the great potential cryptographic computing power of GPUs, especially by the more powerful floating-point instructions, has not been comprehensively investigated in fact. In this paper, we fully exploit the floating-point computing power of GPUs, by various designs, including the floating-point-based Montgomery multiplication/exponentiation algorithm and Chinese Remainder Theorem (CRT) implementation in GPU. And for practical usage of the proposed algorithm, a new method is performed to convert the input/output between octet strings and floating-point numbers, fully utilizing GPUs and further promoting the overall performance by about 5%. The performance of RSA-2048/3072/4096 decryption on NVIDIA GeForce GTX TITAN reaches 42,211/12,151/5,790 operations per second, respectively, which achieves 13 times the performance of the previous fastest floating-point-based implementation (published in Eurocrypt 2009). The RSA-4096 decryption precedes the existing fastest integer-based result by 23%.
Jiankuo Dong, Fangyu Zheng, Wuqiong Pan, Jingqiang Lin 0001, Jiwu Jing, Yuan Zhao 0015
Secur. Commun. Networks4
2016 More Powerful and Reliable Second-Level Statistical Randomness Tests for NIST SP 800-22
Shuangyi Zhu, Jingqiang Lin 0001, Jia Zhuang, Jiwu Jing
ASIACRYPT (1)3
2016 Towards Efficient Re-encryption for Secure Client-Side Deduplication in Public Clouds
Quanwei Cai 0001, Bo Chen 0028, Jingqiang Lin 0001
ICICS4
2016 Low-Cost Hardware Implementation of Elliptic Curve Cryptography for General Prime Fields
Zongbin Liu, Chenyang Tu, Jingqiang Lin 0001
ICICS5
2016 PhiRSA: Exploiting the Computing Power of Vector Instructions on Intel Xeon Phi for RSA
Yuan Zhao 0015, Wuqiong Pan, Jingqiang Lin 0001, Peng Liu 0005, Fangyu Zheng
SAC3
2016 RegRSA: Using Registers as Buffers to Resist Memory Disclosure Attacks
Yuan Zhao 0015, Jingqiang Lin 0001, Wuqiong Pan, Fangyu Zheng, Ziqiang Ma
SEC2
2016 Extracting More Entropy for TRNGs Based on Coherent Sampling
Jing Yang 0032, Tianyu Chen 0016, Jingqiang Lin 0001, Jiwu Jing
SecureComm4
2016 Generating Correlated Digital Certificates: Framework and Applications
abstract
Bolstering public key authentication of networking entities, digital certificates are an entrenched part of Internet security. A digital certificate is an electronic document signed by a certificate authority (CA), vouching that the identified subject owns the declared public key (and the corresponding private key). In general, CAs are also responsible for certificate revocation as well as reissue, and certificates by nature are considered independent of each other. In this paper, we address the problem of certificate management and propose a flexible framework to create correlated certificates. We then apply it to implement the so-called multi-certificate public key infrastructure, which supports user self services, such as certificates' spontaneous substitution as well as self-reissue after self-revocation. To the best of our knowledge, this is the first scheme for certificate users to achieve self-reissue. Another application of the proposed framework is the so-called anonymous digital certificate, which still binds a user's identity to her public key, but in an anonymous yet user-controllable manner. That is, a user can reveal her identity-key binding only to her specified communication peers, while remaining anonymous to the general public, achieving privacy as these certificates are generally unlinkable.
Wen Tao Zhu, Jingqiang Lin 0001
IEEE Trans. Inf. Forensics Secur.2
2015 LightCore: Lightweight Collaborative Editing Cloud Services for Sensitive Data
Weiyu Jiang, Jingqiang Lin 0001, Huorong Li, Lei Wang 0135
ACNS2
2015 An Efficiency Optimization Scheme for the On-the-Fly Statistical Randomness Test
abstract
The randomness of random number generators (RNGs) significantly influences the security of cryptographic systems. Although RNGs are allowed to adopt in practical systems only after strict analysis and security evaluation, the randomness of generated sequences may degrade due to aging effects of electronic devices, change of temperature and humidity, or even malicious attacks. Therefore, before the generated sequence being used (as a secret key or any other critical cryptography parameter), it is necessary to execute the on-the-fly statistical randomness test (on-the-fly test) on the candidate sequence to ensure the security. On-the-fly test should be finished efficiently; otherwise, it would impact the cryptographic systems' performance. In this paper, we propose a scheme to optimize the efficiency of randomness test suites, that is, provide an optimized order of the tests in the test suite, so that an unqualified sequence can be rejected as early as possible. We apply this optimization scheme on the NIST test suite (SP 800-22) [1] as an instance. Experimental results of 128- and 256- bit sequence, demonstrate that the optimized efficiency approximates to the theoretical optimum and the scheme can be quickly implemented.
Tianyu Chen 0016, Jingqiang Lin 0001, Jiwu Jing
CSCloud3
2015 vBox: Proactively Establishing Secure Channels Between Wireless Devices Without Prior Knowledge
Wei Wang 0314, Jingqiang Lin 0001, Luning Xia
ESORICS (2)2
2015 Chameleon: A Lightweight Method for Thwarting Relay Attacks in Near Field Communication
Yafei Ji, Luning Xia, Jingqiang Lin 0001, Guozhu Zhang, Shijie Jia 0001
ICICS3
2015 Extracting Robust Keys from NAND Flash Physical Unclonable Functions
Shijie Jia 0001, Luning Xia, Jingqiang Lin 0001, Guozhu Zhang, Yafei Ji
ISC4
2015 Protecting Private Keys against Memory Disclosure Attacks Using Hardware Transactional Memory
abstract
Cryptography plays an important role in computer and communication security. In practical implementations of cryptosystems, the cryptographic keys are usually loaded into the memory as plaintext, and then used in the cryptographic algorithms. Therefore, the private keys are subject to memory disclosure attacks that read unauthorized data from RAM. Such attacks could be performed through software methods (e.g., Open SSL Heart bleed) even when the integrity of the victim system's executable binaries is maintained. They could also be performed through physical methods (e.g., Cold-boot attacks on RAM chips) even when the system is free of software vulnerabilities. In this paper, we propose Mimosa that protects RSA private keys against the above software-based and physical memory attacks. When the Mimosa service is in idle, private keys are encrypted and reside in memory as cipher text. During the cryptographic computing, Mimosa uses hardware transactional memory (HTM) to ensure that (a) whenever a malicious process other than Mimosa attempts to read the plaintext private key, the transaction aborts and all sensitive data are automatically cleared with hardware mechanisms, due to the strong atomicity guarantee of HTM, and (b) all sensitive data, including private keys and intermediate states, appear as plaintext only within CPU-bound caches, and are never loaded to RAM chips. To the best of our knowledge, Mimosa is the first solution to use transactional memory to protect sensitive data against memory disclosure attacks. We have implemented Mimosa on a commodity machine with Intel Core i7 Haswell CPUs. Through extensive experiments, we show that Mimosa effectively protects cryptographic keys against various attacks that attempt to read sensitive data from memory, and it only introduces a small performance overhead.
Le Guan, Jingqiang Lin 0001, Bo Luo, Jiwu Jing
IEEE Symposium on Security and Privacy2
2015 RIKE+ : using revocable identities to support key escrow in public key infrastructures with flexibility
abstract
Public key infrastructures (PKIs) are proposed to provide various security services. Some security services such as confidentiality require key escrow in certain scenarios, whereas some others such as non‐repudiation and authentication usually prohibit key escrow. Moreover, these two conflicting requirements can coexist for one PKI user. The popular solution in which each user has two different certificates and an escrow authority backs up all escrowed private keys faces the problems of efficiency and scalability. In this study, a novel key management infrastructure called RIKE + is proposed to integrate the ‘inherent key escrow’ of identity‐based encryption (IBE) into PKIs. In RIKE+, (the hash value of) a user's PKI certificate also serves as a ‘revocable identity’ to derive the user's IBE public key, and the revocation of this IBE key pair is achieved by the certificate revocation of PKIs. Therefore the certificate binds the user with two key pairs, one of which is escrowed inherently and the other is not. Furthermore, RIKE+ employs chameleon hash to flexibly control the relationship between the certificate and the IBE key pair. In the case of certificate renewal and revocation, chameleon hash enables RIKE+ to manipulate the hash value of the new certificate, so the user's IBE key pair is not unconditionally changed unless it is necessary. RIKE+ is an effective certificate‐based solution compatible with traditional PKIs and can be built on existing X.509 PKIs.
Jingqiang Lin 0001, Wen Tao Zhu, Qiongxiao Wang, Jiwu Jing, Neng Gao
IET Inf. Secur.1
2015 HyXAC: Hybrid XML Access Control Integrating View-Based and Query-Rewriting Approaches
abstract
With the increasing usage of XML on information sharing over the Internet, a mechanism for defining and enforcing XML access control is demanded, such that only authorized entities can access the sets of XML data that they are allowed to. The research interests in these areas have grown significantly in recent years. Various access control enforcement solutions have been proposed, each with its inherent advantages and disadvantages. Yet, there is still no solution that can provide superior performance in all situations. In this paper, we present HyXAC, a hybrid approach to enforce XML access control. HyXAC integrates the two most popular categories of XML access control enforcement mechanisms, and earns the benefits from both. In particular, HyXAC first preprocesses user queries by rewriting queries and removing parts violating access control rules, and evaluates the re-written queries using subviews, if they are available. In HyXAC, views are not defined on a per-role basis. Instead, a sub-view is defined for each access control rule, and roles sharing identical rules will share sub-views. Moreover, HyXAC dynamically allocates memory and secondary storage resources to materialize and cache sub-views to improve query performance. We have conducted extensive experiments, and the results show that HyXAC improves query processing efficiency while optimizes the use of system resources.
Manogna Thimma, Jingqiang Lin 0001, Bo Luo
IEEE Trans. Knowl. Data Eng.3
2014 Entropy Evaluation for Oscillator-Based True Random Number Generators
Jingqiang Lin 0001, Tianyu Chen 0016, Changwei Xu, Zongbin Liu, Jiwu Jing
CHES2
2014 SEDB: Building Secure Database Services for Sensitive Data
Quanwei Cai 0001, Jingqiang Lin 0001, Fengjun Li, Qiongxiao Wang
ICICS2
2014 Exploiting the Floating-Point Computing Power of GPUs for RSA
Fangyu Zheng, Wuqiong Pan, Jingqiang Lin 0001, Jiwu Jing, Yuan Zhao 0015
ISC3
2014 Copker: Computing with Private Keys without RAM
Le Guan, Jingqiang Lin 0001, Bo Luo, Jiwu Jing
NDSS2
2014 EFS: Efficient and Fault-Scalable Byzantine Fault Tolerant Systems Against Faulty Clients
Quanwei Cai 0001, Jingqiang Lin 0001, Fengjun Li, Qiongxiao Wang, Daren Zha
SecureComm (1)2
2013 Impossibility of finding any third family of server protocols integrating Byzantine quorum systems with threshold signature schemes
abstract
ABSTRACT To tolerate servers' Byzantine failures, a distributed storage service of self‐verifying data needs to make three security properties be Byzantine fault tolerant (BFT): data consistency, data availability, and confidentiality of the signing service's private key. Building such systems demands the integration of Byzantine quorum systems (BQSs), which only make data consistency and availability be BFT, and threshold signature schemes (TSSs), which only make confidentiality of the private key be BFT. Two families ofvalidTSS‐BQS systems (of which the server protocols carry all the design options) have been proposed in the literature. Motivated by the failures in finding a third family of valid server protocols, we study the reverse problem and formally prove that it isimpossibleto find any third family of valid TSS‐BQS systems. To obtain this proof, we develop avalidity theoryon server protocols of TSS‐BQS systems. It is shown that the only two families of valid server protocols, “predicted” (or deduced) by the validity theory, precisely match the existing protocols. Copyright © 2012 John Wiley & Sons, Ltd.
Jingqiang Lin 0001, Peng Liu 0005, Jiwu Jing, Qiongxiao Wang
Secur. Commun. Networks1
2012 RIKE: Using Revocable Identities to Support Key Escrow in PKIs
Jingqiang Lin 0001, Jiwu Jing, Neng Gao
ACNS2
2012 Hardware Performance Optimization and Evaluation of SM3 Hash Algorithm on FPGA
Luning Xia, Jingqiang Lin 0001, Jiwu Jing, Zongbin Liu, Xingjie Yu
ICICS3
2012 GRADE: Graceful Degradation in Byzantine Quorum Systems
abstract
Distributed storage systems are expected to provide correct services in the presence of Byzantine failures, which do not have any assumptions about the behavior of faulty servers and clients. In designing such systems, we often encounter the paradox of fault tolerance vs. performance (or efficiency), because better fault tolerance usually requires a tradeoff of system performance. In this paper, we present GRADE, a Byzantine-fault-tolerant (BFT) distributed storage system that enables graceful degradation. Two Byzantine quorum systems (BQSs) are supported on each GRADE server: a masking BQS storing generic data and a dissemination BQS storing self-verifying ones. Based on the system status and the environment, servers dynamically and seamlessly switch between two BQSs, without converting the stored data. Therefore, GRADE provides high performance in a normal running-state, and degrades performance to maintain high fault tolerance in emergency situations. The computation and communication costs of the running-state switch are very low, and the switch is completely transparent to clients. Our performance analysis and experimental results demonstrate that GRADE provides a balance between performance and fault tolerance.
Jingqiang Lin 0001, Bo Luo, Jiwu Jing
SRDS1
2012 Efficient Missing Tag Detection in a Large RFID System
abstract
Missing tag detection is an important problem for large RFID application systems (e.g., inventory control), and is drawing more and more attention from the research community in recent years. Li et al. proposed the Iterative ID-free Protocol (IIP) to identify the missing tags in a large RFID system, achieving high time efficiency. However, our analysis and experiments show that the time efficiency of IIP drops sharply when the missing rate increases. By exploiting information contained in the expected singleton slots, we propose IIPS to improve IIP, achieving high and steady time efficiency under both high and low missing rates. Furthermore, by identifying the missing tags in the expected collision slots and dynamically computing the missing rate through estimation of the present tags and statistics about the missing tags, we propose IIPS-CP and IIPS-CM, achieving higher time efficiency than IIPS under high missing rates. Our simulations show that, compared with IIP, when the number of total tags is 10000 and the missing rate is 80%, IIPS, IIPS-CP and IIPS-CM reduce the average time for identifying each tag by 84.8%, 88.9% and 89.3%, respectively.
Cunqing Ma, Jingqiang Lin 0001, Yuewu Wang
TrustCom2
2012 Offline RFID Grouping Proofs with Trusted Timestamps
abstract
With the wide deployment of RFID applications, RFID security issues are drawing more and more attention. The RFID grouping proof aims to provide a verifiable evidence that two or more RFID tags were scanned simultaneously. It extends the yoking proof for two RFID tags, to prove the coexistence of a set of tags (e.g., some drugs can only be sold in the existence of a prescription). In many grouping proof scenarios, the time when the grouping proof was generated is critical to judge whether a transaction is legal or not, and the protocol usually should work in offline mode. Although lots of grouping proof protocols with various features have been proposed, they either work in online mode or have difficulties in generating a grouping proof with the precise transaction time in offline mode. Therefore, we propose a protocol to generate offline RFID grouping proofs with trusted timestamps, where the verifier can obtain the precise transaction time. As far as we know, it is the first practical offline grouping proof protocol that includes the precise transaction time. Properties, performance evaluation and security analysis of our design are also presented in this paper.
Cunqing Ma, Jingqiang Lin 0001, Yuewu Wang, Ming Shang
TrustCom2
2011 An Efficient Group-Based Secret Sharing Scheme
Chunli Lv, Xiaoqi Jia, Jingqiang Lin 0001, Jiwu Jing, Lijun Tian
ISPEC3
2010 Proactive Identification and Prevention of Unexpected Future Rule Conflicts in Attribute Based Access Control
Daren Zha, Jiwu Jing, Peng Liu 0005, Jingqiang Lin 0001, Xiaoqi Jia
ICCSA (4)4
2010 Impossibility of Finding Any Third Family of Server Protocols Integrating Byzantine Quorum Systems with Threshold Signature Schemes
Jingqiang Lin 0001, Peng Liu 0005, Jiwu Jing, Qiongxiao Wang
SecureComm1
2007 Framework for Intrusion Tolerant Certification Authority System Evaluation
abstract
Various intrusion tolerant certification authority (CA) systems have been recently proposed to provide attack resistant certificate update/query services. However, it is difficult to compare them against each other directly due to diversity in system organizations, threshold cryptography schemes, protocols and usage scenarios. We present a framework for intrusion tolerant CA system evaluation, which consists of three components, namely, an intrusion tolerant CA model, a threat model and a metric for comparative evaluation. The framework covers system organizations, protocols, usage scenarios, period of certificate validity, revocation rate and mean time to recovery (MTTR). Based on the framework, four representative CA systems are evaluated and compared in three typical usage scenarios, producing reasonable and insightful results. The inter-dependency between usage scenarios and system characteristics is investigated, providing a guideline to design better systems for different usage scenarios. The proposed framework provides an effective method to evaluate intrusion tolerant CA systems quantitatively. Moreover, the comparison results offer valuable insights to further improve the attack resilience of intrusion tolerant CA systems.
Jingqiang Lin 0001, Jiwu Jing, Peng Liu 0005
SRDS1