XACML for Mobility (XACML4M) - An Access Control Framework for Connected Vehicles

Ashish Ashutosh, Armin Gerl, Simon Wagner, Lionel Brunie, Harald Kosch2023 · DOI

TL;DR

Connected vehicles generate vast amounts of sensitive data, necessitating robust access control. This paper introduces XACML4M, an extension of the eXtensible Access Control Markup Language (XACML), to address the unique requirements of connected vehicles, including signal, time, location, and frequency-based access control. Their proposed framework successfully integrates these controls, offering a more secure and privacy-preserving approach to managing vehicle data.

What Problem Does This Paper Address?

The automotive industry is undergoing a significant transformation with the increasing integration of complex, sensor-rich systems in vehicles. This connectivity enables vehicles to communicate with various entities, generating a wealth of data. However, this data is often private and vulnerable, raising concerns about safety, security, and privacy. Existing access control mechanisms are often too generic and don't adequately address the dynamic and context-aware nature of connected vehicle environments. Specifically, the authors identify a gap in systems that can simultaneously handle:

  • Signal Access Control (SAC): Ensuring only authorized entities can access specific vehicle sensor data.
  • Time-Based Access Control (TBAC): Restricting access based on specific time periods.
  • Location-Based Access Control (LBAC): Granting or denying access based on the vehicle's geographical location.
  • Frequency-Based Access Control (FBAC): Limiting how often data can be accessed to prevent system overload or privacy breaches.

The paper aims to answer the research question: "How can Attribute-Based Access Control (ABAC) fulfill connected vehicle requirements of signal access, time-based access, location-based access and frequency-based access control?"

Methods

The authors propose XACML for Mobility (XACML4M), a data flow model based on the standard eXtensible Access Control Markup Language (XACML). XACML is an established, attribute-based access control (ABAC) standard. XACML4M extends XACML by:

  • Adding New Data Types and Functions: This includes dayOfWeek and dateTime-in-dayOfWeek-range for TBAC, and Geometry data types and geometry-contains functions for LBAC. A custom data type urn:tf:cyber:xacml:polling-frequency:time-since-last-access:ms is introduced for FBAC.
  • Introducing New Components to the Data Flow Model:
    • Vehicle Data Environment (VDE) with Policy Enforcement Point (PEP): This component handles access to vehicle sensor data and intercepts incoming requests.
  • Time Extensions: Provides time-related attributes for policy evaluation.
  • GeoLocation Provider: Offers geospatial data types and fetches the vehicle's current location.
  • Polling Frequency Provider: Retrieves the timestamp of the last access by a requesting entity.
  • Access Log Service: Records successful access events.

The core ABAC components (PDP, PIP, PAP) are retained from the standard XACML model. The proposed model is then implemented as a proof-of-concept on a Raspberry Pi 4.

Datasets

Not discussed in the paper. The evaluation relies on a simulated use case and authorization policies rather than pre-existing datasets.

Key Insights and Ideas

  • Context is King for Vehicle Data: The paper strongly emphasizes that the value and vulnerability of vehicle data are highly dependent on context, such as time and location. Generic access control is insufficient.
  • ABAC as a Foundation: The authors confirm that ABAC, particularly when extended, is a suitable paradigm for addressing the complex, multi-faceted access control needs of connected vehicles.
  • Modular Extension Approach: XACML4M demonstrates that existing standards like XACML can be effectively extended with new components and data types to meet domain-specific requirements without reinventing the wheel.
  • The Power of Specific Providers: The introduction of dedicated providers for location, time, and polling frequency significantly enhances the granularity and effectiveness of the access control policies.
  • Practical Implementation Matters: Moving beyond theoretical proposals, the paper presents a functional prototype, validating the feasibility of their approach.

Key Results

The functional evaluation of the XACML4M data flow model, based on authorization policies derived from a realistic use case, demonstrated that:

  • Signal Access Control (SAC): The framework successfully restricted access to specific sensor data (e.g., GPS) while denying access to others (e.g., engine data) for unauthorized applications.
  • Time-Based Access Control (TBAC): Access was correctly granted or denied based on defined time windows (e.g., off-peak hours).
  • Location-Based Access Control (LBAC): Access was granted only when the vehicle was outside a specified geographical boundary (city limits of Haiden).
  • Frequency-Based Access Control (FBAC): The system enforced a minimum time interval between access requests (e.g., 1000 ms for sensor data), preventing excessive polling.

The authors conclude that XACML4M successfully fulfills all four identified automotive access control requirements.

Limitations and Future Work

The authors acknowledge several limitations and propose future directions:

  • Limited Policy Complexity: The evaluation used policies with a maximum of three rules. Future work should involve experimenting with more complex, real-life scenarios to fully assess performance and limitations.
  • Resource Constraints: The framework was tested on a Raspberry Pi 4, which has similar hardware constraints to in-vehicle infotainment systems. However, a real vehicle environment might present different resource limitations.
  • Performance Metrics: The current evaluation focuses on functionality. Future work will include performance analysis, such as computation time, request load handling, and policy evaluation time for varying policy sizes.
  • GDPR Compliance: The authors plan to incorporate "purpose-based access control" to align with GDPR requirements, especially concerning personal data within vehicle sensor data. This will involve adding GDPR-specific attribute providers and data transformation requirements.
  • Visual Specification Language: To manage the complexity of GDPR-compliant policies, a visual specification language for representing and translating policies into XACML is proposed.
  • Alternative Policy Languages: The authors suggest evaluating alternative policy languages like ALFA for comparison.
  • Real-World Testing: The lack of access to a real vehicle for testing is a significant limitation. Future work should involve monitoring and understanding the framework's behavior under realistic load conditions in an actual automotive setting.

Summary updated

BibTeX
@misc{ashutosh2023xacml,
  author = {Ashish Ashutosh and Armin Gerl and Simon Wagner and Lionel Brunie and Harald Kosch},
  title = {{XACML for Mobility (XACML4M) - An Access Control Framework for Connected Vehicles}},
  year = {2023},
  doi = {10.3390/s23041763},
}
Figure