Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
zhouyizhou [2008/08/14 08:34] – ZhouyiZHOUzhouyizhou [2022/09/15 02:19] (current) – link to MandatoryAccessControl KubilayKocak
Line 3: Line 3:
  
 ... ...
- 
-The invoice of prepayed hotel fee(in Chinese) 
-{{ZhouyiZHOU/P1070378.JPG}} 
-The invoice of prepayed hotel fee(English translation) 
-{{ZhouyiZHOU/P1070378inENGLISH.JPG}} 
-Electronic Ticket(in Chinese) 
-{{ZhouyiZHOU/P1070380.JPG}} 
-Electronic Ticket(English translation) 
-{{ZhouyiZHOU/P1070380inENGLISH.JPG}} 
  
 High everyone, I am a new comer. My job in SOC 2007 is writing a testsuite for Security Subsystem for %%FreeBSD%%/%%TrustedBSD%%. I am also interested in GCC and GDB besides %%FreeBSD%%. High everyone, I am a new comer. My job in SOC 2007 is writing a testsuite for Security Subsystem for %%FreeBSD%%/%%TrustedBSD%%. I am also interested in GCC and GDB besides %%FreeBSD%%.
Line 19: Line 10:
 Work performed: Work performed:
  
-  - Use [[http://mygcc.free.fr/|mygcc]] to perform static analysis of MAC Framework hook placement: %%AsiaBSDCon%% Presentation: {{zhouyizhou/asiabsdcon.pdf?linkonly|AsiaBSDCon.pdf}}, patch against mygcc-1.0.0 {{zhouyizhou/mygcc.patch?linkonly|mygcc.patch}}, the condate language file: {{zhouyizhou/ex5.chk?linkonly|ex5.chk}}+  - Use [[http://mygcc.free.fr/|mygcc]] to perform static analysis of [[MandatoryAccessControl|MAC Framework]], the condate language file: {{zhouyizhou/ex5.chk?linkonly|ex5.chk}} -- Dr. Xinsong Wu has taken significant responsibility of coding and result analysis, Robert Watson helps revising the paper. 
   - Constructed a pair of pseudo ethernet drivers used for testing network related hooks. To avoid the packet go through the lo interface, the IP address in the packet is twisted in the driver.   - Constructed a pair of pseudo ethernet drivers used for testing network related hooks. To avoid the packet go through the lo interface, the IP address in the packet is twisted in the driver.
   - Constructed a framework for logging Mandatory Access Control hooks which is got called during a period of time.   - Constructed a framework for logging Mandatory Access Control hooks which is got called during a period of time.
     * In kernel, every non-null label is got externalized into human readable string and recorded in a tail queue together with the name of hook that got called and possible flags or modes (etc. VREAD/VWRITE for mac_check_vnode_open hook). There is a thread much like audit subsystem's audit_worker logging the queue into a userspace file. The userland program use open, ioctl and close the /dev/mactest node to trigger and stop the logging. The logging file is truncated to zero every time the logging mechanism is triggered.     * In kernel, every non-null label is got externalized into human readable string and recorded in a tail queue together with the name of hook that got called and possible flags or modes (etc. VREAD/VWRITE for mac_check_vnode_open hook). There is a thread much like audit subsystem's audit_worker logging the queue into a userspace file. The userland program use open, ioctl and close the /dev/mactest node to trigger and stop the logging. The logging file is truncated to zero every time the logging mechanism is triggered.
     * In userland, a bison based parsing tool is used to parse the logged file and reconstruct the record chain which will be compared with testsuite supplied configuration file to examine if expected hooks is got called and the label/flags/modes are correct. c) The testsuite mainly follows src/tools/regression/fstest, modified to adapt to test Mandatory Access Control Framework and include tests for signals     * In userland, a bison based parsing tool is used to parse the logged file and reconstruct the record chain which will be compared with testsuite supplied configuration file to examine if expected hooks is got called and the label/flags/modes are correct. c) The testsuite mainly follows src/tools/regression/fstest, modified to adapt to test Mandatory Access Control Framework and include tests for signals
-  - The test cases about mandatory access control hooks for fifo, link, mdconfig, netinet, open, pipe, rename, rmdir, signal, symlink, sysvshm and truncate are written. Two security vulnerabilities are found during the test case writing.+  - The test cases about mandatory access control hooks for fifo, link, mdconfig, netinet, open, pipe, rename, rmdir, signal, symlink, sysvshm and truncate are generated. Two security vulnerabilities are found during the test case writing. 
 +  - Use constraint resolver STP[people.csail.mit.edu/vganesh/stp.html] to help generating the MAC labels as parameters. 
  
 The source code of project can be found on [[http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/soc2007/zhouzhouyi_mactest_soc|MAC Test's perforce repository]]. The source code of project can be found on [[http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/soc2007/zhouzhouyi_mactest_soc|MAC Test's perforce repository]].
Line 30: Line 23:
 [[http://blogs.freebsdish.org/zhouzhouyi|You can visit my blog.]] [[http://blogs.freebsdish.org/zhouzhouyi|You can visit my blog.]]
  
-Show my results in google booth of %%AsiaBSDCon%% 2008, Tokyo Japan: {{ZhouyiZHOU/P1070243.JPG}} +Meet with PCBSD guys in %%AsiaBSDCon%% 2008 (trip sponsored by google): {{zhouyizhou/pcbsdguys.jpg}}
- +
-Meet with PCBSD guys: {{zhouyizhou/pcbsdguys.jpg}} +
- +
-The patch for in_cksum of %%FreeBSD%% {{zhouyizhou/in_cksum.patch?linkonly|in_cksum.patch}} +
- +
-{{zhouyizhou/algorithm.pdf?linkonly|algorithm.pdf}} +
- +
-A park in Wuxi where we implement %%TrustedBSD%% for government website {{zhouyizhou/927922.jpg}} +
- +
-{{ZhouyiZHOU/刘伟-博士论文.rar?linkonly|刘伟-博士论文.rar}} {{ZhouyiZHOU/刘伟评阅书.doc?linkonly|刘伟评阅书.doc}} {{ZhouyiZHOU/博士论文-石志国.rar?linkonly|博士论文-石志国.rar}} {{ZhouyiZHOU/蔡嘉勇博士论文.pdf?linkonly|蔡嘉勇博士论文.pdf}} {{ZhouyiZHOU/蔡嘉勇评阅书.doc?linkonly|蔡嘉勇评阅书.doc}} {{ZhouyiZHOU/论文评阅书-石志国.rar?linkonly|论文评阅书-石志国.rar}}+
  
 ---- ----
  
-{{tag>Homepage}} +  * CategoryHomepage
- +
-{{ZhouyiZHOU/P1070378.JPG?linkonly|P1070378.JPG}} +
-{{ZhouyiZHOU/P1070378.txt?linkonly|P1070378.txt}} +
-{{ZhouyiZHOU/P1070379.JPG?linkonly|P1070379.JPG}} +
-{{ZhouyiZHOU/P1070379.txt?linkonly|P1070379.txt}} +
-{{ZhouyiZHOU/P1070380.JPG?linkonly|P1070380.JPG}} +
-{{ZhouyiZHOU/P1070380.txt?linkonly|P1070380.txt}} +
-{{ZhouyiZHOU/P1070381.JPG?linkonly|P1070381.JPG}} +
-{{ZhouyiZHOU/P1070381.txt?linkonly|P1070381.txt}}+
  
  • zhouyizhou.1218702883.txt.gz
  • Last modified: 2008/08/14 08:34
  • by ZhouyiZHOU