Zum Inhalt springen

Seminar/Linux/SELinux: Unterschied zwischen den Versionen

Aus Foxwiki
K Textersetzung - „wikitable“ durch „table table-striped table-hover“
 
(85 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
== Übersicht ==
'''Seminar/Linux/SELinux''' - SELinux
{| class="wikitable gnu options big col1center col3center"
 
! Kapitel !! Thema !! Gewichtung
== Beschreibung ==
 
=== Seminarziele ===
 
=== Lehrmethode ===
* [[Interaktiver Lehrvortrag ]]
* [[Praktische Übungen]]
* [[Diskussion]]
* [[Wiederholungs-/Vertiefung-Tests]]
 
=== Zielgruppe ===
 
=== Vorkenntnisse ===
; Notwendig
* Linux Grundlagen
* Linux Administration
 
; Hilfreich
<!--
* [[Informationssicherheit]]
* [[IT-Sicherheit]]
* [[Netzwerke]]
* [[ITIL]]
* [[Qualitätsmanagement]]
* [[ISO 27001]]
-->
 
=== Dauer ===
; 4 Tage
* 36 Unterrichtseinheiten (je 45min)
 
=== Seminarzeiten ===
<!--
{{:Foxwiki:Vorlage/Artikel/Seminar/Seminarzeiten}}
-->
 
== Inhalte ==
{| class="table table-striped table-hover gnu options big col1center col3center"
! Kapitel !! Thema  
!Beschreibung!! Gewichtung
|-
|-
| 01 || [[SELinux/Grundlagen|Einführung]] || 1  
| 01 || [[Linux/SELinux/Grundlagen|Einführung]]  
| || 1  
|-
|-
| 02 || [[SELinux/Dateien|Security Context auf Dateien und Verzeichnissen]] || 1
| 02 || [[Linux/SELinux/Dateien|Security Context auf Dateien und Verzeichnissen]]  
| || 1
|-
|-
| 03 || [[SELinux/Extended File Attributes| Extended File Attributes]] || 1
| 03 || [[Linux/SELinux/Extended File Attributes|Extended File Attributes]]  
| || 1
|-
|-
| 04 || [[SELinux/Security Context|Security Context]] || 1
| 04 || [[Linux/SELinux/Security Context|Security Context]]  
| || 1
|-
|-
| 05 || [[SELinux/File Context|File Context]] || 1
| 05 || [[Linux/SELinux/File Context|File Context]]  
| || 1
|-
|-
| 06 || [[SELinux/Context Expressions|Context Expressions]] || 1
| 06 || [[Linux/SELinux/Context Expressions|Context Expressions]]  
| || 1
|-
|-
| 07 || [[SELinux/Security Context von Datei| Security Context von Datei]] || 1
| 07 || [[Linux/SELinux/Security Context von Datei|Security Context von Datei]]  
| || 1
|-
|-
| 08 || [[SELinux/Named File Transitions Rules|Named File Transitions Rules]] || 1
| 08 || [[Linux/SELinux/Named File Transitions Rules|Named File Transitions Rules]]  
| || 1
|-
|-
| 09 || [[SELinux/Systemd und Temporäre Verzeichnisse|Systemd und Temporäre Verzeichnisse]] || 1
| 09 || [[Linux/SELinux/Systemd und Temporäre Verzeichnisse|Systemd und Temporäre Verzeichnisse]]  
| || 1
|-
|-
| 10 || [[SELinux/strace context printing|strace context printing]] || 1
| 10 || [[Linux/SELinux/strace context printing|strace context printing]]  
| || 1
|-
|-
| 11 || [[SELinux/Benutzer Login|Benutzer Login]] || 1
| 11 || [[Linux/SELinux/Benutzer Login|Benutzer Login]]  
| || 1
|-
|-
| 12 || [[SELinux/Kategorien|Kategorien]] || 1
| 12 || [[Linux/SELinux/Kategorien|Kategorien]]  
| || 1
|-
|-
| 13 || [[SELinux/Rollen|Rollen]] || 1
| 13 || [[Linux/SELinux/Rollen|Rollen]]  
| || 1
|-
|-
| 14 || [[SELinux/Pluggable Authentication Modules|Pluggable Authentication Modules]] || 1
| 14 || [[Linux/SELinux/Pluggable Authentication Modules|PAM]]  
| || 1
|-
|-
| 15 || [[SELinux/Prozess Context|Prozess Context]] || 1
| 15 || [[Linux/SELinux/Prozess Context|Prozess Context]]  
| || 1
|-
|-
| 16 || [[SELinux/Ansible|SELinux und Ansible]] || 1
| 16 || [[Linux/SELinux/Ansible|SELinux und Ansible]]  
| || 1
|-
|-
| 17 || [[SELinux/Salt|SELinux und Salt]] || 1
| 17 || [[Linux/SELinux/Salt|SELinux und Salt]]  
| || 1
|-
|-
| 18 || [[SELinux/Container|SELinux und Container]] || 1
| 18 || [[Linux/SELinux/Container|SELinux und Container]]  
| || 1
|}
|}


== SELinux und Benutzer Login ==
<!--
 
== Prüfung ==
* SELinux Context von Benutzern
[[IT-Grundschutz/Praktiker/Prüfung|Zertifikatsprüfung]] zum [[Seminar/Grundschutz/Praktiker|Grundschutz-Praktiker]]
* SELinux User und SELinux Role Mapping im Detail
* Analyse mit seinfo
* SELinux Roles in der Targeted Policy im Detail (Aufgaben, Fähigkeiten, ...)
* Auswirkung der SELinux Role auf die Prozess Domain
* Linux User <-> SELinux User Mapping
* Service spezifische Role Zuweisung
* Praktische Übungen mit SELinux User und Roles
* Erstellen eines eigenen SELinux Users
* Linux Benutzer mit/ohne SELinux User Zuweisung löschen
 
== Verwalten von Kategorien ==
 
* Planen und definieren von eigenen MCS Categories
* Übersetzungen mit setrans und mcstransd erstellen
* chcon vs. chcat
* Kategorien mit chcat auf Dateien, Verzeichnissen und Benutzern verwalten
 
== Arbeiten mit SELinux Roles ==
 
* Standard Role definieren
* /etc/selinux/targeted/contexts/default_contexts
* Boolean Anpassungen für SELinux Roles
* Wechseln zwischen erlaubten Roles mit newrole
* sudo und SELinux Roles
* SELinux spezifische Parameter bei sudo Regeln
* Benutzer Programme via runcon mit unterschiedlichen Kontexten starten
 
== Pluggable Authentication Modules (PAM) ==


* Grundlagen PAM Architektur
; Prüfungstermine
* pam_selinux.so
* Am letzten Seminartag
* pam_sepermit.so
* Nach Vereinbarung
* pam_namespace.so
* pam_oddjob_mkhomedir.so


== Prozess Context im Detail ==
; Prüfungsort
* Vor Ort
* Online


* Grundlagen allow Rule
; Prüfungs-Tipp
* Grundlagen Prozess Context
: Vor- und Nachbereitung der Schulungstage
* Übergang zu einer Domäne
* Memory Protection
* Limitieren von (ungewollten) Domain Transitions
* Policy capabilities
* No New Privilege (NNP)
* Type Attributes
* Abfragen von Domain Permissions
* Constraints


== SELinux und Ansible ==
; Weitere Informationen
* [[...]]
-->


* Einrichten eines schnellen Ansible Roles Basissetups
<noinclude>
* Dateisystem und SELinux Context
* SELinux Custom Policy verteilen
* Überblick Ansible native SELinux Module


== SELinux und Salt ==
== Anhang ==
=== Verwandte Seminare ===
; Sicherheit
{{Special:PrefixIndex/Seminar/Sicherheit}}


* Einrichten eines schnellen Salte State Basissetups
; Linux
* Dateisystem und SELinux Context
{{Special:PrefixIndex/Seminar/Linux}}
* SELinux Custom Policy verteilen
* Überblick SaltStack native SELinux Module


== SELinux und Container ==
=== Skript ===


* Podman Container Basis Test
=== Siehe auch ===
* Podman und SELinux Multi-Category Security (MCS) Verhalten
* Podman Volumes und SELinux MCS Context Probleme
* Shared Volume mit richtigen MCS Context versehen
* Container Domain Transition
* Analyse von erlaubten domain Transition mit sesearch
* Container mit definierten Process Domain anstarten
* Domain Transition unconfined_t vs. spc_t
* Eigene Container Policy mit udica erstellen


{{DISPLAYTITLE:Seminar/Linux/SELinux}}
==== Weblinks ====


[[Kategorie:Seminar/Linux]]
[[Kategorie:Seminar/Linux]]
[[Kategorie:Seminar/Sicherheit]]
[[Kategorie:Seminar/Sicherheit]]
[[Kategorie:SELinux]]
 
</noinclude>

Aktuelle Version vom 29. Juli 2026, 11:02 Uhr