Escalation Path: Sudo Flashcards

1
Q

Explain what is escalation via shell escaping.

A

Some binaries have the functionality of spawning shells. If an user has sudo permissions over a binary like that, then he will be able to execute it with sudo and spawn a shell as root. So the user will escape the restricted shell that he was originally in.

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

Explain what is escalation via intended functionality.

A

Binaries that have an intended functionality that, when an user has sudo permissions over it, can be abused to give access to sensitive information.

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

Why is the sudo -l command so important?

A

Because it shows the binaries that the current user has sudo permissions over. So you can look for privilege escalation paths like shell escaping and intended functionality.

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