G. Smaragdakis
Please Note
69 records found
1
Self-Healing and Self-Protection in 5G Core
A Human Immune System-Inspired Approach to System Resilience
A proof-of-concept extension was implemented for the Access and Mobility Management Function (AMF) in a Kubernetes-based free5GC testbed with a simulated UERANSIM radio access network and UE workload. The extension retains the pod-local SH4CS event–rule–action model while incorporating NF metrics, deployment state, and normalized log events. It connects this evidence to actions with different scopes, including temporary logging escalation, stricter OAuth 2.0 token-age enforcement, image replacement, and AMF regeneration. Since the evaluated open-source 5GC implementation does not support transparent UE-context transfer or session continuity between AMF instances, regeneration is performed through a graceful drain-and-restart procedure. The degraded AMF is first removed from the selection of new registrations, causing the gNB to direct them to healthy AMFs. Existing activity is then allowed or actively encouraged to leave the degraded instance before it is restarted.
The evaluation showed that NF-aware recovery can respond to degradation before Kubernetes detects process failure. Under the evaluated workload and memory limit, setting the degraded AMF’s Relative Capacity to zero redirected fresh registrations approximately 249 seconds before the Kubernetes baseline reached an OOMKill. The AMF restart strategy reduced cumulative new-UE service loss by 81.07%, reduced TTR95 from 380 to 135 seconds, and lowered the 95th-percentile onboarding latency from 8564 to 1811 ms. Additional scenarios confirmed the intended state transitions of the self-protection and remediation actions. The sidecar architecture introduced modest steady-state CPU overhead but substantial memory overhead, primarily from the lymphocyte.
The results show that SH4CS can provide a local enforcement and recovery layer for cloud-native 5GC NFs when its observations and actions are specialized for the protected function. The controller is decentralized at the decision boundary while remaining dependent on Kubernetes, operator policy, and the surrounding 5GC. Most importantly, the findings show that container restartability does not make a stateful NF disposable: effective recovery must combine orchestration with protocol-aware observations and actions that account for NF state. ...
A proof-of-concept extension was implemented for the Access and Mobility Management Function (AMF) in a Kubernetes-based free5GC testbed with a simulated UERANSIM radio access network and UE workload. The extension retains the pod-local SH4CS event–rule–action model while incorporating NF metrics, deployment state, and normalized log events. It connects this evidence to actions with different scopes, including temporary logging escalation, stricter OAuth 2.0 token-age enforcement, image replacement, and AMF regeneration. Since the evaluated open-source 5GC implementation does not support transparent UE-context transfer or session continuity between AMF instances, regeneration is performed through a graceful drain-and-restart procedure. The degraded AMF is first removed from the selection of new registrations, causing the gNB to direct them to healthy AMFs. Existing activity is then allowed or actively encouraged to leave the degraded instance before it is restarted.
The evaluation showed that NF-aware recovery can respond to degradation before Kubernetes detects process failure. Under the evaluated workload and memory limit, setting the degraded AMF’s Relative Capacity to zero redirected fresh registrations approximately 249 seconds before the Kubernetes baseline reached an OOMKill. The AMF restart strategy reduced cumulative new-UE service loss by 81.07%, reduced TTR95 from 380 to 135 seconds, and lowered the 95th-percentile onboarding latency from 8564 to 1811 ms. Additional scenarios confirmed the intended state transitions of the self-protection and remediation actions. The sidecar architecture introduced modest steady-state CPU overhead but substantial memory overhead, primarily from the lymphocyte.
The results show that SH4CS can provide a local enforcement and recovery layer for cloud-native 5GC NFs when its observations and actions are specialized for the protected function. The controller is decentralized at the decision boundary while remaining dependent on Kubernetes, operator policy, and the surrounding 5GC. Most importantly, the findings show that container restartability does not make a stateful NF disposable: effective recovery must combine orchestration with protocol-aware observations and actions that account for NF state.
Solving the Identity-Privacy Paradox
How to Identify Friend or Foe Without Self-Disclosure?
Validating Rust Check Safety Using Binary Analysis
When the Compiler’s Word Is Not Enough
This thesis challenges that assumption. A malicious developer can compile a legitimate Rust program and then surgically modify the compiled binary (replacing a conditional branch with an unconditional one, substituting a signed comparison for an unsigned one, or decoupling the comparison register from the memory access) while leaving the binary syntactically valid and functionally normal under ordinary inputs. No existing tool systematically detects this class of attack on stripped, optimised binaries.
This work presents VALIDATE, a binary analysis system that detects and classifies adversarial tampering with compiler-inserted bounds checks without access to source code, debug information, or symbol tables. VALIDATE combines dynamic instrumentation via DynamoRIO with targeted static disassembly via radare2 and Capstone, evaluating seven independent structural invariants per check and producing a named verdict that identifies the specific class of tampering detected. ...
This thesis challenges that assumption. A malicious developer can compile a legitimate Rust program and then surgically modify the compiled binary (replacing a conditional branch with an unconditional one, substituting a signed comparison for an unsigned one, or decoupling the comparison register from the memory access) while leaving the binary syntactically valid and functionally normal under ordinary inputs. No existing tool systematically detects this class of attack on stripped, optimised binaries.
This work presents VALIDATE, a binary analysis system that detects and classifies adversarial tampering with compiler-inserted bounds checks without access to source code, debug information, or symbol tables. VALIDATE combines dynamic instrumentation via DynamoRIO with targeted static disassembly via radare2 and Capstone, evaluating seven independent structural invariants per check and producing a named verdict that identifies the specific class of tampering detected.
Building a Phishing Kit Intelligence System
How Structural Fingerprinting Reveals the Hidden Lineages of Industrialized Cybercrime
Current reactive defenses, such as URL blacklisting, are increasingly insufficient due to the extreme speed of modern campaigns and the widespread use of cloaking techniques.
To address these challenges, this thesis proposes a proactive methodology for phishing kit attribution, shifting the analytical focus from ephemeral webpages to the underlying software infrastructure.
We design a system in which we approach kit attribution as an incremental supervised binary classification problem using separate Random Forest models for each phishing kit family.
Our approach prioritizes the "attacker's view" by modeling phishing kits as hierarchical directory trees and extracting stable filesystem artifacts like the presence of files in particular locations.
Through systematic optimization using the \textit{uAdmin} phishing kit family, we demonstrate that this structural fingerprinting provides near-perfect discriminative power for the data-rich \textit{uAdmin} family.
Stress tests reveal that the system is resilient against some levels of obfuscation and that the model's ranking capability remains intact, even at higher levels of perturbation.
Furthermore, learning curve analysis confirms the system's few-shot capability.
When there are not many discovered samples from a phishing kit family, our results show that appending artificially generated samples of phishing kits to the original samples could contribute to a model's performance.
The practical utility of this methodology was validated through an incremental attribution workflow that has generated 23 models for different phishing kit families, which cover over 2000 phishing kits from our database.
A critical real-world application involving a forensic data dump from a German server seizure allowed us to test this incremental attribution workflow on real operational data.
We practically demonstrate two ways to map live phishing pages to known phishing kits, an approach that is based on the most important paths in phishing kit families and an approach that is based on the network activity of a phishing website.
The primary limitations of this thesis are that the client-side artifacts are not taken into consideration, and that live phishing pages do not always correlate well to paths in a phishing kit.
By registering phishing kits and models for phishing kit families alongside with actionable metadata, this thesis provides a scalable phishing kit intelligence system that could help LEAs toward the structural detection and dismantling of industrialized phishing. ...
Current reactive defenses, such as URL blacklisting, are increasingly insufficient due to the extreme speed of modern campaigns and the widespread use of cloaking techniques.
To address these challenges, this thesis proposes a proactive methodology for phishing kit attribution, shifting the analytical focus from ephemeral webpages to the underlying software infrastructure.
We design a system in which we approach kit attribution as an incremental supervised binary classification problem using separate Random Forest models for each phishing kit family.
Our approach prioritizes the "attacker's view" by modeling phishing kits as hierarchical directory trees and extracting stable filesystem artifacts like the presence of files in particular locations.
Through systematic optimization using the \textit{uAdmin} phishing kit family, we demonstrate that this structural fingerprinting provides near-perfect discriminative power for the data-rich \textit{uAdmin} family.
Stress tests reveal that the system is resilient against some levels of obfuscation and that the model's ranking capability remains intact, even at higher levels of perturbation.
Furthermore, learning curve analysis confirms the system's few-shot capability.
When there are not many discovered samples from a phishing kit family, our results show that appending artificially generated samples of phishing kits to the original samples could contribute to a model's performance.
The practical utility of this methodology was validated through an incremental attribution workflow that has generated 23 models for different phishing kit families, which cover over 2000 phishing kits from our database.
A critical real-world application involving a forensic data dump from a German server seizure allowed us to test this incremental attribution workflow on real operational data.
We practically demonstrate two ways to map live phishing pages to known phishing kits, an approach that is based on the most important paths in phishing kit families and an approach that is based on the network activity of a phishing website.
The primary limitations of this thesis are that the client-side artifacts are not taken into consideration, and that live phishing pages do not always correlate well to paths in a phishing kit.
By registering phishing kits and models for phishing kit families alongside with actionable metadata, this thesis provides a scalable phishing kit intelligence system that could help LEAs toward the structural detection and dismantling of industrialized phishing.
Beyond the Handshake
Investigating Unsolicited Peering Activity with a BGP Honeypot
This thesis studies how open-source ICS honeypots can be fingerprinted through source-backed active probes. It combines local reproduction, protocol and source analysis, and a scanner that applies accepted signatures to Censys-derived Internet exposure data. A fingerprint is accepted only when it is remotely observable, tied to a concrete honeypot or implementation lineage, and supported by a false-positive argument. Applied to a worldwide Censys snapshot of about 143,000 hosts across 28 ICS protocols, the scanner labels about a quarter of the active hosts as honeypot-like, 7,090 of them confirmed by a protocol signature, and it confirms honeypots that neither Censys’s own tags nor previously published signatures detect. The resulting methodology and signature catalogue aim to make honeypot weaknesses measurable, support more accurate Internet measurements, and help operators improve honeypot stealth and effectiveness.
...
This thesis studies how open-source ICS honeypots can be fingerprinted through source-backed active probes. It combines local reproduction, protocol and source analysis, and a scanner that applies accepted signatures to Censys-derived Internet exposure data. A fingerprint is accepted only when it is remotely observable, tied to a concrete honeypot or implementation lineage, and supported by a false-positive argument. Applied to a worldwide Censys snapshot of about 143,000 hosts across 28 ICS protocols, the scanner labels about a quarter of the active hosts as honeypot-like, 7,090 of them confirmed by a protocol signature, and it confirms honeypots that neither Censys’s own tags nor previously published signatures detect. The resulting methodology and signature catalogue aim to make honeypot weaknesses measurable, support more accurate Internet measurements, and help operators improve honeypot stealth and effectiveness.
Metal-fuzz
A Hardware-in-the-Loop Fuzzing Framework for Hypervisors in Mixed-Criticality Space Applications
This work introduces \textsc{Metal-fuzz}, a coverage-guided, hardware-in-the-loop, bare-metal fuzzing framework that targets paravirtualized hypervisor interfaces under realistic execution conditions. Metal-fuzz bridges common kernel fuzzing backends with embedded targets by forwarding executor operations to a remote system under test, enabling hypercall fuzzing while preserving hardware-specific behavior. We define a threat model centered on guest-to-hypervisor escape and identify key challenges in fuzzing embedded hypervisors, including stateful interfaces, hardware dependence, and coverage collection.
A prototype on a Zynq-7000 (Cortex-A9) platform demonstrates feasibility by fuzzing the XtratuM hypervisor and integrating JTAG-based control and trace-driven coverage. The framework provides a practical foundation for systematic security evaluation of space hypervisors and guides future extensions toward broader device coverage and automated analysis.
...
This work introduces \textsc{Metal-fuzz}, a coverage-guided, hardware-in-the-loop, bare-metal fuzzing framework that targets paravirtualized hypervisor interfaces under realistic execution conditions. Metal-fuzz bridges common kernel fuzzing backends with embedded targets by forwarding executor operations to a remote system under test, enabling hypercall fuzzing while preserving hardware-specific behavior. We define a threat model centered on guest-to-hypervisor escape and identify key challenges in fuzzing embedded hypervisors, including stateful interfaces, hardware dependence, and coverage collection.
A prototype on a Zynq-7000 (Cortex-A9) platform demonstrates feasibility by fuzzing the XtratuM hypervisor and integrating JTAG-based control and trace-driven coverage. The framework provides a practical foundation for systematic security evaluation of space hypervisors and guides future extensions toward broader device coverage and automated analysis.
This thesis proposes an adaptive patch-level inference system that replaces banner reading with behavior-based Common Vulnerabilities and Exposures (CVE) probing. The system represents the target's possible patch level as a version space - initially unconstrained - and narrows it after each scan using interval arithmetic over CVE-affected ranges. We propose two adaptive scan policies for selecting which CVE to probe next: Binary Search, which maximizes information gain by targeting 50/50 version space splits, and Adaptive Minimax, which minimizes the worst-case remaining space.
We evaluate the system through controlled lab experiments, exhaustive simulation, and a real-world measurement campaign spanning multiple services and countries. The lab experiments confirm that behavior-based probing can distinguish hosts that are patched from hosts that merely advertise an outdated banner. Simulation results show that Adaptive Minimax is the dominant policy across nearly all simulated outcomes; its advantage stems from correctly handling configuration-dependent CVEs, which Binary Search systematically mis-scores as near-perfect splitters. The real-world scan reveals that a substantial fraction of hosts carry version banners inconsistent with their observed vulnerability behavior, confirming that banner-based inference systematically misleads in practice. Long-disclosed, high-severity vulnerabilities remain active in production deployments, pointing to the practical value of behavior-based patch-level assessment. ...
This thesis proposes an adaptive patch-level inference system that replaces banner reading with behavior-based Common Vulnerabilities and Exposures (CVE) probing. The system represents the target's possible patch level as a version space - initially unconstrained - and narrows it after each scan using interval arithmetic over CVE-affected ranges. We propose two adaptive scan policies for selecting which CVE to probe next: Binary Search, which maximizes information gain by targeting 50/50 version space splits, and Adaptive Minimax, which minimizes the worst-case remaining space.
We evaluate the system through controlled lab experiments, exhaustive simulation, and a real-world measurement campaign spanning multiple services and countries. The lab experiments confirm that behavior-based probing can distinguish hosts that are patched from hosts that merely advertise an outdated banner. Simulation results show that Adaptive Minimax is the dominant policy across nearly all simulated outcomes; its advantage stems from correctly handling configuration-dependent CVEs, which Binary Search systematically mis-scores as near-perfect splitters. The real-world scan reveals that a substantial fraction of hosts carry version banners inconsistent with their observed vulnerability behavior, confirming that banner-based inference systematically misleads in practice. Long-disclosed, high-severity vulnerabilities remain active in production deployments, pointing to the practical value of behavior-based patch-level assessment.
The thesis contributes an end-to-end pipeline that turns raw packet captures into windowed feature streams, four labeled recordings collected on dedicated Android and iOS test devices, and an empirical comparison of seven streaming change detectors under realistic observability constraints. It proposes Online NN-DVI, a streaming density-based detector, together with a retro-confirmation segmenter that converts raw detector alarms into labeled behavioral segments online.
Across the four recordings and an external cross-corpus check on the public Mirage dataset, density-based detectors are the most effective paradigm, and Online NN-DVI matches the offline NN-DVI baseline within a few F1 points at roughly an eighth of its runtime, generalizing from a single tuning recording to held-out Android, iOS, and Mirage data without per-dataset retuning. Detectability is gated by the type of transition: app-to-app foreground switches are caught in roughly two thirds of cases, foreground enter and exit transitions in about one in three, and administratively defined idle boundaries not at all. An 18-feature behavior subset matches a 54-feature candidate set, and 5-second window aggregation outperforms 1-second aggregation on both accuracy and runtime, while the segmenter reaches a frame-level F1 of 0.739. Taken together, the results indicate that what limits detection on this stream is the signal carried by the features, not the algorithm operating on them. ...
The thesis contributes an end-to-end pipeline that turns raw packet captures into windowed feature streams, four labeled recordings collected on dedicated Android and iOS test devices, and an empirical comparison of seven streaming change detectors under realistic observability constraints. It proposes Online NN-DVI, a streaming density-based detector, together with a retro-confirmation segmenter that converts raw detector alarms into labeled behavioral segments online.
Across the four recordings and an external cross-corpus check on the public Mirage dataset, density-based detectors are the most effective paradigm, and Online NN-DVI matches the offline NN-DVI baseline within a few F1 points at roughly an eighth of its runtime, generalizing from a single tuning recording to held-out Android, iOS, and Mirage data without per-dataset retuning. Detectability is gated by the type of transition: app-to-app foreground switches are caught in roughly two thirds of cases, foreground enter and exit transitions in about one in three, and administratively defined idle boundaries not at all. An 18-feature behavior subset matches a 54-feature candidate set, and 5-second window aggregation outperforms 1-second aggregation on both accuracy and runtime, while the segmenter reaches a frame-level F1 of 0.739. Taken together, the results indicate that what limits detection on this stream is the signal carried by the features, not the algorithm operating on them.
We investigated a vehicle spoofing attack on a camera-based collaborative perception framework. In the experiments one or more attackers modify their camera images to insert a fictitious vehicle, and then use these modified images to communicate with the targeted vehicle. When the targeted vehicle then generates its map of the surroundings, this attack can cause it to detect an imaginary spoofed vehicle.
The results of the experiment showed that a vehicle spoofing attack does work for camera-based collaborative perception. The effectiveness of the attack however depends on the number of additional collaborating vehicles and how all vehicles are positioned in relation to each other. Thus, a defence against this attack is comparing received information with that from other sources, including the targeted vehicle’s own sensors.
As autonomous vehicles gain popularity and become more widely available, the chance of vehicles using collaborative perception increases. Because of the relative ease of performing an attack on collaborative perception, it is important to further study both the attacks and defences in order to ensure the safety of all road users. ...
We investigated a vehicle spoofing attack on a camera-based collaborative perception framework. In the experiments one or more attackers modify their camera images to insert a fictitious vehicle, and then use these modified images to communicate with the targeted vehicle. When the targeted vehicle then generates its map of the surroundings, this attack can cause it to detect an imaginary spoofed vehicle.
The results of the experiment showed that a vehicle spoofing attack does work for camera-based collaborative perception. The effectiveness of the attack however depends on the number of additional collaborating vehicles and how all vehicles are positioned in relation to each other. Thus, a defence against this attack is comparing received information with that from other sources, including the targeted vehicle’s own sensors.
As autonomous vehicles gain popularity and become more widely available, the chance of vehicles using collaborative perception increases. Because of the relative ease of performing an attack on collaborative perception, it is important to further study both the attacks and defences in order to ensure the safety of all road users.
Reverse Engineering Obfuscated Malware
Automating Deobfuscation of an APT-41 Windows Backdoor
Applied across the binary, the tool rebuilds all but one of the approximately 300 obfuscated functions, turning each from a tangle of dispatcher logic back into a readable sequence of original blocks. This made it possible to thoroughly reverse engineer the sample, including its configuration format, C2 protocol, module loading, and syscall evasion, and from there to compare it against known APT-41 tooling. The analysis uncovered broad and specific overlap with the backdoor CurveBack across code, configuration, and protocol, alongside a smaller but distinctive overlap with CrossWalk. On this basis I place a previously unanalysed implant in the APT-41 lineage with reasonable confidence, and reflect on what this adds to the public picture of the group's tooling. Finally, I discuss the practical value of investing in automation when confronted with obfuscation of this kind. ...
Applied across the binary, the tool rebuilds all but one of the approximately 300 obfuscated functions, turning each from a tangle of dispatcher logic back into a readable sequence of original blocks. This made it possible to thoroughly reverse engineer the sample, including its configuration format, C2 protocol, module loading, and syscall evasion, and from there to compare it against known APT-41 tooling. The analysis uncovered broad and specific overlap with the backdoor CurveBack across code, configuration, and protocol, alongside a smaller but distinctive overlap with CrossWalk. On this basis I place a previously unanalysed implant in the APT-41 lineage with reasonable confidence, and reflect on what this adds to the public picture of the group's tooling. Finally, I discuss the practical value of investing in automation when confronted with obfuscation of this kind.
Designing Secure Boot for Space Missions
Integrating Security into Spacecraft Bootloaders
This thesis investigates how Secure Boot can be incorporated into space mission bootloaders without compromising these constraints. A lifecycle-based threat model, grounded in the ENISA Space Threat Landscape taxonomy, identifies two primary attacker scenarios: a physical adversary with pre-launch hardware access, and a remote adversary exploiting firmware update channels after deployment. These scenarios motivate a formal Secure Boot specification, designated SAVOIR-GS-002S, written in the language and requirement structure of the ESA SAVOIR framework so that it can be adopted by standards bodies without a translation step. The specification introduces seven additive security requirements covering a hardware Root of Trust, digital signature verification, non-bypassability, protection against both classical and quantum computational attacks, rollback protection via a monotonic counter, and structured failure reporting.
A hardware trade-off analysis shows that only two primitives are strictly necessary to realise the specification: sector-level hardware-enforced write protection for the Boot Software and public key storage, and protected non-volatile storage for the monotonic rollback counter. Both are present on commodity ARM Cortex-M microcontrollers without requiring any specialised hardware. A proof-of-concept implementation in C on the STM32F439ZI confirms that all seven requirements are achievable on representative COTS hardware. The implementation includes A/B image partitioning, monotonic rollback protection in option-byte-protected flash, PUS-compatible boot reporting, and an algorithm-agnostic cryptographic verification interface, with an automated end-to-end test suite verifying all nominal and failure paths over UART and SWD.
Performance benchmarks for ECDSA-P256, RSA-3072/4096, ML-DSA-44/65, and LMS demonstrate that the security overhead is modest. A hybrid ECDSA-P256 plus LMS deployment on a 128~kB image completes in approximately 363~ms with hardware SHA-2 acceleration, well within a one-second boot budget, and LMS requires only 3~kB of working memory and a 60-byte public key. The results show that incorporating Secure Boot into space-grade bootloaders is not a fundamental hardware or performance barrier, but primarily a gap in standards and tooling. The SAVOIR-GS-002S specification and accompanying implementation provide a concrete, standards-compatible starting point for closing that gap. ...
This thesis investigates how Secure Boot can be incorporated into space mission bootloaders without compromising these constraints. A lifecycle-based threat model, grounded in the ENISA Space Threat Landscape taxonomy, identifies two primary attacker scenarios: a physical adversary with pre-launch hardware access, and a remote adversary exploiting firmware update channels after deployment. These scenarios motivate a formal Secure Boot specification, designated SAVOIR-GS-002S, written in the language and requirement structure of the ESA SAVOIR framework so that it can be adopted by standards bodies without a translation step. The specification introduces seven additive security requirements covering a hardware Root of Trust, digital signature verification, non-bypassability, protection against both classical and quantum computational attacks, rollback protection via a monotonic counter, and structured failure reporting.
A hardware trade-off analysis shows that only two primitives are strictly necessary to realise the specification: sector-level hardware-enforced write protection for the Boot Software and public key storage, and protected non-volatile storage for the monotonic rollback counter. Both are present on commodity ARM Cortex-M microcontrollers without requiring any specialised hardware. A proof-of-concept implementation in C on the STM32F439ZI confirms that all seven requirements are achievable on representative COTS hardware. The implementation includes A/B image partitioning, monotonic rollback protection in option-byte-protected flash, PUS-compatible boot reporting, and an algorithm-agnostic cryptographic verification interface, with an automated end-to-end test suite verifying all nominal and failure paths over UART and SWD.
Performance benchmarks for ECDSA-P256, RSA-3072/4096, ML-DSA-44/65, and LMS demonstrate that the security overhead is modest. A hybrid ECDSA-P256 plus LMS deployment on a 128~kB image completes in approximately 363~ms with hardware SHA-2 acceleration, well within a one-second boot budget, and LMS requires only 3~kB of working memory and a 60-byte public key. The results show that incorporating Secure Boot into space-grade bootloaders is not a fundamental hardware or performance barrier, but primarily a gap in standards and tooling. The SAVOIR-GS-002S specification and accompanying implementation provide a concrete, standards-compatible starting point for closing that gap.
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.
To compute the RTT of an encrypted VPN connection, we devise a method to identify underlying request-response packet pairs. We target TLS handshakes, using the fact that the order and size of their constituent packets remain unaffected by encryption and consistent among most connections. The latency is computed by subtracting the arrival times of the identified handshake packets. Applying our method on synthetic data, we find that the mean and median RTT of a business-use VPN are lower than those of a private-use VPN, implying an attacker can differentiate between the two scenarios by simply observing encrypted data. ...
To compute the RTT of an encrypted VPN connection, we devise a method to identify underlying request-response packet pairs. We target TLS handshakes, using the fact that the order and size of their constituent packets remain unaffected by encryption and consistent among most connections. The latency is computed by subtracting the arrival times of the identified handshake packets. Applying our method on synthetic data, we find that the mean and median RTT of a business-use VPN are lower than those of a private-use VPN, implying an attacker can differentiate between the two scenarios by simply observing encrypted data.
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.
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.
On LANL, our models (Try1/Try2) outperform state-of-the-art baselines for temporal link prediction,achieving high precision and robustness: Accuracy ≈ 0.994, F1 ≈ 0.993, AUC ≈ 0.993–0.998, AP ≈ 0.999.On Zeek data, edge prediction is sensitive to how malicious activity is distributed over time: a simple“Day" shuffling that preserves the temporal structure while also spreading the clusters of attack activity,yields large gains (e.g., Accuracy ≈ 0.969, AUC ≈ 0.996, F1 ≈ 0.959, AP ≈ 0.995), whereas random shufflingharms temporal dependencies and performance.
Extending to edge classification (benign vs. malicious) reveals a key limitation: despite high accuracy,AUC and AP remain low due to a tendency to label nearly all edges as benign under class imbalance andtemporal clustering, producing many false negatives. We test mitigation strategies (dropout, alternativeloss formulations with confidence weighting), which provide a small increase in stability but do notfully resolve the issue.
With our results, we find that the proposed temporal graph method is a strong fit for anomaly detectionvia edge prediction: robust across datasets, resilient to imbalance, and practically applicable. In contrast,edge classification currently lacks reliability for production without improved data balancing, graphconstruction, and training. ...
On LANL, our models (Try1/Try2) outperform state-of-the-art baselines for temporal link prediction,achieving high precision and robustness: Accuracy ≈ 0.994, F1 ≈ 0.993, AUC ≈ 0.993–0.998, AP ≈ 0.999.On Zeek data, edge prediction is sensitive to how malicious activity is distributed over time: a simple“Day" shuffling that preserves the temporal structure while also spreading the clusters of attack activity,yields large gains (e.g., Accuracy ≈ 0.969, AUC ≈ 0.996, F1 ≈ 0.959, AP ≈ 0.995), whereas random shufflingharms temporal dependencies and performance.
Extending to edge classification (benign vs. malicious) reveals a key limitation: despite high accuracy,AUC and AP remain low due to a tendency to label nearly all edges as benign under class imbalance andtemporal clustering, producing many false negatives. We test mitigation strategies (dropout, alternativeloss formulations with confidence weighting), which provide a small increase in stability but do notfully resolve the issue.
With our results, we find that the proposed temporal graph method is a strong fit for anomaly detectionvia edge prediction: robust across datasets, resilient to imbalance, and practically applicable. In contrast,edge classification currently lacks reliability for production without improved data balancing, graphconstruction, and training.