Search arXiv⌕ Search

arXiv subjects

Daniele Canavese

Publications and source records attributed to Daniele Canavese.

8 recordsLinked to original sources

Homogeneous control of security functions via cross-domain delegation

Open Command and Control (OpenC2) was designed to facilitate the orchestration of heterogeneous cyber-defense technologies through a vendor-agnostic language. However, while the standard integrates secure transfer protocols, it lacks a common prescriptive mechanism for IAM. This choice leaves a significant architectural gap, jeopardizing the applicability of Managed Security Service (MSS), where cross-domain delegation is a critical issue. This paper addresses this gap by proposing a robust IAM framework based on the OAuth2 mechanism. Our work addresses the "impedance mismatch" between the browser-centric approach of OAuth2 and automated, non-interactive OpenC2 controllers. To this end, we introduce a novel Headless User Agent component that manages user credentials without requiring human interaction via a browser or other tools. Additionally, we integrate fine-grained access control for the execution of OpenC2 commands, which implements the basic security principle of least privileges. The overall solution is implemented as a modular extension of the otupy OpenC2 library, and supports both HTTP and MQTT transfer bindings. Experimental validation demonstrates the functional correctness of the identity management and access control layers. At the same time, performance analysis quantifies the overhead introduced by per-request token introspection at approximately 14.5 ms, confirming the approach's viability for real-time operational environments.

cs.CR↗

XBOM-based Cross-Layer Context Discovery for Cloud Continuum Security

Security orchestration in the cloud continuum requires a current, machine-processable view of resources and their dependencies. Open Command and Control (OpenC2) standardizes commands sent to cyber-defense functions, but it does not define a general mechanism for discovering the heterogeneous context in which those functions operate. This paper presents XBOM-OpenC2, an actuator profile that returns an eXtended Bill of Materials (XBOM) of a network as a fully compatible CycloneDX document. Its implementation separates environment-specific collectors from format-independent orchestration and from CycloneDX serialization. We evaluated our implementation with 120 passing unit tests and validated its efficiency on a variety of (emulated and virtualized) scenarios, including IoT devices, Linux hosts, 5G, Kubernetes, and OpenStack networks. The results demonstrate the feasibility of standards-based cross-layer context discovery while identifying scalability, cross-domain identity reconciliation, freshness, and multi-format fidelity as areas requiring further investigation.

cs.CR↗

Unified Remote Lifecycle Management of Kernel-Level Network Programs

Extended Berkeley Packet Filter (eBPF) programs are increasingly used for networking, observability, and security in cloud systems, but their deployment is commonly controlled through tool-specific interfaces. This paper presents an Open Command and Control (OpenC2) actuator profile and a prototype consumer for remotely managing the lifecycle of eBPF network programs. The profile supports capability discovery, artifact transfer, attachment, inspection, and program detachment. The implementation supports the Linux Traffic Control (TC) hook, persists ownership and attachment metadata, prepares interfaces with the clsact queuing discipline, and constrains privileged command execution through token validation, an allowlisted command surface, and shell-free process invocation. We validate the prototype through recorded end-to-end executions of the complete eBPF lifecycle and all evaluated operations completed successfully. Mean end-to-end latency ranged from 17.7 ms for query operations to 135.4 ms for artifact transfer. For create, query, and delete operations, OpenC2 introduced an additional 15-42 ms relative to native tc. These measurements provide a controlled local baseline for the management-plane cost of the proposed abstraction.

cs.NI↗

Empirical Assessment of the Code Comprehension Effort Needed to Attack Programs Protected with Obfuscation

Evaluating the effectiveness of software protection is crucial for selecting the most effective methods to safeguard assets within software applications. Obfuscation involves techniques that deliberately modify software to make it more challenging to understand and reverse-engineer, while maintaining its original functionality. Although obfuscation is widely adopted, its effectiveness remains largely unexplored and unthoroughly evaluated. This paper presents a controlled experiment involving Master's students performing code comprehension tasks on applications hardened with obfuscation. The experiment's goals are to assess the effectiveness of obfuscation in delaying code comprehension by attackers and to determine whether complexity metrics can accurately predict the impact of these protections on success rates and durations of code comprehension tasks. The study is the first to evaluate the effect of layering multiple obfuscation techniques on a single piece of protected code. It also provides experimental evidence of the correlation between objective metrics of the attacked code and the likelihood of a successful attack, bridging the gap between objective and subjective approaches to estimating potency. Finally, the paper highlights significant aspects that warrant additional analysis and opens new avenues for further experiments.

