kth.sePublications KTH
Change search
Link to record
Permanent link

Direct link
Publications (10 of 63) Show all publications
Lindner, A., Palmskog, K., Constable, S., Dam, M., Guanciale, R. & Nemati, H. (2026). Forward Symbolic Execution for Trustworthy Automation of Binary Code Verification. In: Verification, Model Checking, and Abstract Interpretation - 27th International Conference, VMCAI 2026, Proceedings: . Paper presented at 27th International Conference on Verification, Model Checking, and Abstract Interpretation, VMCAI 2026, Rennes, France, January 12-13, 2026 (pp. 147-172). Springer Science and Business Media Deutschland GmbH
Open this publication in new window or tab >>Forward Symbolic Execution for Trustworthy Automation of Binary Code Verification
Show others...
2026 (English)In: Verification, Model Checking, and Abstract Interpretation - 27th International Conference, VMCAI 2026, Proceedings, Springer Science and Business Media Deutschland GmbH , 2026, p. 147-172Conference paper, Published paper (Refereed)
Abstract [en]

Control flow in unstructured programs can be complex and dynamic, which makes static analysis difficult. Yet, automated reasoning about unstructured control flow is important when certifying properties of binary (machine) code in trustworthy systems, e.g., cryptographic routines. We present a theory of forward symbolic execution for unstructured programs suitable for use in theorem provers that enables automated verification of both functional and non-functional program properties. The theory’s foundation is a set of inference rules where each member corresponds to an operation in a symbolic execution engine. The rules are designed to give control over the tradeoff between the preservation of precision and introduction of overapproximation. We instantiate our theory for BIR, a previously proposed intermediate language for binary analysis. We demonstrate how symbolic executors can be constructed for BIR with common optimizations such as pruning of infeasible symbolic states. We implemented our theory in the HOL4 theorem prover using the HolBA binary analysis library, obtaining machine-checked proofs of soundness of symbolic execution for BIR. We practically evaluated two applications of our theory: verification of functional properties of RISC-V binaries and verification of execution time bounds of programs running on the ARM Cortex-M0 processor. The evaluation shows that such verification can be automated with moderate overhead on medium-sized programs.

Place, publisher, year, edition, pages
Springer Science and Business Media Deutschland GmbH, 2026
Keywords
binary analysis, symbolic execution, theorem proving
National Category
Computer Sciences Computer Systems Control Engineering
Identifiers
urn:nbn:se:kth:diva-376726 (URN)10.1007/978-3-032-15700-3_8 (DOI)2-s2.0-105028353230 (Scopus ID)
Conference
27th International Conference on Verification, Model Checking, and Abstract Interpretation, VMCAI 2026, Rennes, France, January 12-13, 2026
Note

Part of ISBN 9783032156990

QC 20260217

Available from: 2026-02-17 Created: 2026-02-17 Last updated: 2026-02-17Bibliographically approved
Hacks, S., Artho, C., Guanciale, R., Künnemann, R., Malakhova, D. & Süren, E. (2026). FreeCAT—Towards a Framework for Resilience and Evolution by Code Analysis Tools. In: Enterprise Design, Operations, and Computing. EDOC 2025 Workshops - Forum, Doctoral Consortium, EA4AI, iRESEARCH, SoEA4EE, Tool Presentations, Revised Selected Papers: . Paper presented at 29th International Workshop on Enterprise Design, Operations, and Computing, EDOC 2025, Lisbon, Portugal, Sep 09 2025 - Sep 12 2025 (pp. 175-188). Springer Nature, 571 LNBIP
Open this publication in new window or tab >>FreeCAT—Towards a Framework for Resilience and Evolution by Code Analysis Tools
Show others...
2026 (English)In: Enterprise Design, Operations, and Computing. EDOC 2025 Workshops - Forum, Doctoral Consortium, EA4AI, iRESEARCH, SoEA4EE, Tool Presentations, Revised Selected Papers, Springer Nature , 2026, Vol. 571 LNBIP, p. 175-188Conference paper, Published paper (Refereed)
Abstract [en]

