본문 바로가기
  • Home

Design of a Hardware Branch Tracing-Based Framework for External API Identification on Windows

  • Journal of The Korea Society of Computer and Information
  • Abbr : JKSCI
  • 2026, 31(5), pp.149~163
  • Publisher : The Korean Society Of Computer And Information
  • Research Area : Engineering > Computer Science
  • Received : April 14, 2026
  • Accepted : May 12, 2026
  • Published : May 29, 2026

Jun-Seob Kim 1

1고려대학교세종캠퍼스

Accredited

ABSTRACT

In this paper, we propose a hardware branch tracing-based framework for identifying external APIs invoked during program execution on Windows. The proposed framework collects branch logs using Intel Last Branch Records (LBR), filters branches directed to external modules in a post-processing stage, and maps their destination addresses to function information of loaded DLLs to identify invoked external APIs. Because this approach is based on branch traces observed during execution, it does not rely only on statically exposed reference information or on predefined API hooking points. Experiments were conducted on four basic scenarios, namely normal-entry calls, dynamic-loading calls, native API direct calls, and internal-function entry calls. Additional experiments were also conducted on dynamic-loading variants with obfuscated API names and detection of debugging or hooking attempts. The results show that the proposed framework identified external APIs in all scenarios and achieved a 100% identification rate in the four basic scenarios. These findings indicate that the proposed method provides a practical way to identify external APIs while minimizing direct runtime intervention.

Citation status

* References for papers published after 2024 are currently being built.