mirror of
https://github.com/kmanc/remote_code_oxidation
synced 2026-06-08 15:21:46 +00:00
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
This commit is contained in:
@@ -10,7 +10,7 @@ env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
linux-builds:
|
||||
linux-reverse-shell:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -22,11 +22,29 @@ jobs:
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Linux
|
||||
run: cargo build -p tcp_reverse_shell --verbose
|
||||
- name: Clean
|
||||
run: cargo clean
|
||||
|
||||
linux-process-migration:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Linux
|
||||
run: cargo build -p process_migration --verbose
|
||||
- name: Clean again
|
||||
run: cargo clean
|
||||
|
||||
linux-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build all for Linux
|
||||
run: cargo build --verbose
|
||||
|
||||
@@ -7,7 +7,7 @@ on:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
read-tomls:
|
||||
update-reverse-shell:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -25,6 +25,18 @@ jobs:
|
||||
file: '.custom_shields/tcp_reverse_shell.json'
|
||||
field: message
|
||||
value: ${{ steps.tcp_reverse_shell_ver.outputs.app_version }}
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "Update reverse shell badge data via Github Action"
|
||||
|
||||
update-process-migration:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- uses: dante-signal31/rust-app-version@v1.0.0
|
||||
id: process_migration_ver
|
||||
with:
|
||||
@@ -37,4 +49,4 @@ jobs:
|
||||
value: ${{ steps.process_migration_ver.outputs.app_version }}
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "Update shields data via Github Action"
|
||||
commit_message: "Update process migration badge data via Github Action"
|
||||
|
||||
@@ -10,27 +10,60 @@ env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
windows-builds:
|
||||
|
||||
windows-reverse-shell:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt -y install mingw-w64
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build reverse shell for Windows
|
||||
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --verbose
|
||||
- name: Clean
|
||||
run: cargo clean
|
||||
|
||||
windows-process-migration:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build process migration for Windows
|
||||
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --verbose
|
||||
- name: Clean again
|
||||
run: cargo clean
|
||||
|
||||
windows-all:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Update rust
|
||||
run: rustup update
|
||||
- name: Apt update
|
||||
run: sudo apt-get update
|
||||
- name: Install linker
|
||||
run: sudo apt-get -y install mingw-w64
|
||||
- name: Add Windows build target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update cargo
|
||||
run: cargo update
|
||||
- name: Build all for Windows
|
||||
run: cargo build --target x86_64-pc-windows-gnu --verbose
|
||||
|
||||
@@ -32,3 +32,18 @@ and change the shellcode to the shellcode generated in step 1
|
||||
```
|
||||
|
||||
4. Execute the payload on the victim machine
|
||||
5. Return to the listener and enter desired commands for the victim machine to run
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Detection rates
|
||||
|
||||
[Linux - 6 / 40](https://kleenscan.com/scan_result/81ac12b76a4be897145f1772b8c57d6c5330ee9bd574f480a825232bd846d113)
|
||||
|
||||

|
||||
|
||||
[Windows - 12 / 40](https://kleenscan.com/scan_result/402c207f8a1e53a0f9b9ed533c53b96077956bc91367520ac28289b2fc6cc511)
|
||||
|
||||

|
||||
|
||||
@@ -38,3 +38,17 @@ and change the IP address and port to match your attacking machine and listener,
|
||||
4. Execute the payload on the victim machine
|
||||
|
||||
5. Return to the listener and enter desired commands for the victim machine to run
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Detection rates
|
||||
|
||||
[Linux - 0 / 40](https://kleenscan.com/scan_result/d185d1b1ba09f1a9133b72cb1bb12f177b32f3e65962baf7789b03c968ec8e47)
|
||||
|
||||

|
||||
|
||||
[Windows - 0 / 40](https://kleenscan.com/scan_result/e9ffcf8fffd390b68a4cbc9d506571f0618e473732015be748e1960300bc6a85)
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user