HNHacker News
TopNewBestAskShowJobs

tomgag

85 karma · joined November 9, 2022

submissionscomments
tomgag··on Fairphone 6 is switching to a new design that's even more sustainable
I, for one, would buy one.

Make it small and I would buy 3.

tomgag··on Low-background Steel: content without AI contamination
Interesting idea, I also mentioned the low-background analogy back in 2024:

https://gagliardoni.net/#ml_collapse_steel

https://infosec.exchange/@tomgag/111815723861443432

tomgag··on Two new PebbleOS watches
Hey, this is pretty slick! I'm not into smart wearables myself, but if I change my mind (or if I have to recommend one to family or friends) I know where to look!

Question: does either of the model have NFC capabilities, or is there any plans to add this feature in the future? I am looking specifically for a way to pay contactless with Graphene OS (which does not support NFC payments because Google does not want to).

tomgag··on Gandi Outage on Multiple Services
22:04 Paris time: still "Service are back to normal to the majority of customers we continue to work so there is no impact for any customers". I guess I am in the "unlucky bunch" then. No POP/IMAP, slow SMTP, no access to DNS panel.
tomgag··on Gandi Outage on Multiple Services
Yeah, same.

EDIT: yes, it looks like it is not possible to disable "transfer lock". Shame on you Gandi, but you know no shame.

tomgag··on Gandi Outage on Multiple Services
Can confirm, POP/SMTP has been down since tonight (EU). Oh well, I take this as a motivation to finally move away from them.
tomgag··on Shufflecake: Plausible deniability for hidden filesystems on Linux (2023)
Roughly 50% chance of messing up with data in #3.

There is the possibility of reducing a bit this chance at the cost of wasting more space by using error-correction, e.g. with RAID, if so desired. This is explained in the paper and in the FAQ and the README.

tomgag··on Shufflecake: Plausible deniability for hidden filesystems on Linux (2023)
Yes, but only if you have all three opened, i.e., you are in a "home alone scenario". Remember that Shufflecake volumes have a hierarchy, i.e. volume 1 is "less secret" than volume 2, which is "less secret" than volume 3, etc. In your example, during an interrogation, you would only open volume 1 and maybe volume 2, but not volume 3. You would see that volume 1 has 10 GB of data, volume 2 has 20 GB, and you can still write 70 GB before getting I/O errors. Nothing hints at the fact that there is a 3rd volume. Of course, in so doing, you will actually overwrite and corrupt volume 3, but this is desired behavior. That's why we recommend of always opening all volumes for the "home alone" scenario.
tomgag··on Shufflecake: Plausible deniability for hidden filesystems on Linux (2023)
You raise a good point, and we try our best to say that Shufflecake is not a toy, that users must be conscious, etc. I think what is missing is a proper user manual as a central source of documentation, we'll need to work on that.

But we cannot save the users from themselves. We do our best to make things easy and secure, but at the end of the day plausible deniability is one of those things that are kind of "hardcore".

To be more clear, I don't think I can see a reasonable scenario where using Shufflecake would put you in trouble but using VeraCrypt would not. I'd be happy to talk with people at the "receiving end of the wrench" (lol) and this is also part of our ongoing outreach campaign, but so far all of the cases I've seen are either "we cannot prove you're a criminal so we release you" or "even if we're convinced that you gave us all you have, we will still kill/torture you just because". For me, it's either you go plausible deniability "all-in", or you don't bother at all. And of course you're right that one needs to consider many things and adopt all sort of other precautions on top of that, but still a solution like Shufflecake is sorely missing right now.

But, yes, you are absolutely right that we must continue to put a big disclaimer for the users, and help them to understand the risk of using this.

tomgag··on Shufflecake: Plausible deniability for hidden filesystems on Linux (2023)
Yes, 100% this.

And wait when we'll release a Shufflecake-powered, fully hidden multi-OS distro ;)

tomgag··on Shufflecake: Plausible deniability for hidden filesystems on Linux (2023)
@chungy, replying to your: > Thanks, but it wasn't so much asking about storing more than you have at once, but as file systems are used, old unused space might still be occupying space in the Shufflecake scheme. Say you have that 1GB volume with three equally-sized volumes; sure, you can write ~333MB to each of them, and then delete all the files. Now according to each of the file systems, you have 0B used and 1GB free. When you try making new files after this point, will it still generate I/O errors?

Oh, I see what you mean. In your scenario, you can still write data, because creation and deletion of files is managed by the filesystem on the volume, not by Shufflecake. So, those slices (disk space) that you have previously allocated for the volumes will now still be there, but contain empty space that is recognized as such by the filesystem and can then be overwritten.

