• Passerby6497@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 minutes ago

    I’ll stick to a Veracrypt full disk encryption with a hidden partition. All the benefits of a duress password, none of the data deletion that gets you V&

    • Trilogy3452@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 hours ago

      Saving important documents as an emergency backup without worrying about it getting stolen. I guess the hidden partition adds another layer against someone who might want to try and brute force it

    • unexposedhazard@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      89
      arrow-down
      1
      ·
      14 hours ago

      Very useful for getting any sort of private data through an airport that does not respect privacy. For example any US airport…

      • John Richard@lemmy.world
        link
        fedilink
        English
        arrow-up
        27
        arrow-down
        30
        ·
        14 hours ago

        No it isn’t. It will be treated like any other drive where encryption is nothing new. In fact, to look for a text file and then make something accessible means it is likely much easier to detect that something is off about it than regular encryption that just looks like random data. Whether it tries to hide it’s true storage capacity or boots its own internal OS to present storage, people often think they’re being clever when really they’re just making themselves stand out.

        • ColeSloth@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          10
          ·
          7 hours ago

          You misunderstood what is seen or how it works.

          When the drive is checked, you can see files and whatever on what appears to be an 8GB flash drive.

          You have to add the specifically worded txt file into that drive before the hidden drive shows up.

        • JustEnoughDucks@feddit.nl
          link
          fedilink
          English
          arrow-up
          48
          ·
          edit-2
          13 hours ago

          Do you think TSA/CBP is going to check the flash data lines to see if the MCU is scanning the flash internally?

          This isn’t a standard USB flash controller… You would need to break the casing and physically probe it to figure out that something was off as far as I can tell. It’s not like the MCU broadcasts that it is scanning to the USB port.

          You would have to be hitting the stick pretty hard, not just a normal file scan to notice the timing being slightly too long in a small portion of the scans. The bigger problem would be that the flash drive would be brand-recognizable if it ends up being mass produced that they might auto-confiscate it, and of course the default file that it searches for being known.

          • John Richard@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            2
            ·
            5 hours ago

            Do you think TSA/CBP is going to check the flash data lines to see if the MCU is scanning the flash internally?

            This isn’t a standard USB flash controller… You would need to break the casing and physically probe it to figure out that something was off as far as I can tell. It’s not like the MCU broadcasts that it is scanning to the USB port.

            You would have to be hitting the stick pretty hard, not just a normal file scan to notice the timing being slightly too long in a small portion of the scans. The bigger problem would be that the flash drive would be brand-recognizable if it ends up being mass produced that they might auto-confiscate it, and of course the default file that it searches for being known.

            You’re proving my point. The device actually fails both ends of the threat model.

            If it’s a casual check, custom hardware is total overkill. You take a standard 1 TB off-the-shelf drive formatted to its full 1 TB capacity as a single partition. You put normal files on it and hide the encrypted header—plus a lightweight host-side decryption utility/bootloader—inside a single JPEG using steganography. To any border agent, OS, or disk tool, the drive is just a healthy 1 TB partition containing readable files and residual random data from a quick format. There are no custom drivers installed, no modified media file sizes, and no missing drive space to trigger software or system flags. Once at your destination, you simply extract the utility from the JPEG on a trusted machine to mount the hidden sectors.

            If it’s a high-scrutiny check, this custom hardware actively guarantees you stand out. CBP doesn’t need software checks—non-destructive X-ray imaging is standard screening. Under a scan, a mass-produced thumb drive shows a single integrated ASIC on NAND. The Phantom Drive immediately reveals a generic CH569 microcontroller, buck regulators, UART test points, etc.

            It visually stands out like a neon sign under basic physical imaging. It doesn’t defeat the threat model—it actively creates the physical hardware anomaly.

            • redjard@reddthat.com
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              1 hour ago

              It would have to be distinctly different from any thumb drive over the last decades. My older ones definitely weren’t just a single chip, I recon you’d need some immense training specifically on drive designs to know this isn’t just a normal one from like 2010 or 2015.

          • Dyskolos@lemmy.zip
            link
            fedilink
            English
            arrow-up
            6
            arrow-down
            1
            ·
            13 hours ago

            If I got it right, you could easily detect this drive by just creating password.txt. as the article says it creation is intercepted and skipped. Hence if there is no password.txt afterwards, you know what you’re dealing with. Still, you have to know this AND care.

              • Dyskolos@lemmy.zip
                link
                fedilink
                English
                arrow-up
                9
                ·
                edit-2
                11 hours ago

                Ah okay, so then I retract my statement and better my reading-skills 😁

            • BitUnWise@programming.dev
              link
              fedilink
              English
              arrow-up
              10
              ·
              13 hours ago

              It looks for a string “password:xyz” bring written to any file, where xyz is the password. If you get the password wrong it’ll just write the file normally

        • unexposedhazard@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          25
          arrow-down
          1
          ·
          edit-2
          13 hours ago

          You are yapping your ass off. This is a hardware mod, not a software package. Its literally using a custom storage controller chip that only physically unlocks the connection to the secret storage once it detects a certain key file on the decoy storage. They would have to xray the drive individually at close range with high resolution and know a lot about electronics to even come close to figuring out that something is different. There is no way to detect a fake USB HID so unless they open it they wont be noticing shit.

          • John Richard@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            3
            ·
            4 hours ago

            You’re completely confusing device classes and how forensic acquisition works.

            First, it’s a USB Mass Storage device, not a USB HID (Human Interface Device). Mass Storage operates via SCSI block commands wrapped in USB packets.

            Second, even if the custom firmware successfully fakes the LBA table to report 8 GB, it fails at the protocol level. Forensic tools don’t just read files—they issue low-level SCSI INQUIRY and MODE SENSE commands. Commercial flash controllers (Phison, Silicon Motion) have hardcoded ASIC signatures and proprietary descriptors. A generic CH569 MCU running C code trying to fake these descriptors or pass off software-bridged microSD reads introduces packet latency, timing jitter, and missing SCSI pages that log protocol anomalies during raw acquisition.

            Finally, software doesn’t matter if they look at the hardware. Modern 3D CT/X-ray baggage scanners visually isolate silicon footprints instantly without opening the casing. A standard commercial drive is a single integrated ASIC on NAND. A board with a generic CH569 MCU, voltage regulators, UART test points, and a physical microSD socket stands out.

        • AwesomeLowlander@quokk.au
          link
          fedilink
          English
          arrow-up
          11
          ·
          13 hours ago

          How would it be detected? It seems like the password detection and decryption is happening at the hardware level, and they take steps to have it show up as nothing more than a standard drive. I’m not an expert on this stuff though.

        • evenglow@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          13 hours ago

          Airport forensic team can’t flag an encrypted drive it can’t detect.

          The article talks about this.

    • MentalEdge@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      12
      ·
      10 hours ago

      I mean, presumably this is all device-side on the stick.

      It mounts the two partitions separately, and presents them separately. It doesn’t need to pass through the actual SD card to the host system at all.

      If you dd the decoy partition you only ever see the decoy partition. Because the decoy partition is presented as a complete device, not just a partition, to the host system.

      Why would this be incompatible with linux? If this is done the way it seems it is done, it’s not a filesystem trick.

      It’s two partitions on one SD card being presented as two separate devices by the microcontroller that has actual direct access.

      The real vulnerability would be that you could just crack it open to find the SD card.

      • mal3oon@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 hours ago

        you could just crack it open to find the SD card.

        Funny enough, had the same thing once in an aliexpress usb.

    • ITGuyLevi@programming.dev
      link
      fedilink
      English
      arrow-up
      21
      ·
      13 hours ago

      That’s what I would go with if I was inclined. Create a volume the size of the drive and add a hidden volume with a different password within like we’ve been doing for years (decades at this point maybe almost).

      • ExLisper@lemmy.curiana.net
        link
        fedilink
        English
        arrow-up
        7
        ·
        13 hours ago

        I would upload encrypt file somewhere and download it when needed. If you’re worried someone will actually access your USB stick looking for encrypted data, why carry it at all? It’s cool if you want to pretend you’re a spy or something but it’s not very practical.

        • IrateAnteater@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          19
          ·
          12 hours ago

          That’s assuming that wherever you are going to or coming from has an internet connection. It’s likely that there will be a connection, but it’s still not a guarantee. And if there is a connection, the size of the files you’re carrying may make using that connection impractical.

          • ExLisper@lemmy.curiana.net
            link
            fedilink
            English
            arrow-up
            4
            ·
            12 hours ago

            Yes, but you can just carry encrypted hard drive with you. Hiding encrypted data is useful pretty much only for legal reasons. You want to take it across border and are worried TSA agent will force you to decrypt it or something. What is safer in that case? Carrying a USB stick with hidden encrypted partition or not carrying anything at all and downloading the data later? I would say the latter. Smuggling encrypted data through custom checks into a war zone with limited internet access is the cool but unlikely spy games scenario I was talking about. Encrypted microSD card would be even more secure in that case.

            • WhyJiffie@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 hours ago

              to a war zone? such inspections are done not only in unlikely scenarious like when going to “a war zone”

              • ExLisper@lemmy.curiana.net
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 hours ago

                The “war zone” was referring to difficult internet access. Iran recently cut off entire country from internet. If you’re going to USA you may be inspected but you will most likely get internet access once you crossed the border.

        • magnue@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          12 hours ago

          I guess you might just want to carry all your passwords in there, but then generally the password file itself is encrypted so I don’t see the point.