[NEWS] Raidsonic NAS-4220 Crypt Disk Key Leak
- From: SecuriTeam <support@xxxxxxxxxxxxxx>
- Date: 16 Mar 2008 18:58:00 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Raidsonic NAS-4220 Crypt Disk Key Leak
------------------------------------------------------------------------
SUMMARY
The
<http://www.raidsonic.de/de/pages/products/details.php?we_objectID=5051>
NAS-4220-B offers disk encryption through it's web interface. The key used
for encrypting the disk(s) is stored on a unencrypted partition. Therefore
one can extract the encryption key by removing the disk from the Raidsonic
NAS-4220 and reading the value from the unencrypted partition. The key
itself is stored in a file in plain (base64 encoded). Therefore the
NAS-4220 crypt disk support can not be considered secure.
DETAILS
The NAS-4220-B can hold two SATA disks. Disk are encrypted through a loop
back device using AES128. The problem came to Collin's attention when he
could access the NAS after reboot without suppling the hard disk key.
The key is stored in /system/.crypt, "/system" is a small configuration
partition on the same disk that holds the encrypted partition. The system
partition is created by the system software running on the NAS-4220. The
configuration partition of the second hard disk is not mounted by default
but also contains the .crypt file holding the key for the encrypted
partition on the same disk.
Accessing the key (key value is the example Collin used):
$ cat /system/.crypt
MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=
key in plain key in base64
12345678901234567890 MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=
Base64 decode:
#!/usr/bin/python
from base64 import *
print b64decode("MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=")
ADDITIONAL INFORMATION
The information has been provided by <mailto:collin@xxxxxxxxxxxxxxx>
Collin Mulliner.
The original article can be found at:
<http://www.mulliner.org/security/advisories/raidsonic_nas4220_crypt_disk_key_leak_09Mar2008.txt> http://www.mulliner.org/security/advisories/raidsonic_nas4220_crypt_disk_key_leak_09Mar2008.txt
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Prev by Date: [EXPL] Firebird Integer Overflow (Exploit)
- Next by Date: [NEWS] Ruby WEBrick Directory Traversal
- Previous by thread: [EXPL] Firebird Integer Overflow (Exploit)
- Next by thread: [NEWS] Ruby WEBrick Directory Traversal
- Index(es):
Relevant Pages
- [TOOL] TrueCrypt - Open-Source Disk Encryption Software
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... TrueCrypt is on-the-fly
disk encryption software that can create a virtual ... (Securiteam) - Re: Booting a GELI encrypted hard disk
... a GELI encrypted hard disk, ... someone needs your data, he can dump encrypted
partition, trojan your ... My knowledge of encryption at the storage level is limited
at best... ... that when rebooted, does not boot (thumb drive can be removed once ...
(freebsd-questions) - [Full-disclosure] raidsonic nas-4220 crypt disk key leak (stored in plain on unencrypted par
... Hard disk encryption key stored in plain on unencrypted partition. ...
I could access the NAS after reboot without suppling the hard disk key. ... (Full-Disclosure) - raidsonic nas-4220 crypt disk key leak (stored in plain on unencrypted partition)
... Hard disk encryption key stored in plain on unencrypted partition. ...
I could access the NAS after reboot without suppling the hard disk key. ... (Bugtraq) - Re: Laptop Encryption & Write Permissions
... Why not encrypt the whole disk? ... I am looking into encryption for
laptops. ... of only encrypting one of two partitions. ... Please notify the sender
... (Focus-Microsoft)