What might be improved, instead, is the fact that once a slice is empty because you have deleted all files, that slice still exists and is still assigned to the volumes which first allocated that. It might be good to have a system that reassigns that slice to the list of "unallocated" slices and that hence be claimed in future by other volumes. We have some ideas (using TRIM, see Section 6.6 of research paper) on how to implement that but, frankly, I personally think this is not extremely crucial, because it only matters if you exploit heavily the overcommitment feature (which we'd rather limit through the use of virtual quotas, as explained).

tomgag··on Shufflecake: Plausible deniability for hidden filesystems on Linux (2023)
Thanks for the question! Well, overcommitment is part of the plausible deniability design: basically we need that, whatever password secrecy level you provide, it looks like all the disk space is utilized, because if there is clearly unmapped space then it's clear that there is still something hidden.

Currently, we achieve this with overcommitting the volume size: if you have, say, 1 GB device, and you format it with a 3-volume Shufflecake setup, each of these 3 volumes will appear as 1 GB in size. Then the question is, what happens if you write more than 1 GB in total? Well, you will start receiving I/O errors. Volumes themselves will not get corrupted, because they will not clobber each other, but the kernel module will basically tell you "sorry, I ran out of space earlier than I expected".

A planned feature in the future, to manage this more elegantly, is to use "virtual quotas". With this system, low-secrecy volumes will have a limited size (chosen by the user), but the "topmost" unlocked volume (the "most secret one" that you have unlocked with a given password) will not have this limit: it will always appear as taking all the leftover space. See the section 6.5 "Use of Disk Metadata" in the research paper.

tomgag··on Shufflecake: Plausible deniability for hidden filesystems on Linux (2023)
Oh, another thing. Just to be clear, the 15 password maximum is just an implementation choice to make our life easier, but we actually think it is a liability, and we are working to remove this limit completely. We do not think that anyone sane in their mind will ever need 15 levels of secrecy with Shufflecake, but that's not the point. The point is that, with a hardcoded maximum limit (regardless of the limit, even if it's 200 or 2000) there is a workaround that allows the user to do something very dangerous. By removing this limit (up to what is allowed by the disk size), we remove the possibility for the user to shoot in their foot. See the section "Safeword" in our research paper.
tomgag··on Shufflecake: Plausible deniability for hidden filesystems on Linux (2023)
Hey, Shufflecake co-author here, thanks for the questions.

1. Indeed!

2. Wow wow wow, hold on there :D there is a misunderstanding, the "Swiss Government" was never involved not even remotely. First of all, this project has roots that go waaay back in time [1]. It was finally realized when I met Elia, who was then a student at a joint ETHZ/EPFL MSc program, and Elia accepted the thesis project that I proposed in the Kudelski Security Research team [2]. Kudelski Security (disclaimer: my current employer) is a traditional cybersecurity company, mainly focused on MDR, CISO-As-A-Service stuff, etc, but it's also one of the few ones which also has a dedicated fundamental research team, which I'm part of as a Principal Cryptographer. The goal of our team is not only to "invent new ways for the company to make money", but also to do "good PR", through e.g. scientific/academic publications, talks at conferences, open source software etc., all things which is what I'm personally focused on. As part of this, we offer the possibility to students to do their thesis in our team on some selected topic, and that's where Shufflecake came from.

That is, originally. As it is now, Kudelski Security is not involved in Shufflecake anymore, it's basically a pet project of Elia and myself, we pay out of our pocket for website hosting, etc, and we work on Shufflecake on our spare time. So, please feel free to contribute, we need help!

3. That is exactly the point! The "killer feature" of Shufflecake is exactly that there is no way to determine when you have finished giving up all your passwords, or there is still something undisclosed. It is true that this also means that the adversary "does not know when they can stop torturing you", but we firmly believe, both as a matter of philosophy but also pragmatically, that "plausible deniability" does not make sense if you're not willing to accept this risk.

Let me explain better, because this is a recurring questions we have.

First of all, you have to keep in mind the security model. We are not necessarily talking about Snowden-level paranoia here, it might be something more mundane, for example an investigation in a civil court because you're suspected of being in possession of illegal material, whatever "illegal" means. At least in democratic countries, you don't risk of being waterboarded for this. We know [3] that even TrueCrypt or similar systems are enough to be acquitted in some cases.

