TAC: 混合 IAM 权限提升检测
TAC: Hybrid IAM Privilege Escalation Detection
AI总结:
TAC是首个支持白盒和灰盒分析的IAM权限提升检测框架,通过识别权限流模式,覆盖五类PE类别,构建TAC-WB和TAC-GB,有效检测遗漏攻击并优化灰盒检测效率。
摘要:
IAM 配置错误是云计算中权限提升(PE)攻击的主要原因,导致数据泄露和重大经济损失。现有 PE 检测器存在两大局限:仅覆盖部分 PE 类型,导致许多攻击被遗漏;需要完整访问云配置,而客户可能不愿共享敏感信息。我们提出了 TAC,首个支持白盒和灰盒分析的 IAM PE 检测框架,适用于 Amazon Web Services (AWS)。为提高覆盖范围,我们系统研究了 AWS IAM 中权限的获取方式,识别出五类 PE 类别。所有五类共享一个模式:权限跨实体扩散。我们定义此为权限流,并手动提取了超过 14,000 个 AWS 操作中的 219 个模板。基于此,我们构建了 TAC-WB,一个覆盖广泛的白盒检测器。我们还构建了 TAC-GB,首个灰盒 PE 检测器,可与部分配置协同工作。客户可以选择揭示哪些实体以及是否回答权限相关问题。TAC-GB 使用动态查询过程,适应每个响应,并利用强化学习与图神经网络来询问最有用的问题,同时减少交互。我们还创建了 TAC-Bench,一个包含 2,500 个任务的基准测试集,反映现实中的 IAM 配置错误。实验表明,TAC-WB 能发现所有先前工具遗漏的 PE,而 TAC-GB 在有限查询预算下超越其他灰盒方法,甚至在有限预算下也常与白盒方法表现相当。
英文摘要:
IAM misconfigurations are a major cause of privilege escalation (PE) attacks in the cloud, leading to data breaches and major financial losses. Existing PE detectors have two main limits: they cover only some PE types, so many attacks are missed, and they require full access to cloud configurations, which customers may not want to share because of sensitive information. We present TAC, the first IAM PE detection framework that supports both whitebox and greybox analysis for Amazon Web Services (AWS). To improve coverage, we systematically study how permissions are acquired in AWS IAM and identify five PE categories. All five share one pattern: permissions spread across entities. We define this as permission flows and manually extract 219 templates from more than 14,000 AWS operations. Based on this, we build TAC-WB, a whitebox detector with broad PE coverage. We also build TAC-GB, the first greybox PE detector, which works with partial configurations. Customers can choose which entities to reveal and whether to answer questions about permissions. TAC-GB uses a dynamic query process that adapts to each response and uses reinforcement learning with graph neural networks to ask the most useful questions while reducing interaction. We also create TAC-Bench, a benchmark with 2,500 tasks reflecting real-world IAM misconfigurations. Experiments show that TAC-WB finds all PEs missed by prior tools, while TAC-GB outperforms other greybox methods and often matches whitebox methods even with limited query budgets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。