3 ms·
Err, what? You can't get root access or escape a chroot from being able to read arbitrary memory.
by angelsl 9y ago
Err, what? You can't get root access or escape a chroot from being able to read arbitrary memory.
- Matt3o12_ 9y agoYes you can? If password login is enabled, you could wait until someone SSHs in and read their decrypted password. You could read all kinds of secrets which will be very useful for gaining privileged information. Sure you can’t just become root but it is one way to get there. For my server, the attacker could probably read mosh‘s secret key which is used to authenticate mosh clients. Mosh is a “mobile shell” which allows is resistent toward network changes (including IP changes), is low bandwidth and extremely quick on Eadge connection. An attacker can probably come up with many solutions where reading arbitary memory can be used to gain root access. Granted the low bandwidth aspect of this attack might make it difficult but far from impossible.
- baq 9y agoYou don't need anything special to escape a chroot, it's never been intended as a security feature.
- ZenoArrow 9y agoIf you can dump the memory holding security certificates, I'd suggest you probably can. There will be processes outside a users control that run with elevated privileges, attacks that allow you to monitor the setup of these processes could prove risky to the overall security of a system.
- DaiPlusPlus 9y agoLaunch a chrooted daemon that uses Meltdown to read protected memory to discover when a local console user (presumably root/sudo) logs-in, then read the protected memory of the keyboard input buffer (keyboard interrupt handler? Console buffer?) to grab their password, then mail() it off to your email account and login as root via SSH from the comfort of your own home.