# Ridter/noPac

Exploiting CVE-2021-42278 and CVE-2021-42287 to impersonate DA from standard domain user

Repository: https://github.com/Ridter/noPac
Canonical: https://ross.abutalabs.com/products/ridter-nopac
Language: Python
License Family: other
Last push: 2023-01-29T03:31:27+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1724, "days_push": 1312, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1021, forks 134 (observed 2026-08-28T04:03:15.805840+00:00)

## What it is
A Python CLI exploit tool that chains CVE-2021-42278 and CVE-2021-42287 to escalate from a standard Active Directory domain user to Domain Admin. It can impersonate users, create computer accounts, dump hashes, and drop a semi-interactive shell via smbexec.

## Use cases
- exploit CVE-2021-42278 and CVE-2021-42287 to get domain admin
- escalate privileges from a standard domain user in Active Directory
- dump domain controller hashes with secretsdump
- get a shell on a domain controller via smbexec
- test Active Directory domain controllers for the sAMAccountName spoofing vulnerability
- impersonate a domain admin user via Kerberos S4U2Self

## When to choose
- you are doing authorized penetration testing or red teaming against an Active Directory environment vulnerable to CVE-2021-42278/42287
- you need an all-in-one tool that exploits, dumps hashes, and drops a shell
- you want a maintained fork of sam-the-admin with extra options like Kerberos auth and hash-based authentication

## When to avoid
- the target domain controllers are patched for CVE-2021-42278 and CVE-2021-42287
- you need a general-purpose AD auditing tool rather than a specific exploit
- unauthorized use - this is an offensive security tool that should only be used with explicit permission

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, penetration-testing, cli
- domain: security, penetration-testing
- platform: python, cli
- tags: active-directory, privilege-escalation, exploit, cve-2021-42278, cve-2021-42287, domain-controller, kerberos, red-team, linux

## Member repositories
- Ridter/noPac (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:15.805840+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-30T07:08:48.818244+00:00, confidence not recorded.
  - readme: https://github.com/Ridter/noPac (fetched 2026-08-28T04:03:15.805840+00:00, sha cb18684f70df)
- Data as of 2026-08-30T08:39:29.467469+00:00.
