---
title: "10. Post-Exploitation"
date: 2024-07-11
draft: false
---

Let's assume we successfully exploited the target system during the `Exploitation` stage. As with the Exploitation stage, we must again consider whether or not to utilize `Evasive Testing` in the `Post-Exploitation` stage. We are already on the system in the post-exploitation phase, making it much more difficult to avoid an alert. The `Post-Exploitation` stage aims to obtain sensitive and security-relevant information from a local perspective and business-relevant information that, in most cases, requires higher privileges than a standard user. This stage includes the following components:
## Evasive Testing

If a skilled administrator monitors the systems, any change or even a single command could trigger an alarm that will give us away. In many cases, we get kicked out of the network, and then threat hunting begins where we are the focus. We may also lose access to a host (that gets quarantined) or a user account (that gets temporarily disabled or the password changed). This penetration test would have failed but succeeded in some ways because the client could detect some actions. We can provide value to the client in this situation by still writing up an entire attack chain and helping them identify gaps in their monitoring and processes where they did not notice our actions. For us, we can study how and why the client detected us and work on improving our evasion skills. Perhaps we did not thoroughly test a payload, or we got careless and ran a command such as `net user` or `whoami` that is often monitored by EDR systems and flagged as anomalous activity.

Companies must adhere to data security regulations depending on the type of data involved. These include, but are not limited to:

|**Type of Information**|**Security Regulation**|
|---|---|
|Credit Card Account Information|`Payment Card Industry` (`PCI`)|
|Electronic Patient Health Information|`Health Insurance Portability and Accountability Act` (`HIPAA`)|
|Consumers Private Banking Information|`Gramm-Leach-Bliley` (`GLBA`)|
|Government Information|`Federal Information Security Management Act of 2002` (`FISMA`)|

Some frameworks companies may follow include:

|||
|---|---|
|(`NIST`) - National Institute of Standards and Technology|(`CIS Controls`) - Center for Internet Security Controls|
|(`ISO`) - International Organization for Standardization|(`PCI-DSS`) - The Payment Card Industry Data Security Standard|
|(`GDPR`) - General Data Protection Regulation|(`COBIT`) - Control Objectives for Information and Related Technologies|
|(`FedRAMP`) - The Federal Risk and Authorization Management Program|(`ITAR`) - International Traffic in Arms Regulations|
|(`AICPA`) - American Institute of Certified Public Accountants|(`NERC CIP Standards`) - NERC Critical Infrastructure Protection Standards|

It is worth familiarizing ourselves with each of these frameworks but what is crucial for us, however, is how we handle this information. 
