Commit Graph

32 Commits

Author SHA1 Message Date
Andrew Rioux
cd1f73bc86 fix: add a new type of recognized interface
recognize E1000E interfaces on FreeBSD
2025-10-20 08:27:01 -04:00
Andrew Rioux
d31a09e331 WIP: adding more cross compilation support 2024-12-11 06:56:44 -05:00
Andrew Rioux
4ae9f38812 fix: made uploads and downloads more consistent 2024-09-25 12:33:58 -04:00
Andrew Rioux
1dfd7e0499 fix: more cleaning up for FreeBSD 2024-09-19 02:45:16 -04:00
Andrew Rioux
f6428b92fe feat: added FreeBSD support
to make use of it, create a FreeBSD VM with curl installed and install
rustup by default from rustup.rs, then run `cargo build -p sparse-05-server`
2024-09-19 02:44:31 -04:00
Andrew Rioux
93754e2cba fix: Destination ports used in network traffic 2024-02-08 19:03:28 -05:00
Andrew Rioux
7390a2e3bf Cleaned up Windows server and added more docs 2024-01-25 16:53:05 -05:00
Andrew Rioux
5fe4450f39 Removed extra logging 2024-01-24 20:09:57 -05:00
Andrew Rioux
af5ceb66ab Added Windows support for the bind shell
Brings in support from winpcap as npcap has a restrictive license
2024-01-24 19:12:45 -05:00
Andrew Rioux
862dc3e743 More flakes work
Removed old git submodules
Started adding Windows cross compilation support
2024-01-24 00:56:53 -05:00
Andrew Rioux
4475d23d1d Finished adding a basic flake
It can now build the Linux C2 beacon
2024-01-23 23:26:58 -05:00
Andrew Rioux
8c0ae083fe made basic TCP connection to receive data
somewhat
2023-12-05 00:27:02 -05:00
Andrew Rioux
e5f6c2aa7e feat: added modified TCP packet parser
checksum generation code is different, to allow for
some sneaky tricks with regards to identifying the sparse
session but binding to the same port multiple times
2023-09-18 01:29:05 -04:00
Andrew Rioux
726e6dff13 feat: added cd
added cd and fixed all the warnings in the source code
2023-09-08 23:26:10 -04:00
Andrew Rioux
ae24c2e0ad feat: added the ability to edit files remotely 2023-09-08 22:48:02 -04:00
Andrew Rioux
eb5e86067b feat: added ability to download files 2023-09-08 21:25:20 -04:00
Andrew Rioux
239c5ccc40 fix: made code compile for now 2023-09-07 12:56:30 -04:00
Andrew Rioux
cd23ec1b80 feat: continuing work on downloading files 2023-09-06 19:44:13 -04:00
Andrew Rioux
50b5c1a921 feat: added upload file capability 2023-09-06 14:56:21 -04:00
Andrew Rioux
231108f2c3 fix: swapped to just run the binary on the server
moved away from `sh -c`
2023-09-06 09:04:26 -04:00
Andrew Rioux
17e6056a03 fix: fixed stdin for processes
started work on upload file command
2023-09-06 00:07:15 -04:00
Andrew Rioux
9bb31ee6fa feat: added the ability to run commands remotely
commands can now be sent and their outputs received
2023-09-05 19:58:40 -04:00
Andrew Rioux
52538ac7d7 feat: added the ability to send commands 2023-09-05 19:05:26 -04:00
Andrew Rioux
47b2191335 feat: working on spawning commands 2023-09-05 09:43:00 -04:00
Andrew Rioux
1e5f515a25 feat: adding packet handling to server 2023-09-04 19:10:43 -04:00
Andrew Rioux
fb43a27ba3 feat: added ip to sysinfo 2023-09-04 01:30:01 -04:00
Andrew Rioux
7f1f43a601 feat: added a basic interactivity to the client 2023-09-04 01:11:55 -04:00
Andrew Rioux
81fb2ed548 feat: added windows support
factored out the packet parsing logic from libpcap

will probably come back to linking against libpcap in a later version
2023-09-02 23:09:05 -04:00
Andrew Rioux
4449a771e2 feat: added connection and authentication
client can now generate a server binary, and try to connect to it and
get capabilities
2023-09-02 22:29:13 -04:00
Andrew Rioux
cda6388596 feat: fleshed out handling a new connection 2023-09-02 16:58:25 -04:00
Andrew Rioux
d7a0deba0c feat: added transport layers for sparse 0.5 target 2023-09-02 15:26:58 -04:00
Andrew Rioux
aecf1c9b80 feat: adding a bind shell example with more stuff
adding a bind shell that can allow for more practice with future
features such as multiple transports, encryption, transferring files,
and a more robust client interface
2023-09-02 14:32:34 -04:00