跳到主要內容

簡易檢索 / 詳目顯示

研究生: 陳麗如
Li-Ju Chen
論文名稱: 利用容器技術建立資安測試即服務—以OWASP ZAP為例
Implementing Security Testing as a Service with OWASP ZAP
指導教授: 林熙禎
Shi-Jen Lin
口試委員:
學位類別: 碩士
Master
系所名稱: 管理學院 - 資訊管理學系在職專班
Executive Master of Information Management
論文出版年: 2018
畢業學年度: 106
語文別: 中文
論文頁數: 107
中文關鍵詞: 測試即服務TaaSOWASP ZAPDocker資訊安全
外文關鍵詞: Testing as a Service, OWASP ZAP, Docker, Security Testing, Information Security
相關次數: 點閱:14下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隨著 Web 在現代人生活中愈來愈重要,它的安全性也就愈應該受到重視。然而Web的改版頻率較之傳統的應用程式、或系統軟體,更為頻繁,要兼顧更新頻繁與資訊安全,就需要一個具有效率以及使用彈性的資安測試系統。雲端運算的一個重要概念,就是可以將任何東西轉為以服務的方式來提供 (as a service),而且隨選隨用、用完即還,用多少算多少。
    本論文提出一個資安測試即服務的系統 (Security Testing as a Service, STaaS) ,係利用Docker的容器技術,藉由OWASP ZAP的靜態掃描與動態分析等功能,提供資安測試服務。這個STaaS系統享有容易建立與部署、部署迅速、易於維護、與資源利用更有效率等好處。未來還可以加入自動化測試系統、與CI/CD整合,讓資訊安全也同時是軟體開發/部署流程的一個部份。


    As people are more and more relying on web to get information and acquire services, the importance of web security can no longer be overstated. In the meantime, the web system is usually getting updated more often than traditional application systems. Therefore, it is more critical for web security testing to consider building a more flexible and efficient testing system in order to ensure the web security while being able to handle frequent updating cycles. One big advantage of cloud computing is to provide "anything as a service"; meaning for the extensive variety of services and applications for people to access on demand and to “pay as you go”.
    This thesis aims to utilize the OS level virtualization technology provided by Docker and the powerful passive/active security scanning features provided by OSWAP ZAP, the web security testing application, to implement the Security Testing as a Service (STaaS). This STaaS system is not only quick to deploy, but also easy to maintain, and it’s even more efficient on resources utilization. In the future, STaaS can also be integrated with test automation, or CI/CD system to further embed security testing as a part of continuous development and deployment.

    摘要 I ABSTRACT II 誌謝 III 目錄 IV 圖目錄 VI 表目錄 VIII 第一章 緒論 1 1.1. 研究背景與動機 1 1.2. 研究目的 2 第二章 文獻探討 4 2.1. 測試即服務 (TESTING AS A SERVICE) 4 2.2. 虛擬化技術 6 2.3. OWASP ZAP 10 第三章 研究設計 11 3.1. 系統架構 11 3.2. DOCKER的基本概念 12 3.3. 操作流程 15 3.4. 使用情境 (USE CASES) 16 3.5. 分析OWASP ZAP測試報告 17 第四章 實驗 22 4.1. 實驗環境 22 4.1.1 建置說明 22 4.1.2 實驗環境配置 22 4.1.3 系統規格 23 4.1.4 受測系統 24 4.2. 安裝 DOCKER 25 4.3. 執行 OWASP ZAP 27 4.3.1 快速評估系統的安全性 (Quick Scan) 27 4.3.2 基準安全測試 (Baseline Scan) 29 4.3.3 動態分析 (Active Scan) 33 4.3.4 完整測試 (Full Scan) 41 4.4. 實驗結果討論 45 第五章 結論與未來研究方向 48 5.1. 結論 48 5.2. 未來研究方向 49 5.3. 研究限制 49 參考文獻 50 附錄一:BASELINE SCAN 測試報告 52 附錄二:ACTIVE SCAN 測試報告 60 附錄三:FULL SCAN 測試報告 78

    中文部份
    1. 王宏仁 (2014),「10個Q&A快速認識Docker」,(accessed 2018/3/25, available at: https://www.ithome.com.tw/news/91847)。
    2. 李泳泉 (2010),「Hyper-V伺服器虛擬化簡介」,(accessed 2018/5/13, available at: http://www.cc.ntu.edu.tw/chinese/epaper/0014/20100920_1408.htm)。
    3. Goasguen, S. 著,Docker錦囊妙計,Philipz (鄭淳尹) 譯 (2016)。台北市:美商歐萊禮股份有限公司台灣分公司。
    4. Hu, A. (2016) ,「Docker入門與實踐」,(accessed 2018/3/25, available at: https://www.gitbook.com/book/hujb2000/docker-flow-evolution/details)。
    5. Wikipedia (2017),「chroot」,(accessed 2018/5/13, available at: https://zh.wikipedia.org/wiki/Chroot)。
    6. Wikipedia (2018),「Docker (軟體)」,(accessed 2018/3/29, available at: https://zh.wikipedia.org/wiki/Docker_(%E8%BB%9F%E9%AB%94))。

    英文部份
    1. Asay, M. (2014), “Why Docker... and why now?” (accessed 2018/5/12, available at: https://www.techrepublic.com/article/why-docker-and-why-now/).
    2. Bennetts, S. (2017), “Security Testing with OWASP ZAP in CI/CD - Simon Bennetts - Codemotion Amsterdam 2017,” (accessed 2018/3/29, available at: https://www.slideshare.net/Codemotion/security-testing-with-owasp-zap-in-cicd-simon-bennetts-codemotion-amsterdam-2017).
    3. Hykes, S. (2014), “DOCKER 0.9: Introducing Execution Drivers and libcontainer,” (accessed 2018/3/29, available at: https://blog.docker.com/2014/03/docker-0-9-introducing-execution-drivers-and-libcontainer/).
    4. Maklaan (2015), “Based on a Docker blog post, Public Domain,” (accessed 2018/3/29, available at: https://commons.wikimedia.org/w/index.php?curid=37965701).
    5. Mishra, P., and N. Tripathi (2017), “Testing as a Service.” In: Mohanty, H., Mohanty, J., Balakrishnan, A. (eds) Trends in Software Testing. Springer, Singapore
    6. O'Grady, S. (2014), “What is the Atomic Unit of Computing?” (accessed 2018/5/12, available at: http://redmonk.com/sogrady/2014/08/06/atomic-unit-computing/#ixzz3BdFBu12G).
    7. Osnat, R. (2018), “A Brief History of Containers: From the 1970s to 2017,” (accessed 2018/5/11, available at: https://blog.aquasec.com/a-brief-history-of-containers-from-1970s-chroot-to-docker-2016).
    8. OWASP (2018), “Docker · zaproxy/zaproxy Wiki · GitHub,” (accessed 2018/5/21, available at: https://github.com/zaproxy/zaproxy/wiki/Docker).
    9. OWASP (2017), “OWASP ZAP User Guide,” (accessed 2018/3/29, available at: https://github.com/zaproxy/zap-core-help/wiki/HelpIntro).
    10. Pardeshi, S. N., and V. Choure (2014), “Testing as a Service on Cloud: A Review”, International Journal on Recent and Innovation Trends in Computing and Communication, Volume: 2 Issue: 2, pp. 188~ 193, February 2014.
    11. Psiinon (2017) (Bennetts, S.), “bodgeit/README.md,” (accessed 2018/5/6, available at: https://github.com/psiinon/bodgeit/blob/master/README.md).
    12. Roke (2017), “File: Countries initially affected in WannaCry ransomware attack.png,” (accessed 2018/5/15, available at: https://zh.wikipedia.org/wiki/WannaCry#/media/File:Countries_initially_affected_in_WannaCry_ransomware_attack.png).
    13. Rouse, M. (2012), “Testing as a Service (TaaS),” (accessed 2018/3/29, available at: http://searchcloudapplications.techtarget.com/definition/Testing-as-a-Service-TaaS).
    14. Strotmann, J. (2016), “Infographic: A Brief History of Containerization,” (accessed 2018/5/11, available at: https://www.plesk.com/blog/business-industry/infographic-brief-history-linux-containerization/).
    15. Wikipedia (2018), “Docker (software),” (accessed 2018/3/29, available at: https://en.wikipedia.org/wiki/Docker_(software)).
    16. Wikipedia (2018), “Virtual Machine,” (accessed 2018/5/12, available at: https://en.wikipedia.org/wiki/Virtual_machine).

    QR CODE
    :::