Love4Storage
Dabbler
- Joined
- Nov 6, 2020
- Messages
- 35
This is a story that some may believe, some may doubt, and some may have an answer to. This post is meant for the few (if any) who are able to answer this.
So, let's say I am a person of interest. I can not go into detail about this part, but I don't live a normal life.
PROBLEM
I am unsure of the security of either TrueNAS or the hardware I have used for TrueNAS. Starting with the conclusion, I recently found that the drives I used (Samsung SM863 480GB) all 6 of them had DCO's (hidden areas much like an HPA - "hidden protected area") the size of 40GB's which were not originally on these drives. I have never overprovisioned the drives with any tools or purposefully created these DCO's, they just appeared sometime over the course of 6 months.
BACKGROUND
My previous TrueNAS builds, something similar happened where 40GB hidden area's were created on a pool of 8 ssd sata drives. I had to use proprietory software (Blancco) which can see HPA's and DCO's - most software will not be able to see this hidden area. It is NOT a partition. I have used TrueNAS for bigger projects and have been attacked each time (either HPA's or DCO's would appear on SATA drives which could NOT be deleted or removed).
This happened with multiple different boards/systems: HP, Tyan and supermicro. For HP the HBA's were non-IT mode HBAs. For the Tyan system, an LSI HBA in IT mode was used. This also happened in a 13th gen Dell server. Lastly, and most recently was a supermicro X10SDV board with sata ports. I do not re-use USB's and when I create bootable USB's I make them read-only. USB's are easy attack vectors so I throw out USB's quite frequently after use.
After installing TrueNAS perhaps a week ago, I used some clean sata drives (SSDs) to create a pool. I transfered data over to the pools and CAM errors started occuring for around 24 hours. This stopped afterwards and no errors showed up on the consosle. The drives were tested later to find they did not have DCO's or HPA's, but were somehow modified (Blancco reports DCO: "unidentifiable", HPA: "unidentifiable" - when the baseline should be "doesn't exist") with remapped sectors.
Mod note: removed broken attachment
Stranger things have happened where drives that were used in TrueNAS would show up as different capacity (6TB drives = 2TB drives) or even HGST SAS SSD's would show as Seagates using parted magic. Parted magic uses SMART values to reflect this info so either the drives are lying or the SMART value was modified.
Mod note: removed broken attachment
QUESTIONS
1. Does TrueNAS have a feature that creates a hidden protected area that can not be removed with NWIPE, DBAN, DD, Blancco, or other low level formatting (flushing the nand flash via firmware or using DoD wiping)?
// These hidden areas can not be removed via BSD/linux commands and it is impossible to see what someone is hiding in this area.
2. Currently, Blancco is the only tool I know of that can see and attempt to delete these areas. Each time they're discovered, Blancco will fail to remove the DCO (or HPA). Has anyone had this experience? What tool did they use to wipe the drives or get rid of the hidden areas?
3. I almost always checksum anything I download and install onto a system so I'm ruling out MITM attacks. During virus scans of any TrueNAS ISO, it always encounters multiple files which are password protected, and can not be checked for malware/viruses. Why is this? The same is for pfsense, is it some BSD thing?
So, let's say I am a person of interest. I can not go into detail about this part, but I don't live a normal life.
PROBLEM
I am unsure of the security of either TrueNAS or the hardware I have used for TrueNAS. Starting with the conclusion, I recently found that the drives I used (Samsung SM863 480GB) all 6 of them had DCO's (hidden areas much like an HPA - "hidden protected area") the size of 40GB's which were not originally on these drives. I have never overprovisioned the drives with any tools or purposefully created these DCO's, they just appeared sometime over the course of 6 months.
BACKGROUND
My previous TrueNAS builds, something similar happened where 40GB hidden area's were created on a pool of 8 ssd sata drives. I had to use proprietory software (Blancco) which can see HPA's and DCO's - most software will not be able to see this hidden area. It is NOT a partition. I have used TrueNAS for bigger projects and have been attacked each time (either HPA's or DCO's would appear on SATA drives which could NOT be deleted or removed).
This happened with multiple different boards/systems: HP, Tyan and supermicro. For HP the HBA's were non-IT mode HBAs. For the Tyan system, an LSI HBA in IT mode was used. This also happened in a 13th gen Dell server. Lastly, and most recently was a supermicro X10SDV board with sata ports. I do not re-use USB's and when I create bootable USB's I make them read-only. USB's are easy attack vectors so I throw out USB's quite frequently after use.
After installing TrueNAS perhaps a week ago, I used some clean sata drives (SSDs) to create a pool. I transfered data over to the pools and CAM errors started occuring for around 24 hours. This stopped afterwards and no errors showed up on the consosle. The drives were tested later to find they did not have DCO's or HPA's, but were somehow modified (Blancco reports DCO: "unidentifiable", HPA: "unidentifiable" - when the baseline should be "doesn't exist") with remapped sectors.
Mod note: removed broken attachment
Stranger things have happened where drives that were used in TrueNAS would show up as different capacity (6TB drives = 2TB drives) or even HGST SAS SSD's would show as Seagates using parted magic. Parted magic uses SMART values to reflect this info so either the drives are lying or the SMART value was modified.
Mod note: removed broken attachment
QUESTIONS
1. Does TrueNAS have a feature that creates a hidden protected area that can not be removed with NWIPE, DBAN, DD, Blancco, or other low level formatting (flushing the nand flash via firmware or using DoD wiping)?
// These hidden areas can not be removed via BSD/linux commands and it is impossible to see what someone is hiding in this area.
2. Currently, Blancco is the only tool I know of that can see and attempt to delete these areas. Each time they're discovered, Blancco will fail to remove the DCO (or HPA). Has anyone had this experience? What tool did they use to wipe the drives or get rid of the hidden areas?
3. I almost always checksum anything I download and install onto a system so I'm ruling out MITM attacks. During virus scans of any TrueNAS ISO, it always encounters multiple files which are password protected, and can not be checked for malware/viruses. Why is this? The same is for pfsense, is it some BSD thing?
Last edited by a moderator: