Systems and Internet Infrastructure Security (SIIS) Laboratory Page
Systems and Internet Infrastructure Security
Network and Security Research Center Department of Computer Science and Engineering Pennsylvania State University, University Park PA
1
Namespaces Systems and Internet Infrastructure Security (SIIS) - - PowerPoint PPT Presentation
Systems and Internet Infrastructure Security Network and Security Research Center Department of Computer Science and Engineering Pennsylvania State University, University Park PA Namespaces Systems and Internet Infrastructure Security (SIIS)
Systems and Internet Infrastructure Security (SIIS) Laboratory Page
Network and Security Research Center Department of Computer Science and Engineering Pennsylvania State University, University Park PA
1
Penn State Systems and Internet Infrastructure Security Lab Page
2
Penn State Systems and Internet Infrastructure Security Lab Page
3
Penn State Systems and Internet Infrastructure Security Lab Page
4
Penn State Systems and Internet Infrastructure Security Lab Page
approach
infeasible or unbounded
5
Penn State Systems and Internet Infrastructure Security Lab Page
approach
infeasible or unbounded
6
Penn State Systems and Internet Infrastructure Security Lab Page
7
Penn State Systems and Internet Infrastructure Security Lab Page
8
Penn State Systems and Internet Infrastructure Security Lab Page
9
Penn State Systems and Internet Infrastructure Security Lab Page
10
Penn State Systems and Internet Infrastructure Security Lab Page
11
Penn State Systems and Internet Infrastructure Security Lab Page
12
Penn State Systems and Internet Infrastructure Security Lab Page
13
Penn State Systems and Internet Infrastructure Security Lab Page
14
Penn State Systems and Internet Infrastructure Security Lab Page
15
Program LOC Warnings Errors wu-ftpd-2.6.2 18K 178 14 wu-ftpd-2.5.0 16K 139 Confirmed errors sendmail-8.7.6 38K 295 >2 sendmail-8.11.6 68K 453 Confirmed errors Talk daemon 900 4 Telnet daemon 9400 40 >1
Penn State Systems and Internet Infrastructure Security Lab Page
accurately enough
16
Penn State Systems and Internet Infrastructure Security Lab Page
17
Wu-ftpd-2.6.2 Sendmail-8.7.6 Codesurfer 12.54s 30.09s Generator 74.88s 266.39s Taint 9.32s 28.66s LP Solve 3.81s 13.10s Hier Solve 10.08s 25.82s
Penn State Systems and Internet Infrastructure Security Lab Page
18
Penn State Systems and Internet Infrastructure Security Lab Page
19
Penn State Systems and Internet Infrastructure Security Lab Page
insensitive
20
Penn State Systems and Internet Infrastructure Security Lab Page
21
Penn State Systems and Internet Infrastructure Security Lab Page
Name1 Name2 Name3 Name4
Obj1 Obj2 Obj3
Nameserver Request: Resolve Name2 Reply: Obj1 Resolution Algorithm
Penn State Systems and Internet Infrastructure Security Lab Page
Name1 Name2 Name3 Name4
Obj1 Obj2 Obj3
Nameserver Request: Resolve Name2 Reply: Obj1 Resolution Algorithm
Force victim process to obtain wrong resource Introduce untrusted bindings/resources
Penn State Systems and Internet Infrastructure Security Lab Page
Name1 Name2 Name3 Name4
Obj1 Obj2 Obj3
Nameserver Request: Resolve Name2 Reply: Obj1
Introduce untrusted bindings
Penn State Systems and Internet Infrastructure Security Lab Page
Name1 /tmp/somefile Passwd File Obj2
Nameserver Request: Resolve /tmp/somefile Reply: passwd file inode
Introduce untrusted bindings
Adversary: /* Link /tmp/somefile to point to /etc/passwd */ ln -s /etc/passwd /tmp/somefile Victim: script.sh: … echo $tmpstate > /tmp/somefile
Penn State Systems and Internet Infrastructure Security Lab Page
Name1 Name2 Name3 Name4
Obj1 Obj2 Obj3
Nameserver Request: Resolve Name2 Reply: Obj2
Introduce untrusted bindings
Penn State Systems and Internet Infrastructure Security Lab Page
Victim:
/* Check obj_stat properties */ /* open obj */
Adversary: /* Change name2 to point to obj2 from obj1 */
Name1 Name2 Name3 Name4
Obj1 Obj2 Obj3
Nameserver Request: Resolve Name2 Reply: Obj2
Introduce untrusted bindings
Penn State Systems and Internet Infrastructure Security Lab Page
Name1 Name2 Name3 Name4
Obj1 Obj2 Obj3
Nameserver Request: Resolve Name1 Reply: Obj2
Force victim process to request wrong name
Penn State Systems and Internet Infrastructure Security Lab Page
/etc/passwd /var/www/index.html Valid Webpage Passwd File
Nameserver Request: Resolve /etc/passwd Reply: passwd file
GET ../../../etc/ passwd
Penn State Systems and Internet Infrastructure Security Lab Page
Penn State Systems and Internet Infrastructure Security Lab Page
Name 1 Name 2
Passw d File Web Pages
Access Control: OK Access Control: OK
Name 1 Name 2 Passwd File
Web Pages
Penn State Systems and Internet Infrastructure Security Lab Page
Penn State Systems and Internet Infrastructure Security Lab Page
Penn State Systems and Internet Infrastructure Security Lab Page
Request Reply
Name3 Name1 Name2 Name4
Obj1 Obj2 Obj3 Nameserver
Penn State Systems and Internet Infrastructure Security Lab Page
x.com y.com z.com 2.3.4.5 6.7.8.9 1.2.3.4
Penn State Systems and Internet Infrastructure Security Lab Page
is necessary for functionality
Name3 Name1 Name2 Name4
Obj1 Obj2 Obj3 Nameserver
Penn State Systems and Internet Infrastructure Security Lab Page
traversed
Penn State Systems and Internet Infrastructure Security Lab Page 38
Penn State Systems and Internet Infrastructure Security Lab Page 39
Penn State Systems and Internet Infrastructure Security Lab Page 40
Penn State Systems and Internet Infrastructure Security Lab Page 41
Penn State Systems and Internet Infrastructure Security Lab Page 42
Penn State Systems and Internet Infrastructure Security Lab Page 43
Penn State Systems and Internet Infrastructure Security Lab Page 44
Penn State Systems and Internet Infrastructure Security Lab Page
Penn State Systems and Internet Infrastructure Security Lab Page
Is reply appropriate?
Name1 Name2 Name3 Name4
Obj1 Obj2 Obj3
Nameserver Request: Resolve Name2 Reply: Obj1
Force victim process to request wrong name Introduce untrusted bindings/resources
Penn State Systems and Internet Infrastructure Security Lab Page
Is binding appropriate?
Name1 Name2 Name3 Name4
Obj1 Obj2 Obj3
Nameserver Request: Resolve Name2 Reply: Obj1
Force victim process to request wrong name Introduce untrusted bindings/resources
Penn State Systems and Internet Infrastructure Security Lab Page 48
Penn State Systems and Internet Infrastructure Security Lab Page
49