Check out the new USENIX Web site. next up previous
Next: Merging of source files Up: Scrash: A System for Previous: Scrash goals


Implementation

Scrash seeks to eliminate sensitive information from the heap, stack, and global variables while still providing useful information to the developer. We perform source code transformations to place the contents of any sensitive variables in a separate region of memory, which we then erase during core file generation to ensure that it is not transmitted as part of a crash report. Thus, the stack, globals and main heap in our modified core file will only contain insensitive information, so that the crash reporting tool is free to transmit any of these regions. The key difficulty of this task, which we will address below, is identifying the sensitive data. Even though the heap is not often transmitted using current crash reporting tools, we make a distinction between the sensitive and insensitive heap in the case that it may be transferred when sending a more detailed crash report. Making this distinction has a negligible performance cost, so we view the added safety it provides as worthwhile.

We implemented the source code transformation phase in 1200 lines of new Objective Caml code. We link the modified application with a memory allocator to which we added 250 lines of new C code. We wrote the cleaning phase using 90 lines of C code.



Subsections
next up previous
Next: Merging of source files Up: Scrash: A System for Previous: Scrash goals
Naveen Sastry 2003-05-12