Cyber attacks are getting smarter every year, yet most security checks still happen late in the project, when fixes are hardest and costliest. To change that, we propose FreeCAT, a step-by-step “security copilot” that works from the first design sketch all the way to day-to-day operation. FreeCAT automatically turns models, documentation, and log files into easy-to-read threat maps that show which parts of a system hackers would target first. It then runs simulations to test different defenses, points human testers to the riskiest spots, and feeds every new finding back into the map so the picture stays up to date. An AI component speeds up chores such as writing audit reports or checking compliance rules. Because these activities repeat in short loops throughout development and after launch, organizations can spot weak points early, use security budgets where they matter most, and keep pace with new attack tactics without hiring an army of specialists. The current paper outlines the concept and planned building blocks; the full platform will be assembled and validated in future work.

Place, publisher, year, edition, pages
Springer Nature, 2026
Keywords
Attack Simulations, Cybersecurity Automation, Threat Modeling, Vulnerability Assessment
National Category
Computer Sciences Software Engineering
Identifiers
urn:nbn:se:kth:diva-383421 (URN)10.1007/978-3-032-16234-2_12 (DOI)2-s2.0-105040565772 (Scopus ID)
Conference
29th International Workshop on Enterprise Design, Operations, and Computing, EDOC 2025, Lisbon, Portugal, Sep 09 2025 - Sep 12 2025
Note

Part of ISBN 9783032162335

QC 20260612

Available from: 2026-06-12 Created: 2026-06-12 Last updated: 2026-06-12Bibliographically approved
Lundberg, D., Guanciale, R., Lindner, A. & Dam, M. (2026). Hoare-style logic for unstructured programs. The Journal of logical and algebraic methods in programming, 149, Article ID 101099.
Open this publication in new window or tab >>Hoare-style logic for unstructured programs
2026 (English)In: The Journal of logical and algebraic methods in programming, ISSN 2352-2208, E-ISSN 2352-2216, Vol. 149, article id 101099Article in journal (Refereed) Published
Abstract [en]

Enabling Hoare-style reasoning for low-level code is attractive since it opens the way to regain structure and modularity in a domain where structure is essentially absent. The field, however, has not yet arrived at a fully satisfactory solution, in the sense of avoiding restrictions on control flow (important for compiler optimization), controlling access to intermediate program points (important for modularity), and supporting total correctness. Proposals in the literature support some of these properties, but a solution that meets them all is yet to be found. We introduce the novel Hoare-style program logic GA, which interprets postconditions relative to program points when these are first encountered. The logic supports both partial and total correctness, derives contracts for arbitrary control flow, and allows one to freely choose decomposition strategy during verification while avoiding step-indexed approximations and global invariants. The logic can be instantiated for a variety of concrete instruction set architectures and intermediate languages. The rules of GA have been verified in the interactive theorem prover HOL4 and integrated with the toolbox HolBA for semi-automated program verification, which supports the ARMv6, ARMv8 and RISC-V instruction sets.

Place, publisher, year, edition, pages
Elsevier BV, 2026
Keywords
Program logics, Formal verification, Theorem proving, Binary analysis, Hoare logic
National Category
Computer Sciences
Identifiers
urn:nbn:se:kth:diva-377433 (URN)10.1016/j.jlamp.2025.101099 (DOI)001630542400001 ()2-s2.0-105023082257 (Scopus ID)
Note

QC 20260227

Available from: 2026-02-27 Created: 2026-02-27 Last updated: 2026-02-27Bibliographically approved
Kövér, J., Guanciale, R. & Dán, G. (2026). Mitigating Traffic Analysis Attacks While Maintaining On-Path Network Observability. In: Secure IT Systems - 30th Nordic Conference, NordSec 2025, Proceedings: . Paper presented at 30th Nordic Conference on Secure IT Systems, NordSec 2025, Tartu, Estonia, November 12-13, 2025 (pp. 246-265). Springer Nature
Open this publication in new window or tab >>Mitigating Traffic Analysis Attacks While Maintaining On-Path Network Observability
2026 (English)In: Secure IT Systems - 30th Nordic Conference, NordSec 2025, Proceedings, Springer Nature , 2026, p. 246-265Conference paper, Published paper (Refereed)
Abstract [en]

