pamspy
leverage eBPF technologies to achieve an equivalent work of 3snake.
https://github.com/citronneur/pamspy
It will track a particular userland function inside the PAM (Pluggable Authentication Modules) library, used by many critical applications to handle authentication like:
-
sudo
-
sshd
-
passwd
-
gnome
-
x11
-
and many other ...
How to launch?
pamspy
is built as a static binary without any dependencies, and available on the release page.
Usage: pamspy [OPTION...]
pamspy
Uses eBPF to dump secrets use by PAM (Authentication) module
By hooking the pam_get_authtok function in libpam.so
USAGE: ./pamspy -p $(/usr/sbin/ldconfig -p | grep libpam.so | cut -d ' ' -f4) -d /var/log/trace.0
-d, --daemon=PATH TO OUTPUT CREDENTIALS
Start pamspy in daemon mode and output in the file
passed as argument
-p, --path=PATH Path to the libpam.so file
-r, --print-headers Print headers of the program
-v, --verbose Verbose mode
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Report bugs to .
....Author
- Hakin9 is a monthly magazine dedicated to hacking and cybersecurity. In every edition, we try to focus on different approaches to show various techniques - defensive and offensive. This knowledge will help you understand how most popular attacks are performed and how to protect your data from them. Our tutorials, case studies and online courses will prepare you for the upcoming, potential threats in the cyber security world. We collaborate with many individuals and universities and public institutions, but also with companies such as Xento Systems, CATO Networks, EY, CIPHER Intelligence LAB, redBorder, TSG, and others.
- NewOctober 31, 2024Building a Simple Python C2C System with GPT Guidance
- NewOctober 31, 2024ChatGPT vs Phishing: Unmasking Automated Mass Phishing Campaigns
- NewOctober 31, 2024Choosing Your Cyber Ally: ChatGPT vs. WhiteRabbitNeo for Ethical Hackers
- NewOctober 31, 2024Leveraging ChatGPT and APIs for Enhanced Ethical Hacking
Subscribe
0 Comments
Newest