19 Commits

Author SHA1 Message Date
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 10d1f2840b the great readme migration (#46) 2022-04-23 16:14:18 -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 9d00674cb3 README update (#40)
* Update README.md
2022-04-02 10:45:07 -07: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 d9fe80a437 Update README.md 2022-01-30 17:41:53 -08:00
kmanc ada97f0b16 Shellcode encrypter (#25)
* GH actions update

* new badge to track

* lock and toml

* new tool

* key and encrypted shellcode placeholders

* i missed the lock i guess

* slice xor function which will be needed for later tools

* shellcode XORer and printer

* slice length to generic function as a util

* extend shorter slice to be the same length as longer slice by repeating

* return both of the inputs for equalize to make it harder to misuse. return result (possible error) for xor to make it more clear what went wrong

* default key length ++ and version bump

* version bump

* better validation of input data
2022-01-30 09:48:32 -08:00
kmanc 45d72c96f0 Process hollowing (#23)
* missed commit

* build new tool

* mostly boilerplate for process hollowing

* prepping new tool

* fixing up boilerplate

* whoops, didnt change name

* whoops, didnt change name in another place

* update lock

* scoping out the windows implementation

* CreateProcessW compiles, on to ZwQueryInformation

* new dep for process hollowing

* end to end but something is wrong, gotta debug

* failing at createprocessw....... bleh

* update docs to include process hollowing as the new tool

* update builds in github actions for process_hollowing

* toml and lock updates for process_hollowing

* process_hollowing as the new hotness. windows implementation is 'done' in that it compiles, but it panics immediately so gonna have to look into that

* moved to 'A' win32 calls from 'W'. still not working, but getting further along

* Merge utils into process hollowing (#14)

* update to lock and toml

* adding a utils library for some shared useful functions. starting with u8 array --> u32

* moved to 'A' win32 calls from 'W'. still not working, but getting further along

* needed 64 bit too

* use utils lib instead of byteorder crate. things seem to be working better as a result

* at a bit of a loss...why doesnt this work?

* this was gonna bug me. utils first, then tools

* prep readme for when windows actually works

* moving lone bracket to line above for workflow compat

* badge in workflow, shields, and readme

* still not working, but also not crashing

* spacing error i think

* second validation check. still doesnt work though

* debugging continues

* am i closer? im on the last line so i kinda hope so

* lock update

* update to the new shared config

* update readme a little, more to come

* pretty sure i had a mistake there. also the 'needs' thing will save headache later

* still dunno what the deal is, trying to narrow down the problem

* trying new payloads to no avail

* readme update, still some placeholders

* back to OG shellcode

* it works now. my brain is mush, but it works now

* take THAT comment

* Update README.md

* Update README.md

* Update README.md

* got this working much faster than expected

* readme updated

* Update process hollowing badge data via Github Action

Co-authored-by: kmanc <kmanc@users.noreply.github.com>
2022-01-28 19:46:01 -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 fd16dbab6e Update README.md 2022-01-23 21:56:00 -08:00
kmanc 2bb47361cd Update README.md 2022-01-21 23:43:56 -08:00
kmanc 8170203c08 Update README.md 2022-01-21 23:38:55 -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 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 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 b70a086949 Update README.md 2021-12-27 06:39:10 -08:00
kmanc b7d13bc995 Documentation (#5)
* link and badge updates. needs work, will tackle later

* consistent naming
2021-12-27 06:28:20 -08:00
kmanc 22c0530946 Windows process migration (#2)
* broken link

* update toml for next tool: process injection

* boilerplating for shellcode injector

* some stubs, need internet to go futher

* link time optimization drastically reduces the size of windows executables - will have to investigate drawbacks when i have internet

* readme update prep

* small typing optimization

* New Windows dependencies for process injection

* msfvenom reverse tcp shell to localhost 4444 as example shellcode

* Windows shellcode injection to the explorer.exe process

* placeholder

* small bump for the half-feature completion
2021-12-20 04:52:58 -08:00
Kevin 67f4f4be15 first draft readme 2021-12-13 19:27:39 -08:00