【24h】

Staged information flow for javascript

机译:JavaScript的分段信息流

获取原文

摘要

Modern websites are powered by JavaScript, a flexible dynamic scripting language that executes in client browsers. A common paradigm in such websites is to include third-party JavaScript code in the form of libraries or advertisements. If this code were malicious, it could read sensitive information from the page or write to the location bar, thus redirecting the user to a malicious page, from which the entire machine could be compromised. We present an information-flow based approach for inferring the effects that a piece of JavaScript has on the website in order to ensure that key security properties are not violated. To handle dynamically loaded and generated JavaScript, we propose a framework for staging information flow properties. Our framework propagates information flow through the currently known code in order to compute a minimal set of syntactic residual checks that are performed on the remaining code when it is dynamically loaded. We have implemented a prototype framework for staging information flow. We describe our techniques for handling some difficult features of JavaScript and evaluate our system's performance on a variety of large real-world websites. Our experiments show that static information flow is feasible and efficient for JavaScript, and that our technique allows the enforcement of information-flow policies with almost no run-time overhead.
机译:现代网站由JavaScript(一种在客户端浏览器中执行的灵活的动态脚本语言)提供支持。在此类网站中,常见的范例是以库或广告的形式包含第三方JavaScript代码。如果此代码是恶意的,则它可以从页面读取敏感信息或将其写入位置栏,从而将用户重定向到恶意页面,整个计算机都可能从该页面受到攻击。我们提出一种基于信息流的方法,以推断一段JavaScript对网站的影响,以确保不违反关键的安全属性。为了处理动态加载和生成的JavaScript,我们提出了一个用于暂存信息流属性的框架。我们的框架通过当前已知的代码传播信息流,以便计算在动态加载代码时对其余代码执行的最小语法残差检查集。我们已经实现了用于暂存信息流的原型框架。我们描述了用于处理JavaScript某些困难功能的技术,并在各种大型现实世界网站上评估了系统的性能。我们的实验表明,静态信息流对于JavaScript是可行且高效的,并且我们的技术允许在几乎没有运行时开销的情况下实施信息流策略。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号