# citronneur/pamspy

Credentials Dumper for Linux using eBPF

Repository: https://github.com/citronneur/pamspy
Canonical: https://ross.abutalabs.com/products/pamspy
Language: C
License: Apache-2.0
License Family: permissive
Last push: 2024-09-09T13:19:12+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1524, "days_push": 723, "days_rel": 723, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1164, forks 62 (observed 2026-08-28T04:03:49.937034+00:00)

## What it is
pamspy is a Linux credentials dumper that uses eBPF to hook the pam_get_authtok function in libpam.so, capturing passwords from processes like sudo, sshd, and passwd. It is distributed as a static binary with no dependencies and can run in daemon mode writing captured credentials to a file.

## Use cases
- dump linux passwords with ebpf
- capture sudo and ssh credentials on a compromised host
- red team credential harvesting on linux
- hook pam authentication to intercept passwords
- alternative to 3snake for credential dumping
- monitor pam authentication events in real time

## When to choose
- you need to capture PAM-based credentials on a Linux host where you have root access
- you want a dependency-free static binary for red team operations
- you prefer eBPF-based hooking over LD_PRELOAD or ptrace techniques

## When to avoid
- you are on a system without eBPF support or without root privileges
- you need a defensive auditing tool rather than credential capture
- your target uses authentication not routed through PAM

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, monitoring, tracing
- domain: security, penetration-testing, operating-systems
- platform: cli
- tags: ebpf, credentials-dumper, pam, red-team, offensive-security, linux

## Member repositories
- citronneur/pamspy (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.937034+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:29:39.904518+00:00, confidence not recorded.
  - readme: https://github.com/citronneur/pamspy (fetched 2026-08-28T04:03:49.937034+00:00, sha c2bd6f53b60b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
