Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SELinux Cookbook

You're reading from  SELinux Cookbook

Product type Book
Published in Sep 2014
Publisher
ISBN-13 9781783989669
Pages 240 pages
Edition 1st Edition
Languages
Author (1):
Sven Vermeulen Sven Vermeulen
Profile icon Sven Vermeulen
Toc

Table of Contents (17) Chapters close

SELinux Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. The SELinux Development Environment 2. Dealing with File Labels 3. Confining Web Applications 4. Creating a Desktop Application Policy 5. Creating a Server Policy 6. Setting Up Separate Roles 7. Choosing the Confinement Level 8. Debugging SELinux 9. Aligning SELinux with DAC 10. Handling SELinux-aware Applications Index

Looking into access privileges


To finish off, let's look at how to verify access privileges granted to users. Specifying roles and privileges allows users to do their job, but from a security point of view, it is also important to verify if (and which) users can manipulate certain resources. Auditors will want to have an overview of who is able to, say, manipulate SELinux policies or read private keys.

How to do it…

To properly investigate access rights, the following approach can help in identifying users (and processes) that have the permissions we want to be informed about:

  1. Verify file permissions that are not related to SELinux.

  2. Verify direct access to the resource (such as read rights on private keys).

  3. Look at who (users or applications) has the right to manipulate the SELinux policy.

  4. Check users and domains that are granted direct access to filesystems and raw devices.

  5. See when memory can be accessed directly.

  6. Review who can update authentication files.

  7. Analyze who can boot the system.

How it...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}