Then there are those cases where the adversary doesn't really care, they just want to find something. We recently had a discussion with a large international humanitarian organization, one of their officers told us "our agents often cross borders with laptops full of sensitive informations, in theory we are protected from searches by the UN treaty XYZ but... go to explain that to the angry Afghan guard at the airport!". Shufflecake allows to bypass this problem efficiently.

And then there are those cases where you are hiding secrets that you care about more than your own life. Let's be clear: if you are an investigative journalist in Guatemala and the Cartel kidnaps you, you're dead, period. If you're a member of a resistance group of a repressed minority in a dictatorial state and the police apprehend you, you're gonna disappear, no matter what. But, with Shufflecake, you at least have the chance maybe to resist and possibly save the life of your informants or comrades. With TrueCrypt, you don't really have this option.

Hope that clarifies, but feel free to ask more. Thanks!

[1] (in Italian) https://e-privacy.winstonsmith.org/e-privacy-X.html#i13

[2] https://research.kudelskisecurity.com/

[3] https://www.theregister.com/2010/06/28/brazil_banker_crypto_...

tomgag··on Shufflecake: Plausible deniability for hidden filesystems on Linux (2023)
Wow, admin of the Shufflecake project here, super excited to see this on HN again! Feel free to AMA, Elia and I are busy right now working on an upcoming major release, we will give announcement and more details at the upcoming Swiss Crypto Day event in St Gallen next Monday: https://swisscryptoday.github.io/2024/

I will also reply to comments below.

tomgag··on Shufflecake Research Paper Released
Hello HN, happy to announce that after a long embargo due to a conference submission, the full Shufflecake paper is now available open access on IACR's EPrint! ArXiv will follow soon. We are also proud to announce that the work has been accepted at ACM CCS 2023!

Shufflecake is a tool for Linux that allows to create multiple hidden volumes on a storage device in such a way that it is very difficult, even under forensic inspection, to prove the existence of such volumes. You can consider Shufflecake a "spiritual successor" of tools such as TrueCrypt and VeraCrypt, but vastly improved.

tomgag··on Shufflecake: Plausible Deniability for Multiple Hidden Filesystems
Hello, thanks for your comment. You're right and we stress it in every disclaimer, website, blog post etc: Shuflecake is NOT production ready, do not use it for sensitive operations" etc. That said, we believe that Truecrypt and Veracrypt suffer from technical limitations that make them not only unpractical, but not deniable under many scenarios. Shufflecake solves these limitations :) but yes, it's true that we need to do a lot more of polishing and testing. Please check the website https://shufflecake.net and feel free to contribute! Thanks!
tomgag··on Shufflecake: Plausible Deniability for Multiple Hidden Filesystems
Today we are excited to release Shufflecake [https://shufflecake.net], a plausible deniability disc encryption tool aimed at helping people whose freedom of expression is threatened by repressive authorities or dangerous criminal organizations, in particular: whistleblowers, investigative journalists, and activists for human rights in oppressive regimes. Shufflecake is FLOSS (Free/Libre, Open Source Software), source code in C is available [https://codeberg.org/shufflecake/] and released under the GNU General Public License v3.0 or superior.

You can consider Shufflecake a "spiritual successor" of tools such as Truecrypt and Veracrypt, but vastly improved. First of all, it works natively on Linux, it supports any filesystem of choice, and can manage up to 15 nested volumes per device, so to make deniability of the existence of these partitions really plausible. The reason why this is important versus "simple" disc encryption is best illustrated in the famous XKCD comic #538. You can read more about Shufflecake in this blog post [https://research.kudelskisecurity.com/2022/11/10/introducing...].

More in detail: Shufflecake allows creation of multiple hidden volumes on a storage device in such a way that it is very difficult, even under forensic inspection, to prove the existence of such volumes. Each volume is encrypted with a different secret key, scrambled across the empty space of an underlying existing storage medium, and indistinguishable from random noise when not decrypted. Even if the presence of the Shufflecake software itself cannot be hidden - and hence the presence of secret volumes is suspected - the number of volumes is also hidden. This allows a user to create a hierarchy of plausible deniability, where "most hidden" secret volumes are buried under "less hidden" decoy volumes, whose passwords can be surrendered under pressure. In other words, a user can plausibly "lie" to a coercive adversary about the existence of hidden data, by providing a password that unlocks "decoy" data. Every volume can be managed independently as a virtual block device, i.e. partitioned, formatted with any filesystem of choice, and mounted and dismounted like a normal disc. The whole system is very fast, with only a minor slowdown in I/O throughput compared to a bare LUKS-encrypted disk, and with negligible waste of memory and disc space.

← PreviousPage 2 of 2