paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Automatically Reducing Privilege for Access Control Policies

自动缩减访问控制策略的权限
OOPSLA 8(OOPSLA2)2024匹配度 2/10 · 该论文属于访问控制策略的程序合成与最小权限优化,虽有一定形式化保证和工业落地,但与用户核心关注的静态分析、Agentic/LLM 程序、浮点程序分析、贝叶斯程序分析及其与 LLM 的交叉均无直接关系。引用 16 inbox
Loris D’Antoni, Shuo Ding, Amit Goel, Mathangi Ramesh, Neha Rungta, Chungha Sung
dblp: 2026-09-10crossref: 2026-09-10

AI 速览

一句话:提出 IAM-PolicyRefiner,基于访问日志合成更严格且符合最小权限的 AWS IAM 策略。

访问控制策略用于保护云资源,应只授予应用所需权限,但随应用与权限变化,策略编写和维护十分困难。本文针对 AWS IAM 策略语言,给定用户策略与应用访问历史,计算仍覆盖观测权限的最不宽松局部修改,以更符合最小权限原则。作者将问题建模为策略格上的泛化问题,证明合成算法正确,并实现可高效并行的工具 IAM-PolicyRefiner。在带访问日志的 AWS 角色策略上评估:每个角色可在 1 分钟内得到易审查的精化策略,且策略不过拟合日志,在留出测试请求上也能允许。

问题
云访问控制策略常被授予过多权限,且随着应用和所需权限变化,手工维护符合最小权限的策略十分困难。
方法
给定 AWS IAM 策略和访问日志,在策略局部修改格中计算仍覆盖历史权限的最不宽松策略,并给出正确性保证和可并行实现。
评估
实现 IAM-PolicyRefiner,在带访问日志的 AWS 角色策略上评估;每个角色不到 1 分钟生成易审查的精化策略,且在留出测试请求上未过拟合。
原文摘要(Abstract)

Access control policies are programs used to secure cloud resources. These polices should only grant the necessary permissions that a given application needs. However, it is challenging to write and maintain policies as applications and their required permissions change over time. In this paper, we focus on the Amazon Web Services (AWS) IAM policy language and present an approach that, given a policy, synthesizes a modified policy that is more restrictive and better abides to the principle of least privilege. Our approach looks at the actual access history (e.g., access logs) used by an application and computes the least permissive local modification of the user-given policy that still provides the same permissions that were observed in the access history. We treat the problem of computing the least permissive policy as a generalization problem in a lattice of possible policies (i.e., the set of local modifications). We show that our synthesis algorithm comes with correctness guarantees and is amendable to an efficient implementation that is easy to parallelize. We implement our algorithm in a tool IAM-PolicyRefiner and evaluate it on policies attached to AWS roles with access logs. For each role, IAM-PolicyRefiner can compute easy-to-inspect refined policies in less than 1 minute, and the refined policies do not overfit to the requests in the log—i.e., the policies also allow requests in a left-out test set of requests.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{DAntoniDGRRS24,
  title = {Automatically Reducing Privilege for Access Control Policies},
  author = {Loris D’Antoni and Shuo Ding and Amit Goel and Mathangi Ramesh and Neha Rungta and Chungha Sung},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {OOPSLA2},
  year = {2024},
  doi = {10.1145/3689738}
}