Change post-exploit behavior to hijack a system service for SSH serve… #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MSBuild | |
on: | |
push: | |
pull_request: | |
env: | |
SOLUTION_FILE_PATH: collat_payload.sln | |
BUILD_CONFIGURATION: Release | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Build | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: msbuild /m /p:Platform=x64 /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} | |
- name: Copy files | |
run: | | |
mkdir release\ | |
cp README.md release\ | |
cp LICENSE release\ | |
cp x64\Release\collat_payload.exe release\ | |
cp solstice_artifacts\* release\ | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: collateral_damage_artifacts | |
path: | | |
release\** | |
- name: Bundle binaries | |
run: 7z a -tzip collateral_damage.zip release\** | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: collateral_damage.zip |