{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T14:32:06Z","timestamp":1787495526191,"version":"build-2736575974"},"reference-count":40,"publisher":"Association for Computing Machinery (ACM)","issue":"ISSTA","license":[{"start":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T00:00:00Z","timestamp":1750550400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,22]]},"abstract":"<jats:p>\n                    System calls serve as the primary interface for interaction between user-space programs and the operating system (OS) kernel. By hooking system calls, it is possible to analyze and modify the behavior of user-space programs. This paper proposes DataHook, an efficient and lightweight system call hooking technique for 32-bit programs. Compared to existing system call hooking techniques, DataHook achieves hooking with extremely low hook overhead by modifying only a few data elements without altering any program instructions. This unique characteristic not only avoids the multithreading conflicts associated with binary rewriting but also provides support for programs to apply more efficient user-space OS subsystems. However, existing system call hooking techniques struggle to meet these goals simultaneously. While techniques like syscall user dispatch (SUD) and ptrace do not require rewriting process instructions, they introduce significant hook overhead. On the other hand, low-overhead techniques typically involve binary rewriting of multiple bytes or instructions, which introduces its own set of challenges. DataHook cleverly addresses these issues by leveraging the specific behavior of 32-bit programs during system calls. In short, unlike 64-bit programs, 32-bit programs use an indirect call instruction to jump to the function executing the\n                    <jats:monospace>syscall\/sysenter<\/jats:monospace>\n                    when making a system call. This paper achieves system call hooking by manipulating the data dependencies involved in the indirect call process. This characteristic is present in 32-bit programs on glibc-based Linux systems, whether running on x86 or x86-64 architectures. Therefore, DataHook can be deployed on these systems. Experimental results demonstrate that DataHook reduces hook overhead by 5.4 to 1,429.0 times compared to existing techniques. When DataHook was applied to a server program to make it use the userspace network stack, the server performance was improved by approximately 4.3 times. Additionally, when applied to Redis, DataHook resulted in only a 4.0% performance loss, compared to 8.0% to 94.7% with other techniques.\n                  <\/jats:p>","DOI":"10.1145\/3728874","type":"journal-article","created":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T10:52:56Z","timestamp":1750589576000},"page":"92-112","source":"Crossref","is-referenced-by-count":0,"title":["DataHook: An Efficient and Lightweight System Call Hooking Technique without Instruction Modification"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2101-4589","authenticated-orcid":false,"given":"Quan","family":"Hong","sequence":"first","affiliation":[{"name":"School of Cyber Security, University of Chinese Academy of Sciences, Beijing, China"},{"name":"Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5332-4979","authenticated-orcid":false,"given":"Jiaqi","family":"Li","sequence":"additional","affiliation":[{"name":"School of Cyber Security, University of Chinese Academy of Sciences, Beijing, China"},{"name":"Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-7788-8892","authenticated-orcid":false,"given":"Wen","family":"Zhang","sequence":"additional","affiliation":[{"name":"China Unicom Online Information Technology CO.,Ltd, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-6764-2060","authenticated-orcid":false,"given":"Lidong","family":"Zhai","sequence":"additional","affiliation":[{"name":"Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,22]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"2017. IT Modernization: critical to digital transformation. Retrieved Jan 20 2025 from https:\/\/web.archive.org\/web\/20230307084121\/https:\/\/www.avanade.com\/-\/media\/asset\/white-paper\/avanade-it-modernization-whitepaper.pdf"},{"key":"e_1_3_1_3_2","unstructured":"2021 2021 HIMSS Healthcare Cybersecurity Survey. Retrieved Oct 28 2024 from https:\/\/www.himss.org\/sites\/hde\/files\/media\/file\/2022\/01\/28\/2021_himss_cybersecurity_survey.pdf"},{"key":"e_1_3_1_4_2","unstructured":"2024. Debian \u2013 packages. Retrieved Oct 22 2024 from https:\/\/www.debian.org\/distrib\/packages"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00766-019-00311-2"},{"key":"e_1_3_1_6_2","unstructured":"Bob Amstadt and EricYoungdale. 1993. Wine. Retrieved Oct 7 2024 from https:\/\/www.winehq.org\/"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10009-021-00644-w"},{"key":"e_1_3_1_8_2","unstructured":"Adam Belay Andrea Bittau Ali Mashtizadeh David Terei David Mazieres and Christos Kozyrakis. 2012.Dune: Safe user-level access to privileged {CPU} features. In 10th USENIX Symposium on Operating Systems Design and Implementation (OSDI 12). 335-348."},{"key":"e_1_3_1_9_2","unstructured":"Gabriel Krisman Bertazi. 2021. Syscall User Dispatch. Retrieved Oct 17 2024 from https:\/\/www.kernel.org\/doc\/html\/latest\/admin-guide\/syscall-user-dispatch.html"},{"key":"e_1_3_1_10_2","unstructured":"Juan Cespedes. 1997. ltrace. Retrieved Oct 17 2024 from https:\/\/ltrace.org\/"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","unstructured":"Buddhika Chamith Bo Joel Svensson Luke Dalessandro and Ryan R Newton. 2017. Instruction punning: Lightweight instrumentation for x86-64. InProceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation. 320-332. doi:10.1145\/3062341.3062344","DOI":"10.1145\/3062341.3062344"},{"key":"e_1_3_1_12_2","unstructured":"Ankush Das. 2023. 15 Linux Distributions You Can Rely on for Your Ancient 32-bit Computer. Retrieved Oct 22 2024 from https:\/\/itsfoss.com\/32-bit-linux-distributions\/"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","unstructured":"Gregory J Duck Xiang Gao and Abhik Roychoudhury. 2020. Binary rewriting without control flow recovery. In Proceedings of the 41st ACM SIGPLAN conference on programming language design and implementation. 151-163 doi:10.1145\/3385412.3385972","DOI":"10.1145\/3385412.3385972"},{"key":"e_1_3_1_14_2","unstructured":"Adam Dunkels. 2001.Design and Implementation of the lwIP TCP\/IP Stack.Swedish Institute of Computer Science 2 77 (2001)."},{"key":"e_1_3_1_15_2","unstructured":"Free Software Foundation. 1988. The GNU C Library (glibc). Retrieved Oct 7 2024 from https:\/\/www.gnu.org\/software\/libc\/"},{"key":"e_1_3_1_16_2","unstructured":"Will Glozer. 2012.wrk: Modern HTTP benchmarking too. Retrieved Oct 20 2024 from https:\/\/github.com\/wg\/wrk"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","unstructured":"Michio Honda Felipe Huici Costin Raiciu Joao Araujo and Luigi Rizzo. 2014. Rekindling network protocol innovation with user-level stacks. ACM SIGCOMM Computer Communication Review 44 2 (2014) 52-58 doi:10.1145\/2602204.2602212","DOI":"10.1145\/2602204.2602212"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","unstructured":"Quan Hong Jiaqi Li Wen Zhang and Lidong Zhai. 2025.Experimental Data for ISSTA 2025: \u201dDataHook - An Efficient and Lightweight System Call Hooking Technique without Instruction Modification\u201d doi:10.5281\/zenodo.15174329","DOI":"10.5281\/zenodo.15174329"},{"key":"e_1_3_1_19_2","unstructured":"Galen Hunt and Doug Brubacher. 1999. Detours: Binary interception of Win32 functions. In Windows NT 3rd symposium (windows NT 3rd symposium)."},{"key":"e_1_3_1_20_2","unstructured":"Intel. 2010. Data Plane Development Kit. Retrieved Oct 21 2024 from https:\/\/www.dpdk.org\/"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.giq.2022.101784"},{"key":"e_1_3_1_22_2","unstructured":"EunYoung Jeong Shinae Wood Muhammad Jamshed Haewon Jeong Sunghwan Ihm Dongsu Han and KyoungSoo Park. 2014. {mTCP}: a Highly Scalable User-level {TCP} Stack for Multicore Systems. In 11th USENIX Symposium on Networked Systems Design and Implementation (NSDI 14). 489-502."},{"key":"e_1_3_1_23_2","unstructured":"Taesoo Kim andNickolai Zeldovich. 2013. Practical and effective sandboxing for non-root users. In 2013 USENIX Annual Technical Conference (USENIX ATC 13). 139-144"},{"key":"e_1_3_1_24_2","unstructured":"Paul Kranenburg. 1991. strace. Retrieved Oct 17 2024 from https:\/\/github.com\/strace\/strace\/tree\/master"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","unstructured":"Hsuan-Chi Kuo Dan Williams Ricardo Koller and Sibin Mohan. 2020. A linux in unikernel clothing. In Proceedings of the Fifteenth European Conference on Computer Systems. 1-15. doi:10.1145\/3342195.3387526","DOI":"10.1145\/3342195.3387526"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","unstructured":"Youngjin Kwon Henrique Fingler Tyler Hunt Simon Peter Emmett Witchel and Thomas Anderson. 2017. Strata: A cross media file system. In Proceedings of the 26th Symposium on Operating Systems Principles. 460-477. doi:10.1145\/3132747.3132770","DOI":"10.1145\/3132747.3132770"},{"key":"e_1_3_1_27_2","unstructured":"User Mode Linux. 2005. User Mode Linux. (2005)."},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","unstructured":"Jing Liu Anthony Rebello Yifan Dai Chenhao Ye Sudarsun Kannan Andrea C Arpaci-Dusseau and Remzi H Arpaci-Dusseau. 2021. Scale and performance in a filesystem semi-microkernel. In Proceedings of the ACM SIGOPS 28th Symposium on Operating Systems Principles. 819-835. doi:10.1145\/3477132.3483581","DOI":"10.1145\/3477132.3483581"},{"key":"e_1_3_1_29_2","unstructured":"Google LLC. 2018. gVisor. Retrieved Oct 7 2024 from https:\/\/gvisor.dev\/."},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","unstructured":"Ilias Marinos Robert NM Watson and Mark Handley. 2014. Network stack specialization for performance. ACM SIGCOMM Computer Communication Review 44 4 (2014) 175-186. doi:10.1145\/2619239.2626311","DOI":"10.1145\/2619239.2626311"},{"key":"e_1_3_1_31_2","unstructured":"Steven McCanne and Van Jacobson. 1993. The BSD Packet Filter: A New Architecture for User-level Packet Capture. In USENIX winter Vol. 46. 259-270."},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","unstructured":"Ruslan Nikolaev and Godmar Back. 2013. VirtuOS: An operating system with kernel virtualization. In Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles. 116-132. doi:10.1145\/2517349.2522719","DOI":"10.1145\/2517349.2522719"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","unstructured":"Pierre Olivier Daniel Chiba Stefan Lankes Changwoo Min and Binoy Ravindran. 2019. A binary-compatible unikernel. In Proceedings of the 15th ACM SIGPLAN\/SIGOPS International Conference on Virtual Execution Environments. 59\u201373. doi:10.1145\/3313808.3313817","DOI":"10.1145\/3313808.3313817"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","unstructured":"Ali Raza Thomas Unger Matthew Boyd Eric B Munson Parul Sohal Ulrich Drepper Richard Jones Daniel Bristot De Oliveira Larry Woodman Renato Mancuso et al. 2023. Unikernel Linux (UKL). In Proceedings of the Eighteenth European Conference on Computer Systems. 590-605. doi:10.1145\/3552326.3587458.","DOI":"10.1145\/3552326.3587458"},{"key":"e_1_3_1_35_2","unstructured":"Luigi Rizzo. 2012. netmap: a novel framework for fast packet I\/O. In 21st USENIX Security Symposium (USENIX Security 12). 101\u2013112."},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","unstructured":"Zhiming Shen Zhen Sun Gur-Eyal Sela Eugene Bagdasaryan Christina Delimitrou Robbert Van Renesse and Hakim Weatherspoon. 2019. X-containers: Breaking down barriers to improve performance and isolation of cloud-native containers. In Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems. 121\u2013135. doi:10.1145\/3297858.3304016","DOI":"10.1145\/3297858.3304016"},{"key":"e_1_3_1_37_2","unstructured":"Livio Soares and Michael Stumm. 2010. {FlexSC}: Flexible system call scheduling with {Exception-Less} system calls. In 9th USENIX Symposium on Operating Systems Design and Implementation (OSDI 10)."},{"key":"e_1_3_1_38_2","unstructured":"Kevin Walsh. 2023. Information Technology: Agencies Need to Continue Addressing Critical Legacy Systems. Retrieved Oct 28 2024 from https:\/\/www.gao.gov\/assets\/820\/819909.pdf."},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","unstructured":"Christian Wressnegger Fabian Yamaguchi Alwin Maier and Konrad Rieck. 2016. Twice the bits twice the trouble: Vulnerabilities induced by migrating to 64-bit platforms. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security. 541\u2013552. doi:10.1145\/2976749.2978403","DOI":"10.1145\/2976749.2978403"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","unstructured":"Ziye Yang James R Harris Benjamin Walker Daniel Verkamp Changpeng Liu Cuny in Chang Gang Cao Jonathan Stern Vishal Verma and Luse E Paul. 2017. SPDK: A development kit to build high performance storage applications. In 2017 IEEE International Conference on Cloud Computing Technology and Science (CloudCom). IEEE 154\u2013161. doi:10.1109\/CloudCom.2017.14","DOI":"10.1109\/CloudCom.2017.14"},{"key":"e_1_3_1_41_2","unstructured":"Kenichi Yasukata Hajime Tazaki Pierre-Louis Aublin and Kenta Ishiguro. 2023. zpoline: a system call hook mechanism based on binary rewriting. In 2023 USENIX Annual Technical Conference (USENIX ATC 23). 293\u2013300.."}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3728874","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T13:53:00Z","timestamp":1787493180000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3728874"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,22]]},"references-count":40,"journal-issue":{"issue":"ISSTA","published-print":{"date-parts":[[2025,6,22]]}},"alternative-id":["10.1145\/3728874"],"URL":"https:\/\/doi.org\/10.1145\/3728874","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,22]]}}}