Lune

Abstract

Over the past two decades, packed malware is always a veritable challenge to security analysts. Not only is determining the end of the unpacking increasingly difficult, but also advanced packers embed a variety of anti-analysis tricks to impede reverse engineering. As malware's APIs provide rich information about malicious behavior, one common anti-analysis strategy is API obfuscation, which removes the metadata of imported APIs from malware's PE header and complicates API name resolution from API callsites. In this way, even when security analysts obtain the unpacked code, a disassembler still fails to recognize imported API names, and the unpacked code cannot be successfully executed. Recently, generic binary unpacking has made breakthrough progress with noticeable performance improvement. However, reconstructing unpacked code's import tables, which is vital for further malware static/dynamic analyses, has largely been overlooked. Existing approaches are far from mature: they either can be easily evaded by various API obfuscation schemes (e.g., stolen code), or suffer from incomplete API coverage. In this paper, we aim to achieve the ultimate goal of Windows malware unpacking: recovering an executable malware program from the packed and obfuscated binary code. Based on the process memory when the original entry point (OEP) is reached, we develop a hardware-assisted tool, API-Xray, to reconstruct import tables. Import table reconstruction is challenging enough in its own right. Our core technique, API Micro Execution, explores all possible API callsites and executes them without knowing API argument values. At the same time, we take advantage of hardware tracing via Intel Branch Trace Store and NX bit to resolve API names and finally rebuild import tables. Compared with the previous work, API-Xray has a better resistance against various API

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Towards Paving the Way for Large-Scale Windows Malware Analysis: Generic Binary Unpacking with Orders-of-Magnitude Performance Boost cites Understanding Linux Malware
  • Towards Paving the Way for Large-Scale Windows Malware Analysis: Generic Binary Unpacking with Orders-of-Magnitude Performance Boost cites BinSim: Trace-based Semantic Binary Diffing via System Call Sliced Segment Equivalence Checking
  • Scalable Program Clone Search through Spectral Analysis cites BinSim: Trace-based Semantic Binary Diffing via System Call Sliced Segment Equivalence Checking
  • Prevalence and Impact of Low-Entropy Packing Schemes in the Malware Ecosystem cites Towards Paving the Way for Large-Scale Windows Malware Analysis: Generic Binary Unpacking with Orders-of-Magnitude Performance Boost
  • When Malware is Packin' Heat; Limits of Machine Learning Classifiers Based on Static Analysis Features cites Towards Paving the Way for Large-Scale Windows Malware Analysis: Generic Binary Unpacking with Orders-of-Magnitude Performance Boost
  • When Malware is Packin' Heat; Limits of Machine Learning Classifiers Based on Static Analysis Features cites BinSim: Trace-based Semantic Binary Diffing via System Call Sliced Segment Equivalence Checking
  • Hiding Critical Program Components via Ambiguous Translation cites Towards Paving the Way for Large-Scale Windows Malware Analysis: Generic Binary Unpacking with Orders-of-Magnitude Performance Boost
  • Hiding Critical Program Components via Ambiguous Translation cites Prevalence and Impact of Low-Entropy Packing Schemes in the Malware Ecosystem
  • PackGenome: Automatically Generating Robust YARA Rules for Accurate Malware Packer Detection cites Towards Paving the Way for Large-Scale Windows Malware Analysis: Generic Binary Unpacking with Orders-of-Magnitude Performance Boost
  • PackGenome: Automatically Generating Robust YARA Rules for Accurate Malware Packer Detection cites Prevalence and Impact of Low-Entropy Packing Schemes in the Malware Ecosystem
  • PackGenome: Automatically Generating Robust YARA Rules for Accurate Malware Packer Detection cites Understanding Linux Malware
  • PackGenome: Automatically Generating Robust YARA Rules for Accurate Malware Packer Detection cites When Malware is Packin' Heat; Limits of Machine Learning Classifiers Based on Static Analysis Features
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. PackGenome: Automatically Generating Robust YARA Rules for Accurate Malware Packer DetectionShijia Li, Jiang Ming, Pengda Qiu, Qiyuan Chen et al.CCS 2023 · 10 citations
  2. Scalable Program Clone Search through Spectral AnalysisTristan Benoit, Jean-Yves Marion, Sébastien BardinFSE 2023 · 5 citations
  3. From Obfuscated to Obvious: A Comprehensive JavaScript Deobfuscation Tool for Security AnalysisDongchao Zhou, Lingyun Ying, Huajun Chai, Dongbin WangNDSS 2026 · 3 citations
  4. Hiding Critical Program Components via Ambiguous TranslationChijung Jung, Doowon Kim, An Chen, Weihang Wang et al.ICSE 2022 · 1 citation
  5. JBomAudit: Assessing the Landscape, Compliance, and Security Implications of Java SBOMsYue Xiao, Dhilung Kirat, Douglas Lee Schales, Jiyong Jang et al.NDSS 2025

Builds on5

  1. Understanding Linux MalwareEmanuele Cozzi, Mariano Graziano, Yanick Fratantonio, Davide BalzarottiS&P 2018 · 203 citations
  2. BinSim: Trace-based Semantic Binary Diffing via System Call Sliced Segment Equivalence CheckingJiang Ming, Dongpeng Xu, Yufei Jiang, Dinghao WuUSENIX Security 2017 · 118 citations
  3. Towards Paving the Way for Large-Scale Windows Malware Analysis: Generic Binary Unpacking with Orders-of-Magnitude Performance BoostBinlin Cheng, Jiang Ming, Jianming Fu, Guojun Peng et al.CCS 2018 · 68 citations
  4. Prevalence and Impact of Low-Entropy Packing Schemes in the Malware EcosystemAlessandro Mantovani, Simone Aonzo, Xabier Ugarte-Pedrero, Alessio Merlo et al.NDSS 2020
  5. When Malware is Packin' Heat; Limits of Machine Learning Classifiers Based on Static Analysis FeaturesHojjat Aghakhani, Fabio Gritti, Francesco Mecca, Martina Lindorfer et al.NDSS 2020

Related papers

  1. Happer: Unpacking Android Apps via a Hardware-Assisted ApproachLei Xue, Hao Zhou, Xiapu Luo, Yajin Zhou et al.S&P 2021 · 29 citations
  2. HyperDbg: Reinventing Hardware-Assisted DebuggingMohammad Sina Karvandi, MohammadHosein Gholamrezaei, Saleh Khalaj Monfared, Soroush Meghdadi Zanjani et al.CCS 2022 · 10 citations
  3. Things You May Not Know About Android (Un)Packers: A Systematic Study based on Whole-System EmulationYue Duan, Mu Zhang, Abhishek Vasisht Bhaskar, Heng Yin et al.NDSS 2018 · 87 citations
  4. BinStruct: Binary Structure Recovery Combining Static Analysis and SemanticsYiran Zhang, Zhengzi Xu, Zhe Lang, Chengyue Liu et al.ASE 2025
  5. Backward-Bounded DSE: Targeting Infeasibility Questions on Obfuscated CodesSébastien Bardin, Robin David, Jean-Yves MarionS&P 2017 · 63 citations
Dusk over the sea between two cliffs drawn in fine vertical lines