Thursday, 1 June 2023

Recovering Data From An Old Encrypted Time Machine Backup

Posted on 03:50 by Mordiadi

Recovering data from a backup should be an easy thing to do. At least this is what you expect. Yesterday I had a problem which should have been easy to solve, but it was not. I hope this blog post can help others who face the same problem.


The problem

1. I had an encrypted Time Machine backup which was not used for months
2. This backup was not on an official Apple Time Capsule or on a USB HDD, but on a WD MyCloud NAS
3. I needed files from this backup
4. After running out of time I only had SSH access to the macOS, no GUI

The struggle

By default, Time Machine is one of the best and easiest backup solution I have seen. As long as you stick to the default use case, where you have one active backup disk, life is pink and happy. But this was not my case.

As always, I started to Google what shall I do. One of the first options recommended that I add the backup disk to Time Machine, and it will automagically show the backup snapshots from the old backup. Instead of this, it did not show the old snapshots but started to create a new backup. Panic button has been pressed, backup canceled, back to Google.


Other tutorials recommend to click on the Time Machine icon and pressing alt (Option) key, where I can choose "Browse other backup disks". But this did not list the old Time Machine backup. It did list the backup when selecting disks in Time Machine preferences, but I already tried and failed that way.


YAT (yet another tutorial) recommended to SSH into the NAS, and browse the backup disk, as it is just a simple directory where I can see all the files. But all the files inside where just a bunch of nonsense, no real directory structure.

YAT (yet another tutorial) recommended that I can just easily browse the content of the backup from the Finder by double-clicking on the sparse bundle file. After clicking on it, I can see the disk image on the left part of the Finder, attached as a new disk.
Well, this is true, but because of some bug, when you connect to the Time Capsule, you don't see the sparse bundle file. And I got inconsistent results, for the WD NAS, double-clicking on the sparse bundle did nothing. For the Time Capsule, it did work.
At this point, I had to leave the location where the backup was present, and I only had remote SSH access. You know, if you can't solve a problem, let's complicate things by restrict yourself in solutions.

Finally, I tried to check out some data forensics blogs, and besides some expensive tools, I could find the solution.

The solution

Finally, a blog post provided the real solution - hdiutil.
The best part of hdiutil is that you can provide the read-only flag to it. This can be very awesome when it comes to forensics acquisition.


To mount any NAS via SMB:
mount_smbfs afp://<username>@<NAS_IP>/<Share_for_backup> /<mountpoint>

To mount a Time Capsule share via AFP:
mount_afp afp://any_username:password@<Time_Capsule_IP>/<Share_for_backup> /<mountpoint>

And finally this command should do the job:
hdiutil attach test.sparsebundle -readonly

It is nice that you can provide read-only parameter.

If the backup was encrypted and you don't want to provide the password in a password prompt, use the following:
printf '%s' 'CorrectHorseBatteryStaple' | hdiutil attach test.sparsebundle -stdinpass -readonly

Note: if you receive the error "resource temporarily unavailable", probably another machine is backing up to the device

And now, you can find your backup disk under /Volumes. Happy restoring!

