Security Flashcards

1
Q

What is the purpose of permissions?

A

To restrict access to files and folders

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

What mode executes kernal or operating system code?

A

Supervisor mode

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

What mode has memory and hardware access?

A

Supervisor mode

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

What is the purpose of memory protection?

A

To prevent programs from overwriting or accessing eachother’s memory

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

What is the purpose of cryptography?

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

What is buffer overflow

A

Exceed the allocated memory space of a buffer

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

What is data overread

A

Reading data beyond the bounds of an allocated buffer

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

Why could data inserted during a buffer overflow get executed as instructions?

A

CPU and memory treat all addresses equally. Nothing distinguishes between instructions and data in memory aside from how the flow of control is manipulated. If the CPU fetches information in memory intended to be used by the user/program, it will try treat it like an instruction. If the data can decide to an instruction, it will be executed.

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

What is Arbitrary Code Execution?

A

The ability to run any code or commands within a system or software, often due to a vulnerability that allows unauthorised or unanticipated code to be executed. This can lead to severe security risks and potential exploitation by attackers.

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