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
- iBoysoft. (2025). HFS+: Structures and features, exFAT vs. HFS+ vs. NTFS. iBoysoft. https://iboysoft.com/wiki/hfs-plus.html
- Apple Inc. (2017). Apple File System Reference. Apple Developer Documentation. https://developer.apple.com/support/downloads/Apple-File-System-Reference.pdf
- Apple Inc. (2004). Technical Note TN1150: HFS Plus Volume Format. Apple Developer Documentation. https://developer.apple.com/library/archive/technotes/tn/tn1150.html
- Hetman Software. (2021). Procedure of data recovery in HFS+ file system. Habr. https://habr.com/ru/companies/hetmansoftware/articles/547716/
- Carrier, B. (2005). File system forensic analysis. Addison-Wesley Professional.
- The Sleuth Kit. (n.d.). The Sleuth Kit. https://www.sleuthkit.org/sleuthkit/
- Grenier, C. (n.d.). TestDisk documentation. CGSecurity. https://www.cgsecurity.org/wiki/TestDisk
License
Copyright (c) 2025 D. D. Novikova , S. S. Chursina (Authors)