Files
kmanc-remote_code_oxidation/.github/workflows/windows.yml
T

298 lines
8.2 KiB
YAML

name: RCO for Windows targets
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
windows-reverse-shell:
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 reverse shell for Windows
run: cargo build -p tcp_reverse_shell --target x86_64-pc-windows-gnu --verbose
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
windows-process-migration-xor:
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 --features xor --verbose
windows-process-migration-antisand:
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 --features antisand --verbose
windows-process-migration-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 process migration for Windows
run: cargo build -p process_migration --target x86_64-pc-windows-gnu --features xor,antisand --verbose
windows-process-hollowing:
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 hollowing for Windows
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --verbose
windows-process-hollowing-xor:
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 hollowing for Windows
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features xor --verbose
windows-process-hollowing-antisand:
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 hollowing for Windows
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features antisand --verbose
windows-process-hollowing-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 process hollowing for Windows
run: cargo build -p process_hollowing --target x86_64-pc-windows-gnu --features xor,antisand --verbose
windows-xor_params:
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 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
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
windows-all-xor:
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 --features xor --verbose
windows-all-antisand:
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 --features antisand --verbose
windows-all-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 --features xor,antisand --verbose