Better HN
topnewbestaskshowjobs
Log inSign up

mjg59

9,346 karma · joined May 31, 2011 (15y ago) · 1,705 submissions

Linux kernel and security developer, experienced in power management, mobile hardware and firmware interaction. I'm at https://nondeterministic.computer/@mjg59/ on the Fediverse and https://bsky.app/profile/mjg59.eicar-test-file.zip on Bluesky, and blog at codon.org.uk/~mjg59/blog . I used to work on fruitflies. This is more relaxing.

[ my public key: https://keybase.io/mjg59; my proof: https://keybase.io/mjg59/sigs/1nzROHRbn3xz5zA0YGMRsbiPahYUreIHH3JNmK3a1oE ]

Submissions

comment 3d ago · link · parent

I can't say I'm absolutely the best possible candidate for the role, or even that such a thing is objectively measurable, but in this case the fact that the process went so quickly the moment I got in front of them is a pretty strong indication that something went wrong in terms of the initial rejection. Anecdotally I've heard other people in similar positions, and on this occasion I was just fortunate enough to have a side channel.

comment 3d ago · link · parent

I applied for a role involving Linux kernel development, TPMs, and corporate security. I got rejected immediately. I was able to follow up with a friend in a senior engineering position who was able to get my resume in front of the hiring manager, and I was interviewed the next day and made an offer less than a week later. An anecdote rather than data, but on the other side you're rarely going to see the people you're missing out on - they may be filling positions with people they're happy with, but that doesn't mean they're filling positions with the applicant who'd do the best job.

comment 1w ago · link · parent

There was no good technical reason for acoustic couplers, since they inherently created an additional analogue jump between the phone and the modem. But phone companies argued you couldn't plug anything they didn't provide into their network, and so this was a solution that allowed you to continue using the phone company provided phone.

comment 1w ago · link · parent

There were two PC floppy versions - 16 colour and 256 colour. The 16 colour version had fallbacks for CGA and Hercules, the 256 colour version had a fallback for EGA. So the CGA screenshot is the 16 colour version running with CGA fallback, and this is also why there's a set of "256 colour EGA" shots. It's a little confusing, but it's correct.

comment 1w ago · link · parent

I think there's only really two real sets of artwork - the EGA and VGA releases. Some (EGA running on CGA or Hercules, VGA running on EGA) dither down the artwork rather than there being extra artwork for there, and the other versions are largely derived from whichever of EGA and VGA was a better fit for the target platform. Still a meaningful amount of work (especially reducing the 256 colour VGA art to 32 colours for the Amiga port), but it's the kind of thing that happened in games porting in that era.

comment 1w ago · link · parent

So the malware modifies your environment to LD_PRELOAD something into ssh-agent instead on your next login? Stuff that runs inside your own session is inherently vulnerable to malware inside that, even if ptrace protections are a speedbump.

comment 1w ago · link · parent

Technically it's from Friesland, who had some sort of complex relationship with Melitta at the time (https://x.com/FrieslandPorzel/status/845221850900762625)

comment 1w ago · link · parent

Do you type your passphrase every time you log into a remote machine? If not, the private key is in RAM and can be extracted by malware and stolen. If so, that's way more annoying than using touchid or some other physical proof of presence.

comment 3w ago · link · parent

If an authority on a topic says something and someone with no demonstrated experience on that topic disagrees with them without providing any evidence, that's not really an argument to authority kind of situation.

comment 3w ago · link · parent

Oh, sorry, I didn't answer the other part of your comment. Network is required so you can boot from the network, which is commonly used for reimaging systems (not just servers, it's often done for laptops in enterprise environments). Non-keyboard input is a necessity for any devices that don't have a keyboard, but mouse input is also just what users expect these days.

comment 3w ago · link · parent

No, no modern OS uses any BIOS calls on UEFI systems, and CSMs are disabled by default on any system sold with secure boot enabled (ie, everything sold with Windows pre-installed)

comment 3w ago · link · parent

No, you'll still have the TPM's dictionary attack lockout.

comment 3w ago · link · parent

Yup, if there's no passphrase involved.

