Security monitor inlining and certification for multithreaded Java']Java

被引:1
|
作者
Dam, Mads [1 ]
Jacobs, Bart [2 ]
Lundblad, Andreas [1 ]
Piessens, Frank [2 ]
机构
[1] Royal Inst Technol KTH, SE-10044 Stockholm, Sweden
[2] Katholieke Univ Leuven, B-3001 Louvain, Belgium
关键词
ENFORCEMENT;
D O I
10.1017/S0960129512000916
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Security monitor inlining is a technique for security policy enforcement whereby monitor functionality is injected into application code in the style of aspect-oriented programming. The intention is that the injected code enforces compliance with the policy (security), and otherwise interferes with the application as little as possible (conservativity and transparency). Such inliners are said to be correct. For sequential Java-like languages, inlining is well understood, and several provably correct inliners have been proposed. For multithreaded Java one difficulty is the need to maintain a shared monitor state. We show that this problem introduces fundamental limitations in the type of security policies that can be correctly enforced by inlining. A class of race-free policies is identified that precisely characterizes the inlineable policies by showing that inlining of a policy outside this class is either not secure or not transparent, and by exhibiting a concrete inliner for policies inside the class which is secure, conservative and transparent. The inliner is implemented for Java and applied to a number of practical application security policies. Finally, we discuss how certification in the style of proof-carrying code could be supported for inlined programs by using annotations to reduce a potentially complex verification problem for multithreaded Java bytecode to sequential verification of just the inlined code snippets.
引用
收藏
页码:528 / 565
页数:38
相关论文
共 50 条
  • [1] Security Monitor Inlining for Multithreaded Java']Java
    Dam, Mads
    Jacobs, Bart
    Lundblad, Andreas
    Piessens, Frank
    [J]. ECOOP 2009 - OBJECT-ORIENTED PROGRAMMING, 2009, 5653 : 546 - +
  • [2] Security monitor inlining for multithreaded java
    KTH, Sweden
    不详
    [J]. Lect. Notes Comput. Sci., (546-569):
  • [3] If-transpiler: Inlining of hybrid flow-sensitive security monitor for Java']JavaScript
    Sayed, Bassam
    Traore, Issa
    Abdelhalim, Amany
    [J]. COMPUTERS & SECURITY, 2018, 75 : 92 - 117
  • [4] Inlining with traces in java']java programs
    Bradel, Borys J.
    Abdelrahman, Tarek S.
    [J]. COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2012, 27 (04): : 251 - 266
  • [5] The use of traces for inlining in Java']Java programs
    Bradel, BJ
    Abdelrahman, TS
    [J]. LANGUAGES AND COMPILERS FOR HIGH PERFORMANCE COMPUTING, 2005, 3602 : 179 - 193
  • [6] Context-sensitive trace inlining for Java']Java
    Haeubl, Christian
    Wimmer, Christian
    Moessenboeck, Hanspeter
    [J]. COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2013, 39 (04) : 123 - 141
  • [7] Automatic Array Inlining in Java']Java Virtual Machines
    Wimmer, Christian
    Moessenboeck, Hanspeter
    [J]. CGO 2008: SIXTH INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, PROCEEDINGS, 2008, : 14 - 23
  • [8] Refactoring techniques for aggressive object inlining in Java']Java applications
    Ben Asher, Yosi
    Gal, Tomer
    Haber, Gadi
    Zalmanovici, Marcel
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2012, 19 (01) : 97 - 136
  • [9] A real-time Java']Java system on a multithreaded Java']Java microcontroller
    Pfeffer, M
    Uhrig, S
    Ungerer, T
    Brinkschulte, U
    [J]. ISORC 2002: FIFTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2002, : 34 - 41
  • [10] Metrics for multithreaded Java']Java program verification
    Salem, A
    Sharma, V
    [J]. SERP '05: Proceedings of the 2005 International Conference on Software Engineering Research and Practice, Vols 1 and 2, 2005, : 524 - 528