Privilege Escalation from IIS AppPool to NT AUTHORITY\SYSTEM... - #2779
Open
carlospolop wants to merge 1 commit into
Open
Privilege Escalation from IIS AppPool to NT AUTHORITY\SYSTEM...#2779carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://mannulinux.org/2026/08/Privilege-escalation-from-IIS-AppPool-to-NT-AuthoritySYSTEM-via-AD-CS-RPC-endpoint.html Content Categories: Based on the analysis, this content was categorized under "Windows Hardening > Active Directory Methodology > AD Certificates > AD CS Domain Escalation, with cross-references to Kerberos Authentication/S4U abuse and Windows Local Privilege Escalation for IIS application-pool outbound machine-account authentication". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview: The post demonstrates a Windows privilege-escalation chain from remote code execution as
IIS AppPool\DefaultAppPoolon a domain-joined IIS server to privileged access as the server's computer account and then as a domain Administrator over CIFS. The chain does not use a Potato exploit and is not assigned a CVE. It combines IIS outbound authentication behavior, AD CS RPC certificate enrollment, certificate-based Kerberos authentication, S4U2Self, service...🔧 Technical Details
IIS virtual-account network identity: A process running as an IIS application-pool virtual identity can remain low-privileged locally while authenticating to domain network services as the host's computer account. With code execution inside IIS, force the worker process to access a domain service whose permissions trust computer accounts. This transforms application-level code execution into a machine-account-authenticated network operation without obtaining the computer password.
Attacker-controlled-key AD CS enrollment: Generate the certificate key pair and CSR outside the compromised host, retain the private key, and submit only the CSR through a process that authenticates as a more privileged domain principal. If an enterprise CA template permits that principal to enroll, the issued certificate represents the authenticated principal while the attacker owns the matching private key. Templates that build the subject from Active Director...
🤖 Agent Actions
Updated:
src/windows-hardening/active-directory-methodology/ad-certificates/domain-escalation.mdAdded a cited section covering:
Validation passed with
git diff --checkand custom citation/reference checks.mdbookwas not installed, so the full book build was unavailable.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.