Book Image

Practical Security Automation and Testing

By : Tony Hsiang-Chih Hsu
Book Image

Practical Security Automation and Testing

By: Tony Hsiang-Chih Hsu

Overview of this book

Security automation is the automatic handling of software security assessments tasks. This book helps you to build your security automation framework to scan for vulnerabilities without human intervention. This book will teach you to adopt security automation techniques to continuously improve your entire software development and security testing. You will learn to use open source tools and techniques to integrate security testing tools directly into your CI/CD framework. With this book, you will see how to implement security inspection at every layer, such as secure code inspection, fuzz testing, Rest API, privacy, infrastructure security, and web UI testing. With the help of practical examples, this book will teach you to implement the combination of automation and Security in DevOps. You will learn about the integration of security testing results for an overall security status for projects. By the end of this book, you will be confident implementing automation security in all layers of your software development stages and will be able to build your own in-house security automation platform throughout your mobile and cloud releases.
Table of Contents (19 chapters)

Summary

In this chapter, we mainly discussed how to apply a BDD framework to security testing. The security testing process and results can be difficult to understand for a non-security team; the adoption of a BDD security framework can reduce the communication gap. For example, a security team may test for POODLE vulnerability; in business language, that would be the verification of the secure communication of TLS.

We introduced two automation frameworks, Robot Framework and Gauntlt. Robot Framework uses a keyword-driven approach to define the testing steps and Gauntlt uses a GWT approach to define the testing scripts. We demonstrated the testing of SQL injection by using sqlmap, and illustrated how Robot Framework can be used to execute sqlmap . In the Robot Framework script, we use Execute Command to execute sqlmap, and we define the expected results by using Should Not Contain...