Title :
Property-based testing of privileged programs
Author :
Fink, George ; Levitt, Karl
Author_Institution :
Dept. of Comput. Sci., California Univ., Davis, CA, USA
Abstract :
Addresses the problem of testing security-relevant software, especially privileged (typically, setuid root) and daemon programs in UNIX. The problem is important, since it is these programs that are the source of most UNIX security flaws. For some programs, such as the UNIX sendmail program, new security flaws are still being discovered, despite being in use for many years. For special-purpose systems with fewer users, flaws are likely to remain undiscovered for even longer. Our testing process is driven by specifications we create for the privileged programs. These specifications simultaneously define the allowed behavior far these programs and identify problematic system calls, regions where the program is vulnerable, and generic security flaws. The specifications serve three roles in our testing methodology: as criteria against which a program is sliced, as oracles against which it is tested, and as a basis for generating useful tests. Slicing is employed to significantly reduce the size of the program to be tested. We show that a slice of a privileged program (rdist) with respect to its security specifications is quite small. We introduce the Tester´s Assistant, a collection of tools to mechanize the process of testing security-related C programs
Keywords :
Unix; authorisation; formal specification; program testing; Tester´s Assistant; UNIX; daemon programs; oracles; privileged programs; problematic system calls; program size reduction; program slicing; property-based testing; rdist; security flaws; security specifications; security-related C programs; security-relevant software testing; sendmail program; setuid root; special-purpose systems; test generation; vulnerable regions; Algorithm design and analysis; Computer science; Contracts; Laboratories; Performance analysis; Performance gain; Plasma welding; Protection; Security; System testing;
Conference_Titel :
Computer Security Applications Conference, 1994. Proceedings., 10th Annual
Conference_Location :
Orlando, FL
Print_ISBN :
0-8186-6795-8
DOI :
10.1109/CSAC.1994.367311