Summary
In this chapter, we looked at the important aspects of protecting pen testing assets. This included techniques such as locking down pen test machines to limit the attack surface, as well as improving logging to keep better evidence and records of activities, as well as when they occurred. In particular, we explored the firewall capabilities of common operating systems, and how to configure and change settings to lock down traffic and limit exposure.
Next, we learned more about PAM modules on Linux and how to enable better insights and notifications when logon sessions occur on machines. We explored a wide range of technologies that can help with notifications, including sending emails and creating pop-up notifications on the desktop.
An important part of understanding exposure is to keep an eye on provisioned users of hosts, especially for users that have administrative or superuser rights.
In the next chapter, we will focus on decoy files and deception techniques...