WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: pamsniffer on October 15, 2016, 07:21:08 AM

Title: reverse shell
Post by: pamsniffer on October 15, 2016, 07:21:08 AM
Hi,
It is possible to make a reverse shell with winbatch and not with psexec.

Pam
Title: Re: reverse shell
Post by: snowsnowsnow on October 15, 2016, 10:37:39 PM
What is a "reverse shell" ?
Title: Re: reverse shell
Post by: stanl on October 16, 2016, 09:31:44 AM
Quote from: pamsniffer on October 15, 2016, 07:21:08 AM
Hi,
It is possible to make a reverse shell with winbatch and not with psexec.

Pam

I guess the question would be - are you saying that psexec is not available for what I assume is a remote access? WB works fine with psexce and you can search the Tech DB for examples, Otherwise possibly a WMI script, but I do not believe WB can natively handle a reverse shell.
Title: Re: reverse shell
Post by: td on October 16, 2016, 09:56:53 AM
Yes, it is theoretically possible to create a 'reverse shell' perhaps using the Winsock extender but if you are looking for a 'canned' solution, you are mostly out of luck.  You would have to have sufficient knowledge to write it from scratch with the understanding that you might fail miserably. 
Title: Re: reverse shell
Post by: snowsnowsnow on October 16, 2016, 11:22:50 AM
I'm still wondering...

What is a reverse shell?

Is that what a snail has after molting?
Title: Re: reverse shell
Post by: td on October 17, 2016, 10:23:24 AM
Very roughly, it is something like SSH except that network packets are initially sent from the target machine.  It is sometimes used by hackers to get around firewall restrictions so as to be able to execute root shell commands on a compromised machine.