redjard
Former account: @Redjard@lemmy.dbzer0.com
Keyoxide: aspe:keyoxide.org:KI5WYVI3WGWSIGMOKOOOGF4JAE (think PGP key)
- 0 Posts
- 23 Comments
redjard@reddthat.comto
Technology@lemmy.world•A new Windows zero-day reportedly gets past BitLocker using only the screen reader and a USB stickEnglish
1·1 day agoThey’ll have a different slot enrolled in luks. So they can bypass the entire tpm related stuff, directly unlock luks, and then using that master key can also make a new key and enroll it to overwrite the old tpm slot.
In Linux the tpm setup is also recommended paired with a second password slot, so that when tpm shits the bed you can unlock with that password.I mentioned it earlier in passing, but luks itself has a master key, and every slot contains a (locked) key that can decrypt the master key, and the mater key can decrypt the disk.
So the small tpm-“restored” key unlocks one of the larger slot keys in luks, which unlocks the master key, whoch unlocks the disk.TPM is used to extract that key from some protected storage location
This is definitely not the case on x86, the tpm has essentially no unique storage. Stuff you wrapped is still plainly readable. e.g. on Linux+clevis+luks+tpm it’s in the luks2 header inside the specific keyslot used for tpm. Normally the luks header can be seen by anyone with access to the device.
The point of the tpm isn’t to guard some other hardware storage but to use its starting seed, handfull seed registers, and internal crypto hardware to sign and en/decrypt (same operation) inputs without revealing the seeds.
redjard@reddthat.comto
Technology@lemmy.world•A new Windows zero-day reportedly gets past BitLocker using only the screen reader and a USB stickEnglish
2·1 day agoTL;DR long semantics argument to follow:
“unlocking” with tpm requires re-deriving the tpm state, by design.
You start with some value, say the harddrive id. Then you pass it to tpm, and get back a different value.
You could call the id here the “locked key” and the return the “unlocked key”, but I think that’s highly misleading because of of sensitive the tpm is. Any change to the boot sequence, or a bios update, or manual tpm reset, can all make the tpm reach a different state (seed) and produce different output for your same input id. And it’s not “failed” to derive that key then, the new key is as valid as the old, just different (and presumably doesn’t work).The key that unlocks the luks slot is a mix of (1) the “secret” you put in, which may be a password or just a drive id that’s publically readable, and (2) of the internal tpm state after going through the boot sequence, (downstream of) the “storage seed”.
I think Linux calls this output a derived key, which sounds better.Note:
tpm has a few seeds.
There is a null seed, which only changes between tpm resets (bios tpm clear, or sometimes bios updates) so is directly based on the tpm secret (and maybe a reset counter or similar).
When calling the tpm, you could pick the null chain and mix in that pretty-static value (Linux does this as part of its checks of the tpm). Of course, disk encryption will not do that to initially derive/mix its key, it will use the storage seed, that does get advanced throughout the boot sequence.
Actually tpm has 24 PCRs (seeds), which go to various stages of the boot process or are used by the later OS for applications making use of the tpm. The disk key will be mixed with the pcr seeds that contain the full boot sequence: “PCRs 0, 2, 3, 5, 6, and 7 are reasonable choices.” wiki.gentoo/TPM/LUKS
The null seed is (kinda) when not selecting any PCRsNote2:
There is a thing called wrapping (or sealing), which is basically using the tpm to lock and unlock data you care about. Simply by using symmetric encryption twice.
In checking this, I saw that clevis, the typical Linux tool for tpm disk unlock, is actually using wrapped keys stored externally.
The downside is that you need to store the database of wrapped keys somewhere and pass it to clevis, though in practice luks2 has space for this. The other downside is that there is no step to add extra information to the mix, like a harddrive id. So this would need e.g. another round of encryption of the wrapped “locked” key.I haven’t checked what bitlocker does, but if it uses the harddrive id etc. as you say, then it’s most likely not using a wrapped key.
On the other hand even if it is using a wrapped key like Linux, I’m still unhappy about calling it unlocking, as mentioned before. Maybe I could live with “restoring”, but even then - if you go guessing tpm seeds you’re just as likely to find a random other tpm seed that happens to turn your random data into other random data that happens to unlock the luks slot, than you are to find the initial key you generated. And there is no way to tell them apart. I think for “restoring” something, you should have some inherent way of confidently knowing that some output is definitely correctly decrypted. So a good checksum, or really a meaningful output, typically much larger than they key. In fairness this would be provided by testing it on the disk, but means without that disk it’s impossible to tell.
And to turn “restoring” into “unlocking”, I’d want the process to be reliable, predictable, and based on some ultimately known thing.With tpm disk unlock there is a secret you can’t know only the tpm, with the tpm being fragile and sometimes just breaking, and then on top you add a lot of state from your entire system and all boot components.Imagine your house keys stopped working every time you buy a new pan.
And then, you can’t just restore the key by some backup, no, it’s impossible to ever know the key again, and you have to generate a new lock and to know its key and use this one now.
If anything in the tpm changes, you cannot ever again unwrap the key, the “restore” fails, and you need to make a new key to enroll in luks, then wrap that one in the new tpm.
Only if you knew the tpm was gonna reset, you could insecurely unwrap the key, hold it in memory, then reset tpm and wrap the key with the new tpm state. While the key is wrapped, it is in dire peril. I would argue the tpm is then the thing making the key, and your stored value is merely taking the purpose of a seed.
redjard@reddthat.comto
Technology@lemmy.world•A new Windows zero-day reportedly gets past BitLocker using only the screen reader and a USB stickEnglish
1·1 day agotpm private keys stay in the tpm. You can hand it some data and it’ll shuffle it based on its internal key at the moment, which is based on all the checksums it ingested and its starting seed.
You can’t just ask tmp to give you its true state, cause then you could emulate it if there were further ingested checksums (“advances”).No clue if bitlocker throws in hard drive serial, but it might. The tpm may then encrypt it with its current state, via whatever hardware function it uses. Bitlocker is probably asking for symmetric encryption I would assume, so not ecdsa. But who knows.
The tpm generates the key, and then since bitlocker is just ripping of luks, I assume this like 256 bit key opens a luks key slot that is a much larger key that then opens the master key and lets you actually read the drives data. That is all in normal software then, from the point the tmp spits out those 256 bits.
redjard@reddthat.comto
Technology@lemmy.world•A new Windows zero-day reportedly gets past BitLocker using only the screen reader and a USB stickEnglish
1·1 day agoIt should have one single starting seed baked in, call it the super secret internal tpm key. That one makes sure every tpm is uniqe and cannot be replicated or deduced.
The manufacturer might in theory know it.
redjard@reddthat.comto
Technology@lemmy.world•A new Windows zero-day reportedly gets past BitLocker using only the screen reader and a USB stickEnglish
41·2 days agoWhen you hook it into disk encryption, it’s tpm.
Very much strongly related though.
Just like secureboot, things are checksummed, and the sum is then handed to tpm. Tpm will advance its state according to the things it is passed in this way. When it comes to decryption, the tpm will give out a key that depends on all those previous inputs.
If any step of the chain was different, the key will be different.
Of course, if you manage to exploit some of the boot process and take control without the component entering a new checksum, you can then add the remaining ones tpm would have normally gotten and get the unlock key.
Similar to secureboot, where you could then make it run any other code and execute any other .efi file without that being verified.Difference is that with just secureboot, if I put the disk in another system with secureboot disabled, or turn of secureboot in the bios, I can just run my own code.
But with tpm, if I put the disk in a different system the tpm there won’t have the same key.
And if I say disable secureboot then the bios would still checksum the first .efi binary, and if it matches then that would be programmed to checksum and submit the next, etc. so without any bugs in uefi I should be unable to insert my own boot file while not ruining the tpm state with the checksum of that file.
And of course disabling tpm would equally leave me without ability to get the key.
redjard@reddthat.comto
New Communities@lemmy.world•Lidar & Radar images - Lidar is the Number One method to discover lost cities in jungle ! (PS : it's true !)English
4·2 days agoMore problematically they’re all dead.
I think posting here shold come with some comitment to keep the community active for at least a while, and probably to already have a post there so people get an impression and to show your commitment.
Sry nvmd, they just didn’t federate, it’s mixed with many of their comms having posts.
redjard@reddthat.comto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•How do I save videos from those anime streaming sites?English
7·2 days agoIn F12, check the network tab not the dom.
Often in there you’ll not see a .mp4 but one or two m3u8 and then many video files. You can plug the first m3u8 into ffmpeg and it’ll download and concatenate them for you.
ffmpeg -i "https://example.org/some/stream.m3u8" -c copy output.mp4
redjard@reddthat.comto
Technology@lemmy.world•The AI Riemann hypothesis proof is true, independent mathematicians confirmEnglish
15·2 days agoThere have been bugs in lean before. I think there still are known issues now. I recall specifically an “unsound type system”.
This reverification now though seems proven correct fully, according to Scott Aaronson
redjard@reddthat.comto
Technology@lemmy.world•The AI Riemann hypothesis proof is true, independent mathematicians confirmEnglish
16·2 days agoIt is 2028. Another lean CVE was registered; GRH was proven again. I am excited that yet another logic bug will be fixed.
Scott Optimized (Aaronson) declared the proof likely correct on friday, before this news, so I’d take their word for it.
Edit: Update from Scott Optimized:
[Update (Nov 21): The proof has now been verified independently by the Lean community, using con-leche, a piece of Lean that itself is formally verified all the way down to the axioms of set theory. This is a much higher degree of verification than a typical human paper accepted to a math journal. The proof is correct.]
Microsoft most likely provides law enforcement with backdoors. Even if not, the software run before unlock is so flawed there will be many products for sale to law enforcement by 3rd parties that allow circumvention.
Every few years for example there is another accessibility tool ms is discovered to have forgotten to lock down, that lets you go to its file dropdown and access the filesystem before logging in (this literally happened again today).
And then yellowkey would likely be someone finding a backdoor.Technically the chance it stops some state isn’t 0, but at some point the value is negative. Just you thinking yourself secure and not taking other measures or risking more makes it decidedly not worth it in this case I would say.
Also this costs performance, and gives a risk of being locked out. There are cased were ms accounts are hacked, bitlocker remotely engaged and the keys then locally corrupted, and then the recovery from the ms account taken and deleted and then ransomed back to you. Basically using just the ms account to remotely ransomware your pc.You’re better off taking the performance cost to something proper and layering something around the OS where you do the encryption. Then setting a password on that, or just decrypting with password, and then booting into the bad os without further login.
redjard@reddthat.comto
Technology@lemmy.world•A new Windows zero-day reportedly gets past BitLocker using only the screen reader and a USB stickEnglish
42·2 days agoIt does something very different than you’d naively expect, and is doing that just fine.
TPM just makes sure the code you run wasn’t manipulated/changed.Or commonly on other device categories to make sure the code the manufacturer put there wasn’t changed by you to give you access.
In either case, if there are bugs you can exploit without changing code, then you get the same access as the operating system.
So if you are on a shitty OS like microslops windoes you should set a password query as early as possible, since that minimizes the chances. Ideally using a bios password or a wrapper decrypting the disk before the OS loads at all. Since microslop keeps adding both stupid bugs in early boot, and also actual (presumed) backdoors in e.g. the recovery.Meanwhile on e.g. Linux, using TPM can essentially give you disk encryption protection but with the normal login screen and even multiple users.
redjard@reddthat.comto
Technology@lemmy.world•A new Windows zero-day reportedly gets past BitLocker using only the screen reader and a USB stickEnglish
81·2 days agoThe exploit, dubbed FastUnlock, lives entirely inside software that ships with Windows. It requires no malware download, no credential theft and no memory corruption bug. It is a logic flaw, an […]
The root of the problem sits between Narrator’s redesigned interface and the lock screen’s restricted account context.
Right from the first few paragraphs.
Though personally I don’t get much ai vibe from the quotes.
If you move up and down at near light speed, that’s just barely what you can achive in your lifetime.
Though only your feet will be old then. Squats keep your moving body younger!
Fuck it well, do it live! .mp4
redjard@reddthat.comto
Superbowl@lemmy.world•Rescued Owl's Finders Went Out and Caught It Mice!
3·3 days agoInteresting, thanks. It reminds me a lot of cat claws.
Which makes me wonder: As new beak grows out from underneath, how is the outer layer shed if it isn’t worn away?
With cats you get these complete casts of the claw, like it’s a stack of glasses and the outer most was pulled away."shed cat claw sheaths"


To the owners of the Lemmy
Hello,
I seek to urgently request deletion of all of the following email contributions to your website:
prettybunnys@piefed.socialI trust that you will understand the reason
Yours truly,
Reed Joard
redjard@reddthat.com
redjard@reddthat.comto
Superbowl@lemmy.world•Rescued Owl's Finders Went Out and Caught It Mice!
2·3 days agoHow do beaks heal?

it’s ai watermarked :(
synthid explanation
Here is the image that’s not sloppified for no reason, where the hare doesn’t have 3 ears:





There is even finer control with the ZeroOmega addon. Let’s you toggle between different proxies based on arbitrary url matching.
I’ve used it for ages to access some pages inside an intranet, i2p pages, onion pages, …