ANALYSIS OF HFS+ STRUCTURES AND DATA RECOVERY TECHNIQUE
Abstract
This article presents a structural analysis of the HFS+ file system and describes a manual data recovery technique based on direct examination of service areas of a volume. The relevance of the study is determined by the fact that HFS+ is still encountered on external drives, backup media and legacy Apple devices, while automated recovery tools do not always correctly interpret damaged metadata. The paper examines the role of the Volume Header, Catalog File parameters, the organization of catalog B-trees, leaf node layout, record offset arrays, HFSPlusCatalogKey fields and the main structures of file and folder records. A practical example demonstrates how to determine the allocation block size, calculate the physical offset of the catalog file, identify root directory records, establish object identifiers and extract file contents using extent descriptors. The proposed method is intended for work in a hex editor and does not require expensive specialized software. The results show that manual low-level analysis can be used to recover individual critical files, verify automated tool output and study the internal principles of file system organization. The technique is useful for data recovery specialists, digital forensics practitioners and system administrators working with Apple storage media.
Online viewer
References
- HFS+: Structures and Features, exFAT vs. HFS+ vs. NTFS [Электронный ресурс] // iBoysoft. – 2025. – URL: https://iboysoft.com/wiki/hfs-plus.html (дата обращения: 05.11.2025).
- Apple File System Reference [Электронный ресурс] // Apple Developer Documentation. – Apple Inc., 2017. – URL: https://developer.apple.com/support/downloads/Apple-File-System-Reference.pdf (дата обращения: 15.10.2025).
- Apple Inc. Technical Note TN1150: HFS Plus Volume Format [Электронный ресурс] // Apple Developer Documentation. – 2004. – URL: https://developer.apple.com/library/archive/technotes/tn/tn1150.html (дата обращения: 15.10.2025).
- Порядок восстановления данных в файловой системе HFS+ [Электронный ресурс] // Хабр. – 2021. – URL: https://habr.com/ru/companies/hetmansoftware/articles/547716/ (дата обращения: 06.11.2025).
- Carrier, B. File System Forensic Analysis / B. Carrier. – Boston : Addison-Wesley Professional, 2005. – 640 p.
- The Sleuth Kit [Электронный ресурс] // The Sleuth Kit. – URL: https://www.sleuthkit.org/sleuthkit/ (дата обращения: 06.11.2025).
- Grenier, C. TestDisk Documentation [Электронный ресурс] / C. Grenier // CGSecurity. – URL: https://www.cgsecurity.org/wiki/TestDisk (дата обращения: 06.11.2025).
License
Copyright (c) 2025 D. D. Novikova, S. S. Chursina (Author)