Lightweight Self-Protecting JavaScript. Phung, P. H., Sands, D., & Chudnov, A. In Safavi-Naini, R. & Varadharajan, V., editors, ACM Symposium on Information, Computer and Communications Security (ASIACCS 2009), Sydney, Australia, March, 2009. ACM Press.
Paper abstract bibtex This paper introduces a method to control JavaScript execution. The aim is to prevent or modify inappropriate behaviour caused by e.g. malicious injected scripts or poorly designed third-party code. The approach is based on modifying the code so as to make it self-protecting: the protection mechanism (security policy) is embedded into the code itself and intercepts security relevant API calls. The challenges come from the nature of the JavaScript language: any variables in the scope of the program can be redefined, and code can be created and run on-the-fly. This creates potential problems, respectively, for tamper-proofing the protection mechanism, and for ensuring that no security relevant events bypass the protection. Unlike previous approaches to instrument and monitor JavaScript to enforce or adjust behaviour, the solution we propose is \emphlightweight in that (i) it does not require a modified browser, and (ii) it does not require any run-time parsing and transformation of code (including dynamically generated code). As a result, the method has low run-time overhead compared to other methods satisfying (i), and the lack of need for browser modifications means that the policy can even be applied on the server to mitigate some effects of cross-site scripting bugs.
@InProceedings{Phung:Sands:Chudnov:ASIACCS09,
author = {Phu H. Phung and David Sands and Andrey Chudnov},
title = {Lightweight Self-Protecting JavaScript},
booktitle = {ACM Symposium on Information, Computer and Communications Security (ASIACCS 2009)},
OPTpages = {},
year = {2009},
editor = {R. Safavi-Naini and V. Varadharajan},
address = {Sydney, Australia},
month = {March},
publisher = {ACM Press},
url_Paper = {http://www.cse.chalmers.se/~dave/papers/ASIACCS09.pdf},
abstract = { This paper introduces a method to control
JavaScript execution. The aim is to prevent or
modify inappropriate behaviour caused by
e.g. malicious injected scripts or poorly designed
third-party code. The approach is based on modifying
the code so as to make it self-protecting: the
protection mechanism (security policy) is embedded
into the code itself and intercepts security
relevant API calls. The challenges come from the
nature of the JavaScript language: any variables in
the scope of the program can be redefined, and code
can be created and run on-the-fly. This creates
potential problems, respectively, for
tamper-proofing the protection mechanism, and for
ensuring that no security relevant events bypass the
protection. Unlike previous approaches to
instrument and monitor JavaScript to enforce or
adjust behaviour, the solution we propose is
\emph{lightweight} in that (i) it does not require a
modified browser, and (ii) it does not require any
run-time parsing and transformation of code
(including dynamically generated code). As a result,
the method has low run-time overhead compared to
other methods satisfying (i), and the lack of need
for browser modifications means that the policy can
even be applied on the server to mitigate some
effects of cross-site scripting bugs.
}
}
Downloads: 0
{"_id":"38Y8u72gaWkvPrD8E","bibbaseid":"phung-sands-chudnov-lightweightselfprotectingjavascript-2009","downloads":0,"creationDate":"2017-02-03T08:24:26.803Z","title":"Lightweight Self-Protecting JavaScript","author_short":["Phung, P. H.","Sands, D.","Chudnov, A."],"year":2009,"bibtype":"inproceedings","biburl":"http://www.cse.chalmers.se/~dave/davewww2016.bib","bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"firstnames":["Phu","H."],"propositions":[],"lastnames":["Phung"],"suffixes":[]},{"firstnames":["David"],"propositions":[],"lastnames":["Sands"],"suffixes":[]},{"firstnames":["Andrey"],"propositions":[],"lastnames":["Chudnov"],"suffixes":[]}],"title":"Lightweight Self-Protecting JavaScript","booktitle":"ACM Symposium on Information, Computer and Communications Security (ASIACCS 2009)","optpages":"","year":"2009","editor":[{"firstnames":["R."],"propositions":[],"lastnames":["Safavi-Naini"],"suffixes":[]},{"firstnames":["V."],"propositions":[],"lastnames":["Varadharajan"],"suffixes":[]}],"address":"Sydney, Australia","month":"March","publisher":"ACM Press","url_paper":"http://www.cse.chalmers.se/~dave/papers/ASIACCS09.pdf","abstract":"This paper introduces a method to control JavaScript execution. The aim is to prevent or modify inappropriate behaviour caused by e.g. malicious injected scripts or poorly designed third-party code. The approach is based on modifying the code so as to make it self-protecting: the protection mechanism (security policy) is embedded into the code itself and intercepts security relevant API calls. The challenges come from the nature of the JavaScript language: any variables in the scope of the program can be redefined, and code can be created and run on-the-fly. This creates potential problems, respectively, for tamper-proofing the protection mechanism, and for ensuring that no security relevant events bypass the protection. Unlike previous approaches to instrument and monitor JavaScript to enforce or adjust behaviour, the solution we propose is \\emphlightweight in that (i) it does not require a modified browser, and (ii) it does not require any run-time parsing and transformation of code (including dynamically generated code). As a result, the method has low run-time overhead compared to other methods satisfying (i), and the lack of need for browser modifications means that the policy can even be applied on the server to mitigate some effects of cross-site scripting bugs. ","bibtex":"@InProceedings{Phung:Sands:Chudnov:ASIACCS09,\n author = \t {Phu H. Phung and David Sands and Andrey Chudnov},\n title = \t {Lightweight Self-Protecting JavaScript},\n booktitle = {ACM Symposium on Information, Computer and Communications Security (ASIACCS 2009)}, \n OPTpages = \t {},\n year = \t {2009},\n editor = \t {R. Safavi-Naini and V. Varadharajan},\n address = \t {Sydney, Australia},\n month = \t {March},\n publisher = {ACM Press},\n url_Paper = \t {http://www.cse.chalmers.se/~dave/papers/ASIACCS09.pdf},\n abstract = \t { This paper introduces a method to control\n JavaScript execution. The aim is to prevent or\n modify inappropriate behaviour caused by\n e.g. malicious injected scripts or poorly designed\n third-party code. The approach is based on modifying\n the code so as to make it self-protecting: the\n protection mechanism (security policy) is embedded\n into the code itself and intercepts security\n relevant API calls. The challenges come from the\n nature of the JavaScript language: any variables in\n the scope of the program can be redefined, and code\n can be created and run on-the-fly. This creates\n potential problems, respectively, for\n tamper-proofing the protection mechanism, and for\n ensuring that no security relevant events bypass the\n protection. Unlike previous approaches to\n instrument and monitor JavaScript to enforce or\n adjust behaviour, the solution we propose is\n \\emph{lightweight} in that (i) it does not require a\n modified browser, and (ii) it does not require any\n run-time parsing and transformation of code\n (including dynamically generated code). As a result,\n the method has low run-time overhead compared to\n other methods satisfying (i), and the lack of need\n for browser modifications means that the policy can\n even be applied on the server to mitigate some\n effects of cross-site scripting bugs. \n }\n}\n\n\n","author_short":["Phung, P. H.","Sands, D.","Chudnov, A."],"editor_short":["Safavi-Naini, R.","Varadharajan, V."],"key":"Phung:Sands:Chudnov:ASIACCS09","id":"Phung:Sands:Chudnov:ASIACCS09","bibbaseid":"phung-sands-chudnov-lightweightselfprotectingjavascript-2009","role":"author","urls":{" paper":"http://www.cse.chalmers.se/~dave/papers/ASIACCS09.pdf"},"downloads":0},"search_terms":["lightweight","self","protecting","javascript","phung","sands","chudnov"],"keywords":[],"authorIDs":[],"dataSources":["SBHWXKotbthoEYKJv"]}