Live data from Hacker News

Show HN: Credentials dumper for Linux using eBPF

github.com

11–20 of 51 posts

Re: Show HN: Credentials dumper for Linux using eBPF

#12
post #4

Earlier quoted context omitted.

I read this as, due to pamspy setting an eBPF probe, pamspy needs to know where libpam.so lives. Not that the pamspy needs libpam to be built

Exactly, we have to found the address to hook on the system, so we need the path of the currently use of libpam by other process

Oh, makes sense, thanks!

Re: Show HN: Credentials dumper for Linux using eBPF

#17
post #13

So is this an exploit? Or are root privileges on the local machine needed to run it?

It appears that you need root, at a minimum the demo gif uses sudo to run the program. At an absolute minimum you would need CAP_BPF[0] to execute the eBPF.

[0] https://man7.org/linux/man-pages/man7/capabilities.7.html#:~...

Post reply on HN