2.4
In progress
Application Attacks
Summary
Application attacks exploit flaws in operating system components, third-party software and web applications to run code, gain privileges or steal data. They often reveal themselves through crashes, errors, unusual log entries and unexpected resource use.
Detailed explanation
-
Application attack: Exploiting a vulnerability in software to make it behave in unintended ways.
- Local and third-party applications: Flaws in installed software used to run code or escalate privileges.
- Web applications: Flaws in web apps used to access data or compromise the server.
- Arbitrary code execution: Running code of the attacker's choosing on the target; remote code execution does this over a network.
-
Privilege escalation: Gaining more access than intended.
- Vertical privilege escalation: Gaining higher privileges, such as a standard user obtaining administrative rights.
- Horizontal privilege escalation: Accessing another user's resources at the same privilege level.
- Buffer overflow: Writing past the end of a memory buffer, which can crash a program or allow code execution.
Indicators
- Signs: Unexpected application crashes or restarts, error messages, unusual entries in system and application logs, new processes started by applications, and spikes in resource use.
Defenses
- Controls: Patching, secure coding, memory protections such as ASLR and DEP, least privilege for services, application allow lists and EDR.
Important terms
taken from the text above- Application attack
- Exploiting a vulnerability in software to make it behave in unintended ways.
- Local and third-party applications
- Flaws in installed software used to run code or escalate privileges.
- Web applications
- Flaws in web apps used to access data or compromise the server.
- Arbitrary code execution
- Running code of the attacker's choosing on the target; remote code execution does this over a network.
- Privilege escalation
- Gaining more access than intended.
- Vertical privilege escalation
- Gaining higher privileges, such as a standard user obtaining administrative rights.
- Horizontal privilege escalation
- Accessing another user's resources at the same privilege level.
- Buffer overflow
- Writing past the end of a memory buffer, which can crash a program or allow code execution.
What I should remember
- Vertical escalation: Gaining higher privileges.
- Horizontal escalation: Accessing peers' resources.
- Crashes and errors: Common indicators of exploitation attempts.
- ASLR and DEP: Make memory corruption harder to exploit.