Toward Automated Authorization Policy Enforcement
Somesh Jha
jha@cs.wisc.edu
Trent Jaeger
tjaeger@cse.psu.edu
Vinod Ganapathy
vg@cs.wisc.edu
March 1st, 2006 Second Annual Security-enhanced Linux Symposium Baltimore, Maryland
Toward Automated Authorization Policy Enforcement Vinod Ganapathy - - PowerPoint PPT Presentation
Toward Automated Authorization Policy Enforcement Vinod Ganapathy Trent Jaeger Somesh Jha vg@cs.wisc.edu tjaeger@cse.psu.edu jha@cs.wisc.edu March 1 st , 2006 Second Annual Security-enhanced Linux Symposium Baltimore, Maryland Introduction
jha@cs.wisc.edu
tjaeger@cse.psu.edu
vg@cs.wisc.edu
March 1st, 2006 Second Annual Security-enhanced Linux Symposium Baltimore, Maryland
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 2
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 3
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 4
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 5
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 6
Remote Client: Alice Alice Local
X Server
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 7
Remote Client: Alice Alice
X Server
Remote Client: Bob Bob
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 8
Remote Client: Alice
X Server
Remote Client: Bob Remote Client: Alice Alice Keyboard input
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 9
Remote Client: Alice
X Server
Remote Client: Bob Remote Client: Alice Alice
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 10
Remote Client: Alice
X Server
Remote Client: Bob Remote Client: Alice Alice
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 11
Remote Client: Alice
X Server
Remote Client: Bob Remote Client: Alice Alice Keyboard input
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 12
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 13
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 14
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 15
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 16
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 17
Security-Event Yes/No
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 18
vg
root /var/log /usr/vg/a.out /etc/passwd
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 19
Security-Event Yes/No
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 20
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 21
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 22
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 23
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 24
MapSubWindows(Window *pParent, Client *pClient) { xEvent event; Window *pWin; … pWin = pParent->firstChild; … for (;pWin != 0; pWin=pWin->nextSib) { pWin->mapped = TRUE; … event.type = MapNotify; } }
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 25
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 26
MapSubWindows(Window *pParent, Client *pClient) { xEvent event; Window *pWin; … pWin = pParent->firstChild; … for (;pWin != 0; pWin=pWin->nextSib) { pWin->mapped = TRUE; … event.type = MapNotify; } }
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 27
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 28
MapSubWindows(Window *pParent, Client *pClient) { xEvent event; Window *pWin; … pWin = pParent->firstChild; … for (;pWin != 0; pWin=pWin->nextSib) { // Code to map window on screen pWin->mapped = TRUE; … event.type = MapNotify; } }
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 29
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 30
MapSubWindows(Window *pParent, Client *pClient) { xEvent event; Window *pWin; // Code to enumerate child windows avc_has_perm(pClient, pParent, WINDOW_ENUMERATE); pWin = pParent->firstChild; … for (;pWin != 0; pWin=pWin->nextSib) { // Code to map window on screen avc_has_perm(pClient, pWin, WINDOW_MAP); pWin->mapped = TRUE; … event.type = MapNotify; } }
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 31
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 32
Set WindowPtr->mapped TO TRUE Set xEvent->type TO MapNotify
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 33
Set WindowPtr->mapped TO TRUE Set xEvent->type TO MapNotify
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 34
Set WindowPtr->mapped TO TRUE Set xEvent->type TO MapNotify
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 35
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 36
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 37
SELinux 2006 Ganapathy/Jaeger/Jha: Toward Automated Authorization Policy Enforcement 38
jha@cs.wisc.edu
tjaeger@cse.psu.edu
vg@cs.wisc.edu