Concealing distinguishing features in traffic patterns used in Traffic Analysis (TA) attacks also affects network observability and hence it is detrimental for legitimate traffic analysis (e.g., network monitoring, anomaly detection). The problem is particularly relevant in microservice-based cloud-native systems. In this paper we introduce a novel method that defends traffic flows against TA attacks and selectively exposes metadata to allow semi-trusted entities to recover certain traffic characteristics with low additional overhead by using a surplus area in the packets. In our architecture, proxies protect traffic between microservices using application-level logic and protocol features. We provide a PoC implementation and evaluation of the proposed method using the QUIC and HTTP/3 protocols for two network functions in the 5G Core Network and in a microservice benchmark application. We show that two events can be made indistinguishable for a storage channel attacker, while maintaining observability for a legitimate TA node. We also extend our defense to reduce the accuracy of a more powerful (timing channel) attacker by 20–30%.

Place, publisher, year, edition, pages
Springer Nature, 2026
Keywords
Network monitoring, Network Protocols, Security and Privacy Protection, Traffic analysis
National Category
Computer Sciences Security, Privacy and Cryptography
Identifiers
urn:nbn:se:kth:diva-382373 (URN)10.1007/978-3-032-14782-0_14 (DOI)2-s2.0-105036737625 (Scopus ID)
Conference
30th Nordic Conference on Secure IT Systems, NordSec 2025, Tartu, Estonia, November 12-13, 2025
Note

Part of ISBN 9783032147813

QC 20260526

Available from: 2026-05-26 Created: 2026-05-26 Last updated: 2026-05-26Bibliographically approved
Pal, S., Pal, S., Guanciale, R., Lanese, I., Lanese, I., Tuosto, E. & Clo, M. (2026). Pomsets for Process Management: A Healthcare Case Study. In: Theoretical Aspects of Computing – ICTAC 2025 - 22nd International Colloquium, Proceedings: . Paper presented at 22nd International Colloquium on Theoretical Aspects of Computing, ICTAC 2025, Marrakesh, MAR, Nov 24 2025 - Nov 28 2025 (pp. 378-395). Springer Nature, 16237 LNCS
Open this publication in new window or tab >>Pomsets for Process Management: A Healthcare Case Study
Show others...
2026 (English)In: Theoretical Aspects of Computing – ICTAC 2025 - 22nd International Colloquium, Proceedings, Springer Nature , 2026, Vol. 16237 LNCS, p. 378-395Conference paper, Published paper (Refereed)
Abstract [en]

Complex coordination protocols are necessary to manage complex organisations. The healthcare management sector is no exception, since different authorities, users, and systems have to interact with each other in order to achieve their organisational goals. In this paper we consider a case study on the authorisation and accreditation of healthcare structures in the Emilia Romagna region in Italy. We specify the case study using global choreographies so to enable the analysis of the correctness of its communication patterns using the Chemical structure diagram showing a molecule with a central carbon atom bonded to a bromine atom, a methyl group, and a hydroxyl group. The structure is labeled with the text "BrmChO" in blue. tool. This requires to refine A flow chart with a central node labeled "PomCho." The chart appears to have a minimal design with no visible connections or additional nodes. The background is plain white. and its underlying theoretical framework. First, we extend Flow chart depicting a process with a central node labeled "PomCho." The chart likely illustrates steps or decisions related to this central concept, with potential branches or connections not visible in the image. to support not only asynchronous communication, but also synchronous one. Moreover, in both the cases, we provide a more efficient algorithm to check closure properties ensuring realisability of choreographies. The new algorithm allows us to check realisability of larger pomsets than before, which makes our approach viable for complex systems such as our case study.