Probably it would have been quicker to either enable the remote GUI, or to physically travel to the system and login locally, but that would spoil the fun.
Related word

  1. Android Hack Tools Github
  2. Hack Tools
  3. Hack Website Online Tool
  4. Install Pentest Tools Ubuntu
  5. Pentest Tools Free
  6. Hack Tools Pc
  7. Nsa Hacker Tools
  8. Underground Hacker Sites
  9. Hackers Toolbox
  10. Best Hacking Tools 2019
  11. Hacker Search Tools
  12. Pentest Tools For Ubuntu
  13. Hack App
  14. Nsa Hack Tools
  15. Hacker Tools 2019
  16. Hacker Tools
  17. Pentest Tools For Ubuntu
  18. Pentest Tools List
  19. Hacker Tools
  20. Hacker Tools Apk
  21. Hack Tools
  22. Pentest Tools For Windows
  23. Hacking Tools
  24. Pentest Automation Tools
  25. Hak5 Tools
  26. Pentest Tools Android
  27. Underground Hacker Sites
  28. Hacker Security Tools
  29. Hacking Tools Windows
  30. Hacker Tools For Ios
  31. Pentest Tools For Android
  32. Hacking Tools Hardware
  33. Pentest Tools Alternative
  34. Pentest Automation Tools
  35. Hacker Tools Windows
  36. Tools For Hacker
  37. Hacker Tools For Pc
  38. Pentest Tools Kali Linux
  39. Hacker Security Tools
  40. Hack Tools Pc
  41. Hacker Hardware Tools
  42. Hacker Hardware Tools
  43. Hacker Tools 2020
  44. Hacking Tools Software
  45. Pentest Tools Framework
  46. Hacking App
  47. Hacker Tools
  48. Pentest Tools For Ubuntu
  49. Hacking Tools For Games
  50. Hacking Tools For Windows
  51. Computer Hacker
  52. Hacking Tools Pc
  53. Hacks And Tools
  54. Hacker Techniques Tools And Incident Handling
  55. Hacker Tools Free
  56. Hack Rom Tools
  57. Pentest Tools Url Fuzzer
  58. Beginner Hacker Tools
  59. Hack And Tools
  60. Hacking Tools Kit
  61. Hacking Apps
  62. Top Pentest Tools
  63. Tools 4 Hack
  64. Hacker Tools Apk
  65. Hacking Tools For Windows 7
  66. Pentest Box Tools Download
  67. Hacker Tools For Mac
  68. Black Hat Hacker Tools
  69. What Is Hacking Tools
  70. Pentest Tools Tcp Port Scanner
  71. Top Pentest Tools
  72. Hacker Tools Apk
  73. Hacker Tools Apk
  74. Pentest Tools Website Vulnerability
  75. Hak5 Tools
  76. Pentest Tools Free
  77. Hacker Tools For Mac
  78. Pentest Tools Apk
  79. Hacking Tools Name
  80. Hack And Tools
  81. Hacking Tools 2019
  82. Pentest Tools Review
  83. Hacker Tools For Pc
  84. Hacking Tools For Kali Linux
  85. Hacking Tools For Windows
  86. Pentest Automation Tools
  87. Hacking Tools Windows 10
  88. Hack And Tools
  89. Pentest Tools Nmap
  90. Hacker Security Tools
  91. Growth Hacker Tools
  92. Pentest Tools
  93. Hacker Tools Linux
  94. Hacking Tools For Windows
  95. Pentest Tools Url Fuzzer
  96. Hacking Apps
  97. Hacking Tools Download
  98. Pentest Tools Framework
  99. Pentest Reporting Tools
  100. Pentest Tools Url Fuzzer
  101. Hacking Tools For Mac
  102. Kik Hack Tools
  103. Pentest Tools Find Subdomains
  104. Pentest Tools Tcp Port Scanner
  105. Tools For Hacker
  106. Hacking Tools For Windows Free Download
  107. Hacker Hardware Tools
  108. Termux Hacking Tools 2019
  109. Hack Tools Online
  110. Hacker Tools Apk Download
  111. Best Hacking Tools 2019
  112. Hak5 Tools
  113. Hack Tools For Pc
  114. Hacking Tools Windows 10
  115. Hack Tools Github
  116. Hack Tool Apk
  117. Hackers Toolbox
  118. Wifi Hacker Tools For Windows
  119. Usb Pentest Tools
  120. Bluetooth Hacking Tools Kali
  121. How To Hack
  122. Pentest Tools Website Vulnerability
  123. Hacking Tools Name
  124. Pentest Reporting Tools
  125. Nsa Hacker Tools
  126. Physical Pentest Tools
  127. Hack Apps
  128. Hacking Tools Github
  129. Hacking Tools Pc
  130. Pentest Tools Apk
  131. Hack Tool Apk
  132. Hacking Tools For Pc
  133. Pentest Tools Website
  134. What Are Hacking Tools
  135. Growth Hacker Tools
  136. Pentest Tools Bluekeep
  137. Hacker Tools For Mac
  138. Hacking Tools Hardware
  139. Hacker Hardware Tools
  140. Nsa Hacker Tools
  141. Kik Hack Tools
  142. Hacking Tools
  143. Hackrf Tools
  144. Usb Pentest Tools
  145. How To Hack
  146. Pentest Recon Tools
  147. Hacker Techniques Tools And Incident Handling
  148. Hacker Tools For Windows
  149. Underground Hacker Sites
  150. Hack Tools Download
  151. Hacking Tools For Mac
  152. Ethical Hacker Tools
  153. Hacker Tools Github
  154. Hacker Tools Software
  155. Install Pentest Tools Ubuntu
  156. Hak5 Tools
  157. Pentest Tools Framework
  158. Hacking Tools For Kali Linux
  159. World No 1 Hacker Software
  160. Pentest Tools
  161. Pentest Reporting Tools
  162. Pentest Tools Android
  163. Hacker Tools
  164. Hacks And Tools
  165. Hack Tools For Windows
  166. Hacking Tools For Windows 7
  167. Hack Tools Github

No Response to "Recovering Data From An Old Encrypted Time Machine Backup"

Leave A Reply

BTC

Doge

LTC

BCH

DASH

Tokens

SAMPAI JUMPA LAGI

SEMOGA ANDA MEMPEROLEH SESUATU YANG BERGUNA