Hello, I wrote a keylogger in C++. To run it I need the exe and three DLLs (they need to be in the same folder). I wrote a .bat to copy the files into the victim system, make a shortcut to the startup menu and execute the program.
It works perfect, the only thing is I that need to have physical access to the computer. I need to make it look like its an innocent file so I can infect systems from a distance. I thought a good way would be to execute the .exe/.bat when a .jpg or .rar is opened. I know its possible but I haven't found anything. Is there a way to execute an .exe/.bat when you open a .jpg or a .rar?
Extension spoofing was another option but I have the DLLs and the .exes, if it was only the exe there would be no problem. I researched if I could make the libraries static (join them with the .exe) but I cant since I'm using cygwin and its forbidden in the license or some shit, you litterally cant.
So, any ideas on how to approach this?
EDIT: Checking on the forum I saw about the file binders (like weekend binder), but when I download them the antivirus pops up. I know that sometimes you have to disable it but I still don't trust, whats your opinion/what do you suggest?
It works perfect, the only thing is I that need to have physical access to the computer. I need to make it look like its an innocent file so I can infect systems from a distance. I thought a good way would be to execute the .exe/.bat when a .jpg or .rar is opened. I know its possible but I haven't found anything. Is there a way to execute an .exe/.bat when you open a .jpg or a .rar?
Extension spoofing was another option but I have the DLLs and the .exes, if it was only the exe there would be no problem. I researched if I could make the libraries static (join them with the .exe) but I cant since I'm using cygwin and its forbidden in the license or some shit, you litterally cant.
So, any ideas on how to approach this?
EDIT: Checking on the forum I saw about the file binders (like weekend binder), but when I download them the antivirus pops up. I know that sometimes you have to disable it but I still don't trust, whats your opinion/what do you suggest?


