15 Commits

Author SHA1 Message Date
Pavlo Khazov
af8d80b1cd Restructured operator's terminal code and added channel to gracefully close terminal on "exit|quit" command and Ctrl+C 2025-08-03 20:11:41 +02:00
Pavlo Khazov
91ecbc8b4a Enchanced operator prompt to better display output and history 2025-08-03 18:57:10 +02:00
Pavlo Khazov
92e1ba5723 Implemented optional logging. It only works in debug mode. In production builds - strings are striped from binary 2025-07-25 17:28:23 +02:00
John Doe
d114d376b8 Restrucuted folders 2025-07-11 14:06:11 +02:00
Pavlo Khazov
70896bb6c2 Run command was divided into runexe and rundll 2025-04-27 11:48:12 +02:00
Pavlo Khazov
82033c21d5 Agent and BeaconC have new injection capabilities.
"inject" - writes shellcode into process, which can be specified by PID.
"spawn" - launches new suspended process, writes shellcode and creates thread. PPID can be specified.
Shellcode is encrypted on server, decrypted right before writing to memory and cleared right after it. Tiny-AES is used for decryption.
Modules are now dynamically loaded from folder and not harcoded.
2025-04-21 15:45:19 +02:00
Pavlo Khazov
64c2187688 Added "ps" command to get list of processes on target. 2025-04-18 21:35:52 +02:00
Pavlo Khazov
41b637459b Added prototype of socks5 proxy on agent. Command "proxy start" starts listening on server:30900 and tunnels through target system, where agent runs. Current implementation support only 1 connection. Multiplexing to be added. Custom ports to be added.
Now all print statements are showed only with --devel flag.
2025-04-15 10:42:21 +02:00
Pavlo Khazov
b7225b92f1 Local file path checking in "upload" command.
Added navigation commands "cd", "ls", "dir", "pwd".
Now you can navigate to parent directory also via "cd ../" not only "cd .."
Adjusted README
Also, adjusting list of global and context commands for operator. Still cannot decide which one of global commands should be accessible from agent context.
2025-04-09 18:24:45 +02:00
Pavlo Khazov
2150ee16c8 Added cd, ls, pwd, dir commands. 2025-04-08 21:35:55 +02:00
Pavlo Khazov
3f60761836 Added full support for TCP communication. Agent now can be generated with TCP transport by selecting TCP listener during generation. Such executable will not include any SSL code and libraries.
Size of agent.exe with TCP transport is ~270kb, agent.exe with SSL transport is ~800kb
2025-04-06 20:48:05 +02:00
Pavlo Khazov
9b9067a6c3 Modularized operator code, so it does not look like a garbage 2025-04-06 10:39:09 +02:00
Pavlo Khazov
79c707b4fe + You can now change context and directly interact with agents by typing "interact <agent id>" and sending commands directly.
+ But uou can still issue command without switching to agent's context, just by typing <agent id> <command> <args>
+ Some minor refinements, like output beautify and cleaning
2025-04-06 09:36:31 +02:00
Pavlo Khazov
278d7c5293 Removed unnecessary "chan" and "select" blocks from listener.go and remove some other minor redundant pieces of code. 2025-04-01 20:28:14 +02:00
test
8310fac492 Initialised a repository 2025-02-06 14:42:06 +01:00