Saltar al contenido
Nuevo

DeepSeek V4.1 Flash gratis por 7 días: 10M tokens al día tras una recarga de $10 o más. Hasta el 30/11.

Cómo funciona
noorqureshi/privesc-windows-tokensActive Directory y Windows

privesc-windows-tokens

⁨Windows privilege escalation via token impersonation privileges — SeImpersonate/SeAssignPrimaryToken (the Potato family) and related token abuse to SYSTEM. Load with a Windows shell as a service/web account, on "SeImpersonate", "whoami /priv", IIS/MSSQL service context, or "got a shell on Windows".⁩

v2026.10.14-ee0e0c53 instalaciones+3 en 7 días27 EstrellasMITsincronizado hace 22 horas

Instalar

¿Aún no tienes la CLI de NotHoly? Instálala primero.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/privesc-windows-tokens

Escribe en ⁦~/.notholy/skills⁩ después de comprobar la firma y el SHA-256.

FirmaFirmado, ed25519
wt/KMb6WRO…mXf68KAA==La CLI comprueba el SHA-256 y la firma antes de escribir cualquier archivo.
Paquete38c251ae…79a28ca0
38c251aec0d0…231c79a28ca01 archivo · ⁦1.3 KB⁩
EscaneoBajosin hallazgos
El escaneo no encontró nada que señalar en esta versión.Ver el escaneo completo
Fuentegithub.com/NoorQureshi/security-skills/tree/main/skills/privesc/privesc-windows-tokens@ee0e0c5

Esta entrada todavía no está escrita en tu idioma, así que aparece en English.

When it applies

You have code execution on Windows as a service or web account (IIS iis apppool, MSSQL, a service) that holds SeImpersonatePrivilege (or SeAssignPrimaryTokenPrivilege). These accounts can't do much directly but can impersonate a token — and coax SYSTEM into handing one over.

Why it works

SeImpersonate lets a process act with any token it can obtain. The "Potato" technique tricks a SYSTEM service (via a local RPC/named-pipe/COM authentication) into authenticating to an attacker-controlled pipe; the low-priv process impersonates that SYSTEM token and spawns a process as SYSTEM.

Method

  1. Confirm the privilege: whoami /priv — look for SeImpersonatePrivilege (or SeAssignPrimaryTokenPrivilege) Enabled.
  2. Pick the right Potato for the OS/build:
    • PrintSpoofer — modern, uses the print spooler named pipe: PrintSpoofer.exe -i -c cmd.
    • GodPotato — works across Windows 8–11 / Server 2012–2022 via DCOM: GodPotato -cmd "cmd /c whoami".
    • JuicyPotatoNG / RoguePotato — where applicable.
  3. Get SYSTEM: run the tool to spawn a SYSTEM shell or run a command (add a user, drop a beacon).
  4. If no SeImpersonate: pivot to other Windows vectors — unquoted service paths, weak service perms (PowerUp/winPEAS), AlwaysInstallElevated, DLL hijacking, autoruns.

Gotchas

  • The right Potato depends on Windows version/patch — if one fails, try GodPotato (widest coverage).
  • Print Spooler disabled → PrintSpoofer won't work; use a DCOM-based one.
  • Service accounts (IIS/MSSQL) almost always have SeImpersonate — check whoami /priv first, always.

Verify success

A shell/command running as NT AUTHORITY\SYSTEM (whoami = SYSTEM), from the impersonation.

References

itm4n PrintSpoofer; GodPotato; "Rotten/Juicy Potato" lineage; winPEAS/PowerUp for the alternatives.

Archivos de esta versión

Permisos

PermisoDeclaradoHallado en el escaneo
Lee archivosNoNo
Escribe archivosNoNo
Ejecuta comandos de shellNoNo
Usa la redNoNo
Usa conectoresNoNo
Controla un navegadorNoNo

Hallazgos del escaneo

Revisado el 13 nov 2026

El escaneo no encontró nada que señalar en esta versión.

Un escaneo limpio baja el riesgo, pero no prueba que el paquete sea seguro. Lee lo que instalas.

VersiónPublicadaCommitSHA-256FirmaCambio de permisos
v2026.10.14-ee0e0c513 nov 2026ee0e0c538c251aeFirmada–

Pregunta todo lo que tu alcance permite.

Crea la cuenta, añade créditos y haz la primera pregunta en el chat o en la terminal.

  1. 1/3

    Crea la cuenta

    Individual o empresa. Puedes pasar a empresa después sin perder saldo ni claves.

    IndividualEmpresa
  2. 2/3

    Añade créditos

    Con tarjeta. Pagas por token, sin suscripción.

    $5.00recarga mínima
  3. 3/3

    Pregunta

    En el chat, o instala el CLI y ejecuta notholy login en tu terminal.

    $ notholy login