aboutsummaryrefslogtreecommitdiff
path: root/docs/Privesc/Get-ModifiableServiceFile.md
diff options
context:
space:
mode:
authorHarmJ0y <will@harmj0y.net>2016-12-14 11:53:29 -0500
committerHarmJ0y <will@harmj0y.net>2016-12-14 11:53:29 -0500
commit7964823e3f398c41a7ad1c0e8c4c28c0806a9c0d (patch)
tree57e9cfbba515d074f9ca77438245f8dfe46b62aa /docs/Privesc/Get-ModifiableServiceFile.md
parent5da1774219284bbe1539675e84f5c8b4370b386e (diff)
downloadPowerSploit-7964823e3f398c41a7ad1c0e8c4c28c0806a9c0d.tar.gz
PowerSploit-7964823e3f398c41a7ad1c0e8c4c28c0806a9c0d.zip
Added documentation for PowerUp
Diffstat (limited to 'docs/Privesc/Get-ModifiableServiceFile.md')
-rwxr-xr-xdocs/Privesc/Get-ModifiableServiceFile.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/docs/Privesc/Get-ModifiableServiceFile.md b/docs/Privesc/Get-ModifiableServiceFile.md
new file mode 100755
index 0000000..ab01e42
--- /dev/null
+++ b/docs/Privesc/Get-ModifiableServiceFile.md
@@ -0,0 +1,45 @@
+# Get-ModifiableServiceFile
+
+## SYNOPSIS
+Enumerates all services and returns vulnerable service files.
+
+Author: Will Schroeder (@harmj0y)
+License: BSD 3-Clause
+Required Dependencies: Test-ServiceDaclPermission, Get-ModifiablePath
+
+## SYNTAX
+
+```
+Get-ModifiableServiceFile
+```
+
+## DESCRIPTION
+Enumerates all services by querying the WMI win32_service class.
+For each service,
+it takes the pathname (aka binPath) and passes it to Get-ModifiablePath to determine
+if the current user has rights to modify the service binary itself or any associated
+arguments.
+If the associated binary (or any configuration files) can be overwritten,
+privileges may be able to be escalated.
+
+## EXAMPLES
+
+### -------------------------- EXAMPLE 1 --------------------------
+```
+Get-ModifiableServiceFile
+```
+
+Get a set of potentially exploitable service binares/config files.
+
+## PARAMETERS
+
+## INPUTS
+
+## OUTPUTS
+
+### PowerUp.ModifiablePath
+
+## NOTES
+
+## RELATED LINKS
+