K. Liang
Please Note
64 records found
1
SNIPping Off the Backdoor
Defending Against Pruning-Conditional Backdoors
In this thesis, we investigate PCBs and show that they exploit a behavioral gap between the dense model and its pruned counterpart. Based on this insight, we propose SNIP (Safe Network Inference after Pruning), a pruning-aware mitigation method against PCBs. SNIP uses a small clean calibration set and the intended pruning configuration to align post-pruning behavior with the benign pre-pruning predictions of the dense model. The repair is performed through a two-stage procedure that combines clean-label supervision with pruning-aware self-distillation.
Experiments across multiple image-classification datasets and convolutional architectures show that SNIP achieves a stronger security–utility trade-off than representative existing backdoor mitigation defenses, reducing attack success rate by 94.98 percentage points with a 5.56 percentage-point decrease in clean accuracy at a 30% pruning ratio. These results highlight the need to consider deployment transformations that may activate dormant malicious behavior when designing backdoor defenses. ...
In this thesis, we investigate PCBs and show that they exploit a behavioral gap between the dense model and its pruned counterpart. Based on this insight, we propose SNIP (Safe Network Inference after Pruning), a pruning-aware mitigation method against PCBs. SNIP uses a small clean calibration set and the intended pruning configuration to align post-pruning behavior with the benign pre-pruning predictions of the dense model. The repair is performed through a two-stage procedure that combines clean-label supervision with pruning-aware self-distillation.
Experiments across multiple image-classification datasets and convolutional architectures show that SNIP achieves a stronger security–utility trade-off than representative existing backdoor mitigation defenses, reducing attack success rate by 94.98 percentage points with a 5.56 percentage-point decrease in clean accuracy at a 30% pruning ratio. These results highlight the need to consider deployment transformations that may activate dormant malicious behavior when designing backdoor defenses.
This thesis presents a neuro-symbolic framework for real-time multi-step attack detection based on DeepProbLog. The proposed approach combines neural attack-step classification with symbolic temporal reasoning, integrating knowledge of attack progression directly into the learning and inference process. By enforcing temporal constraints, the system aims to improve both attack-step detection and the consistency of predicted attack progressions.
The proposed approach is evaluated on two multi-step attack datasets: DARPA 2000 and AIT-LDS V2. Experimental results show that incorporating symbolic knowledge consistently improves detection performance compared to neural and symbolic baselines. In particular, the neuro-symbolic models achieve higher macro F1-scores, lower false alarm rates, and more temporally consistent predictions. The results further indicate that symbolic constraints improve data efficiency and generalization while maintaining low inference latency.
Overall, this thesis demonstrates that integrating symbolic knowledge of attack progression into neural intrusion detection models provides an effective framework for multi-step attack detection, supporting accurate and timely identification of attacks across multiple stages. ...
This thesis presents a neuro-symbolic framework for real-time multi-step attack detection based on DeepProbLog. The proposed approach combines neural attack-step classification with symbolic temporal reasoning, integrating knowledge of attack progression directly into the learning and inference process. By enforcing temporal constraints, the system aims to improve both attack-step detection and the consistency of predicted attack progressions.
The proposed approach is evaluated on two multi-step attack datasets: DARPA 2000 and AIT-LDS V2. Experimental results show that incorporating symbolic knowledge consistently improves detection performance compared to neural and symbolic baselines. In particular, the neuro-symbolic models achieve higher macro F1-scores, lower false alarm rates, and more temporally consistent predictions. The results further indicate that symbolic constraints improve data efficiency and generalization while maintaining low inference latency.
Overall, this thesis demonstrates that integrating symbolic knowledge of attack progression into neural intrusion detection models provides an effective framework for multi-step attack detection, supporting accurate and timely identification of attacks across multiple stages.
This thesis designs and evaluates a context-aware orchestration framework for LLM-supported vulnerability prioritization. The framework separates deterministic enterprise-data retrieval from LLM-based synthesis. For each analyst query, predefined workflows retrieve and join relevant vulnerability, asset, ownership, exposure, and compliance records, prune unnecessary metadata, and validate the generated output before presenting it as analyst-facing decision support.
The framework was evaluated against an autonomous-agent baseline in a controlled offline proof-of-concept environment using an approved static production-derived CSV snapshot from selected operational security systems. The benchmark covered 14 questions across three vulnerability-management use cases: contextual asset triage, risk justification, and remediation guidance. The parametric framework achieved a mean weighted accuracy of 98.4%, compared with 90.0% for the autonomous baseline, with the largest difference in contextual asset triage. It also consumed fewer tokens and showed less degradation under stochastic workflow noise.
The results suggest that constrained, context-aware orchestration can improve grounding, traceability, robustness, and operational efficiency for structured vulnerability-prioritization tasks. The findings should be interpreted as proof-of-concept evidence for the selected benchmark, not as evidence of production-scale deployment performance.
...
This thesis designs and evaluates a context-aware orchestration framework for LLM-supported vulnerability prioritization. The framework separates deterministic enterprise-data retrieval from LLM-based synthesis. For each analyst query, predefined workflows retrieve and join relevant vulnerability, asset, ownership, exposure, and compliance records, prune unnecessary metadata, and validate the generated output before presenting it as analyst-facing decision support.
The framework was evaluated against an autonomous-agent baseline in a controlled offline proof-of-concept environment using an approved static production-derived CSV snapshot from selected operational security systems. The benchmark covered 14 questions across three vulnerability-management use cases: contextual asset triage, risk justification, and remediation guidance. The parametric framework achieved a mean weighted accuracy of 98.4%, compared with 90.0% for the autonomous baseline, with the largest difference in contextual asset triage. It also consumed fewer tokens and showed less degradation under stochastic workflow noise.
The results suggest that constrained, context-aware orchestration can improve grounding, traceability, robustness, and operational efficiency for structured vulnerability-prioritization tasks. The findings should be interpreted as proof-of-concept evidence for the selected benchmark, not as evidence of production-scale deployment performance.
This thesis fills that gap by defining five distinct server trust levels. Zero Trust, Structural Trust, Aggregation Trust, Partial Key Trust, and Full Trust. We construct a Tamarin Prover model for each. Across the models, security lemmas covering group key secrecy, forward secrecy, post-compromise security, state agreement, and message authentication are proved or disproved. The finding is that state agreement is the first property to fail as server authority increases. A malicious server at our Level 3 can silently partition the group without violating message secrecy, and members have no means of detecting this inconsistency. Thus, we also devise a commitment-hardened variant of Level 3. It restores state agreement by detecting the attack at the cost of one transcript hash per commit.
The results are complemented by a simulation quantifying bandwidth and message complexity across group sizes of up to 128 members. The simulation additionally confirms that the Level 2 filtering optimisation reduces update bandwidth by up to 3.6x relative to Level 1 at no security cost, and that Level 3 aggregation reduces catch-up bandwidth by approximately 88% relative to Level 2 with 20 missed epochs. Together, the formal verification and simulation provide a principled structure for visualizing the security efficiency trade off as server authority grows, and offer design guidance for practitioners. ...
This thesis fills that gap by defining five distinct server trust levels. Zero Trust, Structural Trust, Aggregation Trust, Partial Key Trust, and Full Trust. We construct a Tamarin Prover model for each. Across the models, security lemmas covering group key secrecy, forward secrecy, post-compromise security, state agreement, and message authentication are proved or disproved. The finding is that state agreement is the first property to fail as server authority increases. A malicious server at our Level 3 can silently partition the group without violating message secrecy, and members have no means of detecting this inconsistency. Thus, we also devise a commitment-hardened variant of Level 3. It restores state agreement by detecting the attack at the cost of one transcript hash per commit.
The results are complemented by a simulation quantifying bandwidth and message complexity across group sizes of up to 128 members. The simulation additionally confirms that the Level 2 filtering optimisation reduces update bandwidth by up to 3.6x relative to Level 1 at no security cost, and that Level 3 aggregation reduces catch-up bandwidth by approximately 88% relative to Level 2 with 20 missed epochs. Together, the formal verification and simulation provide a principled structure for visualizing the security efficiency trade off as server authority grows, and offer design guidance for practitioners.
Securing Confidential Smart Contracts with Post Quantum Cryptography
How to sideline the quantum computers
The evaluation demonstrates that PQC integration is feasible with modest overheads. The replacement from RSA to Dilithium for transaction authentication and Kyber for key establishment performs better in most situations and maintains system throughput within operational bounds. Predictable trade-offs are observed between larger key and signature artifacts and reduced verification complexity. Message sizes for each cryptographic stage (key generation, encapsulation/decapsulation, signature/verification) are quantified. The system resists chosen-ciphertext and chosen-message attacks under the Module-LWE/SIS assumptions and achieves strong unforgeability for application messages.
This work provides an end-to-end blueprint covering APIs, message formats, chaincode logic, and deployment scripts for migrating Fabric-style ledgers to post-quantum security and ideas to improve upon the work in the future. ...
The evaluation demonstrates that PQC integration is feasible with modest overheads. The replacement from RSA to Dilithium for transaction authentication and Kyber for key establishment performs better in most situations and maintains system throughput within operational bounds. Predictable trade-offs are observed between larger key and signature artifacts and reduced verification complexity. Message sizes for each cryptographic stage (key generation, encapsulation/decapsulation, signature/verification) are quantified. The system resists chosen-ciphertext and chosen-message attacks under the Module-LWE/SIS assumptions and achieves strong unforgeability for application messages.
This work provides an end-to-end blueprint covering APIs, message formats, chaincode logic, and deployment scripts for migrating Fabric-style ledgers to post-quantum security and ideas to improve upon the work in the future.
Trust in network nodes
Implementation of secure communication and data storage using a post-quantum encryption algorithm and signature scheme with a blockchain environment
five EMM variants reveals a clear, quantifiable spectrum of privacy-performance trade-offs. On large-range workloads, the access-hiding schemes offer the best overall balance, with measured average latency slopes of ≈ 0.012 ms/label. For workloads dominated by small result sets, a volume hiding scheme excels, achieving an even lower slope of 0.0032 ms/label by tuning its padding to realistic occupancy bounds. In contrast, fully padded schemes like incur substantially higher overheads, up to two orders of magnitude greater, making them suitable only when maximal leakage resilience is required. These results allow cloud providers with quantitative guidance to deploy encrypted range search that meets both privacy requirements and performance expectations in real-world, multi-attribute database services. ...
five EMM variants reveals a clear, quantifiable spectrum of privacy-performance trade-offs. On large-range workloads, the access-hiding schemes offer the best overall balance, with measured average latency slopes of ≈ 0.012 ms/label. For workloads dominated by small result sets, a volume hiding scheme excels, achieving an even lower slope of 0.0032 ms/label by tuning its padding to realistic occupancy bounds. In contrast, fully padded schemes like incur substantially higher overheads, up to two orders of magnitude greater, making them suitable only when maximal leakage resilience is required. These results allow cloud providers with quantitative guidance to deploy encrypted range search that meets both privacy requirements and performance expectations in real-world, multi-attribute database services.
HARSH but Subtle
Horizontal semAntic Robust Stealthy Backdoor with High-fidelity, context-aware triggers
In this work, we present REMIN, a new leakage-abuse attack against SE schemes in multi-dimensional settings, based on access and search pattern leakage from range queries. Our approach leverages unsupervised representation learning to transform query co-occurrence frequencies into geometric signals, allowing the attacker to infer relative spatial relationships between records. This enables accurate and scalable reconstruction of high-dimensional datasets under minimal leakage. Furthermore, we introduce REMIN-P, a practical variant of the attack that incorporates a poisoning strategy. By injecting a small number of auxiliary anchor points—either known or intentionally leaked—REMIN-P significantly improves reconstruction quality, particularly in sparse or boundary regions.
We evaluate our attacks extensively on both synthetic and real-world structured datasets. Compared to state-of-the-art reconstruction attacks, our reconstruction attack achieves up to 50% reduction in mean squared error (MSE), all while maintaining fast and scalable runtime. When the poisoning strategy is chosen properly, our poisoning attack further reduces MSE by an additional 50% on average. To the best of our knowledge, these are the first attacks that enables accurate multi-dimensional reconstruction under low-leakage conditions for any type of database. ...
In this work, we present REMIN, a new leakage-abuse attack against SE schemes in multi-dimensional settings, based on access and search pattern leakage from range queries. Our approach leverages unsupervised representation learning to transform query co-occurrence frequencies into geometric signals, allowing the attacker to infer relative spatial relationships between records. This enables accurate and scalable reconstruction of high-dimensional datasets under minimal leakage. Furthermore, we introduce REMIN-P, a practical variant of the attack that incorporates a poisoning strategy. By injecting a small number of auxiliary anchor points—either known or intentionally leaked—REMIN-P significantly improves reconstruction quality, particularly in sparse or boundary regions.
We evaluate our attacks extensively on both synthetic and real-world structured datasets. Compared to state-of-the-art reconstruction attacks, our reconstruction attack achieves up to 50% reduction in mean squared error (MSE), all while maintaining fast and scalable runtime. When the poisoning strategy is chosen properly, our poisoning attack further reduces MSE by an additional 50% on average. To the best of our knowledge, these are the first attacks that enables accurate multi-dimensional reconstruction under low-leakage conditions for any type of database.
With quantum computers on the rise, commonly used cryptographic algorithms are increasingly at risk of becoming obsolete. Blockchain networks rely extensively on these primitives, making them particularly vulnerable to advances in quantum computing. To counter this vulnerability, post-quantum algorithms have gained popularity within the cryptographic community.
This thesis focuses on securing private blockchains built on HLF against potential quantum adversaries using post-quantum cryptographic primitives. We implement ML-DSA, Vesper, and TDUE as smart contracts for digital signing, zero-knowledge proofs, and updatable encryption, respectively, and report on their performance. Furthermore, we build on top of Fabric Private Chaincode to maintain the confidentiality of the contract application state. While overall performance is not yet competitive with classical cryptographic primitives, our findings indicate that post-quantum primitives have promising potential for use in private blockchains. ...
With quantum computers on the rise, commonly used cryptographic algorithms are increasingly at risk of becoming obsolete. Blockchain networks rely extensively on these primitives, making them particularly vulnerable to advances in quantum computing. To counter this vulnerability, post-quantum algorithms have gained popularity within the cryptographic community.
This thesis focuses on securing private blockchains built on HLF against potential quantum adversaries using post-quantum cryptographic primitives. We implement ML-DSA, Vesper, and TDUE as smart contracts for digital signing, zero-knowledge proofs, and updatable encryption, respectively, and report on their performance. Furthermore, we build on top of Fabric Private Chaincode to maintain the confidentiality of the contract application state. While overall performance is not yet competitive with classical cryptographic primitives, our findings indicate that post-quantum primitives have promising potential for use in private blockchains.
Towards Benchmarking the Robustness of Neuro-Symbolic Learning against Data Poisoning Backdoor Attacks
Evaluating the Robustness of Logic Tensor Networks under BadNet attacks
Benchmarking the Robustness of Neuro-Symbolic Learning against Backdoor Attacks
Semantic Loss vs BadNets Poisoning Attack
The Effect of Adversarial Attacks on Neuro-Symbolic Reasoning Shortcuts
A Comparative Analysis for DeepProbLog
poisoning adversarial attacks, such as data poisoning. However, the impact of these attacks on NeSy models remains under-explored. Most work on the subject records the attack effects by measuring Attack Success Rate (ASR) or Benign Accuracy (BA). Because of the separate neural and symbolic components within NeSy models, a backdoor attack can specifically target the models’ reasoning capabilities. The knowledge of how potential reasoning is affected by such a model after an attack is unavailable. This research delves into how BadNets backdoor attacks influence the reasoning of the DeepProbLog (DPL) Neuro-Symbolic (NeSy) framework.
This study employed a novel, generalisable benchmarking suite to quantify the upper bound of the Reasoning Shortcut Risk for various tasks. Experiments were conducted across multiple model instances to perform a comparative review of the Reasoning Shortcut Risk between these settings.
The findings reveal that BadNets attacks generally increase the upper bound of the Reasoning Shortcut Risk in DPL models. This means that the existence of this backdoor in such a model can be identified based on this metric. Additionally, it was discovered that even model hyperparameter tuning on the DPL model itself can increase the Reasoning Shortcut Risk. This suggests that optimisation for higher accuracies may inadvertently lead these models to exploit new reasoning shortcuts. No significant correlation was observed between the accuracy of the DPL model and its upper bound of Reasoning Shortcut Risk. The results indicate that default metrics fail to define whether a DPL model behaves as desired. DPL models can appear functionally correct while internally suffering from faulty reasoning.
This research found a higher upper bound for the Reasoning Shortcut Risk after a BadNets attack for tasks that rely more on the neural component of the DPL NeSy model. Furthermore, the research found that optimising poisoning parameters can influence the upper bound of the Reasoning Shortcut Risk. This highlights the importance of the threat model under analysis when researching reasoning in DPL NeSy models after applying a backdoor attack.
In conclusion, BadNets backdoor attacks fundamentally compromise the reasoning process in DPL NeSy models. This increase in Reasoning Shortcut Risk is often worsened by routine model optimisation. The research highlights the need for integrity metrics in addition to traditional performance indicators. These insights are vital for creating NeSy models that act according to why they are used, to be robust, trustworthy, and explainable. ...
poisoning adversarial attacks, such as data poisoning. However, the impact of these attacks on NeSy models remains under-explored. Most work on the subject records the attack effects by measuring Attack Success Rate (ASR) or Benign Accuracy (BA). Because of the separate neural and symbolic components within NeSy models, a backdoor attack can specifically target the models’ reasoning capabilities. The knowledge of how potential reasoning is affected by such a model after an attack is unavailable. This research delves into how BadNets backdoor attacks influence the reasoning of the DeepProbLog (DPL) Neuro-Symbolic (NeSy) framework.
This study employed a novel, generalisable benchmarking suite to quantify the upper bound of the Reasoning Shortcut Risk for various tasks. Experiments were conducted across multiple model instances to perform a comparative review of the Reasoning Shortcut Risk between these settings.
The findings reveal that BadNets attacks generally increase the upper bound of the Reasoning Shortcut Risk in DPL models. This means that the existence of this backdoor in such a model can be identified based on this metric. Additionally, it was discovered that even model hyperparameter tuning on the DPL model itself can increase the Reasoning Shortcut Risk. This suggests that optimisation for higher accuracies may inadvertently lead these models to exploit new reasoning shortcuts. No significant correlation was observed between the accuracy of the DPL model and its upper bound of Reasoning Shortcut Risk. The results indicate that default metrics fail to define whether a DPL model behaves as desired. DPL models can appear functionally correct while internally suffering from faulty reasoning.
This research found a higher upper bound for the Reasoning Shortcut Risk after a BadNets attack for tasks that rely more on the neural component of the DPL NeSy model. Furthermore, the research found that optimising poisoning parameters can influence the upper bound of the Reasoning Shortcut Risk. This highlights the importance of the threat model under analysis when researching reasoning in DPL NeSy models after applying a backdoor attack.
In conclusion, BadNets backdoor attacks fundamentally compromise the reasoning process in DPL NeSy models. This increase in Reasoning Shortcut Risk is often worsened by routine model optimisation. The research highlights the need for integrity metrics in addition to traditional performance indicators. These insights are vital for creating NeSy models that act according to why they are used, to be robust, trustworthy, and explainable.
Our proposed solution leverages data generation to mitigate the non-IID nature of clients' local datasets. By generating synthetic data, the datasets become more IID, enabling defense methods to once again effectively counter backdoor attacks. Evaluations are carried out on standard datasets in the image classification fields, like MNIST and CIFAR-10. The results show that the data generation solution can effectively improve the performance of defense methods and filter out malicious clients again. Although the generated data samples may suffer from low quality and limited diversity due to constraints in training the generative adversarial networks (GANs), our approach demonstrates significant improvements in defending against backdoors. ...
Our proposed solution leverages data generation to mitigate the non-IID nature of clients' local datasets. By generating synthetic data, the datasets become more IID, enabling defense methods to once again effectively counter backdoor attacks. Evaluations are carried out on standard datasets in the image classification fields, like MNIST and CIFAR-10. The results show that the data generation solution can effectively improve the performance of defense methods and filter out malicious clients again. Although the generated data samples may suffer from low quality and limited diversity due to constraints in training the generative adversarial networks (GANs), our approach demonstrates significant improvements in defending against backdoors.
Beyond Real Traffic
Assessing the Reliability of AI-Generated Network Data in Deep Learning-Based Intrusion Detection Models
How Robust Is Neural-Symbolic Model Logic Tensor Networks Against Clean-Label Data Poisoning Backdoor Attacks?
Benchmarking Benign Accuracy and Attack Success Rate
Cryptosystems for Secure and Efficient Cloud Services
From Key Management, Secure Computing, and Search Functionality
This thesis investigates cryptographic solutions for secure and efficient cloud services, addressing key challenges in security, efficiency, and functionality. We focus on three core areas: updatable encryption (UE) to ensure long-termsecurity for stored data, fully homomorphic encryption (FHE) for efficient computation over encrypted data, and searchable encryption (SE) to maintain search functionality over outsourced encrypted data.... ...
This thesis investigates cryptographic solutions for secure and efficient cloud services, addressing key challenges in security, efficiency, and functionality. We focus on three core areas: updatable encryption (UE) to ensure long-termsecurity for stored data, fully homomorphic encryption (FHE) for efficient computation over encrypted data, and searchable encryption (SE) to maintain search functionality over outsourced encrypted data....