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)

Building your security API testing framework

There are several approaches and open source tools that can help to build your API security testing framework. The key challenge for security testing is the processing responses part. For example, to be able to identify the SQL injection vulnerability, the security testing requires not only proper designed injection payloads, but also the ability to identify the responses for SQL injection patterns. Therefore, when we build the security testing for restful or SOAP APIs, it's recommended that you apply the web security testing framework to help with the response detection.

To build the security API testing framework, we will introduce three levels of approaches as summarized in the following table:

Level

Recommended toolkits

Pros and cons

Basic

ZAP

ZAP can provide a general web security baseline scan. However, ZAP...