epsexec (Enhanced psexec) uses Microsoft's Sysinternals PsExec utility that uses SMB to execute programs on remote systems.
PsExec is a light-weight telnet replacement.
If you find any bugs, PLEASE report to EpsexecNoReply@gmail.com
Go To here
This will download an installer that would configure everything
Attacker Machine:
- You MUST have psexec installed
(The installer installed it for you) If you have A 32-bit installation, install psexec toC:\windows\sysWOW64
.
Else, toC:\windows\system32
The Remote PC:
The remote pc (The pc that you are attacking) has very few requirements;
-
SMBv2 needs to be up and running on the Windows port. Run this CMD script on the remote computer:
powershell.exe Set-SmbServerConfiguration -EnableSMB2Protocol $true
-
The ADMIN$ share to be enabled with read/write access of the user configured.
Unless the machine already has an administrator user with password, I recommend making Another user that is administrator.
CMD:
net user /add usernameToHack passToBeUsed
To enable administrator:
net localgroup administrators usernameToHack /add
-
You'll need to add A registry key.
This is because UAC is set up to deny connections like this, so you will get anACCESS_IS_DENIED
error when attempting to connect.
Fix: Open CMD as administrator and run:
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
-
RECOMMENDED: Disable firewall on the remote machine.
This will allow for a faster experience while connecting.
There is also A tab for this, so you don't have to go to the remote PC NOW.
Or, Open CMD with administrator privileges on the remote machine and run:
netsh advfirewall firewall set rule name="File and Printer Sharing (SMB-In)" dir=in new enable=Yes
Or, you can just disable the firewall entirely from administrator CMD:
netsh advfirewall set allprofiles state off
-
Restart the system.
NirCMD is A windows command-line utility that allows you to do useful tasks without displaying any user interface.
Unfortunately, NirCMD is NOT installed by default on windows systems.
Thats why there is a button in the "Fun" tab, that automatically downloads NirCMD on the remote PC for you.
Nircmd is required to be installed on the remote machine for all of the functions in:
- The misc tab
- Screenshot grabber
- The sound tab
- "Set Process Volume", "Mute process", "Unmute process" in the Process Control tab