So I have network file access to a Win7 machine so I can browse files etc over the network. I can access areas such as c:\users\username\appdata and so on.
I've copied over ncat.exe to set up a reverse shell and I want this to run, with the relevant IP address and port when a user logs in or boots up.
I tried creating a bat file and adding a shortcut to the startup folder pointing to a bat file in a folder containing netcat.exe, with the correct netcat command. This works however I get two problems:
1. The user gets a warning asking if the want to run this file when they logon
2. The command prompt it spawns is visible, along with the netcat "connected" text, which not much good.
Am I going about this the right way? Can I supress the warning, hide the cmd prompt?
Thanks
I've copied over ncat.exe to set up a reverse shell and I want this to run, with the relevant IP address and port when a user logs in or boots up.
I tried creating a bat file and adding a shortcut to the startup folder pointing to a bat file in a folder containing netcat.exe, with the correct netcat command. This works however I get two problems:
1. The user gets a warning asking if the want to run this file when they logon
2. The command prompt it spawns is visible, along with the netcat "connected" text, which not much good.
Am I going about this the right way? Can I supress the warning, hide the cmd prompt?
Thanks


![[Image: W7MJCq1.gif]](https://i.imgur.com/W7MJCq1.gif)