cs.CR↗

Automatic Selection of Protections to Mitigate Risks Against Software Applications

This paper introduces a novel approach for the automated selection of software protections to mitigate MATE risks against critical assets within software applications. We formalize the key elements involved in protection decision-making - including code artifacts, assets, security requirements, attacks, and software protections - and frame the protection process through a game-theoretic model. In this model, a defender strategically applies protections to various code artifacts of a target application, anticipating repeated attack attempts by adversaries against the confidentiality and integrity of the application's assets. The selection of the optimal defense maximizes resistance to attacks while ensuring the application remains usable by constraining the overhead introduced by protections. The game is solved through a heuristic based on a mini-max depth-first exploration strategy, augmented with dynamic programming optimizations for improved efficiency. Central to our formulation is the introduction of the Software Protection Index, an original contribution that extends existing notions of potency and resilience by evaluating protection effectiveness against attack paths using software metrics and expert assessments. We validate our approach through a proof-of-concept implementation and expert evaluations, demonstrating that automated software protection is a practical and effective solution for risk mitigation in software.

cs.CR↗

Design, Implementation, and Automation of a Risk Management Approach for Man-at-the-End Software Protection

The last years have seen an increase in Man-at-the-End (MATE) attacks against software applications, both in number and severity. However, software protection, which aims at mitigating MATE attacks, is dominated by fuzzy concepts and security-through-obscurity. This paper presents a rationale for adopting and standardizing the protection of software as a risk management process according to the NIST SP800-39 approach. We examine the relevant constructs, models, and methods needed for formalizing and automating the activities in this process in the context of MATE software protection. We highlight the open issues that the research community still has to address. We discuss the benefits that such an approach can bring to all stakeholders. In addition, we present a Proof of Concept (PoC) decision support system that instantiates many of the discussed construct, models, and methods and automates many activities in the risk analysis methodology for the protection of software. Despite being a prototype, the PoC's validation with industry experts indicated that several aspects of the proposed risk management process can already be formalized and automated with our existing toolbox and that it can actually assist decision-making in industrially relevant settings.

cs.SE↗

Man-at-the-End Software Protection as a Risk Analysis Process

The last years have seen an increase of Man-at-the-End (MATE) attacks against software applications, both in number and severity. However, MATE software protections are dominated by fuzzy concepts and techniques, with security-through-obscurity omnipresent in the field. This paper presents a rationale for adopting and standardizing the protection of software as a risk management process according to the NIST SP800-39 approach. We examine the relevant aspects of formalizing and automating the activities in this process in the context of MATE software protection. We highlight the open issues that the research community still has to address. We discuss the benefits that such an approach can bring to all stakeholders. In addition, we present a Proof of Concept (PoC) of a decision support system that automates many activities in the risk analysis methodology towards the protection of software applications. Despite still being a prototype, the PoC validation with industry experts indicated that several aspects of the proposed risk management process can already be formalized and automated with our existing toolbox, and that it can actually assist decision making in industrially relevant settings

cs.SE↗

Classification and Analysis of Communication Protection Policy Anomalies

This paper presents a classification of the anomalies that can appear when designing or implementing communication protection policies. Together with the already known intra- and inter-policy anomaly types, we introduce a novel category, the inter-technology anomalies, related to security controls implementing different technologies, both within the same network node and among different network nodes. Through an empirical assessment, we prove the practical significance of detecting this new anomaly class. Furthermore, this paper introduces a formal model, based on first-order logic rules that analyses the network topology and the security controls at each node to identify the detected anomalies and suggest the strategies to resolve them. This formal model has manageable computational complexity and its implementation has shown excellent performance and good scalability.

cs.CR↗