PAMMELA: Policy Administration Methodology using Machine Learning

Varun Gumma, Barsha Mitra, Soumyadeep Dey, Pratik Shashikantbhai Patel, Sourabh Suman, Saptarshi Das, Jaideep VaidyaSecrypt 2021 · DOI

TL;DR

This paper introduces PAMMELA, a novel machine learning-based methodology for automating the creation and augmentation of Attribute-Based Access Control (ABAC) policies. By learning from existing policies and access logs, PAMMELA significantly reduces the administrative overhead associated with managing complex access control systems, especially in dynamic or collaborative environments.

What Problem Does This Paper Address?

In today's dynamic and collaborative digital environments, managing access control is crucial. Attribute-Based Access Control (ABAC) offers a flexible and powerful way to enforce these controls by defining rules based on attributes of users, resources, and the environment. However, creating and maintaining ABAC policies from scratch is a labor-intensive and time-consuming task for system administrators. Organizational changes, such as new departments or job roles, necessitate policy updates, which can be equally challenging. Existing methods for policy generation, like policy mining, can be computationally expensive. This paper addresses the need for an efficient, automated solution to both create new ABAC policies and augment existing ones, thereby reducing administrative burden and potential errors.

Methods

The core of this work is the PAMMELA (Policy Administration Methodology using Machine Learning) framework. PAMMELA tackles the ABAC Policy Inference Problem (ABAC-PIP), which aims to derive new ABAC rules from an existing policy and a set of access requests.

The methodology operates in two phases:

  1. Training Phase: A supervised machine learning classifier is trained using an existing ABAC policy. This policy, comprising both positive (granting access) and negative (denying access) rules, serves as labeled data. Attributes are treated as features, and the classifier learns the conditions under which access should be granted or denied.
  2. Testing Phase: The trained classifier is then presented with new access requests and associated attribute information. These requests are typically those not covered by the existing policy, arising from organizational changes or migration to ABAC. PAMMELA classifies these requests, determining whether to grant or deny access and, for granted requests, specifying the necessary permissions. The output of this phase is used to generate new rules that augment or form a new policy.

To enhance PAMMELA's performance, two techniques are proposed:

  • Attribute Relation based Feature Extraction (ARFE): This technique captures relationships between common subject and object attributes. For instance, if an attribute like "Course" is present for both a student (subject) and an assignment (object), ARFE creates new features to leverage this commonality.
  • Attribute Value Clustering (AVC): This method groups similar attribute values to reduce the complexity of the input data. For example, grouping "Quiz" and "Assignment" under a broader "Evaluation Component" category.

Datasets

The authors created three manually crafted datasets to evaluate PAMMELA:

  • University Dataset 1: Mimics an educational institute's workflow with attributes like Designation, Department, Degree, Year, and Resource-Type. It contains 53 training rules and 1010 test access requests.
  • University Dataset 2: A more detailed dataset for an educational institute, featuring more attributes and a significantly larger training set (156,775 rules) with 483 test access requests.
  • Company Dataset: Designed to represent a software company, with attributes like Designation, Project-Name, and Resource-Type. It includes 384 training rules and 291 test access requests.

These datasets were designed to cover scenarios with varying ratios of training rules to test requests and introduced new attribute values in the test data to simulate real-world changes.

Key Insights and Ideas

  • Automated Policy Management: The primary insight is that machine learning can effectively automate the complex and often manual process of ABAC policy administration, significantly reducing human effort and potential errors.
  • Leveraging Existing Policies: The approach demonstrates that existing ABAC policies are valuable assets that can be leveraged to create new policies or update existing ones, rather than starting from scratch.
  • Augmentation vs. Re-mining: PAMMELA offers a more efficient approach to policy updates by focusing on augmenting existing policies with new rules derived from new access requests, rather than re-mining the entire policy.
  • Enhancement Techniques Matter: The ARFE and AVC techniques demonstrably improve PAMMELA's performance, highlighting the importance of feature engineering and data representation in machine learning for policy inference.
  • Flexibility in Classifier Choice: The methodology is designed to work with various supervised learning classifiers, allowing administrators to experiment and select the best-performing option for their specific needs.

Key Results

PAMMELA, especially when enhanced with ARFE and AVC (PAMMELA-ARFE+AVC), consistently achieved high performance across all three datasets.

  • Improved Performance: The enhanced versions of PAMMELA (ARFE, AVC, and ARFE+AVC) significantly outperformed the naive approach (PAMMELA-Naive) in terms of F1-score, indicating better overall accuracy and balance between precision and recall.
  • ARFE vs. AVC: For datasets with many common subject/object attributes and consistent value assignments, ARFE showed better performance. Conversely, for datasets with fewer common attributes or less consistent value assignments, AVC proved more beneficial.
  • Best Performance with Combination: PAMMELA-ARFE+AVC consistently yielded the best results across all datasets and classifiers, demonstrating the synergistic effect of both enhancement techniques.
  • Efficiency: The paper highlights that PAMMELA has low training and testing times. The maximum training time observed was 86 seconds, and testing times were typically under 1 second, making it practical for administrators.

Limitations and Future Work

  • Limitations:
    • The methodology assumes that for new access requests, relevant attribute-value assignment information is available.
  • For adaptive policy inference, it's assumed that the set of permissions associated with new rules is the same as corresponding rules in the reference policy.
  • The current work focuses on supervised learning; more complex scenarios might benefit from other ML paradigms.
  • Future Work:
    • Exploring deep learning, reinforcement learning, and incremental learning for ABAC policy inference.
  • Adapting ABAC policies from multiple organizations for a single target organization, which would involve conflict resolution among rules from different sources.

Summary updated

BibTeX
@inproceedings{gumma2021pammela,
  author = {Varun Gumma and Barsha Mitra and Soumyadeep Dey and Pratik Shashikantbhai Patel and Sourabh Suman and Saptarshi Das and Jaideep Vaidya},
  title = {{PAMMELA: Policy Administration Methodology using Machine Learning}},
  booktitle = {Secrypt},
  year = {2021},
  doi = {10.5220/0011272400003283},
}
Figure