90 likes | 254 Views
Security-Oriented Program Transformation. Pure Symposium Spring 2011 Mentee: Noreen Sudirman Mentor: Prof. Munawar Hafiz. Big Idea of the Project. To gather information necessary to build an automated program transformation that eliminate security threats. Problem.
E N D
Security-Oriented Program Transformation Pure Symposium Spring 2011 Mentee: Noreen Sudirman Mentor: Prof. Munawar Hafiz Noreen. S
Big Idea of the Project • To gather information necessary to build an automated program transformation that eliminate security threats Noreen. S
Problem • One of the crucial part in determining secured programming is PRIVILEGES • The privilege differs between child and parent process Noreen. S
Research Goal • To find out the privileges of parent process and child process • Find similarities between the privileges given to either parent process or child process in real-life program Noreen. S
Progress • Understanding the file descriptors needed, such as pipe, named pipes (FIFO), socket, etc • Find real life program that uses FORK from gnu.org, sourceforge, etc Noreen. S
Typical Fork Process intuid = getuid(); intgid = getgid(); if (!detached || dflag !=2){ MasterPid = fork(); printf("after fork, uid: %d; gid: %d\n", uid, gid); } Snippets of code from gnu.org/software/screen/screen.c Noreen. S
Checking the Privileges intuid = getuid(); intgid = getgid(); if (!detached || dflag !=2){ printf(“before fork, uid: %d; gid:%d\n”, uid, gid); MasterPid = fork(); uid = getuid(); gid = getgid(); printf("after fork, uid: %d; gid: %d\n", uid, gid); } Snippets of code which is edited from gnu.org/software/screen/screen.c Noreen. S
Problems Encountered Hard to manipulate real life code because of the size of the file, many complicated functions. Noreen. S
THANK YOU My mentor Prof. Munawar Hafiz Pure Committee Noreen. S