2.4
In progress
Malicious Code Indicators
Summary
Once inside, attackers run code to dump credentials, move laterally and stay persistent. These actions leave traces in process, authentication and system logs. Watching for them helps detect intrusions that got past initial defenses.
Detailed explanation
- Shellcode: A small piece of code delivered by an exploit to start the attacker's next stage, such as downloading more tools.
-
Credential dumping: Extracting password hashes or tickets from memory or credential stores.
- DCSync: Abusing directory replication rights to request password data from a domain controller.
- Indicators: Processes accessing LSASS memory and replication requests coming from systems that aren't domain controllers.
-
Lateral movement: Using remote services such as SMB, WMI, remote desktop or PowerShell remoting to reach other hosts.
- Indicators: Workstation-to-workstation administrative connections and new remote service creation.
-
Persistence: Ensuring malicious access survives reboots and password changes.
- Methods: New accounts, scheduled tasks, services, registry run keys and startup items.
- Indicators: Unexpected changes in these locations.
- Insider misuse: Legitimate users abusing their access, detected through behavior analytics and DLP.
Important terms
taken from the text above- Shellcode
- A small piece of code delivered by an exploit to start the attacker's next stage, such as downloading more tools.
- Credential dumping
- Extracting password hashes or tickets from memory or credential stores.
- DCSync
- Abusing directory replication rights to request password data from a domain controller.
- Lateral movement
- Using remote services such as SMB, WMI, remote desktop or PowerShell remoting to reach other hosts.
- Persistence
- Ensuring malicious access survives reboots and password changes.
- Insider misuse
- Legitimate users abusing their access, detected through behavior analytics and DLP.
What I should remember
- Credential dumping: Extracting hashes or tickets from systems.
- DCSync: Replication requests from a non-domain controller are suspicious.
- Persistence: New tasks, services or run keys.
- Lateral movement: Unusual internal remote administration.