I recently had the prospect of trying to restore a failed Sophos XG hardware device and needed to determine configuration information from the encrypted backup file.
Because of various issues finding compatible hardware to restore, I attempted to read the contents of the encrypted backup file.
Uploading the file to my linux server and using the ‘file’ command it revealed the file type as an ‘openssl enc’d data with salted password’.
Looking into OpenSSL file encryption/decryption, and trialing a few commands, I found the following command to work: (You will need to know the encryption password).
Checking the outputted unencrypted file with the ‘file’ command it revealed the file type as an ‘gzip compressed data’, (pretty much a zip). Uncompressing and checking this file revealed a tar archive. Inside being the contents of the Sophos XG backup.
I recently had the prospect of trying to restore a failed Sophos XG hardware device and needed to determine configuration information from the encrypted backup file.
Because of various issues finding compatible hardware to restore, I attempted to read the contents of the encrypted backup file.
Uploading the file to my linux server and using the ‘file’ command it revealed the file type as an ‘openssl enc’d data with salted password’.
Looking into OpenSSL file encryption/decryption, and trialing a few commands, I found the following command to work: (You will need to know the encryption password).
Checking the outputted unencrypted file with the ‘file’ command it revealed the file type as an ‘gzip compressed data’, (pretty much a zip). Uncompressing and checking this file revealed a tar archive. Inside being the contents of the Sophos XG backup.
x
Cookie-Zustimmung verwalten
Unser Webseiten Template mit den darin inkludierten Plugins verwendet Cookies. Sie stimmen der Nutzung von Cookies und unseren Datenschutzbestimmungen zu.
Funktional
Immer aktiv
Die technische Speicherung oder der Zugang ist unbedingt erforderlich für den rechtmäßigen Zweck, die Nutzung eines bestimmten Dienstes zu ermöglichen, der vom Teilnehmer oder Nutzer ausdrücklich gewünscht wird, oder für den alleinigen Zweck, die Übertragung einer Nachricht über ein elektronisches Kommunikationsnetz durchzuführen.
Vorlieben
Die technische Speicherung oder der Zugriff ist für den rechtmäßigen Zweck der Speicherung von Präferenzen erforderlich, die nicht vom Abonnenten oder Benutzer angefordert wurden.
Statistiken
Die technische Speicherung oder der Zugriff, der ausschließlich zu statistischen Zwecken erfolgt.Die technische Speicherung oder der Zugriff, der ausschließlich zu anonymen statistischen Zwecken verwendet wird. Ohne eine Vorladung, die freiwillige Zustimmung deines Internetdienstanbieters oder zusätzliche Aufzeichnungen von Dritten können die zu diesem Zweck gespeicherten oder abgerufenen Informationen allein in der Regel nicht dazu verwendet werden, dich zu identifizieren.
Marketing
Die technische Speicherung oder der Zugriff ist erforderlich, um Nutzerprofile zu erstellen, um Werbung zu versenden oder um den Nutzer auf einer Website oder über mehrere Websites hinweg zu ähnlichen Marketingzwecken zu verfolgen.