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)

NMAP security scan with BDD framework

The test results for NMAP may be difficult to understand and take time to interpret for non-security professionals. The purpose of integration with BDD and NMAP allows us to define the NMAP execution in plain English. In this example, we will use NAMP to execute some common web security tests with an NMAP NSE (NMAP Scripting Engine) script. Due to the execution of NMAP and the scanning results can be difficult to interpret, we will apply the Gauntlt framework to execute NMAP. Please be reminded that NAMP web security testing cannot replace a web scanner such as ZAP, due to the limitations of the security payloads and detection engine of NMAP.

NMAP For web security testing

We will be using...