Commit Graph

122 Commits

Author SHA1 Message Date
koins baa2dc2176 main merge 2022-09-10 05:55:56 -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>
v1.3.0
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 c9b1728c82 Delete rust.yml 2022-08-17 14:23:57 -07:00
kmanc 5043b107e9 Workflow test branch (#53)
* Create rust.yml

* Update rust.yml
2022-08-17 14:17:50 -07:00
kmanc 9561a8c007 no substantive changes, just small updates (#52)
* no substantive changes, just small updates

* Update shield_io_updater.yml
2022-08-13 16:27:48 -07:00
kmanc 57979649d3 change workflows to work on main (#51) 2022-08-11 23:09:59 -07:00
kmanc 4d8e544585 Workflows (#49)
* allow for manual actions runs

* remove blank lines
2022-08-05 21:10:52 -07:00
kmanc f517b2b3ec new windows version needs systeminformation for nt headers (#50)
* new windows version needs systeminformation for nt headers

* forgot to version bump
2022-08-05 21:04:45 -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 987dfa4c3b Consistency (#47)
* cleaning up some of the magic casting

* removing reliance on the stack overflow way of reading data from an buffer/array

* Update Cargo.toml

* Update Cargo.toml

* 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-26 08:12: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
koins edbbd57d2b and another one 2022-04-22 13:28:42 -07:00
koins 824f8c19d7 mistake in merging 2022-04-22 13:27:32 -07:00
koins 2ec25f7a77 master merge 2022-04-22 13:22:58 -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>
v1.2.0
2022-04-22 11:18:26 -07:00
koins c357bf479c master merge 2022-04-13 21:42:24 -07:00
koins be87babb75 Merge branch 'master' into rat 2022-04-13 21:39:43 -07:00
kmanc 8af8caf75e randomize the anti-sandbox website check (#43)
* randomize the anti-sandbox website check

* 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-13 21:39:01 -07:00
koins a3b1c9a27b moving everything out of operator in favor of the server and implant doing all the actions. still gotta figure out that whole state thing 2022-04-09 23:42:33 -07:00
koins 30a97dfef9 got clippy off my back 2022-04-09 23:05:40 -07:00
kmanc 47d9c31ad7 Bugfix (#42)
* clippy suggestion

* bug that prevented xor_params from doing anything at all

* Update xor params badge data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-04-07 17:48:21 -07:00
koins 8a6a3a6347 clippy suggestions 2022-04-06 23:15:14 -07:00
koins 3c2960abc9 master merge 2022-04-06 22:55:43 -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 9d00674cb3 README update (#40)
* Update README.md
2022-04-02 10:45:07 -07:00
kmanc ae55d8f2b4 Update LICENSE (#38)
* Update LICENSE

* Delete LICENSE

* Create LICENSE (#39)
2022-04-02 10:10:11 -07:00
kmanc 34691f5e74 windows crate API instability...again (#37)
* windows crate API instability...again
2022-03-24 16:24:20 -07:00
koins 82134a7c6e i think this is as far as i can go without the state of a db 2022-03-08 13:49:03 -08:00
koins ea777bf499 master merge 2022-03-05 21:30:10 -08: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
koins cf934c84d8 newline 2022-03-04 21:03:10 -08:00
koins ee34b636cd little lost, need to think 2022-03-04 20:55:16 -08:00
koins de3fce970b rat gets its own config, which would eventually be needed later anyway. also operator work started 2022-02-26 21:46:16 -08:00
koins 196eccfca9 its hacky but i think its actually the best solution 2022-02-26 20:58:51 -08:00
koins a025cb84c0 mostly a lot of code changes that did nothing, but this should be closer to being able to work down the road 2022-02-26 18:14:47 -08:00
koins 52b65d56bc renamed client to operator for clarity. organizing todos 2022-02-25 14:29:37 -08:00
koins e0712df46a comments in code + result write issue 2022-02-25 13:11:03 -08:00
koins 8ef57784ea server writes command results to file 2022-02-25 12:01:16 -08:00
koins df511a0ec3 this is way cleaner 2022-02-25 11:04:56 -08:00
koins 7b3f328d19 cadence works now, structure of stored commands changed. commands can accept arguments. better formattable command results 2022-02-24 23:53:32 -08:00
koins 6bd2ab8501 making steps towards saving results. also cleaning up some of the prints 2022-02-24 16:25:39 -08:00
koins 160e6540ba implant is state-aware and is able to receive / process 'None' commands if the server has nothing new 2022-02-24 16:07:16 -08:00
koins edc8f5c745 no more perma-established channels 2022-02-23 22:03:13 -08:00
koins 518613d751 putting down more thoughts 2022-02-23 17:52:30 -08:00
koins 63a874ffae some basic comments in the implant 2022-02-23 17:41:20 -08:00
koins 87864b3a64 didnt need that there 2022-02-23 16:35:29 -08:00
koins 63ee51b92e time will tell whether or not this is a good approach, but commands are working generally 2022-02-23 16:34:12 -08:00