146 Commits

Author SHA1 Message Date
koins 560d2bb4ce main merge 2022-12-03 14:49:40 -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
v1.6.0
2022-11-06 16:46:55 -08:00
kmanc 0ddf3fcd25 Update _config.yml 2022-10-29 15:29:32 -07: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 8819f2f013 No vt (#69)
* back to kleenscan, new detection rates for docs

* copy/pasta missed
2022-09-22 18:54:11 -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
v1.5.0
2022-09-22 16:31:37 -07:00
kmanc 7c13182323 Patches (#66)
* gitignore update for mac

* cargo things

* documentation update, finally have multiple os builds figured out

* avoid feature injection on dependencies as it has caused problems in the past

* bump version now

* this shouldnt have changed anything, just reorded so its not a random mess ordered by 'well i made it now'

* missed a required import for the move away from feature injection

* wasnt as lazy this time, actually build for two main oses
2022-09-20 20:58:52 -07:00
kmanc 43faa94d63 Docs fix (#65)
* a few path mistakes

* wrong denominator
2022-09-18 22:25:47 -07:00
kmanc ec40036627 Misc (#64)
* looks nicer this way

* its been a good run, custom shields

* relying on crates now for versioning, so dont need this anymore

* kleenscan to virustotal. i probably messed something up, gotta double check in a better renderer

* new pics who dis

* order consistently
2022-09-18 21:48:50 -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
koins 0dbb5274ad Merge branch 'main' into rat 2022-09-16 17:46:02 -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>
v1.4.0
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
koins 047e9b6aee Merge branch 'main' into rat 2022-09-16 12:55:44 -07:00
kmanc d7d33ee1e1 Update _config.yml 2022-09-16 12:09:50 -07:00
koins 1854f5fca8 Merge branch 'main' into rat 2022-09-16 12:01:10 -07:00
kmanc 9c14a1dd0c Delete LICENSE 2022-09-16 12:00:39 -07:00
koins ee8985a29b accepting cargo fmt for rat code, not for the rest because i still dont like that format it is doing 2022-09-16 11:44:11 -07:00
koins efb1bfebb9 main merge 2022-09-16 11:41:38 -07:00
kmanc a66c293245 put all the documentation stuff in the main branch so there isnt some weird disjointed tree (#59) 2022-09-16 11:24:02 -07:00
kmanc 8efc7f4707 Workflows (#58)
* ran cargo update

* clippy checks for all combinations of features required to pass

* hadnt saved the file, this is the desired version

* small nitpick on my gitignore lol

* new workflow was in the wrong dir and i didnt notice

* need windows dependencies in windows builds

* name consistency

* alphabetizing so i can find things when im adding/changing/removing/etc
2022-09-16 08:42:25 -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
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