diff --git a/.custom_shields/remote_access_trojan.json b/.custom_shields/remote_access_trojan.json new file mode 100644 index 0000000..c32684f --- /dev/null +++ b/.custom_shields/remote_access_trojan.json @@ -0,0 +1,6 @@ +{ + "schemaVersion": 1, + "label": "remote_access_trojan", + "message": "1.0.0", + "color": "blue" +} \ No newline at end of file diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index bbb6ef7..5d43b38 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -10,6 +10,7 @@ env: CARGO_TERM_COLOR: always jobs: + linux-reverse-shell: runs-on: ubuntu-latest @@ -140,6 +141,19 @@ jobs: - name: Build xor shellcode for Linux run: cargo build -p xor_params --verbose + linux-remote-access-trojan: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Update rust + run: rustup update + - name: Update cargo + run: cargo update + - name: Build remote access trojan for Linux + run: cargo build -p remote_access_trojan --verbose + linux-all: runs-on: ubuntu-latest diff --git a/.github/workflows/shield_io_updater.yml b/.github/workflows/shield_io_updater.yml index 58d6f68..6fc5e5a 100644 --- a/.github/workflows/shield_io_updater.yml +++ b/.github/workflows/shield_io_updater.yml @@ -96,4 +96,27 @@ jobs: value: ${{ steps.xor_params_ver.outputs.app_version }} - uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: "Update xor params badge data via Github Action" \ No newline at end of file + commit_message: "Update xor params badge data via Github Action" + + update-remote-access-trojan: + + runs-on: ubuntu-latest + needs: update-xor-params + + steps: + - uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} + - uses: dante-signal31/rust-app-version@v1.0.0 + id: remote_access_trojan_ver + with: + cargo_toml_folder: 'remote_access_trojan/' + - name: Update remote_access_trojan version + uses: jossef/action-set-json-field@v1 + with: + file: '.custom_shields/remote_access_trojan.json' + field: message + value: ${{ steps.remote_access_trojan_ver.outputs.app_version }} + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: "Update remote access trojan badge data via Github Action" \ No newline at end of file diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d6b01ee..2217704 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -201,6 +201,25 @@ jobs: - name: Build xor shellcode for Windows run: cargo build -p xor_params --target x86_64-pc-windows-gnu --verbose + windows-remote-access-trojan: + + 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 remote access trojan for Windows + run: cargo build -p remote_access_trojan --target x86_64-pc-windows-gnu --verbose + windows-all: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 9d6a404..85a3bed 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ RCO tools can be compiled on either Linux or Windows systems to provide its user [![Custom badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fkmanc%2Fremote_code_oxidation%2Fmaster%2F.custom_shields%2Fxor_params.json)](https://github.com/kmanc/remote_code_oxidation/tree/master/xor_params) +[![Custom badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fkmanc%2Fremote_code_oxidation%2Fmaster%2F.custom_shields%2Fremote_access_trojan.json)](https://github.com/kmanc/remote_code_oxidation/tree/master/remote_access_trojan) + ## Setup Clone the repo diff --git a/remote_access_trojan/README.md b/remote_access_trojan/README.md new file mode 100644 index 0000000..48920cc --- /dev/null +++ b/remote_access_trojan/README.md @@ -0,0 +1,5 @@ +# RCO: Remote Access Trojan + +[![Custom badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fkmanc%2Fremote_code_oxidation%2Fmaster%2F.custom_shields%2Fremote_access_trojan.json)](https://github.com/kmanc/remote_code_oxidation/tree/master/remote_access_trojan) + +Probably need to revisit this when it's done, not much point doing it now \ No newline at end of file