Place, publisher, year, edition, pages
Springer Nature, 2026
National Category
Reliability and Maintenance
Identifiers
urn:nbn:se:kth:diva-377747 (URN)10.1007/978-3-032-11176-0_22 (DOI)001722455300022 ()2-s2.0-105023472882 (Scopus ID)
Conference
22nd International Colloquium on Theoretical Aspects of Computing, ICTAC 2025, Marrakesh, MAR, Nov 24 2025 - Nov 28 2025
Note

Part of ISBN 9783032111753

QC 20260305

Available from: 2026-03-05 Created: 2026-03-05 Last updated: 2026-05-29Bibliographically approved
Wrisley, A., Guanciale, R., Nadjm-Tehrani, S. & Söderquist, I. (2026). Timing Interference in Multi-core RISC-V Systems: Security Risks and Mitigations. In: Secure IT Systems - 30th Nordic Conference, NordSec 2025, Proceedings: . Paper presented at 30th Nordic Conference on Secure IT Systems, NordSec 2025, Tartu, Estonia, November 12-13, 2025 (pp. 307-325). Springer Nature
Open this publication in new window or tab >>Timing Interference in Multi-core RISC-V Systems: Security Risks and Mitigations
2026 (English)In: Secure IT Systems - 30th Nordic Conference, NordSec 2025, Proceedings, Springer Nature , 2026, p. 307-325Conference paper, Published paper (Refereed)
Abstract [en]

Modern safety-critical and real-time systems increasingly rely on multi-core architectures, which introduce shared hardware resources that can lead to inter-core interference. This interference poses risks to both security and safety, enabling timing side channels and Denial of Service (DoS) attacks. This paper presents a methodology for evaluating the memory hierarchy of hardware platforms, focusing on timing interference and side-channel leakage. Using the OpenPiton platform, we identify and characterize a cross-core covert channel and demonstrate a proof-of-concept side-channel attack exploiting the Network-on-Chip (NoC). Additionally, we evaluate the impact of NoC contention on the worst-case execution time (WCET) of safety-critical applications. Despite exploring software-based mitigations, we find that covert channels cannot be completely eliminated without significant performance trade-offs.

Place, publisher, year, edition, pages
Springer Nature, 2026
Keywords
Computer Architecture, Covert Channels, Multi-Core, NoC, RISC-V, Side Channels, WCET
National Category
Computer Systems Security, Privacy and Cryptography
Identifiers
urn:nbn:se:kth:diva-382377 (URN)10.1007/978-3-032-14782-0_17 (DOI)2-s2.0-105036732849 (Scopus ID)
Conference
30th Nordic Conference on Secure IT Systems, NordSec 2025, Tartu, Estonia, November 12-13, 2025
Note

Part of ISBN 9783032147813

QC 20260526

Available from: 2026-05-26 Created: 2026-05-26 Last updated: 2026-05-26Bibliographically approved
Kamboj, P., Artho, C., Guanciale, R., Jabbarvand, R. & Godfrey, B. (2025). Leveraging Petri Nets for Workflow Anomaly Detection in Microservice Architectures. In: Application and Theory of Petri Nets and Concurrency - 46th International Conference, PETRI NETS 2025, Proceedings: . Paper presented at 46th International Conference on Applications and Theory of Petri Nets and Concurrency, PETRI NETS 2025, Paris, France, Jun 22 2025 - Jun 27 2025 (pp. 219-241). Springer Nature
Open this publication in new window or tab >>Leveraging Petri Nets for Workflow Anomaly Detection in Microservice Architectures
Show others...
2025 (English)In: Application and Theory of Petri Nets and Concurrency - 46th International Conference, PETRI NETS 2025, Proceedings, Springer Nature , 2025, p. 219-241Conference paper, Published paper (Refereed)
Abstract [en]

