• DocumentCode
    3218472
  • Title

    Mobile code security by Java bytecode instrumentation

  • Author

    Chander, Ajay ; Mitchell, John C. ; Shin, Insik

  • Author_Institution
    Dept. of Comput. Sci., Stanford Univ., CA, USA
  • Volume
    2
  • fYear
    2001
  • fDate
    2001
  • Firstpage
    27
  • Abstract
    Mobile code provides significant opportunities and risks. Java bytecode is used to provide executable content to Web pages and is the basis for dynamic service configuration in the Jini framework. While the Java Virtual Machine includes a bytecode verifier that checks bytecode programs before execution, and a bytecode interpreter that performs run-time tests, mobile code may still behave in ways that are harmful to users. We present techniques that insert run-time tests into Java code, illustrating them for Java applets and Jini proxy bytecodes. These techniques may be used to contain mobile code behavior or, potentially, insert code that is appropriate to profiling or other monitoring efforts. The main techniques are class modification, involving subclassing non-final classes, and method-level modifications that may be used when control over objects from final classes is desired
  • Keywords
    Java; distributed programming; object-oriented programming; program diagnostics; program testing; security of data; virtual machines; Java Virtual Machine; Java applets; Java bytecode instrumentation; Jini framework; Jini proxy bytecodes; World Wide Web pages; bytecode interpreter; bytecode verifier; class modification; dynamic service configuration; executable content; final classes; method-level modifications; mobile code security; monitoring; nonfinal classes; profiling; run-time tests; subclassing; Computer science; Information security; Instruments; Java; Monitoring; Performance evaluation; Runtime; Testing; Virtual machining; Web pages;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    DARPA Information Survivability Conference & Exposition II, 2001. DISCEX '01. Proceedings
  • Conference_Location
    Anaheim, CA
  • Print_ISBN
    0-7695-1212-7
  • Type

    conf

  • DOI
    10.1109/DISCEX.2001.932157
  • Filename
    932157