Memory Injections, Buffer overflows, Race conditions, SQL injections Flashcards

1
Q

What does malware do?

A

Runs its own process ( in memory) & Injects itself in a legit process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Injecting malware can lead to-

A

Adding code into memory.
Having same rights & permissions.
Can perform a privilege escalation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DLL (Dynamic Link Library) Injection

A

Attackers insert malicious code into a running process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Buffer overflow attack

A

An attacker writes more than what is expected into a particular area of memory.
Can cause system/app to crash.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Bound checking

A

Looking to see if anyone is writing additional info into that memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Race condition

A

Two events happen nearly the same time with an app, and the app doesn’t take into account that these two conditions may be operating simultaneously

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Code injection

A

Attacks that inject code into an application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

SQL injection

A

-Malicious SQL code injected into an app, allowing the attacker to view or modify a database.
-Often be executed in a web browser.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some methods to prevent SQL injection?

A

-Least privilege access
-Regular security audits
-Input validation, sanitize user input.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly