首页> 外文会议>Computer security - ESORICS 2010 >Enforcing Secure Object Initialization in Java
【24h】

Enforcing Secure Object Initialization in Java

机译:在Java中强制执行安全对象初始化

获取原文
获取原文并翻译 | 示例

摘要

Sun and the CERT recommend for secure Java development to not allow partially initialized objects to be accessed. The CERT considers the severity of the risks taken by not following this recommendation as high. The solution currently used to enforce object initialization is to implement a coding pattern proposed by Sun, which is not formally checked. We propose a modular type system to formally specify the initialization policy of libraries or programs and a type checker to statically check at load time that all loaded classes respect the policy. This allows to prove the absence of bugs which have allowed some famous privilege escalations in Java. Our experimental results show that our safe default policy allows to prove 91% of classes of java.lang, Java, security and javax.security safe without any annotation and by adding 57 simple annotations we proved all classes but four safe. The type system and its soundness theorem have been formalized and machine checked using Coq.
机译:Sun和CERT建议进行安全的Java开发,不允许访问部分初始化的对象。 CERT认为未遵循此建议所承担的风险的严重性很高。当前用于强制对象初始化的解决方案是实现Sun提出的编码模式,该模式未经正式检查。我们提出了一种模块化类型系统来正式指定库或程序的初始化策略,并提出一种类型检查器以在加载时静态检查所有已加载类是否遵守该策略。这可以证明不存在允许Java进行一些著名特权提升的错误。我们的实验结果表明,我们的安全默认策略允许在没有任何注释的情况下证明91.5%的java.lang,Java,security和javax.security是安全的,并且通过添加57个简单的注释,我们证明了除4种安全之外的所有类。类型系统及其健全性定理已经形式化,并使用Coq进行了机器检查。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号