Modern microservice architectures pose challenges in understanding and managing the complex workflows within these decentralized services. In particular, it is difficult to identify anomalous behavior that could indicate a bug or attack. We use traces of microservice application activity (requests and responses) to infer a model of the application’s normal behavior. Our approach mines Petri nets to formally represent concurrent operations and their temporal dependencies with a targeted delay injection approach that accurately and efficiently learns these dependencies. The models produced are both explainable and easy to inspect, which offers more transparency and control. Our evaluation shows that injecting delays during model training allows us to achieve perfect model and log fitness (Move-Model and Move-Log fitness of 1) with just 29 traces. In contrast, a straightforward approach requires over 10,000 traces to achieve similar accuracy. Our models successfully identify anomalies in various experiments, such as traces with one missing or multiple missing activities, and reordered sequences to simulate issues in real-world scenarios. Our approach outperforms the state-of-the-art method, demonstrating higher accuracy.

Place, publisher, year, edition, pages
Springer Nature, 2025
Keywords
Alignments, Conformance Checking, Cost function, Delay, Microservices, Process discovery, Process mining
National Category
Computer Sciences Computer Systems Robotics and automation
Identifiers
urn:nbn:se:kth:diva-368632 (URN)10.1007/978-3-031-94634-9_11 (DOI)001584539300011 ()2-s2.0-105008762714 (Scopus ID)
Conference
46th International Conference on Applications and Theory of Petri Nets and Concurrency, PETRI NETS 2025, Paris, France, Jun 22 2025 - Jun 27 2025
Note

Part of ISBN 9783031946332

QC 20250819

Available from: 2025-08-19 Created: 2025-08-19 Last updated: 2026-05-29Bibliographically approved
Karlsson, H. A. & Guanciale, R. (2025). Partitioning Kernel with Capability Controlled Temporal and Spatial Partitioning. In: 2025 IEEE Real-Time Systems Symposium, RTSS: . Paper presented at 46th Real Time Systems Symposium-RTSS-Annual, DEC 02-05, 2025, Boston, MA, USA (pp. 68-81). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Partitioning Kernel with Capability Controlled Temporal and Spatial Partitioning
2025 (English)In: 2025 IEEE Real-Time Systems Symposium, RTSS, Institute of Electrical and Electronics Engineers (IEEE) , 2025, p. 68-81Conference paper, Published paper (Refereed)
Abstract [en]

Partitioning kernels often face challenges such as static resource allocation and insufficient temporal protection, limiting their applicability in dynamic and mixed-criticality systems where resource needs and security boundaries evolve over time. To address these limitations, we present S3K, a capability-based multicore partitioning kernel for embedded RISC-V systems. S3K provides robust spatial and temporal isolation, time protection, and dynamic resource reconfiguration, enabling flexible adaptation to changing operational requirements while maintaining strong safety and security guarantees. Its capability-based model ensures secure and efficient resource management, while in-kernel data partitioning prevents information leakage and mitigates side-channel attacks. Additionally, S3K's scheduler guarantees deterministic process dispatch, free from microarchitectural interference. Evaluation results demonstrate S3K's effectiveness, showing the absence of scheduling jitter, resistance to intra-core side-channels, and efficient inter-process communication. These results highlight S3K's suitability for safety-critical and security-critical applications in dynamic, resource-constrained environments.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2025
Series
Real-Time Systems Symposium-Proceedings, ISSN 1052-8725
National Category
Computer Sciences
Identifiers
urn:nbn:se:kth:diva-380632 (URN)10.1109/RTSS66672.2025.00015 (DOI)001679922100006 ()2-s2.0-105032428671 (Scopus ID)
Conference
46th Real Time Systems Symposium-RTSS-Annual, DEC 02-05, 2025, Boston, MA, USA
Note

Part of ISBN 9798331596439, 9798331596422

QC 20260716

