Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Setuid root binaries and capabilities Choose at least four setuid root binaries, each of which requires a distinct set of Linux capabilities. Below is a

image text in transcribed

Setuid root binaries and capabilities

Choose at least four setuid root binaries, each of which requires a distinct set of Linux capabilities. Below is a sample list:

passwd mount ping sudo 

You can look at alternatives, e.g., su instead of sudo, but don't look at both as they require similar capabilities.

For each binary, determine what capabilities it requires to function properly. How can you figure this out without reading the source?

Try removing the setuid bit from the file and replacing it with file-based capabilities using setcap. Can you get it to work as before?

Can you create a program that, given one capability, is able to get other capabilities that it wasn't explicitly given? Which capabilities are useful for getting other capabilities?

Setuid root binaries and capabilities Choose at least four setuid root binaries, each of which requires a distinct set of Linux capabilities. Below is a sample list passwd mount ping sudo You can look at alternatives, e.g., su instead of sudo, but don't look at both as they require similar capabilities. For each binary, determine what capabilities it requires to function properly. How can you figure this out without reading the source? Try removing the setuid bit from the file and replacing it with file-based capabilities using setcap. Can you get it to work as before? Can you create a program that, given one capability, is able to get other capabilities that it wasn't explicitly given? Which capabilities are useful for getting other capabilities? Setuid root binaries and capabilities Choose at least four setuid root binaries, each of which requires a distinct set of Linux capabilities. Below is a sample list passwd mount ping sudo You can look at alternatives, e.g., su instead of sudo, but don't look at both as they require similar capabilities. For each binary, determine what capabilities it requires to function properly. How can you figure this out without reading the source? Try removing the setuid bit from the file and replacing it with file-based capabilities using setcap. Can you get it to work as before? Can you create a program that, given one capability, is able to get other capabilities that it wasn't explicitly given? Which capabilities are useful for getting other capabilities

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

What does the start( ) method defined by Thread do?

Answered: 1 week ago

Question

Advance warning and an explanation for the layoff.

Answered: 1 week ago