News for hackers. Stuff that matters.
Re:The xz sshd backdoor rabbithole goes quite a bit deeper by EvanAnderson on Saturday April 06, 2024 @09:09PM (#39957230)
So ifunc is a link-time thing and not a runtime thing, then? (My background, when it comes to linking, is DOS and Windows.)
Re:The xz sshd backdoor rabbithole goes quite a bit deeper by asveikau on Sunday April 07, 2024 @02:34AM (#39958653)
It's runtime, but I think dynamic linker. The Windows equivalent would be if a library patched some code at dllmain. Actually the Detours library in the Windows world is similar. But it's for performance; the idea is you would patch some function references based on the CPU revision to get faster code specific to your CPU.
Re:The xz sshd backdoor rabbithole goes quite a bit deeper by bilekas on Sunday April 07, 2024 @05:23AM (#39959545)
This is a really nice windows analogy, however it goes without saying this package wasn't aiming for Windows, ironically, it chose the path (as we seen so far) of least resistance. If you're hooked to an sshd service, your golden. They put 5 checks (maybe comically) in a row to make sure it was linux I this case .. who knows what's next.