Recent Changes - Search:

CSE dept.

This site contains wiki-pages for the department of computer science and engineering at Chalmers and GU.

edit SideBar


On-the-fly Inlining of Dynamic Dependency Monitors for Secure Information Flow

Luciano Bello and Eduardo Bonelli

Information flow analysis (IFA) in the setting of programming languages is steadily veering towards the adoption of dynamic techniques. This is particularly attractive for scripting languages for web applications programming. A common manifestation of dynamic techniques is that of run-time monitors, which should block program execution in the presence of an insecure run. Significant efforts are still required before practical, scalable monitors for secure IFA of industrial scale languages such as JavaScript can be achieved. Such monitors ideally should compensate for the absence of the traces they do not track, should not require modifications of the VM and should provide a fair compromise between security and usability among other things. This paper discusses on-the-fly inlining of monitors that track dependencies as a prospective candidate.


Download and unpack the tar file with the prototype.

tar zxvf inlining_prototype.tar.gz

Run the test files with different secrets. For example:

$ secret=0 python
//OUTPUT: False
$ secret=1 python
//OUTPUT: True

Run the inlined version of test files with different secrets. The leak is detected in the second run. For example:

$ ./ | secret=0 python
//OUTPUT: False
$ ./ | secret=1 python

For saving the inlined version:

$ ./ >
$ cat

The kappa.DB file stores the kappa states. If you want to forget the history, remove this file. It is possible to graph the dependency tree:

./ -d | secret=2 python | dot -Tpng >deps.png ; display deps.png

The boxes with the hashed are the contexts. Exec creates a new context.

Edit - History - Print - Recent Changes - Search
Page last modified on December 08, 2015, at 05:17 PM