Transferring a Binary (NC.exe) Over a Remote Shell with exe2hex and PowerShell
Date: November 2, 2020 | Author:
Sometimes during a penetration test we need to transfer binaries into the target machine for exploitation when all we have is a remote shell on the machine. One way to accomplish this task is by compressing the binary, converting it to hex, and creating a Windows script. Let’s see how we do this.
Compressing the Binary with upx

Converting the file to Hex

Copy to Clipboard
