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 discussed various kinds of techniques to achieve API fuzz security testing. We have introduced the use of FuzzDB and seclist for the sources of data input. In addition, we also demonstrated the use of Radamsa, which allows us to dynamically generate fuzz data based on a specified data sample.

For the API fuzz testing, we also demonstrated some automation frameworks and tools such as JMeter, Selenium/DDT, Robot Framework DDT, 0d1n, Wfuzz, and integration with ZAP. During API fuzz testing, it's recommended to apply ZAP as a proxy to identify security issues. We demonstrated four different technical approaches.

Approach 1 is to do the testing using Wfuzz. It can do the fuzz testing with multiple parameters, and output a summary of response codes and the number of lines, words, and chars of every HTTP response. Wfuzz testing is a good candidate for...