31 lines
313 B
Markdown
31 lines
313 B
Markdown
|
## Cmdkey.exe
|
||
|
|
||
|
* Functions: Credentials
|
||
|
|
||
|
```
|
||
|
cmdkey /list
|
||
|
```
|
||
|
|
||
|
Acknowledgements:
|
||
|
*
|
||
|
|
||
|
Code sample:
|
||
|
*
|
||
|
|
||
|
Resources:
|
||
|
* https://www.peew.pw/blog/2017/11/26/exploring-cmdkey-an-edge-case-for-privilege-escalation
|
||
|
|
||
|
Full path:
|
||
|
```
|
||
|
c:\windows\system32\cmdkey.exe
|
||
|
c:\windows\sysWOW64\cmdkey.exe
|
||
|
```
|
||
|
|
||
|
Notes:
|
||
|
|
||
|
|
||
|
Detection:
|
||
|
|
||
|
|
||
|
|