comment 3w ago · link · parent

It being UEFI doesn't mean it's a standard platform, there's no ACPI and you're going to need a custom kernel that targets that specific device. UEFI alone isn't enough to support booting a generic OS.

And thanks! Updated my profile.

comment 3w ago · link · parent

UEFI is pretty common on phones now, but it's unlikely that any of them are running this network stack there.

comment 3w ago · link · parent

Yeah I'm actually not terribly worried about the server scenario, but having a way to get code exec in the firmware lets you defeat measured boot, which means this is a Bitlocker bypass in the default config.

comment 3w ago · link · parent

> doesn't really provide a hardware abstraction layer like BIOS does

I'm not really sure what this means. UEFI provides a consistent interface to access storage devices, network devices, input devices, and access to a framebuffer. How else would bootloaders work?

comment 1mo ago · link · parent

Wrapping/unwrapping means the HSM would generate the private key and then encrypt it with a key only known to the other HSMs. Those other HSMs would then decrypt the key on import. The private key should still have been impossible to examine outside the HSMs.

comment 1mo ago · link · parent

Yes. The degree to which this presents a different experience is one I would not have found credible beforehand.

comment 1mo ago · link · parent

Saw it on Friday in Berkeley, and: yes, there was absolutely audience participation, and there were moments where I had to restrain myself from joining in.

comment 1mo ago · link · parent

They're incredibly different things telling different stories. One doesn't replace the other.

comment 1mo ago · link · parent

In the US market, at least, the quality has improved dramatically over the past few years. Several established breweries now produce alcohol-removed versions of existing beers, with varying degrees of success - but in general my experience is that alcohol-free dark beers work better, the increased maltiness does a better job of hiding what's missing. IPAs and lagers can end up tasting somewhat thin compared to the normal version.

There's a few things I miss about the UK, and one of them is easy availability of beer that's less than 5%. Unfortunately that seems to have been creeping upwards - the shift to craft keg (rather than cask) beer seems to have been accompanied by moving more in the direction of US-style stronger beers. Several breweries do still produce milds that are in the <3% range, but it's increasingly hard to find them, even in pubs that used to be reliable suppliers. It's interesting how cultural this is.

comment 2mo ago · link · parent

Does "how it goes" include the guest being able to DMA over the host kernel?

comment 2mo ago · link · parent

Hrm, something of a lack of discussion about what level of access the card has to the host in the absence of IOMMU-restricted passthrough.

comment 2mo ago · link · parent

Not quite the scenario described (it wasn't an academic paper), but https://mjg59.dreamwidth.org/73317.html is my experience of dealing with a forged PDF. Part of the reason it's rare is that it's actually very hard to do it well!

comment 2mo ago · link · parent

In the given case - you want to bind communication to a given confidential compute instance, which means you want to be able to ensure that the communication is coming from within the confidential compute instance, which means you want to be able to prove that the private key is only accessible from within that instance. An HSM buys you nothing more there.

comment 2mo ago · link · parent

This feels like a somewhat odd design choice - you have a TEE, most TEEs (outside TPMs) are fast so there's little overhead in pushing your signing through there, why bother with short-lived credentials instead of just attesting to private key material ownership and having that be what the SPIFFE cert is issued to? Bearer token SVIDs are an awful thing that we should be getting as far away from as possible.

comment 2mo ago · link · parent

I helped design the attestation framework for https://docs.cloud.google.com/transfer-appliance/docs/4.0/re... - the goal was to ensure that the device you're about to copy a bunch of sensitive information onto is actually the device you were shipped and is running the expected software. This is definitely used in the real world.

comment 2mo ago · link · parent

A dedicated HSM will give you stronger trust that the private key material can't be extracted, but there's no real way to bind an HSM to a specific client and that's a very easy thing to do in the vTPM case.

comment 2mo ago · link · parent

You didn't really go into actually verifying the machine identity - obviously if you have a trusted mechanism to do that in advance then that's easy enough, but otherwise you'd want something like https://github.com/google/go-attestation and then to use control plane APIs to identify the vTPM EK to tie the TPM to the VM.
12345
57