Test-Based Least Privilege Discovery on Cloud Infrastructure as Code

被引:3
|
作者
Shimizu, Ryo [1 ]
Kanuka, Hideyuki [1 ]
机构
[1] Hitachi Ltd, Tokyo, Japan
关键词
Cloud Computing; Infrastructure as Code; Least Privilege; Cloud Application Development; Software Testing;
D O I
10.1109/CloudCom49646.2020.00007
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Infrastructure as Code (IaC) for cloud is an important practice due to its efficient and reproducible provisioning of cloud environments. On a cloud IaC definition (template), developers need to manage permissions for each cloud services as well as a desired cloud environment. To minimize the risk of cyber-attacks, retaining least privilege, i.e., giving a minimum set of permissions, on IaC templates is important and widely regarded as best practice. However, discovering least privilege on a target IaC template at one time is an error-prone and burdensome task for developers. One reason is that some actions of a cloud service implicitly use other services and require corresponding permissions, which are hard to recognize without actual executions on the cloud and burden the development process with iterations of permission setting and provisioned result checking. In this paper, we present a technique to automatically discover least privilege. Our method incrementally finds the least privilege by the iteration of testing on the cloud and (re)configuring permissions on the basis of test results. We conducted case studies and found that our approach can identify least privilege on Amazon Web Services within a practical time. Our experiments also show that the proposed algorithm can reduce the number of test executions, which directly affects the time and cost on cloud to determine least privilege, by 69.3% and 39.8% compared with the random and heuristic methods, respectively, on average.
引用
收藏
页码:1 / 8
页数:8
相关论文
共 50 条
  • [1] Test-suite-guided discovery of least privilege for cloud infrastructure as code
    Ryo Shimizu
    Yuna Nunomura
    Hideyuki Kanuka
    [J]. Automated Software Engineering, 2024, 31
  • [2] Test-suite-guided discovery of least privilege for cloud infrastructure as code
    Shimizu, Ryo
    Nunomura, Yuna
    Kanuka, Hideyuki
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2024, 31 (01)
  • [3] Online Discovery of Search Objectives for Test-based Problems
    Liskowski, Pawel
    Krawiec, Krzysztof
    [J]. PROCEEDINGS OF THE 2016 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE (GECCO'16 COMPANION), 2016, : 163 - 164
  • [4] Test-based cloud service certification of opportunistic providers
    Stephanow, Philipp
    Srivastava, Gaurav
    Schuette, Julian
    [J]. PROCEEDINGS OF 2016 IEEE 9TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (CLOUD), 2016, : 843 - 848
  • [5] Online Discovery of Search Objectives for Test-Based Problems
    Liskowski, Pawel
    Krawiec, Krzysztof
    [J]. EVOLUTIONARY COMPUTATION, 2017, 25 (03) : 375 - 406
  • [6] Cloud WorkBench - Infrastructure-as-Code Based Cloud Benchmarking
    Scheuner, Joel
    Leitner, Philipp
    Cito, Jurgen
    Gall, Harald
    [J]. 2014 IEEE 6TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGY AND SCIENCE (CLOUDCOM), 2014, : 246 - 253
  • [7] Evaluating the performance of continuous test-based cloud service certification
    Stephanow, Philipp
    Banse, Christian
    [J]. 2017 17TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND GRID COMPUTING (CCGRID), 2017, : 1117 - 1126
  • [8] A Test-Based Incremental Security Certification Scheme for Cloud-Based Systems
    Anisetti, Marco
    Ardagna, Claudio A.
    Damiani, Ernesto
    [J]. 2015 IEEE 12TH INTERNATIONAL CONFERENCE ON SERVICES COMPUTING (SCC 2015), 2015, : 736 - 741
  • [10] Discovery of Implicit Objectives by Compression of Interaction Matrix in Test-Based Problems
    Liskowski, Pawel
    Krawiec, Krzysztof
    [J]. PARALLEL PROBLEM SOLVING FROM NATURE - PPSN XIII, 2014, 8672 : 611 - 620