Available from: 2026-05-18 Created: 2026-05-18 Last updated: 2026-07-16Bibliographically approved
Lundberg, D., Guanciale, R. & Dam, M. (2025). Proof-Producing Symbolic Execution for P4. In: Verified Software. Theories, Tools and Experiments - 16th International Conference, VSTTE 2024, Revised Selected Papers: . Paper presented at 16th International Conference on Verified Software: Theories, Tools, and Experiments, VSTTE 2024, Prague, Czechia, October 14-15, 2024 (pp. 70-83). Springer Nature
Open this publication in new window or tab >>Proof-Producing Symbolic Execution for P4
2025 (English)In: Verified Software. Theories, Tools and Experiments - 16th International Conference, VSTTE 2024, Revised Selected Papers, Springer Nature , 2025, p. 70-83Conference paper, Published paper (Refereed)
Abstract [en]

We introduce a proof-producing symbolic execution tool for formal verification of P4 programs. The tool has been implemented using the interactive theorem prover HOL4 and results are proved sound with respect to the HOL4P4 formalisation of the P4 language. Most notably, this is a general tool for proving functional correctness that can be applied to entire real-world P4 programs.

Place, publisher, year, edition, pages
Springer Nature, 2025
Keywords
Domain-Specific Languages, Formal Verification, Theorem Proving
National Category
Computer Sciences Computer Systems Embedded Systems
Identifiers
urn:nbn:se:kth:diva-363992 (URN)10.1007/978-3-031-86695-1_5 (DOI)001541342700005 ()2-s2.0-105005252570 (Scopus ID)
Conference
16th International Conference on Verified Software: Theories, Tools, and Experiments, VSTTE 2024, Prague, Czechia, October 14-15, 2024
Note

Part of ISBN 9783031866944

QC 20251021

Available from: 2025-06-02 Created: 2025-06-02 Last updated: 2025-11-12Bibliographically approved
Alshnakat, A., Ahmadian, A. M., Balliu, M., Guanciale, R. & Dam, M. (2025). Securing P4 Programs by Information Flow Control. In: Proceedings - 2025 IEEE 38th Computer Security Foundations Symposium, CSF 2025: . Paper presented at 38th IEEE Computer Security Foundations Symposium, CSF 2025, Santa Cruz, United States of America, June 16-20, 2025 (pp. 284-299). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Securing P4 Programs by Information Flow Control
Show others...
2025 (English)In: Proceedings - 2025 IEEE 38th Computer Security Foundations Symposium, CSF 2025, Institute of Electrical and Electronics Engineers (IEEE) , 2025, p. 284-299Conference paper, Published paper (Refereed)
Abstract [en]

Software-Defined Networking (SDN) has transformed network architectures by decoupling the control and data-planes, enabling fine-grained control over packet processing and forwarding. P4, a language designed for programming data-plane devices, allows developers to define custom packet processing behaviors directly on programmable network devices. This provides greater control over packet forwarding, inspection, and modification. However, the increased flexibility provided by P4 also brings significant security challenges, particularly in managing sensitive data and preventing information leakage within the data-plane. This paper presents a novel security type system for analyzing information flow in P4 programs that combines security types with interval analysis. The proposed type system allows the specification of security policies in terms of input and output packet bit fields rather than program variables. We formalize this type system and prove it sound, guaranteeing that well-typed programs satisfy noninterference. Our prototype implementation, TAP4S, is evaluated on several use cases, demonstrating its effectiveness in detecting security violations and information leakages.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2025
National Category
Computer Sciences Communication Systems
Identifiers
urn:nbn:se:kth:diva-370452 (URN)10.1109/CSF64896.2025.00031 (DOI)001597231500019 ()2-s2.0-105014733792 (Scopus ID)
Conference
38th IEEE Computer Security Foundations Symposium, CSF 2025, Santa Cruz, United States of America, June 16-20, 2025
Note

Part of ISBN 9798331510817

QC 20250930

Available from: 2025-09-30 Created: 2025-09-30 Last updated: 2026-05-29Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0002-8069-6495

Search in DiVA

Show all publications