The Good, the Bad, and the Binary: An LSTM-Based Method for Section Boundary Detection in Firmware Analysis


연구 분야: Analysis



학회: International Workshop on Security


초록

Static analysis tools need information about the ISA and the boundaries of the code and data sections of the binary they analyze. This information is often not readily available in embedded systems firmware, often provided only in a non-standard format or as a raw memory dump. This paper proposes a novel methodology for ISA identification and code and data separation, that extends and improves the state of the art. We identify the main shortcoming of state-of-the-art approaches and add a capability to classify packed binaries’ architecture employing an entropy-based method. Then, we implement an LSTM-based model with heuristics to recognize the section boundaries inside a binary, showing that it outperforms state-of-the-art methods. Finally, we evaluate our approach on a dataset of binaries extracted from real-world firmware.


Author Profile
Michele Carminati

Politecnico di Milano Milan Italy

Italy
Author Profile
Mario Polino

Politecnico di Milano Milan Italy

Italy
Author Profile
Stefano Zanero

Politecnico di Milano Milan Italy

Italy

📄 논문 정보

발행 연도 2023년
인용수 0
출판 국가 Italy
사이트 Springer
좋아요 수 0

연관 논문 목록 (126건)