News for hackers. Stuff that matters.
Re:How to programmatically find out if computer is on by Too on Sunday November 21, 2021 @02:56AM (#29294842)
Can it enter the password required to decrypt my LUKS partition?

Lately this has been my biggest barrier to leaving a computer fully remote.

Re:How to programmatically find out if computer is on by escalt on Sunday November 21, 2021 @03:57AM (#29295043)
You can embed a minimal ssh server (like dropbear or tinyssh) in your initramfs to remotely enter the passphrase. There are some guides for that online
Re:How to programmatically find out if computer is on by justin_oaks on Sunday November 21, 2021 @11:41AM (#29297564)
Yes, this works. I have it set up for some servers that have encrypted hard drives.
Re:How to programmatically find out if computer is on by exikyut on Sunday November 21, 2021 @12:04PM (#29297786)
If you can fiddle around and get the VNC functionality working, then as long as you have it behind a bastion host you basically have insta-BMC.

I kneejerk-recommend a bastion host because a) Intel ME, and b) there was that all-0 password bypass a while back and uhhh yeah who knows what other "sneeze correctly and the leaf falls over" knock sequences there are.

SSH port forwarding, VPN, RPi running the remote-access AMT web UI thingy (runs on Linux, forget what it's called) behind nginx with authentication... you get the idea.

Re:How to programmatically find out if computer is on by razemio on Sunday November 21, 2021 @03:13AM (#29294917)
You could use a Mainboard with an IPMI module and KVM-over-LAN functionality. This way your are able to do everything remote, including mounting isos to install a new system and ofc you could use it to enter your password for the encrypted partition.
Re:How to programmatically find out if computer is on by londons_explore on Sunday November 21, 2021 @05:15AM (#29295281)
Store the LUKS crypto key in the TPM, and make sure secure boot is used so the TPM will only reveal the key if the systems boot chain is verified.
Re:How to programmatically find out if computer is on by mschuster91 on Sunday November 21, 2021 @09:03AM (#29296271)
Nope. That's dangerous, TPM keys can be sniffed on the bus: https://trmm.net/tpm-sniffing/
Re:How to programmatically find out if computer is on by brirec on Sunday November 21, 2021 @08:20PM (#29301631)
Is a LUKS key being sent remotely to Intel ME _not_ vulnerable to being sniffed on the LAN?
Re:How to programmatically find out if computer is on by mschuster91 on Monday November 22, 2021 @03:23AM (#29304090)
You don't need to involve ME into remote decrypting. Embed the LUKS binaries and dropbear into your initramfs, and off you go.
Re:How to programmatically find out if computer is on by mschuster91 on Sunday November 21, 2021 @09:02AM (#29296268)
Re:How to programmatically find out if computer is on by adarshaj on Sunday November 21, 2021 @07:58AM (#29295996)
look into tang and clevis.