09 Jul 2015

imageres.dll

0 Comment

Here is a DOS way of taking over a system file:

C:\Windows\system32>cacls imageres.dll
C:\Windows\system32\imageres.dll NT SERVICE\TrustedInstaller:F
BUILTIN\Administrators:R
NT AUTHORITY\SYSTEM:R
BUILTIN\Users:R

C:\Windows\system32>cacls imageres.dll /g administrator:f
Are you sure (Y/N)?y
Access is denied.

C:\Windows\system32>takeown /f imageres.dll

SUCCESS: The file (or folder): “C:\Windows\system32\imageres.dll” now owned by u
ser “SERVER2014\Administrator”.

C:\Windows\system32>icacls imageres.dll /grant Administrator:(D,WDAC)
processed file: imageres.dll
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>rename imageres.dll imageres.old

C:\Windows\system32>cd\

C:\>cd users

C:\Users>cd administrator

C:\Users\Administrator>cd desktop

C:\Users\Administrator\Desktop>copy imageres.dll c:\windows\systeme32
1 file(s) copied.

[top]
About the Author


Owner

Leave a Reply