ASC-Hook: fast and transparent system call hook for Arm Conference: Preprint; arXiv Submission; CCS: General and reference Performance CCS: Software and its engineering Development frameworks and environments

Yang Shen, Min Xie, Tao Wu, Wenzhe Zhang · 2024

Read ASC-Hook: fast and transparent system call hook for Arm Conference: Preprint; arXiv Submission; CCS: General and reference Performance CCS: Software and its engineering Development frameworks and environments by Yang Shen, Min Xie, Tao Wu, Wenzhe Zhang (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-05784.txt.

Description

Yang Shen and co-authors built a faster, more complete way to intercept system calls on ARM processors, in a 2024 paper. Tools that watch or alter what programs ask the operating system to do underpin security monitors and debuggers, but on ARM chips existing interceptors are slow or miss calls. Their tool, ASC-Hook, rewrites the program's machine code directly.

Two ARM quirks drive the design: swapping in a jump instruction misaligns the target address, and control must return cleanly after interception. A hybrid replacement strategy plus a custom trampoline solves both. Extra rules guarantee that every kind of system call is caught. In tests, the tool's overhead fell to at most one twenty-ninth of rival tools, and programs heavy on system calls lost only about 3.7 percent of their speed on average.

Catalog record

CREATORYang Shen, Min Xie, Tao Wu, Wenzhe Zhang
YEAR2024
COLLECTIONPAPERS
FORMATTXT
FILE SIZE45 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2412-05784

Browse the full library · About the Tower of Babel