본문 바로가기

WasDom: An Efficient Write Protection for Wasm JITed Code With ARM Domain

문서 유형
연구출판물 · 학술지 논문
등재
SCIEScopus
저널 순위
JCR Q2Scopus Q1
저널
IEEE ACCESS13 · pp.26260 · 2025
피인용
Web of Science 0Scopus 2
FWCI (Scopus)
0.21
JCR IF
JCR 2024 3.6
ISSN
2169-3536

저자

  1. 송수현제1저자Pusan Natl Univ, Dept Informat Convergence Engn, Busan 46241, South Korea
  2. 신채원Pusan Natl Univ, Sch Comp Sci & Engn, Busan 46241, South Korea
  3. 권동현교신저자Pusan Natl Univ, Sch Comp Sci & Engn, Busan 46241, South Korea

초록

WebAssembly (Wasm) is a binary instruction format designed to run web applications efficiently and securely across different browsers, including Chrome's V8, Firefox's SpiderMonkey, and Safari's JavaScriptCore. While Wasm's Just-In-Time (JIT) compilation offers significant performance benefits by converting wasm code into machine code (JITed code), it introduces security vulnerabilities by violating the ŴX (Write XOR Execute) policy. Conventional methodologies, such as Intel MPK for safeguarding JITed code, are constrained to specific hardware and are ineffectual in mobile environments. Consequently, there is a necessity for the development of a ARM-compatible solution. This paper proposes WasDom, an efficacious write protection mechanism for wasm JITed code on ARM architecture. Leveraging ARM's domain-based memory management, WasDom employs a randomized domain allocation strategy to permit multiple cores to access JITed code securely. The prototype of WasDom was implemented in the V8 runtime and demonstrated a minimal performance overhead of less than 11% while providing strong write protection. The system manages memory permissions dynamically through the Domain Access Control Register (DACR), ensuring that memory regions are writable during JIT compilation and executable during runtime, thus enforcing a strong ŴX policy.

키워드

ARM domainin-process isolationjust-in-time compilationWebAssembly

식별자

Scopus EID
2-s2.0-85217519717
WoS UID
001422025700001