49 Commits

Author SHA1 Message Date
kmanc 15d9646cb4 i had forgotten to bump versions (#86) 2025-05-19 11:42:09 -04:00
kmanc 70fb17e377 did i fix it all? (#85)
* did i fix it all?

* no, had missed a few
2025-05-19 11:19:18 -04:00
kmanc f0630eb600 dependencies (#84)
* dependencies

* moar
2025-01-07 11:11:07 -08:00
kmanc 53b3d3428b Oops (#83)
* i broke everything

* fix some things i broke

* clippy
2024-07-08 11:55:49 -07:00
kmanc 7eb6787562 Update (#82)
* crate updates

* oops
2024-07-08 11:28:04 -07:00
kmanc 5950e18ebf Update Cargo.toml 2023-11-20 16:34:23 -08:00
kmanc c534ce1e4d cargo updates (#80)
* this might be it

* some cargo changes

* missed one
2023-11-20 16:33:00 -08:00
kmanc 5ecdae6c5f windows crate updates (#79)
* windows crate updates

* merge conflict

* oopsie

* and another
2023-08-20 10:16:04 -07:00
kmanc 1a3ed1ef56 Update Cargo.toml 2023-03-29 08:29:42 -07:00
kmanc e508d28e4d Win (#78)
* cargo lock

* windows version update

* lock file

* windows crate bump

* missed the antistring version

* weird merge conflict
2023-03-29 08:28:12 -07:00
kmanc d076f74b4a Missed a version bump 2023-03-15 13:11:40 -07:00
kmanc 4b600cde29 Win (#76)
* cargo lock

* windows version update
2023-03-13 11:40:45 -07:00
kmanc bfe4c68dcc Win crate - inet_pton arg changed (#74)
* lock update

* version bumps

* small fix, should work
2023-01-13 07:46:50 -08:00
kmanc c9b55f5641 newer style of modding files (#73)
* newer style of modding files

* missed one
2022-12-04 10:48:41 -08:00
kmanc 6f38bd67fc Antistring crash (#72)
* cargo lock and version bumps

* reduce number of loadlibrary calls to reduce error 126 crashes

* version bump

* forgot to update the tcp rev shell antistring
2022-11-06 16:46:55 -08:00
kmanc 8d1011cda3 File descriptors (#70)
* lock update

* using new OwnedFd struct instead of RawFd, which means no unsafe code!

* version bump
2022-09-29 10:34:21 -07:00
kmanc 9a611e0acf these were wrong, fixing to reflect that the change is backwards incompat (#68) 2022-09-22 16:38:26 -07:00
kmanc fcd72bacc3 Wincrate (#67)
* bump minor version and win crate version

* bump minor version and win crate version

* update lib to use new windows syntax and a few small changes i neglected to make here before

* update tcp_rev_shell to work on new windows crate

* update process_hollowing to work on new windows crate

* update process_migration to work on new windows crate

* lock things

* as expected, i completely botched the merge conflict

* lock change?

* fixed a mistake i introduced
2022-09-22 16:31:37 -07:00
kmanc 01b3c8f9db A little more cargo cleanup that I didn't know about and hence missed (#63) 2022-09-17 13:58:52 -07:00
kmanc d77ab5f03b adding some cargo fields before publishing to crates (#62) 2022-09-17 13:41:03 -07:00
kmanc 608ffba3c5 windows crate big changes (#61)
* this is gonna be a while

* here we go again

* lock

* version bumps

* updated code to support windows v0.40.0

* unused import

* wsadata re-cap

* missed a version bump

* Update process hollowing badge data via Github Action

* Update process migration badge data via Github Action

* Update reverse shell badge data via Github Action

* lock

* previously unseen compile issue / clippy flag. will have to revisit how that slipped through

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-09-16 17:45:08 -07:00
kmanc 92e85b311b releases will now auto build and upload samples (#60)
* releases will now auto build and upload samples

* hold off on new windows for now

* no equals
2022-09-16 14:43:07 -07:00
kmanc 9fef97d6d0 Cargo fmt (#57)
* ran cargo fmt and accepted whatever it gave me

* not sure why it did that but i dont like those ones

* aside from that one format which i keep undoing i like them
2022-09-12 08:30:58 -07:00
kmanc 12c764dc95 Cleanup (#56)
* missed a few before

* prototype, moving to test machine for more

* dont forget this link! its useful

* its macro or nothin

* macros are weird...still playing around

* this feels close, gotta expand array in macro

* i think this does it! will sub in and test thoroughly later

* macro working in tcp_reverse_shell

* macro worked into process migrations

* macro worked into process hollowing

* small code rearranging

* returned functions are unsafe

* antistring functions are split into their own files for ease of maintenance

* post import-cleanup comment update

* extra newline

* that wasnt extra

* spacing and sorting

* Update reverse shell badge data via Github Action

* Update process migration badge data via Github Action

* Update process hollowing badge data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-09-10 05:24:21 -07:00
kmanc 2e1514c109 Reduce unsafe (#55)
* cargo things

* no more mem::zeroed, using default / null traits

* more removal of lib calls where not needed

* need to test a few payloads to make sure i didnt break anything

* remove non-needed cast

* lots of reorg so things are easier to read. still have some work to go + gotta redo for all the antistrings

* clean up some more junk and try not to create things as null when youre just gonna assign to them anyway

* lock things

* discovered a (probably) long standing bug. dirty workaround in place but gonna want to revisit that eventually

* Update reverse shell badge data via Github Action

* Update process migration badge data via Github Action

* Update process hollowing badge data via Github Action

* Update xor params badge data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-08-22 11:26:57 -07:00
kmanc cea2e51ba0 Code style (#54)
* no substantive changes, just small updates

* shouldn't be any real change, just some code style best practices

* dunno how this didn't get added to the last commit

* Update reverse shell badge data via Github Action

* Update process migration badge data via Github Action

* Update process hollowing badge data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-08-18 04:54:13 -07:00
kmanc d0cc506090 Dependencies (#48)
* fix dependency compat again

* missed a comma

* Update reverse shell badge data via Github Action

* Update process migration badge data via Github Action

* Update process hollowing badge data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-05-25 17:25:26 -07:00
kmanc 10d1f2840b the great readme migration (#46) 2022-04-23 16:14:18 -07:00
kmanc 2da2b86d4c Temp docs (#45)
* Update README.md

* Update README.md

* Update README.md
2022-04-22 15:57:53 -07:00
kmanc 038fa0ebc6 Antistring (#44)
* updates to rco_utils to support api hashing

* version bumps, feature adjustments

* fix tcp cargo

* make the functions public

* hash params done

* add antisand as an optional feature of tcp_reverse shell

* fix links in comments

* lots of cleanup on tcp_reverse_shell

* clippy recommendation

* fully de-stringed version is complete, but gotta figure out how i want to toggle them

* all changes to support antisand and antistring complete!

* antisand and antistring were incompatible because of imports; fixed that. also there is a new implementation of antisand with antistring applied

* antistring support for process hollowing

* antistring updates for process migration

* lock updatrer

* i think this covers the builds needed

* new tool

* readme updates

* more readme updates

* Update README.md

* Update README.md

* Update reverse shell badge data via Github Action

* Update process migration badge data via Github Action

* Update process hollowing badge data via Github Action

* trying a new workflow trigger

* undoing, didnt work the way i wanted it to

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-04-22 11:18:26 -07:00
kmanc 7224722070 should be everything required to keep up with the windows crate break… (#41)
* should be everything required to keep up with the windows crate breaking changes

* Update reverse shell badge data via Github Action

* Update process migration badge data via Github Action

* Update process hollowing badge data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-04-06 22:42:38 -07:00
kmanc 34691f5e74 windows crate API instability...again (#37)
* windows crate API instability...again
2022-03-24 16:24:20 -07:00
kmanc ba41e0a746 dependency_fix (#36)
* the windows crate recently made another breaking change that they didnt acknowledge as breaking

* need to repin the windows crate to 0.33.0 so that old versions dont mess up compilation

* compile profiles drastically reduce binary size across the board

* small version bumps to reflect bugfix

* reordered for alphabtizing

* lock update

* Update reverse shell badge data via Github Action

* Update process hollowing badge data via Github Action

* missed a feature change for the fix

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-03-05 21:19:07 -08:00
kmanc c7b118babb Release1.1 (#35)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2022-02-04 19:19:15 -08:00
kmanc 6e874b9887 Cleanup and refactor (#33)
* whoops

* newlines to end files

* better code comments

* better code comments

* only compile necessary features. ones not asked for get dummy stub functions

* newline at end of file

* small version bump. better conditional compilation logic. better code comments

* build updates to try to cover feature combinations

* typo

* lock

* glaring readme issues...will address more on separate branch

* newline

* typo

* typo

* this was more than just a patch bump for utils

* Update reverse shell badge data via Github Action

* Update process migration badge data via Github Action

* Update process hollowing badge data via Github Action

* Update xor params badge data via Github Action

* lock

* compat change on windows crate

* require newer win version to support change

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-02-03 16:57:30 -08:00
kmanc 970d4146f2 Documentation (#29)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2022-01-30 22:30:14 -08:00
kmanc 3aca1b57e5 Release 1 (#24)
* Update README.md

* Update README.md

* Update README.md

* Update README.md
2022-01-28 21:25:07 -08:00
kmanc 551e58ee13 Update README.md 2022-01-27 18:10:14 -08:00
kmanc 1d084e598d Documentation (#22)
* Update README.md

* Update README.md

* Update README.md

* badges to sub-readmes

* main readme polishing

* formatting

* feasts feedback incorporated
2022-01-27 18:09:34 -08:00
kmanc 14bf59fa01 Refactor (#21)
* shared config library! this will make setting up the payloads much easier

* update lock and toml for new shared config

* migrate rev shell to the new shared config

* lock update again

* shellcodes to config lib

* migrating...process migration to the new shared config

* update readme's links

* minor version bumps

* Update process migration badge data via Github Action

* Update reverse shell badge data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-01-25 22:00:52 -08:00
kmanc ea80b82d20 Upgrades (#19)
* first official detection rates! need to reorg readmes, add screenshots, and do gifs another day

* separate build categories into jobs so its easier to read

* also separate into jobs for clarity / it seems to make sense

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* mingw issue

* still working on fixing

* Update windows.yml

* does this work?

* Update windows.yml

* Update windows.yml

* Update README.md
2022-01-25 13:42:28 -08:00
kmanc e212d05a8e Bugfix (#18)
* bugfix on cmd process

* version bump for bug

* Update shields data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-01-25 12:58:51 -08:00
kmanc 512b05f837 Badges (#16)
* moving the last char up so the new action can work

* placeholder shield data

* new action to update shields based on semver

* new badges on display!

* wrong path

* Update shield_io_updater.yml

* Update shield_io_updater.yml

* Update shields data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-01-21 23:34:34 -08:00
kmanc 338017cb54 Documentation (#11)
* missed commit

* filled in links in readme

* filled in links in readme

* bumped process migration to first release
2022-01-15 21:20:13 -08:00
kmanc 8b2752a5a5 Process migration (#10)
* more precise setup

* smarter imports changed lock

* import only in the mod file

* libc for unix

* import in mod file

* import in mod file

* WIP

* unix --> linux

* target linux correctly

* working build, non-working functionality

* really not sure how to run this thing

* clippy suggestion

* dependencies getting narrowed down

* get target pid and verify ptrace perms with process_vm_readv

* need a linux shellcode too

* swapped to ptrace, feel like im close

* seg faults are common and i never get the shell

* this seems more robust but also doesnt work

* removed a few prints and added some coments

* trying to debug this

* looks nicer this way

* idk what im doing

* have i narrowed down the problem?

* still trying to figure out what doesnt work

* minimal nix version via cargo-minimal-verions

* missed commit

* ok finally it works, but in a way that i would never have thought the documentation on ptrace indicated

* it actually works now! and is cleaned up
2022-01-15 20:41:21 -08:00
kmanc a4a8ab7e0b Versioning (#9)
* minimum supported rust version to 1.58 for format strings

* minimum windows version via cargo-minimal-versions

* git.....

* does this fix?

* updating rust worked. now update cargo to ensure no breaking changes to dependencies

* and update lock too
2022-01-15 15:29:37 -08:00
kmanc 1298be49c7 Documentation (#7)
* updated tcp rev shell documentation

* missed a line

* missed another line

* updating documentation for process migration
2021-12-29 01:33:55 -08:00
kmanc 776934d2ea Refactor (#6)
* more readable cargo files

* no more branch specifier

* documentation overhaul

* ok final rename i think

* change order and add cleans
2021-12-27 12:37:24 -08:00
kmanc e487ca18b8 Refactor (#4)
* versioning change; H.M.L where H=breaking change, M=non-breaking change, L=bugfix

* updating gitignore

* project structure to workspaces
2021-12-27 05:29:04 -08:00